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