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