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