* utils.c (string_to_core_addr): Comment typo.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2007-03-30 Chris Dearman <chris@mips.com>
2
3 * utils.c (string_to_core_addr): Comment typo.
4
5 2007-03-30 Chris Dearman <chris@mips.com>
6
7 * mips-tdep.c: Comment typo.
8
9 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
10
11 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
12 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
13 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
14 * config/powerpc/nm-ppc64-linux.h: Remove file.
15 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
16 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
17 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
18 * infptrace.c (call_ptrace): Likewise.
19 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
20 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
21 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
22 (store_register): Likewise.
23
24 2007-03-29 Joel Brobecker <brobecker@adacore.com>
25
26 * Makefile.in (varobj.o): Add missing dependency.
27
28 2007-03-29 Michael Snyder <msnyder@access-company.com>
29
30 * MAINTAINERS: Update my email address.
31
32 2007-03-29 Joel Brobecker <brobecker@adacore.com>
33
34 Add support for exception handling with multiple versions of
35 the Ada runtime:
36 * ada-lang.c: Update general comments on how Ada exception catchpoints
37 are implemented.
38 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
39 (__gnat_raise_nodefer_with_msg): Delete.
40 (ada_unhandled_exception_name_addr_ftype): New type.
41 (exception_support_info): New type.
42 (ada_unhandled_exception_name_addr): Add forward declaration.
43 (ada_unhandled_exception_name_addr_from_raise): Likewise.
44 (default_exception_support_info): New constant.
45 (exception_support_info_fallback): Likewise.
46 (exception_info): New global variable.
47 (ada_exception_support_info_sniffer): New function.
48 (ada_executable_changed_observer): Likewise.
49 (ada_unhandled_exception_name_addr_from_raise): Renamed from
50 ada_unhandled_exception_name_addr.
51 (ada_unhandled_exception_name_addr): Reimplement to match the
52 latest Ada runtime implementation.
53 (error_breakpoint_runtime_sym_not_found): Delete.
54 (ada_exception_sym_name): Get the exception sym name from
55 exception_info rather than hardcoding it.
56 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
57 Update error handling.
58 * Makefile.in (ada-lang.o): Add dependency on observer.h.
59
60 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
61
62 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
63 (remote-st.o, uw-thread.o): Delete.
64 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
65 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
66 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
67 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
68 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
69 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
70 rs6000-*-lynxos* to an obsoletion stanza.
71 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
72 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
73 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
74 i[34567]86-*-netware*.
75 * NEWS: Mention deleted targets.
76
77 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
78 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
79 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
80 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
81 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
82 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
83 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
84 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
85 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
86 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
87 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
88 config/rs6000/tm-rs6000ly.h: Delete files.
89
90 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
91
92 * defs.h (deprecated_registers_changed_hook): Delete declaration.
93 * interps.c (clear_interpreter_hooks): Do not clear
94 deprecated_registers_changed_hook.
95 * regcache.c (registers_changed): Do not call it.
96 * top.c (deprecated_registers_changed_hook): Do not define it.
97 * mi/mi-interp.c (mi_command_loop): Do not clear it.
98 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
99 (tui_remove_hooks): Do not remove it.
100 (tui_selected_frame_level_changed_hook): Check for negative level.
101 Use get_selected_frame.
102 (tui_registers_changed_hook): Deleted.
103
104 2007-03-29 Joel Brobecker <brobecker@adacore.com>
105
106 * stabsread.c (add_undefined_type): Add extra parameter.
107 Now handles nameless types separately.
108 (struct nat): New type.
109 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
110 New static variables.
111 (read_type): Update calls to add_undefined_type.
112 (add_undefined_type_noname): New function.
113 (add_undefined_type_1): Renames from add_undefined_type.
114 (cleanup_undefined_types_noname): New function.
115 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
116 (cleanup_undefined_types): New handles nameless types separately.
117 (_initialize_stabsread): Initialize our new static constants.
118
119 2007-03-29 Denis Pilat <denis.pilat@st.com>
120
121 * configure.ac: Test for signal.h.
122 * configure, config.in: Regenerate.
123
124 2007-03-29 Denis Pilat <denis.pilat@st.com>
125
126 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
127 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
128
129 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
130
131 * arm-wince-tdep.c: New.
132 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
133 (MT_CFLAGS): Delete.
134 (TM_CLIBS): Delete.
135 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
136 solib-legacy.o, solib-svr4.o, and remove wince.o.
137 * configure.tgt (arm*-*-mingw32ce*): Add.
138 * signals/signals.c [HAVE_SIGNAL_H]: Check.
139 (do_target_signal_to_host): Silence 'not used' warning.
140 * config/arm/tm-wince.h: Remove.
141
142 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
143
144 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
145 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
146
147 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
148 * config/ia64/tm-linux.h: Remove file.
149 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
150 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
151 legacy_pc_in_sigtramp.
152 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
153 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
154 Remove func_name argument.
155 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
156
157 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
158 * target.c (update_current_target): Add to_have_steppable_watchpoint.
159 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
160 (HAVE_STEPPABLE_WATCHPOINT): Define.
161
162 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
163 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
164 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
165 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
166 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
167 target_insert_watchpoint, target_remove_watchpoint): Remove.
168 (FETCH_INFERIOR_REGISTERS): Define.
169 * ia64-linux-nat.c (ia64_register_addr): Make static.
170 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
171 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
172 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
173 (ia64_linux_stopped_data_address): Make static. Add target_ops.
174 (ia64_linux_stopped_by_watchpoint): Make static.
175 (ia64_linux_can_use_hw_breakpoint): New function.
176 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
177 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
178 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
179
180 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
181
182 * linespec.c: Include language.h.
183 (find_methods): Add language parameter. Call
184 lookup_symbol_in_language. Pass language down.
185 (add_matching_methods): Likewise. Call
186 lookup_symbol_in_language.
187 (add_constructors): Likewise.
188 (find_method): Pass sym_class to collect_methods.
189 (collect_methods): Add sym_class parameter. Pass language
190 down.
191 * symtab.c (lookup_symbol): Rename to ...
192 (lookup_symbol_in_language): ... this. Add language
193 parameter. Use passed language instead of current_language.
194 (lookup_symbol): New as wrapper around
195 lookup_symbol_in_language.
196 (lookup_symbol_aux): Add language parameter. Use passed
197 language instead of current_language.
198 (search_symbols): Indent.
199 * symtab.h (enum language): Forward declare.
200 (lookup_symbol_in_language): Declare.
201 (lookup_symbol): Update description.
202 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
203 * ada-lang.c (restore_language): Remove.
204 (lookup_symbol_in_language): Remove.
205
206 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
207
208 * breakpoint.c (bpstat_num): Add int *num parameter.
209 * breakpoint.h (bpstat_num): Likewise.
210 * infcmd.c (continue_command): Adjust to new bpstat_num
211 interface.
212 (program_info): Likewise.
213
214 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
215
216 * config/sh/tm-sh.h: Remove file.
217 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
218 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
219 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
220 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
221
222 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
223
224 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
225 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
226 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
227 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
228 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
229 sequence if target_shortname is "remote".
230
231 2007-03-27 Anton Blanchard <anton@samba.org>
232
233 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
234 instead of wordsize when looking for the LR in a stack frame.
235
236 2007-03-27 Andreas Schwab <schwab@suse.de>
237 Daniel Jacobowitz <dan@codesourcery.com>
238
239 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
240 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
241 argument. Update all callers.
242 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
243 (dwarf2_frame_set_eh_frame_regnum): Rename to...
244 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
245 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
246 (dwarf2_frame_set_adjust_regnum): ...this.
247 (dwarf2_frame_eh_frame_regnum): Delete prototype.
248 * rs6000-tdep.c: Include "dwarf2-frame.h".
249 (rs6000_adjust_frame_regnum): Define.
250 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
251 Register rs6000_adjust_frame_regnum.
252
253 * Makefile.in (rs6000-tdep.o): Update dependencies.
254
255 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
256
257 * Makefile.in: Add support for a "pdf" target.
258
259 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
260
261 * amd64-tdep.c (amd64_init_frame_cache): New function.
262 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
263
264 2007-03-26 Nigel Stephens <nigel@mips.com>
265 Maciej W. Rozycki <macro@mips.com>
266
267 * ui-out.c (ui_out_field_core_addr): Truncate address to
268 TARGET_ADDR_BIT size before printing.
269
270 2007-03-22 Nigel Stephens <nigel@mips.com>
271 Maciej W. Rozycki <macro@mips.com>
272
273 * remote-mips.c (mips_xfer_memory): Update prototype.
274
275 2007-03-22 Joel Brobecker <brobecker@adacore.com>
276
277 * symfile.h: #include "symtab.h"
278
279 2007-03-22 Denis Pilat <denis.pilat@st.com>
280
281 * utils.c (pagination_on_command, pagination_off_command):
282 Remove useless prototypes.
283
284 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
285
286 Fix PR pascal/2232.
287 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
288 instead of TYPE_NAME for object base class name.
289
290
291 2007-03-19 Kevin Buettner <kevinb@redhat.com>
292
293 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
294 Specify frame type in calls to frame_func_unwind().
295
296 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
297
298 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
299 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
300 (refine_prologue_limit): Delete.
301 (skip_prologue): Don't call it. Use extract_unsigned_integer.
302 Assume lim_pc is set. Correct check for incomplete prologues.
303 Do not skip clobbers of the frame pointer.
304 * symtab.c (skip_prologue_using_sal): Fail if there is only one
305 sal.
306
307 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
308
309 * frame.c (frame_pop): Check to see whether there's a frame to
310 which we can pop first.
311
312 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
313
314 * MAINTAINERS (Write After Approval): Add myself.
315
316 2007-03-09 Markus Deuling <deuling@de.ibm.com>
317
318 * infrun.c (breakpoints_failed): Remove unnecessary variable.
319 (handle_inferior_event): Remove unnecessary braces.
320 * breakpoint.c (bpstat_what): Remove wrong comment.
321
322 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
323
324 * spu-tdep.c (spu_in_function_epilogue_p): New function.
325 (spu_gdbarch_init): Install it.
326
327 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
328
329 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
330 object types, not 0.
331
332 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
333
334 * spu-tdep.c (spu_frame_align): New function.
335 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
336
337 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
338
339 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
340 (spu_software_single_step): Likewise.
341 (spu_read_pc, spu_write_pc): New functions.
342 (spu_gdbarch_init): Install them.
343
344 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
345
346 * cli/cli-dump.c (struct callback_data): load_offset needs to
347 have signed long type.
348
349 2007-03-07 Joel Brobecker <brobecker@adacore.com>
350
351 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
352 Revert the previous change that had some unexpected side-effects
353 on mips32.
354 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
355 function to get the address of the calling instruction.
356
357 2007-03-07 Denis Pilat <denis.pilat@st.com>
358
359 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
360 get_selected_frame by deprecated_safe_get_selected_frame.
361
362 2007-03-02 Mark Kettenis <kettenis@gnu.org>
363
364 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
365 "gdb_string.h". Don't include "nbsd-tdep.h".
366 (SIZEOF_STRUCT_REG): Remove.
367 (SHNBSD_SIZEOF_GREGS): New.
368 (shnbsd_supply_gregset, shnbsd_collect_gregset)
369 (shnbsd_regset_from_core_section): New functions.
370 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
371 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
372 shnbsd_supply_gregset, shnbsd_collect_gregset.
373 (shnbsd_gregset): New variable.
374 (shnbsd_init_abi): Set regset_from_core_section.
375 (GDB_OSABI_NETBSD_CORE): New define.
376 (shnbsd_core_osabi_sniffer): New function.
377 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
378 * Makefile.in (shnbsd-tdep.o): Update dependencies.
379 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
380 nbsd-tdep.o.
381 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
382
383 2007-02-28 Joel Brobecker <brobecker@adacore.com>
384
385 * gdbtypes.c (replace_type): Fix typo that caused us to not update
386 length of the types referenced by the new type CV ring.
387
388 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
389
390 * frame.c (frame_pop, frame_observer_target_changed): Call
391 reinit_frame_cache.
392 (flush_cached_frames): Rename to reinit_frame_cache and delete
393 old implementation.
394 * frame.h (flush_cached_frames): Delete prototype and update comment.
395
396 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
397 reinit_frame_cache instead of flush_cached_frames. Do not call
398 select_frame after reinit_frame_cache.
399 * corelow.c (core_open): Likewise.
400 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
401 * infrun.c (prepare_to_proceed, context_switch)
402 (handle_inferior_event): Likewise.
403 * linux-fork.c (fork_load_infrun_state): Likewise.
404 * ocd.c (ocd_start_remote): Likewise.
405 * remote-e7000.c (e7000_start_remote): Likewise.
406 * remote-mips.c (device): Likewise.
407 * thread.c (switch_to_thread): Likewise.
408 * tracepoint.c (finish_tfind_command): Likewise.
409 * gdbarch.c: Regenerated.
410
411 2007-02-28 Jerome Guitton <guitton@adacore.com>
412 Joel Brobecker <brobecker@adacore.com>
413
414 * gdbtypes.c (check_typedef): Do not replace stub type if
415 the resolved type is not defined in the same objfile.
416
417 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
418
419 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
420
421 2007-02-28 Joel Brobecker <brobecker@adacore.com>
422
423 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
424 symbol for Ada units when the symbol is defined using 't' rather
425 than 'Tt' as symbol descriptor.
426
427 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
428
429 * config/mips/tm-nbsd.h: Delete file.
430 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
431 * config/sh/tm-nbsd.h: Delete file.
432 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
433
434 2007-02-28 Joel Brobecker <brobecker@adacore.com>
435
436 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
437 unused WRONG_PARAM value since it was recently deleted.
438
439 2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
440
441 * varobj.c (varobj_update): Free temporary vectors.
442
443 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
444
445 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
446 * config/powerpc/tm-linux.h: Delete file.
447 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
448 (PROCESS_LINENUMBER_HOOK): Do not undefine.
449 (TEXT_SEGMENT_BASE): Do not redefine.
450 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
451 from config/rs6000/tm-rs6000.h.
452 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
453 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
454 (TEXT_SEGMENT_BASE): Remove.
455 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
456 (rs6000_in_solib_return_trampoline): Remove.
457 (SKIP_TRAMPOLINE_CODE): Remove.
458 (rs6000_skip_trampoline_code): Remove.
459 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
460 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
461 (FP0_REGNUM): Remove.
462 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
463 (rs6000_set_host_arch_hook): Remove.
464 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
465 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
466 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
467 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
468 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
469 * rs6000-nat.c: Include "rs6000-tdep.h".
470 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
471 (set_host_arch): Rename to ...
472 (rs6000_create_inferior): ... this. Make public.
473 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
474 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
475 (rs6000_create_inferior): Remove.
476 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
477 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
478 set_gdbarch_in_solib_return_trampoline, and
479 set_gdbarch_skip_trampoline_code.
480 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
481 from config/rs6000/tm-rs6000.h.
482
483 2007-02-27 Joel Brobecker <brobecker@adacore.com>
484
485 * buildsym.c (record_producer): Do nothing if no producer is provided.
486
487 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
488
489 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
490 to check changelist is non-NULL. Call error if the frontend tries
491 to update a non-root variable.
492
493 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
494
495 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
496
497 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
498 (dwarf2_frame_sniffer): Update.
499 (dwarf2_signal_frame_this_id): New function.
500 (dwarf2_signal_frame_unwind): Use it.
501 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
502 * frame.c (frame_func_unwind): Add this_type argument.
503 (get_frame_func): Update.
504 (frame_unwind_address_in_block): Add this_type argument and check it.
505 Fix a typo.
506 (get_frame_address_in_block): Update.
507 * frame.h (enum frame_type): Move higher in the file.
508 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
509 argument.
510
511 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
512 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
513 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
514 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
515 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
516 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
517 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
518 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
519 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
520 frame_func_unwind and frame_unwind_address_in_block to specify
521 the frame type. Use frame_unwind_address_in_block instead of
522 frame_pc_unwind in sniffers.
523
524 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
525
526 * frame.c (deprecated_selected_frame): Rename to...
527 (selected_frame): ...this. Make static.
528 (get_selected_frame, select_frame): Update.
529 * frame.h (deprected_select_frame): Delete.
530 (deprecated_safe_get_selected_frame): Update comments.
531
532 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
533 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
534 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
535 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
536 tui/tui.c: Replace references to deprecated_selected_frame.
537
538 2007-02-27 Fred Fish <fnf@specifix.com>
539
540 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
541 directly decrement the stack pointer, accumulate their operand into
542 the stack offset, and mark the function as not being frameless.
543
544 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
545
546 * arch-utils.c (selected_byte_order): New.
547 * arch-utils.h (selected_byte_order): New prototype.
548 * remote-sim.c (gdbsim_open): Use selected_byte_order.
549
550 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
551
552 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
553 (default_symfile_offsets): Check VMA here. Update section VMAs.
554
555 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
556
557 * remote.c (init_remote_state): Add special handling for placeholder
558 registers.
559
560 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
561
562 * Makefile.in (XMLFILES): Include $(TDEP_XML).
563 (filenames_h): New variable.
564 (clean): Clean up xml-builtin.c and stamp-xml.
565 (arm-linux-nat.o): Update.
566 * config/arm/linux.mh (TDEP_XML): Define.
567 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
568 (arm_linux_has_wmmx_registers): New.
569 (GET_THREAD_ID): Fix typo.
570 (IWMMXT_REGS_SIZE): Define.
571 (fetch_wmmx_regs, store_wmmx_regs): New.
572 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
573 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
574 (super_xfer_partial, arm_linux_xfer_partial): New.
575 (_initialize_arm_linux_nat): Use them.
576 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
577 (xml_builtin_xfer_partial): New function.
578 * xml-support.h (xml_builtin_xfer_partial): New prototype.
579 * NEWS: Update mention of iWMMXt support.
580
581 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
582
583 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
584 if there are no FPA registers.
585 (arm_dwarf_reg_to_regnum): New function.
586 (arm_register_type, arm_register_name): Return minimal values for
587 unsupported registers.
588 (arm_register_sim_regno): Handle iWMMXt registers.
589 (arm_gdbarch_init): Record missing FPA registers if indicated by
590 a target description. Recognize iWMMXt registers. Only register
591 "info float" for FPA. Use ARM_NUM_REGS. Register
592 arm_dwarf_reg_to_regnum.
593 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
594 constants.
595 (struct gdbarch_tdep): Add have_fpa_registers.
596 * features/xscale-iwmmxt.xml: Update capitalization.
597 * regformats/arm-with-iwmmxt.dat: Regenerated.
598
599 2007-02-24 Kevin Buettner <kevinb@redhat.com>
600
601 * NEWS (New targets): Add entry for the Toshiba Media Processor.
602
603 2007-02-23 Kevin Buettner <kevinb@redhat.com>
604
605 * MAINTAINERS (mep): New target.
606
607 2007-02-23 Kevin Buettner <kevinb@redhat.com>
608
609 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
610 Richard Sandiford:
611 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
612 (mep-tdep.o): New rule.
613 * configure.tgt (mep-*-*): New target.
614 * mep-tdep.c: New file.
615 * config/mep/mep.mt: New file.
616
617 2007-02-22 Markus Deuling <deuling@de.ibm.com>
618
619 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
620 BREAKPOINT_HIT and STOP_UNKNOWN.
621
622 2007-02-22 Markus Deuling <deuling@de.ibm.com>
623
624 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
625
626 2007-02-20 Joel Brobecker <brobecker@adacore.com>
627
628 * gdb_expat.h (XMLCALL): Define if not already defined.
629
630 2007-02-20 Andreas Schwab <schwab@suse.de>
631
632 * Makefile.in (symfile.o): Update dependencies.
633
634 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
635
636 * MAINTAINERS: Disable -Werror for cris simulator. Build
637 sparc64-solaris2.10 instead of the broken sparc-elf.
638 * solib-frv.c: Include "solib.h".
639 * Makefile.in (solib-frv.o): Update.
640 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
641 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
642 (xtensa_frame_this_id, xtensa_frame_prev_register)
643 (xtensa_push_dummy_call): Use %p.
644
645 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
646
647 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
648 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
649 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
650 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
651 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
652 (sparc-linux-tdep.o): Update.
653
654 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
655
656 * xtensa-tdep.h (xtensa_reg_mask_t): New.
657 (xtensa_mask_t): Change mask field to be a separate array.
658 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
659 (xtensa_pseudo_register_write, xtensa_unwind_pc)
660 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
661 (xtensa_breakpoint_from_pc): Remove implicit type casting.
662 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
663 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
664 (mask14, mask15): Rename to
665 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
666 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
667 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
668 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
669 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
670 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
671 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
672 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
673 (xtensa_submask14, xtensa_submask15): New.
674 (rmap): Follow strict aliasing rules doing static initialization.
675
676 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
677
678 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
679 handling from here...
680 (tdesc_register_type): ...to here.
681 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
682 * features/arm-core.xml: Use code_ptr and data_ptr.
683
684 2007-02-13 Denis Pilat <denis.pilat@st.com>
685
686 * varobj.h (enum varobj_update_error): New enum.
687 * varobj.c (struct varobj_root): Add is_valid member.
688 (varobj_get_type): Check for invalid varobj.
689 (varobj_get_attributes): Likewise.
690 (variable_editable):Likewise.
691 (varobj_update): Likewise. Use varobj_update_error.
692 (new_root_variable): Set root varobj as valid by default.
693 (varobj_invalidate): New function.
694 * symfile.c (clear_symtab_users): Use varobj_invalidate.
695 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
696 Use varobj_update_error.
697
698 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
699
700 Fix PR pascal/2223.
701 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
702 Pascal language marker.
703 * dwarf2read.c (set_cu_language): Likewise.
704
705 2007-02-12 Corinna Vinschen <vinschen@redhat.com>
706
707 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
708 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
709 instead of target_terminal_init since inferior_ptid isn't set yet.
710
711 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
712
713 * MAINTAINERS (Write After Approval): Add myself.
714
715 2007-02-09 Fred Fish <fnf@specifix.com>
716
717 Based on work by Apple Computer, Inc.
718 * event-top.c (async_request_quit): Call quit() whenever either
719 quit_flag is set or immediate_quit is set.
720
721 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
722
723 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
724 type to a pointer to const struct block.
725 (ada_lookup_symbol_list): Don't cast away constness when calling
726 remove_out_of_scope_renamings.
727
728 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
729
730 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
731 address of 'filename'; it is always non null.
732
733 2007-02-09 Joel Brobecker <brobecker@adacore.com>
734
735 * exec.c (add_to_section_table): Do not discard empty sections.
736
737 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
738
739 * features/Makefile, features/arm-with-iwmmxt.xml,
740 features/gdbserver-regs.xsl, features/number-regs.xsl,
741 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
742 * regformats/arm-with-iwmmxt.dat: Generate.
743 * NEWS: Mention iWMMXt.
744
745 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
746
747 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
748 (xml-tdesc.o): Update.
749 * xml-support.c: Add a comment.
750 (gdb_xml_enums_boolean): New variable.
751 (gdb_xml_parse_attr_enum): Use strcasecmp.
752 * xml-support.h (gdb_xml_enums_boolean): Declare.
753 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
754 next_regnum, and current_union.
755 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
756 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
757 (field_attributes, union_children, reg_attributes, union_attributes)
758 (vector_attributes, feature_attributes, feature_children): New.
759 (target_children): Make static. Add <feature>.
760 (tdesc_elements): Make static.
761 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
762 (struct tdesc_feature, tdesc_feature_p): New types.
763 (struct target_desc): Add features member.
764 (struct tdesc_arch_data, tdesc_data): New.
765 (target_find_description): Clarify error message. Warn about
766 ignored register descriptions.
767 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
768 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
769 (tdesc_data_cleanup, tdesc_numbered_register)
770 (tdesc_numbered_register_choices, tdesc_find_register)
771 (tdesc_register_name, tdesc_register_type)
772 (tdesc_remote_register_number, tdesc_register_reggroup_p)
773 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
774 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
775 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
776 (tdesc_create_feature, tdesc_record_type): New.
777 (free_target_description): Free features.
778 (_initialize_target_descriptions): Initialize tdesc_data.
779 * arch-utils.c (default_remote_register_number): New.
780 * arch-utils.h (default_remote_register_number): New prototype.
781 * target-descriptions.h (set_tdesc_pseudo_register_name)
782 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
783 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
784 (tdesc_numbered_register, tdesc_numbered_register_choices)
785 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
786 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
787 (tdesc_create_reg): Declare.
788 * gdbarch.sh (remote_register_number): New entry.
789 * gdbarch.c, gdbarch.h: Regenerate.
790 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
791 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
792
793 * arm-tdep.c (arm_register_aliases): New.
794 (arm_register_name_strings): Rename to...
795 (arm_register_names): ...this. Make const. Delete the old version.
796 (current_option, arm_register_byte): Delete.
797 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
798 (value_of_arm_user_reg): New.
799 (arm_gdbarch_init): Verify any described registers. Call
800 tdesc_use_registers. Don't use arm_register_byte. Create aliases
801 for standard register names.
802 (_initialize_arm_tdep): Do not adjust arm_register_names.
803 * user-regs.c (struct user_reg): Add baton member.
804 (append_user_reg, user_reg_add_builtin, user_regs_init)
805 (user_reg_add, value_of_user_reg): Use a baton for user
806 register functions.
807 * std-regs.c: Update.
808 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
809 (user_reg_add): Add baton argument.
810 * NEWS: Mention target description register support.
811 * features/arm-core.xml, features/arm-fpa.xml: New.
812 * eval.c (evaluate_subexp_standard): Allow ptype $register
813 when the program is not running.
814
815 2007-02-09 Nick Roberts <nickrob@snap.net.nz>
816
817 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
818
819 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
820
821 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
822 info->disassembler_options to "any".
823
824 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
825
826 * varobj.c (install_new_value): Only call value_get_print_value
827 if changeable.
828
829 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
830
831 Reported by timeless@gmail.com:
832 * gdb/target.c (target_flash_erase): Do not return void value.
833 (target_flash_done): Likewise.
834 * gdb/cli/cli-cmds.c (source_command): Likewise.
835
836 2007-02-08 Fred Fish <fnf@specifix.com>
837
838 Based on work by Apple Computer, Inc.
839 * event-top.c (handle_sigint): Set quit_flag.
840 (async_request_quit): Don't set quit_flag. Avoid calling quit()
841 if quit_flag has already been reset.
842
843 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
844
845 * ser-mingw.c (pipe_windows_close): Move variable initialization back
846 up.
847
848 2007-02-08 Fred Fish <fnf@specifix.com>
849
850 * defs.h (request_quit): Remove declaration.
851 * utils.c (request_quit): Remove definition.
852
853 2007-02-08 Joel Brobecker <brobecker@gnat.com>
854 Jan Kratochvil <jan.kratochvil@redhat.com>
855 Daniel Jacobowitz <dan@codesourcery.com>
856
857 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
858 (skip_prologue): Allow bl->blrl used by PIC code.
859
860 2007-02-08 Mark Kettenis <kettenis@gnu.org>
861 Daniel Jacobowitz <dan@codesourcery.com>
862
863 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
864 initialize tmp_obstack.
865 * p-valprint.c (pascal_object_print_value_fields)
866 (pascal_object_print_value): Likewise.
867
868 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
869
870 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
871
872 2007-02-08 Mark Kettenis <kettenis@gnu.org>
873
874 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
875 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
876
877 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
878
879 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
880 (xml_cache): New.
881 (tdesc_parse_xml): Cache expanded descriptions.
882
883 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
884
885 * Makefile.in (XMLFILES): New.
886 (COMMON_OBS): Add xml-builtin.o.
887 (xml-builtin.c, stamp-xml): New rules.
888 (xml-tdesc.o): Update.
889 * features/feature_to_c.sh: New file.
890 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
891 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
892 (gdb_xml_start_element): Initialize scope after possibly reallocating
893 scopes. Move cleanup later. Handle the XInclude description
894 specially.
895 (gdb_xml_end_element): Only parse the body if there is a current element.
896 Call XML_DefaultCurrent if there is no element.
897 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
898 (struct xinclude_parsing_data, xinclude_start_include)
899 (xinclude_end_include, xml_xinclude_default)
900 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
901 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
902 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
903 * xml-support.h (xml_fetch_another, xml_process_xincludes)
904 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
905 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
906 XInclude directives. Use the compiled in DTD.
907 (fetch_xml_from_file): Add baton argument. Treat it as a containing
908 directory name. Do not warn here.
909 (file_read_description_xml): Update call. Warn here instead. Pass
910 a dirname as baton.
911 (fetch_available_features_from_target): New.
912 (target_read_description_xml): Use it.
913 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
914 to handle XInclude.
915 * features/xinclude.dtd: New file.
916
917 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
918
919 * linux-thread-db.c (check_for_thread_db): Return early if we have
920 no libthread_db support.
921
922 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
923
924 * mi/mi-parse.h: Include <sys/time.h>.
925
926 2007-02-05 Nick Roberts <nickrob@snap.net.nz>
927
928 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
929 instead of print_variable_value to print values.
930
931 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
932
933 * mi/mi-main.c: Numerous formatting changes.
934 (mi_cmd_data_write_register_values): Replace clause inadvertantly
935 removed in my previous change.
936
937 2007-02-03 Eli Zaretskii <eliz@gnu.org>
938
939 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
940 Use 1000000L instead of 1000000.
941
942 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
943
944 Based on work by Apple Computer, Inc.
945
946 * configure.ac: Test for sys/resource.h and getrusage.
947 * configure, config.in: Regenerate.
948
949 * mi/mi-main.c: Include <sys/resource.h> if present.
950 (rusage): Declare if HAVE_GETRUSAGE.
951 (current_command_ts, do_timings): New static variables.
952 (timestamp, print_diff_now, print_diff, timeval_diff):
953 New static timing functions.
954 (mi_cmd_enable_timings): New function for new MI command.
955 (captured_mi_execute_command, mi_execute_async_cli_command):
956 Call timing functions.
957
958 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
959 -enable-timings.
960
961 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
962
963 * mi/mi-parse.h: (mi_timestamp): New structure.
964 (mi_parse): Add mi_timestamp* member.
965
966 2007-02-02 Denis Pilat <denis.pilat@st.com>
967
968 * thread.c (make_cleanup_restore_current_thread): New function.
969 (info_threads_command): Use of make_cleanup_restore_current_thread
970 to restore the current thread and the selected frame.
971 (restore_selected_frame): New function.
972 (struct current_thread_cleanup): Add frame_id field.
973 (do_restore_current_thread_cleanup): Add restoring of the selected
974 frame.
975 (make_cleanup_restore_current_thread): Likewise.
976 (thread_apply_all_command): backup the selected frame while
977 entering the function and restore it at exit.
978 (thread_apply_command): Likewise.
979
980 2007-02-02 Denis Pilat <denis.pilat@st.com>
981
982 * MAINTAINERS (Write After Approval): Add myself to the list.
983
984 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
985
986 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
987 (m32r_store_register): Ditto.
988
989 2007-01-30 Vladimir Prus <vladimir@codesourcery.com>
990
991 * ser-mingw.c (pipe_windows_open)
992 (pipe_windows_read, pipe_windows_write): Declare
993 variables at the top of the function.
994
995 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
996
997 * doublest.c (floatformat_from_length): Use the right element from
998 gdbarch floatformats.
999 (floatformat_from_type, extract_typed_floating)
1000 (store_typed_floating): Likewise.
1001 * doublest.h: Remove declarations for undefined floatformat arrays.
1002 * gdbarch.sh (float_format, double_format, long_double_format): Change
1003 to pairs.
1004 (pformat): Update for pairs.
1005 * gdbarch.c, gdbarch.h: Regenerated.
1006 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
1007 (floatformats_ieee_double_littlebyte_bigword)
1008 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
1009 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
1010 (floatformats_vax_d): New variables.
1011 (builtin_type_ieee_single, builtin_type_ieee_double)
1012 (builtin_type_arm_ext, builtin_type_ia64_spill)
1013 (builtin_type_ia64_quad): Replace arrays with individual types.
1014 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
1015 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
1016 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
1017 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
1018 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
1019 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1020 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
1021 unused and endian-specific types.
1022 (recursive_dump_type): Update for floatformat pairs.
1023 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
1024 (build_gdbtypes): Use build_flt.
1025 (_initialize_gdbtypes): Update set of initialized types.
1026 * gdbtypes.h: Update declarations to match gdbtypes.c.
1027 (struct main_type): Store a pointer to two floatformats.
1028 * arch-utils.c (default_float_format, default_double_format): Delete.
1029 * arch-utils.h (default_float_format, default_double_format): Delete.
1030
1031 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
1032 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
1033 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
1034 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
1035 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
1036
1037 2007-01-29 Joel Brobecker <brobecker@adacore.com>
1038
1039 * target.c (maintenance_print_target_stack): New function.
1040 (initialize_targets): Add new "maintenance print target-stack"
1041 command.
1042
1043 2007-01-28 Mark Kettenis <kettenis@gnu.org>
1044
1045 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
1046
1047 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
1048
1049 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
1050 (struct dwarf2_loclist_baton): Likewise.
1051
1052 2007-01-27 Eli Zaretskii <eliz@gnu.org>
1053
1054 * cli/cli-script.c: Include breakpoint.h.
1055 (build_command_line): Require arguments only for if and while
1056 commands.
1057 (get_command_line, execute_user_command, execute_control_command):
1058 Fix wording of warning messages.
1059 (print_command_lines): Print breakpoint commands.
1060 (execute_control_command): Call commands_from_control_command to
1061 handle the `commands' command inside a body of a flow-control
1062 command.
1063 (read_next_line): Recognize the `commands' command and build a
1064 command line structure for it.
1065 (recurse_read_control_structure, read_command_lines): Handle
1066 `commands' similarly to `if' and `while'.
1067
1068 * breakpoint.c (get_number_trailer): Document the special meaning
1069 of NULL as the first argument PP.
1070 (commands_from_control_command): New function.
1071
1072 * breakpoint.h (commands_from_control_command): Add prototype.
1073
1074 * defs.h (commands_control): New enumerated value for enum
1075 command_control_type.
1076
1077 2007-01-26 Joel Brobecker <brobecker@adacore.com>
1078
1079 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
1080 (ada_exception_sal): Update accordingly.
1081
1082 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
1085 * NEWS: Describe CHAR array vs. string identifcation rules.
1086
1087 2007-01-25 Paul Brook <paul@codesourcery.com>
1088
1089 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
1090
1091 2007-01-24 Jim Blandy <jimb@codesourcery.com>
1092
1093 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
1094 expression is empty, bother to return the 'optimized out' value we
1095 construct. (Thanks to Carl Burch.)
1096
1097 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1098
1099 * varobj.c (c_value_of_root, c_value_of_child)
1100 (cplus_describe_child): Don't call release_value.
1101
1102 2007-01-24 Thiemo Seufer <ths@mips.com>
1103
1104 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
1105 initialization.
1106
1107 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1108
1109 Refactor getting children name, value and type access
1110 for varobjs in C++.
1111 * varobj.c (get_type_deref): Remove.
1112 (adjust_value_for_child_access): New.
1113 (c_number_of_children): Use the above.
1114 (c_describe_child): Likewise.
1115 (enum accessibility): New.
1116 (match_accessibility): New function.
1117 (cplus_describe_child): New function.
1118 (cplus_name_of_child, cplus_value_of_child)
1119 (cplus_type_of_child): Reimplement in terms
1120 of cplus_describe_child.
1121 (cplus_number_of_children): Use
1122 adjust_value_for_child_access.
1123
1124 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1125
1126 Fix computation of the 'editable' attribute and
1127 value changeability for for references.
1128 * varobj.c (get_value_type): New function.
1129 (c_variable_editable): Use get_value_type.
1130 (varobj_value_is_changeable): Likewise.
1131
1132 2007-01-24 Joel Brobecker <brobecker@adacore.com>
1133
1134 * source.c (find_and_open_source): Try rewriting the source
1135 path inside filename if dirname is NULL.
1136
1137 2007-01-24 Joel Brobecker <brobecker@adacore.com>
1138
1139 * dwarf2read.c (add_partial_symbol): Create an extra partial
1140 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
1141 (new_symbol): Likewise for symbols.
1142
1143 2007-01-24 Nick Roberts <nickrob@snap.net.nz>
1144
1145 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
1146
1147 2007-01-23 Vladimir Prus <vladimir@codesourcery.com>
1148
1149 * value.c (value_primitive_field): Copy the full 'location'
1150 contents, instead of assuming that copying ADDRESS will
1151 bring over everything in the union. Remove obsolete comment.
1152
1153 2007-01-23 Masaki Muranaka <monaka@monami-software.com>
1154
1155 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
1156 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
1157 (m32c_m16c_pointer_to_address): Separate code from declarations.
1158
1159 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
1160
1161 * target.c (update_current_target): Correct typo.
1162
1163 2007-01-22 Masaki Muranaka <monaka@monami-software.com>
1164
1165 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
1166 declaration.
1167
1168 2007-01-11 Andrew Cagney <cagney@redhat.com>
1169 Daniel Jacobowitz <dan@codesourcery.com>
1170 Jan Kratochvil <jan.kratochvil@redhat.com>
1171
1172 * dwarf2-frame.c (execute_cfa_program): New support of
1173 `DW_CFA_GNU_negative_offset_extended'.
1174
1175 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
1176
1177 * NEWS: Mention flash support for "load" and new remote packets.
1178
1179 2007-01-21 Markus Deuling <deuling@de.ibm.com>
1180
1181 * breakpoint.c (delete_command): Skip redundant loop iterations.
1182
1183 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
1184
1185 * gdbarch.sh (register_type): Update comment.
1186 * gdbarch.h: Regenerated.
1187 * arch-utils.c (generic_register_size): Call register_type.
1188 * ia64-tdep.c (ia64_extract_return_value): Likewise.
1189 * m32c-tdep.c (check_for_saved): Likewise.
1190 * mips-tdep.c (mips_print_register, print_gp_register_row)
1191 (mips_print_registers_info): Likewise.
1192 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
1193 Likewise.
1194 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
1195 (sh64_do_register, sh64_print_register)
1196 (sh64_media_print_registers_info): Likewise.
1197 * tui/tui-regs.c (tui_register_format): Likewise.
1198
1199 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
1200
1201 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
1202
1203 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
1204 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
1205 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
1206 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
1207 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
1208 (make_symbol_completion_list): Likewise.
1209
1210 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1211 Daniel Jacobowitz <dan@codesourcery.com>
1212
1213 * buildsym.c (end_symtab): Use preallocated symtab if available.
1214 Fill in SYMBOL_SYMTAB.
1215 * buildsym.h (struct subfile): Add symtab member.
1216 * dwarf2read.c (struct dwarf2_cu): Add line_header.
1217 (struct file_entry): Add symtab.
1218 (free_cu_line_header): New function.
1219 (read_file_scope): Use it. Save line_header in the cu. Process
1220 lines before DIEs.
1221 (add_file_name): Initialize new symtab member.
1222 (dwarf_decode_lines): Create symtabs for included files.
1223 (new_symbol): Set SYMBOL_SYMTAB.
1224 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
1225 (search_symbols): Likewise.
1226 * symtab.h (struct symbol): Add symtab member.
1227 (SYMBOL_SYMTAB): Define.
1228
1229 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1230
1231 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
1232
1233 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1234
1235 * arch-utils.c (show_endian): Correct reversed condition.
1236
1237 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1238
1239 * MAINTAINERS (Write After Approval): Add myself.
1240
1241 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
1242 Vladimir Prus <vladimir@codesourcery.com>
1243
1244 Fix 'selected frame' varobjs.
1245 * varobj.c (struct varobj): Remove the error field.
1246 (varobj_set_value): Don't check var->error.
1247 (install_new_value): Don't set var->error.
1248 (varobj_update): Always pass the new value
1249 of the root via install_new_value.
1250 (create_child): Don't set error field.
1251 (new_variable): Likewise.
1252 (c_value_of_root): Always reevaluate the value
1253 of selected frame varobjs in the selected frame.
1254 Don't call reinit_frame_cache.
1255
1256 2007-01-15 Joel Brobecker <brobecker@adacore.com>
1257
1258 * source.c (_initialize_source): Improve the help text of
1259 the substitute-path commands.
1260
1261 2007-01-14 Mark Kettenis <kettenis@gnu.org>
1262
1263 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
1264 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
1265 (frv_skip_prologue): Remove prototypes.
1266 (frv_adjust_breakpoint_address): Renamed from
1267 frv_gdbarch_adjust_breakpoint_address.
1268 (frv_gdbarch_init): Adjust.
1269
1270 2007-01-13 Mark Kettenis <kettenis@gnu.org>
1271
1272 * gdbarch.sh (deprecated_extract_return_value)
1273 (deprecated_store_return_value): Remove.
1274 (extract_return_value, store_return_value): Remove default values.
1275 * gdbarch.c, gdbarch.h: Regenerate.
1276 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
1277 (legacy_store_return_value): Remove.
1278 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
1279 Remove.
1280
1281 * mi/mi-main.c: Remove obsolete comment.
1282
1283 * regcache.c, regcache.h (deprecated_register_bytes)
1284 (deprecated_read_register_bytes)
1285 (deprecated_write_register_bytes): Remove.
1286
1287 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
1288 Don't forget to move destination pointer.
1289
1290 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1291
1292 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
1293
1294 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
1295
1296 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
1297 past entry function with recent newlib.
1298
1299 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
1300
1301 * gdb.texinfo (GDB/MI Variable Objects): Improve the
1302 introduction. Specify -var-update more exactly.
1303
1304 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
1305
1306 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
1307
1308 2007-01-10 Jim Blandy <jimb@codesourcery.com>
1309
1310 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
1311 the Global Maintainers' invitation to be a global maintainer.
1312
1313 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
1314
1315 * infrun.c (singlestep_pc): New variable.
1316 (resume): Set singlestep_pc.
1317 (context_switch): Add a debugging message. Flush the frame cache.
1318 (handle_inferior_event): Add debugging messages. Handle thread
1319 hops when a software single step has completed. Let context_switch
1320 handle flushing the frame cache.
1321
1322 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1323
1324 * NEWS: Mention target descriptions, "set tdesc filename",
1325 "unset tdesc filename", "show tdesc filename", and
1326 qXfer:features:read.
1327 * arch-utils.c (choose_architecture_for_target): New function.
1328 (gdbarch_info_fill): Call it.
1329 * target-descriptions.c (struct property): Make members non-const.
1330 (struct target_desc): Add arch member.
1331 (target_description_filename): New variable.
1332 (target_find_description): Try via XML first.
1333 (tdesc_architecture): New.
1334 (free_target_description, make_cleanup_free_target_description): New.
1335 (set_tdesc_property): Call xstrdup.
1336 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
1337 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
1338 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
1339 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
1340 * target-descriptions.h (tdesc_architecture)
1341 (make_cleanup_free_target_description, set_tdesc_architecture): New
1342 prototypes.
1343 * Makefile.in (SFILES): Add xml-tdesc.c.
1344 (COMMON_OBS): Add xml-tdesc.o.
1345 (target-descriptions.o): Update.
1346 (xml-tdesc.o): New rule.
1347 * xml-tdesc.c, xml-tdesc.h: New files.
1348 * remote.c (PACKET_qXfer_features): New enum.
1349 (remote_protocol_features): Add qXfer:features:read.
1350 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
1351 (_initialize_remote): Register qXfer:features:read.
1352 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
1353 * features/gdb-target.dtd: New file.
1354
1355 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1356
1357 * copyright.sh: Clarify error.
1358
1359 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1360
1361 * symtab.c (matching_bfd_sections): Fix VMA matching for
1362 prelinked objects.
1363
1364 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1365
1366 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
1367 nested symbols.
1368
1369 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1370
1371 Updated copyright notices for most files.
1372
1373 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1374
1375 * copyright.sh (prunes): Add step-line.inp and step-line.c.
1376
1377 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1378
1379 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
1380 exec_prefix.
1381 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
1382 '${prefix}'.
1383 * configure, config.in: Regenerate.
1384 * defs.h (debug_file_directory): Declare.
1385 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
1386 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
1387 relocate it if DEBUGDIR_RELOCATABLE.
1388 * symfile.c (debug_file_directory): Make non-static.
1389 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
1390 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
1391 (_initialize_symfile): Don't initialize debug_file_directory here.
1392
1393 2007-01-09 Jim Blandy <jimb@codesourcery.com>
1394
1395 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
1396 statements.
1397
1398 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1399
1400 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
1401 frame_unwind_register to recurse.
1402 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
1403 (alpha_heuristic_frame_prev_register): Likewise.
1404 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
1405 * m32c-tdep.c (m32c_prev_register): Likewise.
1406 * frame.c (frame_register_unwind_location): Remove FIXME.
1407
1408 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1409 Eli Zaretskii <eliz@gnu.org>
1410
1411 * copyright.sh: New file.
1412
1413 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1414
1415 * configure.ac: Check for XML_StopParser.
1416 * xml-support.c (gdb_xml_body_text): Check for an error.
1417 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
1418 (gdb_xml_end_element_wrapper): Likewise.
1419 * config.in, configure: Regenerated.
1420
1421 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1422
1423 * varobj.c (install_new_value): Always update print_value.
1424 (value_get_print_value): Immediately return NULL for missing
1425 values.
1426
1427 2007-01-08 Jim Blandy <jimb@codesourcery.com>
1428
1429 * configure.ac: Tighten pattern for extracting value of
1430 DEPRECATED_TM_FILE from the target makefile fragment.
1431 * configure: Regenerated.
1432
1433 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1434
1435 * linux-nat.c (struct simple_pid_list): Add status.
1436 (add_to_pid_list): Record the PID's status.
1437 (linux_record_stopped_pid): Likewise. Make static.
1438 (pull_pid_from_list): Return the saved status.
1439 (linux_nat_handle_extended): Deleted.
1440 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
1441 Make static. Handle non-SIGSTOP for a new thread's first signal.
1442 (flush_callback): Handle unexpected pending signals.
1443 (linux_nat_wait): Update calls to changed functions.
1444 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
1445 Remove prototypes for newly static functions.
1446
1447 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1448
1449 * gdbarch.sh (value_from_register): New gdbarch function.
1450 * gdbarch.c, gdbarch.h: Regenerate.
1451 * findvar.c (default_value_from_register): New function.
1452 (value_from_register): Use gdbarch_value_from_register.
1453 * value.h (default_value_from_register): Declare.
1454 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
1455 spu_value_to_register): Remove.
1456 (spu_value_from_register): New function.
1457 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
1458 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
1459 Call set_gdbarch_value_from_register.
1460 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
1461 s390_value_to_register): Remove.
1462 (s390_value_from_register): New function.
1463 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
1464 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
1465 Call set_gdbarch_value_from_register.
1466
1467 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1468
1469 * NEWS: Add "set sysroot" and "show sysroot".
1470 * solib.c (solib_absolute_prefix): Delete. Replace
1471 all uses with gdb_sysroot.
1472 (_initialize_solib): Add "set sysroot" and "show sysroot".
1473 Make "solib-absolute-prefix" an alias to it.
1474
1475 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1476
1477 * frame.c (get_frame_register_bytes): New function.
1478 (put_frame_register_bytes): Likewise.
1479 * frame.h (get_frame_register_bytes): Declare.
1480 (put_frame_register_bytes): Likewise.
1481 * findvar.c (value_from_register): Always construct lval_register
1482 values. Use get_frame_register_bytes.
1483 * valops.c (value_assign): Use get_frame_register_bytes and
1484 put_frame_register_bytes.
1485
1486 2007-01-08 Jim Blandy <jimb@codesourcery.com>
1487
1488 * MAINTAINERS: Update Stan Shebs' email address.
1489
1490 2007-01-07 Joel Brobecker <brobecker@adacore.com>
1491
1492 * ada-lang.c (is_known_support_routine): Improve the implementation.
1493
1494 2007-01-06 Joel Brobecker <brobecker@adacore.com>
1495
1496 * ada-lang.c: Add include of source.h.
1497 (is_known_support_routine): Improve the check verifying that the file
1498 associated to this frame exists.
1499 * Makefile.in (ada-lang.o): Add dependency on source.h.
1500
1501 2007-01-07 Jim Blandy <jimb@codesourcery.com>
1502
1503 * ax-general.c (ax_const_l): Select proper opcode for the given
1504 value.
1505
1506 2007-01-05 Vladimir Prus <vladimir@codesourcery.com>
1507
1508 * varobj.c (c_value_of_root): Don't select frame if variable
1509 object is out of scope.
1510
1511 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
1512
1513 * varobj.c (struct varobj): New member print_value.
1514 (install_new_value): Compare last printed value with current one
1515 instead of contents.
1516 (new_variable): Initialize var->print_value to NULL.
1517 (free_variable): Free var->print_value.
1518 (value_get_print_value): New function derived from
1519 c_value_of_variable.
1520 (c_value_of_variable): Use value_get_print_value.
1521
1522 2007-01-05 Joel Brobecker <brobecker@adacore.com>
1523
1524 * i386-tdep.c (i386_analyze_stack_align): Add comment.
1525
1526 2007-01-05 Joel Brobecker <brobecker@adacore.com>
1527
1528 * NEWS: Add entries for new catch commands.
1529
1530 2007-01-05 Joel Brobecker <brobecker@adacore.com>
1531
1532 * dwarf2read.c (partial_die_info): Add field has_byte_size.
1533 (add_partial_symbol): Correct identification of external references.
1534 (process_structure_scope): Likewise.
1535 (read_partial_die): Handle DW_AT_byte_size attribute.
1536
1537 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
1538
1539 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
1540
1541 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
1542
1543 * varobj.c (get_type_deref): Fix variable objects for references to
1544 pointers.
1545
1546 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1547
1548 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
1549 with no symbols.
1550
1551 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1552
1553 * memory-map.c (struct_memory_map_parsing_data): Remove most
1554 members. Make property_name an array.
1555 (free_memory_map_parsing_data, memory_map_start_element)
1556 (memory_map_end_element, memory_map_character_data): Delete.
1557 (memory_map_start_memory, memory_map_end_memory)
1558 (memory_map_start_property, memory_map_end_property): New functions.
1559 (property_attributes, memory_children, memory_type_enum)
1560 (memory_attributes, memory_map_children, memory_map_elements): New.
1561 (parse_memory_map): Rewrite.
1562 * xml-support.c (debug_xml): New.
1563 (xml_get_required_attribute, xml_get_integer_attribute)
1564 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
1565 Delete.
1566 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
1567 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
1568 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
1569 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
1570 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
1571 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
1572 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
1573 New.
1574 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
1575 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
1576 (enum gdb_xml_element_flag, struct gdb_xml_element)
1577 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
1578 (struct gdb_xml_enum): New.
1579 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
1580 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
1581 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
1582 (xml_get_required_attribute, xml_get_integer_attribute)
1583 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
1584 * Makefile.in (xml_support_h, xml-support.o): Update.
1585
1586 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1587
1588 * Makefile.in (eval.o): Update dependencies.
1589 * eval.c: Include "ui-out.h" and "exceptions.h".
1590 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
1591 Use value_zero if an error occurs when avoiding side effects.
1592 * varobj.c (c_value_of_root): Initialize new_val.
1593
1594 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1595
1596 * varobj.c (varobj_list_children): Stop if the number of children is
1597 unknown.
1598 (c_number_of_children):
1599
1600 2007-01-04 Mark Kettenis <kettenis@gnu.org>
1601
1602 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
1603 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
1604 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
1605 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
1606 sizeof, instead of hardcoded constants.
1607
1608 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1609
1610 * CONTRIBUTE: Use sourceware.org.
1611
1612 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1613
1614 * buildsym.c (start_subfile): Handle producer.
1615 (record_producer): New function.
1616 * buildsym.h (struct subfile): Include producer.
1617 (record_producer): New prototype.
1618 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
1619 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
1620 armcc_cfa_offsets_reversed.
1621 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
1622 (dwarf2_frame_find_quirks): New function.
1623 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
1624 (decode_frame_entry_1): Record the CIE version. Record the
1625 augmentation. Skip armcc augmentations.
1626 * dwarf2read.c (read_file_scope): Save the producer.
1627 * symtab.h (struct symtab): Rename unused version member to
1628 producer.
1629
1630 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1631
1632 * configure.ac (build_warnings): Use -Wall and
1633 -Wdeclaration-after-statement.
1634 * configure: Regenerated.
1635
1636 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1637
1638 Simplify access to variours properties of child
1639 variable objects in C.
1640 * varobj.c (value_struct_element_index): New function.
1641 (c_describe_child): New function.
1642 (c_name_of_child, c_value_of_child)
1643 (c_type_of_child): Rewrite to use c_describe_child.
1644
1645 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1646
1647 gdb/
1648 * varobj.c: Include "vec.h".
1649 (varobj_p): New typedef, declare vector of those.
1650 (struct varobj): Use vector for the 'children' member.
1651 (child_exists): Remove.
1652 (save_child_in_parent): Remove.
1653 (remove_child_from_parent): Remove.
1654 (struct varobj_child): Remove.
1655 (struct vstack): Remove.
1656 (vpush, vpop): Remove.
1657 (varobj_list_children): Adjust to work work vector.
1658 (varobj_update): Likewise. Use vectors for
1659 working stack and result.
1660 (delete_variable_1): Likewise.
1661 * Makefile.in (varobj.o): Update dependencies.
1662
1663 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1664
1665 Port from Apple's version.
1666 gdb/
1667 * varobj.c (type_changeable): Rename to...
1668 (varobj_value_is_changeable_p): ...this. Adjust all callers.
1669 (is_root_p): New function. Use it everywhere.
1670
1671 2007-01-04 Jim Blandy <jimb@codesourcery.com>
1672
1673 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
1674 then plain 'fixup'.
1675
1676 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1677
1678 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
1679
1680 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1681
1682 * hpread.c (hpread_type_lookup): Fix compilation failure.
1683
1684 2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
1685
1686 * NEWS: New port to S+core.
1687 * MAINTAINERS (Write After Approval, Responsible Maintainers):
1688 Add myself.
1689
1690 * Makefile.in: Add dependencies for S+core files.
1691 * configure.tgt (score*, score-*-*): Add S+core target.
1692 * config/score/embed.mt: New file.
1693 * score-tdep.c: New file.
1694 * score-tdep.h: New file.
1695
1696 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1697
1698 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
1699 the appropriate type rather than a bogus void type.
1700
1701 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1702
1703 * ada-lang.h (ada_find_printable_frame): Remove.
1704 (ada_exception_catchpoint_p, ada_decode_exception_location)
1705 (ada_decode_assert_location): Add declaration.
1706 * ada-lang.c: Add include of annotate.h and valprint.h.
1707 (exception_catchpoint_kind): New enum.
1708 (function_name_from_pc, is_known_support_routine)
1709 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
1710 (ada_exception_name_addr_1, ada_exception_name_addr)
1711 (print_it_exception, print_one_exception, print_mention_exception)
1712 (print_it_catch_exception, print_one_catch_exception)
1713 (print_mention_catch_exception, catch_exception_breakpoint_ops)
1714 (print_it_catch_exception_unhandled)
1715 (print_one_catch_exception_unhandled)
1716 (print_mention_catch_exception_unhandled, print_it_catch_assert)
1717 (print_one_catch_assert, print_mention_catch_assert)
1718 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
1719 (ada_get_next_arg, catch_ada_exception_command_split)
1720 (ada_exception_sym_name, ada_exception_sym_name)
1721 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
1722 (ada_parse_catchpoint_condition, ada_exception_sal)
1723 (ada_decode_exception_location)
1724 (ada_decode_assert_location): New function.
1725 (catch_exception_unhandled_breakpoint_ops): New global variable.
1726 (catch_assert_breakpoint_ops): New global variable.
1727 * breakpoint.c: Add include of ada-lang.h.
1728 (print_one_breakpoint): Do not print the condition for Ada
1729 exception catchpoints.
1730 (create_ada_exception_breakpoint): New function.
1731 (catch_ada_exception_command, catch_assert_command): New function.
1732 (catch_command_1): Add support for the new "catch exception" and
1733 "catch assert" commands.
1734 (_initialize_breakpoint): Add help description for the new catch
1735 commands.
1736 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
1737 valprint.h.
1738 (breakpoint.o): Add dependency on ada-lang.h.
1739
1740 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
1741
1742 * coffread.c (cs_to_section): If bfd_section is found, always
1743 return its section index.
1744 (coff_symtab_read): Determine the minimal_symbol_type using the
1745 bfd_section flags.
1746
1747 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 Daniel Jacobowitz <dan@codesourcery.com>
1749
1750 * Makefile.in (top.o): Update.
1751 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
1752 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
1753 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
1754 New.
1755 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
1756
1757 2007-01-03 Mark Kettenis <kettenis@gnu.org>
1758
1759 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
1760 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
1761
1762 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
1763
1764 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
1765 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
1766 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
1767 greater than or equal to zero.
1768 * m2-typeprint.c (m2_array): Likewise.
1769 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
1770 * gdbtypes.c (copy_type_recursive): Correct == typo.
1771 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
1772 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
1773 greater than zero.
1774 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
1775 (default_macro_scope): Remove unused variable.
1776 * prologue-value.h (pv_area_find_reg): Don't name an argument
1777 "register".
1778 * remote-fileio.c (remote_fio_func_map): Add missing braces.
1779 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
1780 type.
1781 (cleanup_sigint_signal_handler): Remove casts.
1782 * valprint.c (val_print): Use a volatile local for the modified
1783 argument.
1784 * varobj.c (languages): Remove extra array dimension.
1785 (varobj_create): Correct access to languages array.
1786 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
1787 missing braces.
1788 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
1789 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
1790 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
1791 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
1792 (mi_cmd_data_write_memory): Likewise.
1793 * signals/signals.c (target_signal_to_string): Cast to int before
1794 comparing.
1795 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
1796 Update all callers.
1797
1798 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
1799
1800 * NEWS: Mention pointer to member improvements.
1801 * Makefile.in (gnu-v3-abi.o): Delete special rule.
1802 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
1803 * ada-valprint.c (ada_print_scalar): Update for new type codes.
1804 * c-typeprint.c (c_print_type): Update for new type codes.
1805 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
1806 (c_type_print_base): Likewise.
1807 (c_type_print_args): Rewrite.
1808 * c-valprint.c (c_val_print): Update for new type codes. Remove
1809 support for references to members. Treat methods like functions.
1810 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
1811 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
1812 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
1813 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
1814 (struct cp_abi_ops): Add corresponding members.
1815 * cp-valprint.c (cp_print_class_method): Delete.
1816 (cp_find_class_member): New function.
1817 (cp_print_class_member): Use it. Simplify support for bogus
1818 member pointers.
1819 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
1820 lookup_methodptr_type.
1821 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
1822 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
1823 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
1824 pointer support.
1825 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
1826 references returned by user defined operators.
1827 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
1828 (f_type_print_varspec_suffix): Remove support for member pointers.
1829 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
1830 and adjusted.
1831 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
1832 (lookup_methodptr_type): New.
1833 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
1834 (recursive_dump_type): Update for new types.
1835 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
1836 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
1837 (lookup_memberptr_type, lookup_methodptr_type)
1838 (smash_to_memberptr_type): New prototypes.
1839 (smash_to_method_type): Formatting fix.
1840 (lookup_member_type, smash_to_member_type): Delete prototypes.
1841 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
1842 Do not rely on debug information for the vptr or the method's
1843 enclosing type. Handle function descriptors for IA64.
1844 (gnuv3_virtual_fn_field): Rewrite using the new functions.
1845 (gnuv3_find_method_in, gnuv3_print_method_ptr)
1846 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
1847 (gnuv3_method_ptr_to_value): New.
1848 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
1849 * hpread.c (hpread_type_lookup): Update for new types.
1850 * infcall.c (value_arg_coerce): Likewise.
1851 * m2-typeprint.c (m2_print_type): Remove explicit support
1852 for member pointers.
1853 * m2-valprint.c (m2_val_print): Likewise.
1854 * p-typeprint.c (pascal_type_print_varspec_prefix)
1855 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
1856 * p-valprint.c (pascal_val_print): Likewise.
1857 (pascal_object_print_class_method, pascal_object_print_class_member):
1858 Delete.
1859 * p-lang.h (pascal_object_print_class_method)
1860 (pascal_object_print_class_member): Delete prototypes.
1861 * stabsread.c (read_type): Update for new types.
1862 * typeprint.c (print_type_scalar): Likewise.
1863 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
1864 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
1865 argument. Construct a pointer to member if the address of a
1866 function or data member is requested.
1867 (value_cast_pointers): Don't modify the input value.
1868 (value_cast): Adjust pointer to member handling for new types.
1869 Allow null pointer to member constants. Don't modify the input
1870 value.
1871 (value_ind): Remove pointer to member check. Handle function
1872 descriptors for function pointers.
1873 (value_struct_elt, value_find_oload_method_list, check_field):
1874 Remove pointer to member checks.
1875 * value.c (unpack_long): Allow pointers to data members.
1876 (value_from_longest): Allow member pointers.
1877 * value.h (value_aggregate_elt): Add want_address.
1878 * varobj.c (c_variable_editable): Remove check for members.
1879 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
1880 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
1881 in virtual tables.
1882 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
1883 * c-lang.h (cp_print_class_method): Delete prototype.
1884 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
1885 * mips-tdep.c (mips_gdbarch_init): Likewise.
1886 * gdbarch.c, gdbarch.h: Regenerated.
1887
1888 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1889
1890 * rs6000-tdep.c (rs6000_use_struct_convention)
1891 (rs6000_extract_return_value, rs6000_store_return_value)
1892 (rs6000_extract_struct_value_address): Remove.
1893 (rs6000_return_value): New function.
1894 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
1895 store_return_value, deprecated_extract_struct_value_address and
1896 deprecated_use_struct_convention. Use rs6000_return_value
1897 instead.
1898
1899 2007-01-02 Nick Roberts <nickrob@snap.net.nz>
1900
1901 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
1902 -display-disable, -display-enable, -display-insert and
1903 -display-list.
1904
1905 2007-01-01 Joel Brobecker <brobecker@adacore.com>
1906
1907 * breakpoint.c (remove_breakpoint): Remove dead code.
1908
1909 2007-01-01 Nick Roberts <nickrob@snap.net.nz>
1910
1911 * varobj.c: Include block.h.
1912 (c_value_of_root): Check scope within nested statements.
1913
1914 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1915
1916 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
1917 regcache_cooked_write_signed instead of
1918 deprecated_write_register_bytes.
1919
1920 2007-01-01 Joel Brobecker <brobecker@adacore.com>
1921
1922 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
1923
1924 2007-01-01 Joel Brobecker <brobecker@adacore.com>
1925
1926 Followed the Start of New Year Procedure:
1927 * ChangeLog-2006: New file, containing all the entries for 2006.
1928 * ChangeLog: Removed all 2006 entries, and changed the reference
1929 to the previous ChangeLog to point to ChangeLog 2006.
1930 * top.c (print_gdb_version): Update copyright year.
1931
1932 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1933
1934 * Makefile.in (remote-sds.o): Remove.
1935 * remote-sds.c: Delete.
1936
1937 For older changes see ChangeLog-2006.
1938 \f
1939 Local Variables:
1940 mode: change-log
1941 left-margin: 8
1942 fill-column: 74
1943 version-control: never
1944 End:
This page took 0.071259 seconds and 4 git commands to generate.