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