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