]>
Commit | Line | Data |
---|---|---|
02e4669d JB |
1 | 2008-02-05 Jim Blandy <[email protected]> |
2 | ||
3 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a | |
4 | pseudoregister, not an internal error. | |
85ecb32b | 5 | Reported by: Andrzej Zaborowski |
02e4669d | 6 | |
c39c8256 VP |
7 | 2008-02-04 Vladimir Prus <[email protected]> |
8 | ||
9 | * varobj.c (c_value_of_variable): Use xstrdup. | |
10 | ||
ae7d22a6 VP |
11 | 2008-02-04 Vladimir Prus <[email protected]> |
12 | ||
13 | Update stored rendition of varobj value when format changes. | |
14 | * varobj.c (varobj_set_display_format): Recomputed | |
15 | print_value. | |
16 | (c_value_of_variable): Return print_value. | |
17 | ||
81fe8080 DE |
18 | 2008-02-03 Doug Evans <[email protected]> |
19 | ||
301f0ecf DE |
20 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
21 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. | |
22 | * valops.c (value_one): New function. | |
23 | * value.h (value_one): Declare. | |
24 | ||
25 | Fix argument promotion for binary arithmetic ops for C. | |
26 | * valarith.c (unop_result_type): New fn. | |
27 | (binop_result_type): New fn. | |
28 | (value_binop): Move result type computation to binop_result_type. | |
29 | (value_pos, value_neg, value_complement): Move result type | |
30 | computation to unop_result_type. | |
31 | ||
81fe8080 DE |
32 | PR 2384 |
33 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
34 | Return basetype, fieldno if found. All callers updated. | |
35 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different | |
36 | objfile. | |
37 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
38 | * symfile.h (fill_in_vptr_fieldno): Delete. | |
39 | ||
41808ebe DE |
40 | 2008-02-02 Doug Evans <[email protected]> |
41 | ||
f8597ac3 DE |
42 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
43 | ||
41808ebe DE |
44 | * typeprint.c (*): Whitespace cleanup. |
45 | ||
f964a756 MK |
46 | 2008-02-02 Mark Kettenis <[email protected]> |
47 | Luis Machado <[email protected]> | |
48 | Thiago Jung Bauermann <[email protected]> | |
49 | ||
50 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that | |
51 | don't fit into registerson the stack the way GCC does. | |
52 | ||
b06ead72 JB |
53 | 2008-02-01 Joel Brobecker <[email protected]> |
54 | ||
55 | * symtab.c (symbol_set_names): Do not add an entry in the demangling | |
56 | hash table for Ada symbols. Just store the linkage name as is, | |
57 | and leave the demangled_name as NULL. | |
58 | ||
2cfa0c8d JB |
59 | 2007-02-01 Joel Brobecker <[email protected]> |
60 | ||
61 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms | |
62 | in the global scope. | |
63 | (new_symbol): Likewise. | |
64 | ||
98deb0da VP |
65 | 2008-02-01 Vladimir Prus <[email protected]> |
66 | ||
67 | * breakpoint.c (break_command_1): Return void. | |
68 | (break_command_really): Return void. Rethrow | |
69 | exceptions instead of returning. | |
70 | (gdb_breakpoint): Remove the error_message parameter. | |
71 | Return void. Rename to set_breakpoint. | |
72 | * gdb.h (gdb_breakpoint): Rename and move to... | |
73 | * breakpoint.h (set_breakpoint): ...here. | |
74 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore | |
75 | event hooks even if exception is thrown. Adjust to | |
76 | gdb_breakpoint interface changes. | |
77 | ||
78 | ||
ce0451ad TJB |
79 | 2008-02-01 Thiago Jung Bauermann <[email protected]> |
80 | ||
81 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit | |
82 | float in both first and second word in the doubleword, to support | |
83 | old and new ABIs. | |
84 | ||
723a2275 VP |
85 | 2008-02-01 Vladimir Prus <[email protected]> |
86 | ||
87 | Properly rethrow exception. This fixes errors | |
88 | about non-existent functions for -break-insert. | |
89 | * breakpoint.c (break_command_really): Use throw_exception | |
90 | for rethrowing. If rethrowing, don't print the exception. | |
91 | ||
d64a946d TJB |
92 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
93 | ||
94 | * NEWS: Mention Decimal Floating Point support. | |
95 | ||
02b156f5 JB |
96 | 2008-01-31 Joel Brobecker <[email protected]> |
97 | ||
98 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned | |
99 | value type to builtin_type_void_func_ptr. | |
100 | ||
a16b8bcd UW |
101 | 2008-01-31 Andreas Krebbel <[email protected]> |
102 | ||
103 | * s390-tdep.c (is_float_singleton, is_float_like, | |
104 | alignment_of, s390_return_value): Make checks for | |
105 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. | |
106 | ||
f949c649 TJB |
107 | 2008-01-31 Luis Machado <[email protected]> |
108 | Thiago Jung Bauermann <[email protected]> | |
109 | ||
110 | * infcmd.c (default_print_registers_info): Also print hex | |
111 | raw contents for TYPE_CODE_DECFLOAT registers. | |
112 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. | |
113 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. | |
114 | (rs6000_register_name): Add support for DFP pseudo-registers. | |
115 | (rs6000_pseudo_register_type): Likewise. | |
116 | rs6000_pseudo_register_reggroup_p): Likewise. | |
117 | (ppc_pseudo_register_read): New function. | |
118 | (ppc_pseudo_register_write): Likewise. | |
119 | (rs6000_pseudo_register_read): Likewise. | |
120 | (rs6000_pseudo_register_write): Likewise. | |
121 | (e500_pseudo_register_read): Move checks to | |
122 | rs6000_pseudo_register_read. | |
123 | (e500_pseudo_register_write): Move checks to | |
124 | rs6000_pseudo_register_write. | |
125 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install | |
126 | rs6000_pseudo_register_read and rs6000_pseudo_register_write | |
127 | in gdbarch if SPE or DFP is available. Adjust gdbarch's | |
128 | num_pseudo_regs to account for DFP pseudo regs. | |
129 | ||
5a9e69ba TJB |
130 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
131 | ||
132 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. | |
133 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. | |
134 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, | |
135 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, | |
136 | e500_pseudo_register_read, e500_pseudo_register_write): Use | |
137 | IS_SPE_PSEUDOREG macro. | |
138 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. | |
139 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. | |
140 | Remove initialization of tdep->ppc_ev31_regnum. | |
141 | ||
4e885b20 JB |
142 | 2008-01-08 Paul Hilfinger <[email protected]> |
143 | ||
144 | * printcmd.c (print_formatted): Handle references as for unformatted | |
145 | prints. | |
146 | ||
80f064a2 JB |
147 | 2008-01-30 Joel Brobecker <[email protected]> |
148 | ||
149 | * eval.c (evaluate_subexp_standard): Add handling of user | |
150 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. | |
151 | ||
9b3442ee PM |
152 | 2008-01-30 Pierre Muller <[email protected]> |
153 | ||
154 | * eval.c (evaluate_subexp_standard): Support | |
155 | BINOP_INTDIV opcode. | |
156 | ||
d118ef87 PH |
157 | 2008-01-30 Paul N. Hilfinger <[email protected]> |
158 | ||
159 | * valarith.c (value_binop): Add floating-point BINOP_MIN and | |
160 | BINOP_MAX cases. | |
161 | For BINOP_EXP, use length and signedness of left operand only for | |
162 | result, as for shifts. | |
163 | For integral operands to BINOP_EXP, use new integer_pow and | |
164 | uinteger_pow functions so as to get full range of results. | |
165 | (integer_pow): New function. | |
166 | (uinteger_pow): New function. | |
167 | ||
d56d46f5 VP |
168 | 2008-01-30 Vladimir Prus <[email protected]> |
169 | ||
170 | Use vector for varobj_list_children interface. | |
171 | * gdb/varobj.c (varobj_list_children): Return vector | |
172 | of varobjs. | |
173 | * gdb/varobj.h (varobj_list_children): Adjust | |
174 | prototype. | |
175 | (varobj_p): Declare. Declare vector thereof. | |
176 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust | |
177 | for varobj_list_children change. | |
178 | * Makefile.in (varobj_h): Update dependencies. | |
179 | ||
1300a2f4 TJB |
180 | 2008-01-30 Thiago Jung Bauermann <[email protected]> |
181 | ||
182 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
183 | TYPE_CODE_DECFLOAT arguments. | |
184 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
185 | (get_decimal_float_return_value): New function. | |
186 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
187 | values by calling get_decimal_float_return_value. | |
188 | (ppc64_sysv_abi_return_value): Likewise. | |
189 | ||
95ef687d NR |
190 | 2008-01-30 Nick Roberts <[email protected]> |
191 | ||
192 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
193 | for preprocessor macro information. Formatting changes. | |
194 | ||
2d717e4f DJ |
195 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
196 | ||
197 | * remote.c (struct remote_state): Add cached_wait_status. | |
198 | (remote_exec_file): New variable. | |
199 | (PACKET_vAttach, PACKET_vRun): New constants. | |
200 | (extended_remote_restart): Do not query for status. | |
201 | (struct start_remote_args): New. | |
202 | (remote_start_remote): Take it as a second argument. Check | |
203 | whether the target is running. Issue an error for non-running | |
204 | non-extended targets. Cache the wait status. Set inferior_ptid | |
205 | here. | |
206 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
207 | sure the target is marked running. Do not set inferior_ptid here. | |
208 | Update call to remote_start_remote. Do not call remote_check_symbols | |
209 | if the target is not running. | |
210 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
211 | argument. Handle a non-running target. | |
212 | (remote_detach): Use it. | |
213 | (extended_remote_detach): New. | |
214 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
215 | (extended_remote_attach_1, extended_remote_attach) | |
216 | (extended_async_remote_attach): New. | |
217 | (remote_vcont_resume): Remove unused variable. | |
218 | (remote_wait, remote_async_wait): Use any cached wait status. | |
219 | (putpkt_binary, getpkt): Clear any cached wait status. | |
220 | (extended_remoute_mourn_1): New. | |
221 | (extended_remote_mourn): Use it. | |
222 | (extended_async_remote_mourn, extended_remote_run): New. | |
223 | (extended_remote_create_inferior_1): New. | |
224 | (extended_remote_create_inferior): Use it. | |
225 | (extended_remote_async_create_inferior): Likewise. | |
226 | (remote_xfer_partial): Skip for non-executing targets. | |
227 | (init_extended_remote_ops): Set to_detach and to_attach. | |
228 | (init_extended_async_remote_ops): Likewise. Use | |
229 | extended_async_remote_mourn. | |
230 | (_initialize_remote): Register vAttach, vRun, and | |
231 | set remote exec-file. | |
232 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
233 | ||
e85a822c DJ |
234 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
235 | ||
236 | * Makefile.in (symfile.o): Update. | |
237 | * NEWS: Mention exec tracing support. | |
238 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
239 | exec events. | |
240 | * infcmd.c (kill_if_already_running, detach_command) | |
241 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
242 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
243 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
244 | targets. Apply the sysroot path to the loaded executable. Use | |
245 | no_shared_libraries. | |
246 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
247 | messages if verbose. | |
248 | (kill_wait_callback): Kill again before waiting a second time. | |
249 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
250 | no_shared_libraries. | |
251 | ||
9db13498 JB |
252 | 2008-01-29 Joel Brobecker <[email protected]> |
253 | ||
254 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
255 | ||
b4d5ed91 JB |
256 | 2008-01-29 Joel Brobecker <[email protected]> |
257 | ||
258 | * nto-tdep.h: Remove #include "defs.h". | |
259 | * nto-tdep.c: Add #include "defs.h". | |
260 | * Makefile.in (nto_tdep_h): Update dependencies. | |
261 | (nto-tdep.o): Likewise. | |
262 | ||
107313f7 | 263 | 2008-01-29 Joel Brobecker <[email protected]> |
ae123ec6 JB |
264 | |
265 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
266 | and use it. | |
267 | (proceed, start_remote): Update call to wait_for_inferior. | |
268 | * inferior.h (wait_for_inferior): Update declaration. | |
269 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
270 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
271 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
272 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
273 | ||
3f4178d6 DJ |
274 | 2008-01-29 Aleksandar Ristovski <[email protected]> |
275 | ||
276 | * varobj (adjust_value_for_child_access): Added checking for | |
277 | returned value from gdb_value_ind. | |
278 | (c_describe_child): Likewise. | |
279 | (cplus_describe_child): Fixed a typo. | |
280 | ||
5eeba8d4 JB |
281 | 2008-01-29 Jim Blandy <[email protected]> |
282 | ||
283 | * MAINTAINERS: Update my info. | |
284 | ||
a5606eee VP |
285 | 2008-01-29 Vladimir Prus <[email protected]> |
286 | ||
287 | Use multiple locations for hardware watchpoints. | |
288 | This eliminates the need to traverse value chain, doing | |
289 | various checks, in three different places. | |
290 | ||
291 | * breakpoint.h (struct bp_location): New fields | |
292 | lengths and watchpoint_type. | |
293 | (struct breakpoint): Remove the val_chain field. | |
294 | * breakpoint.c (is_hardware_watchpoint): New. | |
295 | (free_valchain): Remove. | |
296 | (update_watchpoint): New. | |
297 | (insert_bp_location): For hardware watchpoint, just | |
298 | directly insert it. | |
299 | (insert_breakpoints): Call update_watchpoint_locations | |
300 | on all watchpoints. If we have failed to insert | |
301 | any location of a hardware watchpoint, remove all inserted | |
302 | locations. | |
303 | (remove_breakpoint): For hardware watchpoints, directly | |
304 | remove location. | |
305 | (watchpoints_triggered): Iterate over locations. | |
306 | (bpstat_stop_status): Use only first location of | |
307 | a resource watchpoint. | |
308 | (delete_breakpoint): Don't call free_valchain. | |
309 | (print_one_breakpoint): Don't print all | |
310 | locations for watchpoints. | |
311 | (breakpoint_re_set_one): Use update_watchpoint for | |
312 | watchpoints. | |
313 | ||
0b3de036 VP |
314 | 2008-01-29 Vladimir Prus <[email protected]> |
315 | ||
316 | Don't reset watchpoint block on solib load. | |
317 | ||
318 | * breakpoint.c (insert_bp_location): For watchpoints, | |
319 | recompute condition. | |
320 | (breakpoint_re_set_one): Instead of recomputing value | |
321 | and condition for watchpoints, just reset value and | |
322 | let insert_breakpoints/insert_bp_location recompute it. | |
323 | Don't do anything about disabled watchpoint. | |
324 | ||
c3940723 PM |
325 | 2008-01-29 Pierre Muller <[email protected]> |
326 | ||
327 | * valarith.c (value_binop): Handle unsigned integer | |
328 | division by zero. | |
329 | ||
83845630 KB |
330 | 2008-01-28 Kevin Buettner <[email protected]> |
331 | ||
332 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
333 | instruction pattern that appears frequently in position | |
334 | independent code. Fix bug in code which looks for "fmov" and | |
335 | backtracks if no "fmov" is found. | |
336 | ||
9ce5d3bb DE |
337 | 2008-01-28 Doug Evans <[email protected]> |
338 | ||
339 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
340 | Reformat comments to 80 columns. |
341 | Move local var def closer to only use. | |
9ce5d3bb | 342 | |
c78d192c DJ |
343 | 2008-01-28 Daniel Jacobowitz <[email protected]> |
344 | ||
345 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
346 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
347 | ||
e11481da PM |
348 | 2008-01-25 Pierre Muller <[email protected]> |
349 | ||
350 | * i386-tdep.c (i386_skip_noop): New function. | |
351 | (i386_analyze_prologue): Call i386_skip_noop function. | |
352 | ||
244e85c8 MS |
353 | 2008-01-24 Michael Snyder <[email protected]> |
354 | ||
355 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
356 | * win32-nat.c (win32_xfer_partial): Ditto. | |
357 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
358 | ||
dd6be234 PA |
359 | 2008-01-24 Pedro Alves <[email protected]> |
360 | ||
361 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
362 | strip bit 1 even if pc doesn't point to thumb code. | |
363 | ||
9fa2223d DJ |
364 | 2008-01-23 Daniel Jacobowitz <[email protected]> |
365 | ||
366 | * remote.c (remote_wait): Handle SIGINT between packets. | |
367 | (remote_async_wait): Likewise. | |
368 | ||
93815fbf VP |
369 | 2008-01-23 Vladimir Prus <[email protected]> |
370 | Chris Demetriou <[email protected]> | |
371 | ||
372 | * thread.c (add_thread_silent): Renamed | |
373 | from add_thread. | |
374 | (print_thread_events): New variable definition. | |
375 | (show_print_thread_events): New function. | |
376 | (_initialize_thread): Add "set print thread-events" and | |
377 | "show print thread-events" commands. | |
378 | (add_thread): Announce new thread. | |
379 | * gdbthread.h (add_thread_silent): Declare. | |
380 | (print_thread_events): New variable declaration. | |
381 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
382 | inform about new thread, as add_thread is always | |
383 | called too, and will take care of that. | |
384 | * infrun.c (handle_inferior_event): Likewise. | |
385 | * procfs.c (procfs_wait): Likewise. | |
386 | * remote.c (remote_currthread): Likewise. | |
387 | * sol-thread.c (sol_thread_wait): Likewise. | |
388 | * win32-nat.c (get_win32_debug_event): Likewise. | |
389 | * linux-thread-db.c (attach_thread): Likewise. | |
390 | Remove the verbose parameter. | |
391 | (check_event): Make detach_thread be verbose | |
392 | only if print_thread_events is set. | |
393 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
394 | about new thread. This is called only from | |
395 | linux-thread-db.c:attach_thread, which will take care. | |
396 | Remove the verbose parameter. | |
397 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
398 | ||
b4d7c9a6 NR |
399 | 2008-01-23 Nick Roberts <[email protected]> |
400 | ||
401 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
402 | ||
60c46647 VP |
403 | 2008-01-22 Vladimir Prus <[email protected]> |
404 | ||
405 | * breakpoint.c (break_command_really): New parameter | |
406 | ignore_count. | |
407 | (break_command_1): Pass 0 as | |
408 | ignore_count to break_command_really. | |
409 | (gdb_breakpoint): Pass ignore_count to | |
410 | break_command_really. | |
411 | ||
e84605cd KB |
412 | 2008-01-21 Kevin Buettner <[email protected]> |
413 | ||
414 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
415 | sigcontext struct via pointer. | |
416 | (struct sigframe comment): Update to show new field `psc'. | |
417 | ||
9d9cd7ac VP |
418 | 2008-01-21 Vladimir Prus <[email protected]> |
419 | ||
420 | * infrun.c (handle_inferior_event): If | |
421 | we failed to remove breakpoints, error, | |
422 | don't try to increment PC by hand. | |
423 | ||
af5ca30d NH |
424 | 2008-01-18 Nick Hudson <[email protected]> |
425 | ||
426 | Add NetBSD/hppa target and host support. | |
427 | ||
428 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
429 | (hppabsd_gregset): Move to ... | |
430 | (hppabsd_regset_from_core_section): Rename | |
431 | hppaobsd_regset_from_core_section and move to ... | |
432 | (hppabsd_find_global_pointer): Update comment. | |
433 | (hppabsd_init_abi): Make global. Do not register | |
434 | hppabsd_regset_from_core_section. | |
435 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
436 | move to ... | |
437 | (_initialize_hppabsd_tdep): Move to ... | |
438 | * hppaobsd-tdep.c: ... here. New file. | |
439 | * hppnbsd-tdep.c: New file. | |
440 | * hppnbsd-nat.c: New file. | |
441 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
442 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
443 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
444 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
445 | * configure.host (hppa*-*-netbsd*): New entry. | |
446 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
447 | (hppa*-*-openbsd*): Update. | |
448 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
449 | (New targets): Mention NetBSD/hppa. | |
450 | ||
32c9a795 MD |
451 | 2008-01-18 Markus Deuling <[email protected]> |
452 | ||
453 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
454 | gdbarch structure. | |
455 | * gdbarch.{c,h}: Regenerate. | |
456 | ||
457 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
458 | gdbarch_bits_big_endian (comment). | |
459 | (unpack_field_as_long, modify_field): Likewise. | |
460 | * value.h: Likewise (comment). | |
461 | * valops.c (value_slice): Likewise. | |
462 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
463 | * gdbtypes.h (field): Likewise (comment). | |
464 | * eval.c (evaluate_subexp_standard): Likewise. | |
465 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
466 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
467 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
468 | ||
469 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
470 | ||
1e5e79d0 MD |
471 | 2008-01-18 Markus Deuling <[email protected]> |
472 | ||
473 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
474 | function calls. | |
475 | * m2-exp.y (yylex): Likewise. | |
476 | * objc-exp.y (yylex): Likewise. | |
477 | ||
478 | * defs.h (DEPRECATED_STREQN): Remove. | |
479 | ||
fabda5a7 L |
480 | 2008-01-17 H.J. Lu <[email protected]> |
481 | ||
482 | * MAINTAINERS: Update my email address. | |
483 | ||
92726479 JB |
484 | 2008-01-17 Jim Blandy <[email protected]> |
485 | ||
486 | * README: Mention gdbserver/README. | |
487 | ||
ef80d18e PM |
488 | 2008-01-17 Pierre Muller <[email protected]> |
489 | ||
490 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
491 | for unsigned and signed integers. | |
492 | ||
1de90795 UW |
493 | 2008-01-17 Ulrich Weigand <[email protected]> |
494 | ||
495 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
496 | type to 128-bit IEEE quad. | |
497 | ||
c70bd6f3 JB |
498 | 2008-01-17 Joel Brobecker <[email protected]> |
499 | ||
500 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
501 | ||
ba759613 MK |
502 | 2008-01-16 Mark Kettenis <[email protected]> |
503 | ||
77d49ac6 MK |
504 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
505 | ||
ba759613 MK |
506 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
507 | * value.c: All callers changed. | |
508 | ||
7ecb6532 MD |
509 | 2008-01-16 Markus Deuling <[email protected]> |
510 | ||
511 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
512 | DEPRECATED_STREQ by its expression. | |
513 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
514 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
515 | (scan_xcoff_symtab): Likewise. | |
516 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
517 | * f-lang.c (find_common_for_function): Likewise. | |
518 | * objc-exp.y (parse_number): Likewise. | |
519 | ||
520 | * defs.h (DEPRECATED_STREQ): Remove. | |
521 | ||
d15cf01c MD |
522 | 2008-01-16 Markus Deuling <[email protected]> |
523 | ||
524 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
525 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
526 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
527 | call. | |
528 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
529 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
530 | architecture. | |
531 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
532 | ||
f8028488 MD |
533 | 2008-01-16 Markus Deuling <[email protected]> |
534 | ||
535 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
536 | parameter. | |
537 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
538 | ||
539 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
540 | current_gdbarch by gdbarch. Update caller. | |
541 | ||
542 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
543 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
544 | the current architecture. Update calls of | |
545 | amd64_native_gregset_supplies_p. | |
546 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
547 | (amd64bsd_store_inferior_registers): Likewise. | |
548 | ||
e101270f MD |
549 | 2008-01-16 Markus Deuling <[email protected]> |
550 | ||
551 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
552 | Replace current_gdbarch by gdbarch. Update caller. | |
553 | ||
063e58ba MD |
554 | 2008-01-16 Markus Deuling <[email protected]> |
555 | ||
556 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
557 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
558 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
559 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
560 | (stabsect_build_psymtabs): Fix indentation. | |
561 | ||
662fb31b MS |
562 | 2008-01-15 Michael Snyder <[email protected]> |
563 | ||
564 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
565 | ||
c1766e7d PM |
566 | 2008-01-14 Pierre Muller <[email protected]> |
567 | ||
568 | * win32-nat.c (win32_create_inferior): Restore code calling | |
569 | CloseHandle on ProcessInformation structure. | |
570 | ||
5ed10e6e NH |
571 | 2008-01-13 Nick Hudson <[email protected]> |
572 | ||
573 | * configure.ac: Check for void * as 3 argument of ptrace. | |
574 | * configure: regenerate. | |
575 | ||
be8626e0 MD |
576 | 2008-01-11 Markus Deuling <[email protected]> |
577 | ||
578 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
579 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
580 | current_gdbarch by gdbarch. | |
581 | ||
582 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
583 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
584 | call. | |
585 | ||
586 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
587 | get_frame_arch to get at the current architecture by frame_info. Update | |
588 | alpha_sigtramp_register_address call. | |
589 | ||
590 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
591 | current_gdbarch by gdbarch. Update caller. | |
592 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
593 | for comparison. Update caller. | |
594 | (arm_extract_return_value, arm_store_return_value): Use | |
595 | get_regcache_arch to get at the current architecture. | |
596 | ||
597 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
598 | current_gdbarch by gdbarch. Update caller. | |
599 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
600 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
601 | ||
602 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
603 | gdbarch as parameter. Update caller. | |
604 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
605 | current_gdbarch by gdbarch. Update caller. | |
606 | ||
607 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
608 | update caller. Replace current_gdbarch by gdbarch. | |
609 | ||
610 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
611 | the current architecture. Replace current_gdbarch by gdbarch. | |
612 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
613 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
614 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
615 | it. Update caller. | |
616 | (M6811_TDEP): Remove. | |
617 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
618 | architecture. | |
619 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
620 | current_gdbarch by gdbarch. Update caller. | |
621 | ||
622 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
623 | update caller. | |
624 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
625 | by gdbarch. | |
626 | ||
627 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
628 | caller. Relace current_gdbarch by gdbarch. | |
629 | (altivec_register_p, spe_register_p): Likewise. | |
630 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
631 | parameter. | |
632 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
633 | altivec_register_p and spe_register_p. | |
634 | ||
635 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
636 | caller. Replace current_gdbarch by gdbarch. | |
637 | (score_analyze_prologue): use get_frame_arch to get at the current | |
638 | architecture. | |
639 | ||
640 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
641 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
642 | current_gdbarch by gdbarch. Update caller. | |
643 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
644 | architecture. | |
645 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
646 | sparc_analyze_prologue. | |
647 | ||
648 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
649 | parameter. | |
650 | ||
ed49a04f MD |
651 | 2008-01-11 Markus Deuling <[email protected]> |
652 | ||
653 | * exec.c: #include "arch-utils.h" | |
654 | (print_section_info): Use gdbarch_from_bfd to get at the | |
655 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
656 | deprecated_print_address_numeric by paddress. | |
657 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
658 | ||
659 | * valprint.c (val_print_string): Replace | |
660 | deprecated_print_address_numeric. | |
661 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
662 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
663 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
664 | (maintenance_check_symtabs): Likewise. | |
665 | * symfile.c (list_overlays_command): Likewise. | |
666 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
667 | * printcmd.c (print_address, print_address_demangle) | |
668 | (address_info): Likewise. | |
669 | * corefile.c (memory_error): Likewise. | |
670 | * infcmd.c (jump_command): Likewise. | |
671 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
672 | (mention, delete_breakpoint): Likewise. | |
673 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
674 | * dwarf2read.c (dump_die): Likewise. | |
675 | * ada-valprint.c (ada_val_print_1): Likewise. | |
676 | * f-valprint.c (f_val_print): Likewise. | |
677 | * linux-fork.c (info_forks_command): Likewise. | |
678 | * m32r-com.c (m32r_load_section, m32r_load) | |
679 | (m32r_upload_command): Likewise. | |
680 | ||
681 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
682 | ||
6093d2eb MD |
683 | 2008-01-11 Markus Deuling <[email protected]> |
684 | ||
685 | * gdbarch.sh (skip_prologue): Add gdbarch | |
686 | as parameter. | |
687 | * gdbarch.{c,h}: Regenerate. | |
688 | ||
689 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
690 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
691 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
692 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
693 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
694 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
695 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
696 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
697 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
698 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
699 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
700 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
701 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
702 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
703 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
704 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
705 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
706 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
707 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
708 | * score-tdep.c (score_skip_prologue): Likewise. | |
709 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
710 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
711 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
712 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
713 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
714 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
715 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
716 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
717 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
718 | ||
719 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
720 | current_gdbarch by gdbarch. | |
721 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
722 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
723 | ||
72f5cf0e DE |
724 | 2008-01-10 Doug Evans <[email protected]> |
725 | ||
726 | * defs.h (struct continuation_arg): Fix typo in comment. | |
727 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
728 | ||
689e4e2d TJB |
729 | 2008-01-09 Thiago Jung Bauermann <[email protected]> |
730 | ||
731 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
732 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
733 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
734 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
735 | * c-exp.y (parse_number): Likewise. | |
736 | * jv-exp.y (parse_number): Likewise. | |
737 | * objc-exp.y (parse_number): Likewise. | |
738 | * p-exp.y (parse_number): Likewise. | |
739 | ||
ab0d6e0d JB |
740 | 2008-01-09 Joel Brobecker <[email protected]> |
741 | ||
742 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
743 | (check_typedef): Likewise. | |
744 | ||
0aea4bf3 LM |
745 | 2008-01-09 Luis Machado <[email protected]> |
746 | ||
747 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
748 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
749 | modifiers. | |
750 | ||
137033e9 JB |
751 | 2008-01-08 Joel Brobecker <[email protected]> |
752 | ||
753 | * dwarf2read.c (read_enumeration_type): Add comment. | |
754 | ||
dda297ec TJB |
755 | 2008-01-08 Thiago Jung Bauermann <[email protected]> |
756 | ||
757 | * config.in: Regenerate. | |
758 | ||
a93c0eb6 JB |
759 | 2008-01-08 Joel Brobecker <[email protected]> |
760 | ||
761 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
762 | Make non-static. | |
763 | (ada_convert_actuals): Delete. | |
764 | * ada-lang.h (ada_convert_actual): Add declaration. | |
765 | (ada_convert_actuals): Remove declaration. | |
766 | * infcall.c: #include "ada-lang.h". | |
767 | (value_arg_coerce): Add new parameter sp. Update function | |
768 | documetnation. Add handling of Ada function call parameters. | |
769 | * Makefile.in (infcall.o): Update dependencies. | |
770 | ||
a84a8a0d JB |
771 | 2008-01-08 Paul Hilfinger <[email protected]> |
772 | ||
773 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
774 | (convert_actual): Add handling for arguments passed by reference. | |
775 | ||
d7f98cce DE |
776 | 2008-01-08 Doug Evans <[email protected]> |
777 | ||
778 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
779 | ||
4ef30785 TJB |
780 | 2008-01-07 Thiago Jung Bauermann <[email protected]> |
781 | ||
782 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
783 | (valarith.o): Depend on dfp.h. | |
784 | (valops.o): Likewise. | |
785 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
786 | (set_decnumber_context): New function. | |
787 | (decimal_check_errors): Likewise. | |
788 | (decimal_from_number): Likewise. | |
789 | (decimal_to_number): Likewise. | |
790 | (decimal_from_string): Use set_decnumber_context and | |
791 | decimal_check_errors. | |
792 | (decimal_from_integral): New function. | |
793 | (decimal_from_floating): Likewise. | |
794 | (decimal_to_double): Likewise. | |
795 | (promote_decimal): Likewise. | |
796 | (decimal_binop): Likewise. | |
797 | (decimal_is_zero): Likewise. | |
798 | (decimal_compare): Likewise. | |
799 | (decimal_convert): Likewise. | |
800 | * dfp.h (decimal_from_integral): New prototype. | |
801 | (decimal_from_floating): Likewise. | |
802 | (decimal_to_double): Likewise. | |
803 | (decimal_binop): Likewise. | |
804 | (decimal_is_zero): Likewise. | |
805 | (decimal_compare): Likewise. | |
806 | (decimal_convert): Likewise. | |
807 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
808 | call to value_from_decfloat. | |
809 | * valarith.c: Include dfp.h. | |
810 | (value_args_as_decimal): New function. | |
811 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
812 | (value_logical_not): Likewise. | |
813 | (value_equal): Likewise. | |
814 | (value_less): Likewise. | |
815 | (value_pos): Likewise. | |
816 | (value_neg): Formatting fix. | |
817 | * valops.c: Include dfp.h. | |
818 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
819 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
820 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
821 | (value_from_decfloat): Remove expect_type argument. | |
822 | * value.h (value_from_decfloat): Update prototype. | |
823 | ||
a7c02bc8 VP |
824 | 2008-01-07 Vladimir Prus <[email protected]> |
825 | ||
826 | Ignore change in name of dynamic linker during | |
827 | execution on Solaris. This also unbreaks pending breakpoints. | |
828 | ||
829 | * solist.h (struct target_so_ops): New field same. | |
830 | * solib-svr4.c (svr4_same): New. | |
831 | (_initialize_svr4_solib): Register svr4_same. | |
832 | * solib.c (update_solib_list): Use ops->same, if available. | |
833 | ||
610dd7f9 CF |
834 | 2008-01-06 Christopher Faylor <[email protected]> |
835 | ||
836 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
837 | when using MS-DOS paths. | |
838 | ||
7a404eba PA |
839 | 2008-01-05 Pedro Alves <[email protected]> |
840 | ||
841 | * NEWS: Mention --pid and --core command line behaviour changes. | |
842 | ||
a4d9b460 PA |
843 | 2008-01-05 Pedro Alves <[email protected]> |
844 | ||
845 | * main.c (captured_main): Remove 'count' varible and the | |
846 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
847 | --pid options were issued simultaneously. If an explicit pid | |
848 | option was passed, don't fallback to core file. Detect extra | |
849 | arguments better in the presence of explicit pid or core | |
850 | arguments. | |
851 | ||
0c281816 JB |
852 | 2008-01-05 Joel Brobecker <[email protected]> |
853 | ||
854 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
855 | the value of the discriminant when the variant record is packed. | |
856 | ||
babe1480 JB |
857 | 2008-01-04 Joel Brobecker <[email protected]> |
858 | ||
859 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
860 | that are used to differentiate homonyms. | |
861 | ||
727e3d2e JB |
862 | 2008-01-04 Jerome Guitton <[email protected]> |
863 | ||
864 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
865 | when the type is an anonymous pointer type. | |
866 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
867 | * ada-typeprint.c (print_array_type): Add support for pointer | |
868 | to packed arrays. | |
869 | ||
bb28a9dc JB |
870 | 2008-01-04 Paul N. Hilfinger <[email protected]> |
871 | ||
872 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
873 | ||
6799def4 JB |
874 | 2008-01-04 Joel Brobecker <[email protected]> |
875 | ||
876 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
877 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
878 | ||
d3353bbd JB |
879 | 2008-01-04 Joel Brobecker <[email protected]> |
880 | ||
881 | * ada-exp.y (chop_separator): New function. | |
882 | (write_selectors): Rewrite to re-use chop_separator. | |
883 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
884 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
885 | expressions. | |
886 | ||
82cf6c60 TJB |
887 | 2008-01-03 Thiago Jung Bauermann <[email protected]> |
888 | ||
889 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
890 | of SYMBOL_VALUE when working with function symbols. | |
891 | ||
b3dbf008 JB |
892 | 2008-01-03 Joel Brobecker <[email protected]> |
893 | ||
894 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
895 | expressions. These expressions do not need to be rewriten. | |
896 | ||
02eb380e JB |
897 | 2008-01-03 Joel Brobecker <[email protected]> |
898 | ||
899 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
900 | the given die is a declaration. | |
901 | ||
abb68b3e JB |
902 | 2008-01-03 Joel Brobecker <[email protected]> |
903 | ||
904 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
905 | Handle properly the case when the index type is an enumerated type. | |
906 | Do not return the subtype of the bounds type, just return the | |
907 | bounds type directly - this is not needed and is more consistent | |
908 | with what we do for arrays when no XA parallel type exists. | |
909 | ||
f192137b JB |
910 | 2008-01-03 Joel Brobecker <[email protected]> |
911 | ||
912 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
913 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
914 | also need to be unwrapped. Take this into account. | |
915 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
916 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
917 | * ada-typeprint.c (ada_print_type): Get the typename from | |
918 | the original type, not the base type. | |
919 | ||
1ed6ede0 JB |
920 | 2008-01-03 Jerome Guitton <[email protected]> |
921 | ||
922 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
923 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
924 | Update calls to ada_to_fixed_type. | |
925 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
926 | for the tag. | |
927 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
928 | tag if null. When looking for a tag, use a fixed record type. | |
929 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
930 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
931 | calls to ada_to_fixed_type. | |
932 | ||
542a88d0 LM |
933 | 2008-01-03 Luis Machado <[email protected]> |
934 | ||
935 | * doublest.c (convert_floatformat_to_doublest): Call | |
936 | floatformat_to_doublest instead of floatformat_to_double and use | |
937 | DOUBLEST variables. | |
938 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
939 | instead of floatformat_from_double and use DOUBLEST variables. | |
940 | ||
dc2bbab2 NH |
941 | 2008-01-03 Nick Hudson <[email protected]> |
942 | ||
943 | * MAINTAINERS (Write After Approval): Add self. | |
944 | ||
8b60591b JB |
945 | 2008-01-03 Joel Brobecker <[email protected]> |
946 | ||
947 | * symfile.c (set_initial_language): Make non-static. | |
948 | * symfile.h (set_initial_language): Add declaration. | |
949 | * language.c: #include "symfile.h". | |
950 | (set_language): Call set_initial_language if the frame language | |
951 | could not be determined. | |
952 | ||
ceef53c1 JB |
953 | 2008-01-03 Paul N. Hilfinger <[email protected]> |
954 | ||
955 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
956 | locate_var_value only if it will be needed. | |
957 | ||
ef29ce1a JK |
958 | 2008-01-02 Jan Kratochvil <[email protected]> |
959 | ||
960 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
961 | ||
0a07e705 JB |
962 | 2008-01-02 Joel Brobecker <[email protected]> |
963 | ||
964 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
965 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
966 | This is needed to make sure that any other treatment applied | |
967 | to the resulting value does not fail for spurious reason, | |
968 | such as trying to take the address of this value. | |
969 | ||
f58b38bf JB |
970 | 2008-01-02 Joel Brobecker <[email protected]> |
971 | ||
972 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
973 | comparing arrays. | |
974 | ||
9b254dd1 DJ |
975 | 2008-01-01 Daniel Jacobowitz <[email protected]> |
976 | ||
977 | Updated copyright notices for most files. | |
978 | ||
33605d39 CF |
979 | 2008-01-01 Christopher Faylor <[email protected]> |
980 | ||
981 | * win32-nat.c (psapi_module_handle): Remove static. | |
982 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
983 | return first module found if base_address is zero. Don't initialize | |
984 | psapi function pointers here. Convert to cygwin paths when | |
985 | appropriate. | |
986 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
987 | executable name. Use get_module_name when that fails or when | |
988 | !__CYGWIN__. | |
989 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
990 | needed or issue a warning if it is not found. Move psapi_module_handle | |
991 | here. | |
992 | ||
29480c32 JB |
993 | 2008-01-01 Joel Brobecker <[email protected]> |
994 | ||
995 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
996 | (ada_remove_po_subprogram_suffix): New function. | |
997 | (ada_decode): Improve. Move the description of the algorithm | |
998 | directly inside the code, instead of in the function global | |
999 | description. | |
1000 | ||
969a1360 JB |
1001 | 2008-01-01 Joel Brobecker <[email protected]> |
1002 | ||
1003 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
1004 | and always print the dereferenced value. | |
1005 | ||
b7789565 JB |
1006 | 2008-01-01 Joel Brobecker <[email protected]> |
1007 | ||
1008 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
1009 | of the case where the first argument is a reference. | |
1010 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
1011 | ||
73fb9985 JB |
1012 | 2008-01-01 Joel Brobecker <[email protected]> |
1013 | ||
1014 | Implement support for Ada interface types. | |
1015 | ||
1016 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
1017 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
1018 | of a tagged type. | |
1019 | ||
636265b6 JB |
1020 | 2008-01-01 Joel Brobecker <[email protected]> |
1021 | ||
1022 | * top.c (print_gdb_version): Update copyright year. | |
1023 | ||
9d200a2e | 1024 | 2008-01-01 Joel Brobecker <[email protected]> |
b7589f7d | 1025 | |
9d200a2e JB |
1026 | * ChangeLog-2007: New ChangeLog rotation. |
1027 | * ChangeLog: Reset for 2008. | |
1028 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
1029 | ChangeLog-2007. | |
b7589f7d | 1030 | |
9d200a2e | 1031 | For older changes see ChangeLog-2007. |
c906108c SS |
1032 | \f |
1033 | Local Variables: | |
1034 | mode: change-log | |
1035 | left-margin: 8 | |
1036 | fill-column: 74 | |
1037 | version-control: never | |
57da7796 | 1038 | coding: utf-8 |
c906108c | 1039 | End: |