* sh-tdep.h (sh_show_regs): Add FRAME parameter.
[external/binutils.git] / gdb / ChangeLog
1 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
2
3         * sh-tdep.h (sh_show_regs): Add FRAME parameter.
4         * sh-tdep.c (sh_show_regs): Likewise.
5         (sh_show_regs_command): Pass current frame to sh_show_regs routine.
6         (sh_generic_show_regs): Add FRAME parameter.  Use register
7         values from that frame instead of calling read_register.
8         (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs,
9         sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs,
10         sh_dsp_show_regs): Likewise.
11         * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs,
12         sh64_show_regs): Likewise.
13
14 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
15
16         * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from
17         current regcache instead of calling read_register.
18
19 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
20
21         * mep-tdep.c (current_me_module): Read from current regcache
22         instead of calling read_register.
23         (current_options): Likewise.
24
25 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
26
27         * cris-tdep.c (cris_stopped_data_address): Read register values
28         from current frame instead of calling read_register.
29         * frv-tdep.c (frv_stopped_data_address): Likewise.
30
31 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
32
33         * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
34         instead of write_register (PC_REGNUM, ...).
35
36 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
37
38         * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
39         explaining why the PC adjustment code is necessary.
40
41 2007-06-15  Vladimir Prus  <vladimir@codesourcery.com>
42
43         * m68k-tdep.h (enum m68k_flavour): New. 
44         (struct gdbarch_tdep): New fields
45         float_return, flavour and fpregs_present.
46         * m68k-tdep.c (m68k_register_type): Use
47         fpregs_present and conditionalize floating
48         registers type on flavour.
49         (m68k_register_names): New.
50         (m68k_register_name): Use the above.
51         (m68k_convert_register_p): Consult fpregs_present.
52         (m68k_register_to_value, m68k_value_to_register):
53         Use register_type to obtain the type of floating
54         point registers.
55         (m68k_svr4_extract_return_value): Check tdep->float_return.
56         Use register_type to get the type of floating
57         point regiters.
58         (m68k_svr4_store_return_value): Likewise.
59         (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present.
60         (m68k_analyze_register_saves): Likewise.
61         (m68k_gdbarch_init): Extract infromation
62         from XML description, if present.  Guess coldfire by
63         looking at the file, if present. Conditionalize
64         setting of long double format.  Set decr_pc_after_break
65         to 2 on coldfire and fido.  Enable XML-driven
66         register description.
67         * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use
68         size of tdep->fpreg_type, as opposed to hardcoded value.
69         * Makefile.in (m68k-tdep.o): Update dependencies.
70         
71 2007-06-15  Ulrich Weigand  <uweigand@de.ibm.com>
72
73         * NEWS: Mention "info spu" commands and qXfer:spu:read and
74         qXfer:spu:write remote packet types.
75
76 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
77
78         * xml-tdesc.c (tdesc_start_target): New.
79         (target_attributes): New.
80         (tdesc_elements): Use it.
81         * features/gdb-target.dtd: Add #FIXED version attribute for
82         <target>.
83
84 2007-06-13  Arthur Huillet  <arthur.huillet@free.fr>
85
86         * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo.
87
88 2007-06-13  Claudio Fontana <claudio.fontana@gmail.com>
89
90         * fork-child.c (fork_inferior): Update comment.
91
92 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
93
94         * features/Makefile: Generate regformats for mips-linux and
95         mips64-linux.
96         * features/sort-regs.xsl: Correct typo.
97         * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete.
98         * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated
99         files.
100
101 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
102
103         * config/mips/linux.mh (TDEP_XML): New.
104         * features/mips-linux.xml, features/mips64-linux.xml: New files.
105         * mips-linux-nat.c (mips_linux_register_addr): Handle
106         MIPS_RESTART_REGNUM.
107         (mips64_linux_register_addr): Likewise.
108         (super_xfer_partial, mips_linux_xfer_partial): New.
109         (_initialize_mips_linux_nat): Add them to the target_ops.
110         * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM.
111         (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset)
112         (mips_linux_o32_sigframe_init)
113         (mips_linux_n32n64_sigframe_init): Likewise.
114         (mips_linux_write_pc, mips_linux_restart_reg_p): New.
115         (mips_linux_init_abi): Use mips_linux_write_pc.  Check for the
116         "org.gnu.gdb.mips.linux" feature.
117         * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant.
118         (mips_linux_restart_reg_p): New prototype.
119         * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI
120         initialization routine.
121         * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update.
122
123 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
124
125         * Makefile.in (mips-tdep.o): Update.
126         * mips-tdep.c (struct register_alias, mips_o32_aliases)
127         (mips_n32_n64_aliases, mips_register_aliases): New.
128         (mips_register_name): Call tdesc_register_name.
129         (mips_tdesc_register_reggroup_p): New.
130         (mips_pseudo_register_type, value_of_mips_user_reg): New.
131         (mips_gdbarch_init): Add target-described register support.
132         Register aliases for register names.
133         * target-descriptions.c (tdesc_register_name): Make global.
134         (tdesc_register_in_reggroup_p): New function, broken out from
135         tdesc_register_reggroup_p.
136         (tdesc_register_reggroup_p): Use it.
137         * target-descriptions.h (tdesc_register_name)
138         (tdesc_register_in_reggroup_p): New prototypes.
139         * NEWS: Correct formatting.  Mention MIPS register support.
140         * features/mips-cp0.xml, features/mips-fpu.xml,
141         features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml,
142         features/mips64-cpu.xml: New files.
143
144 2007-06-13  Markus Deuling  <deuling@de.ibm.com>
145
146         * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
147         * valops.c (value_cast): Likewise.
148         * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
149         * ui-out.c (ui_out_field_core_addr): Likewise.
150         * tracepoint.c (tracepoints_info): Likewise.
151         * symtab.c (print_msymbol_info): Likewise.
152         * solib-irix.c (irix_current_sos)
153         (irix_open_symbol_file_object): Likewise.
154         * remote.c (build_remote_gdbarch_data): Likewise.
155         * prologue-value.c (make_pv_area): Likewise.
156         * procfs.c (info_mappings_callback): Likewise.
157         * printcmd.c (print_scalar_formatted)
158         (deprecated_print_address_numeric): Likewise.
159         * memattr.c (mem_info_command): Likewise.
160         * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
161         * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
162         * exec.c (print_section_info): Likewise.
163         * dwarf2read.c (read_subrange_type): Likewise.
164         * dwarf2loc.c (find_location_expression): Likewise.
165         * dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
166         (signed_address_type, execute_stack_op): Likewise.
167         * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
168         * gdbarch.c, gdbarch.h: Regenerate.
169
170 2007-06-13  Markus Deuling  <deuling@de.ibm.com>
171
172         * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info.
173         * arch-utils.c (show_architecture): Likewise.
174         * remote-mips.c (mips_open): Likewise
175         * nto-tdep.c (nto_find_and_open_solib)
176         (nto_init_solib_absolute_prefix): Likewise.
177         * nto-procfs (procfs_open): Likewise.
178         * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise.
179         * gcore.c (default_gcore_mach, default_gcore_arch): Likewise.
180         * gdbarch.c, gdbarch.h: Regenerate.
181
182 2007-06-13  Markus Deuling  <deuling@de.ibm.com>
183
184         * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit.
185         * gdbtypes.c (build_flt): Likewise.
186         * gdbarch.c, gdbarch.h: Regenerate.
187
188 2007-06-13  Markus Deuling  <deuling@de.ibm.com>
189
190         * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
191         gdbarch_breakpoint_from_pc.
192         * s390-tdep.c (s390_gdbarch_init): Likewise (comment).
193         * remote.c (remote_insert_breakpoint)
194         (remote_insert_hw_breakpoint): Likewise.
195         * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
196         * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
197         * breakpoint.h (bp_target_info): Likewise (comment).
198         * breakpoint.c (read_memory_nobpt): Likewise.
199         * mem-break.c (default_memory_insert_breakpoint): Likewise.
200         (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
201         * gdbarch.c, gdbarch.h: Regenerate.
202
203 2007-06-13  Markus Deuling  <deuling@de.ibm.com>
204
205         * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit.
206         * solib-svr4.c (svr4_truncate_ptr): Likewise.
207         * solib-pa64.c (read_dynamic_info): Likewise.
208         * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
209         * solib.c (info_sharedlibrary_command): Likewise.
210         * s390-nat.c (SUBOFF): Likewise.
211         * p-valprint.c (pascal_val_print): Likewise.
212         * procfs.c (info_proc_mappings): Likewise.
213         * printcmd.c (decode_format): Likewise.
214         * nto-tdep.c (nto_truncate_ptr): Likewise.
215         * mips-linux-tdep.c (mips_linux_get_longjmp_target)
216         (mips64_linux_get_longjmp_target): Likewise.
217         * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
218         * jv-valprint.c (java_value_print): Likewise.
219         * jv-lang.c (get_java_object_header_size): Likewise.
220         * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise.
221         * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
222         (hppa_hpux_unwind_adjust_stub): Likewise.
223         * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
224         * gdbtypes.c (make_pointer_type, make_reference_type)
225         (smash_to_memberptr_type): Likewise.
226         * gdbarch.c, gdbarch.h: Regenerate.
227
228 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
229
230         * mips-tdep.c (mips_print_register): Remove unused ALL argument.
231         (print_gp_register_row): Stop before printing a register bigger
232         than the ABI register size.
233         (mips_print_registers_info): Update call to mips_print_register.
234
235 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
236
237         * expression.h (enum exp_opcode): Document a register name for
238         OP_REGISTER.
239         * parse.c (write_dollar_variable): Write the register name for
240         OP_REGISTER.
241         (operator_length_standard): Expect the register name following
242         OP_REGISTER.
243         * ada-lang.c (resolve_subexp): Likewise.
244         * ax-gdb.c (gen_expr): Likewise.
245         * eval.c (evaluate_subexp_standard): Likewise.
246         * expprint.c (print_subexp_standard, dump_subexp_body_standard):
247         Likewise.
248         * tracepoint.c (encode_actions): Likewise.
249
250 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
251
252         * utils.c (set_screen_size): Use INT_MAX for default columns.
253
254 2007-06-13  Ulrich Weigand  <uweigand@de.ibm.com>
255
256         * remote.c (remote_protocol_features): Add qXfer:spu:read and
257         qXfer:spu:write packet types.
258
259 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
260
261         * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove.
262         * gdbarch.c, gdbarch.h: Regenerate.
263
264 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
265
266         * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
267         gdbarch_stab_reg_to_regnum.
268         * stabsread.c (define_symbol): Likewise.
269         * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
270         gdbarch_ecoff_reg_to_regnum.
271         * mdebugread.c (parse_symbol): Likewise.
272         * i386-tdep.c (i386_gdbarch_init): Likewise (comment).
273         * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
274         gdbarch_dwarf_reg_to_regnum.
275         * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
276         * coffread.c (process_coff_symbol): Likewise.
277         * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
278         gdbarch_dwarf2_reg_to_regnum.
279         * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
280         (locexpr_describe_location): Likewise.
281         * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
282         (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
283         * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
284         * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
285         * gdbarch.c, gdbarch.h: Regenerate.
286
287 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
288
289         * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
290         gdbarch_smash_text_address.
291         * somread.c (som_symtab_read): Likewise.
292         * elfread.c (record_minimal_symbol): Likewise.
293         * dbxread.c (process_one_symbol): Likewise.
294         * coffread.c (coff_symtab_read): Likewise.
295         * gdbarch.c, gdbarch.h: Regenerate.
296
297 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
298
299         * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value.
300         * findvar.c (value_from_register): Likewise.
301         * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register.
302         * valops.c (value_assign): Likewise.
303         * gdbarch.sh (CONVERT_REGISTER_P): Replace by
304         gdbarch_convert_register_p.
305         * findvar.c (value_from_register): Likewise.
306         * valops.c (value_assign): Likewise.
307         * gdbarch.c, gdbarch.h: Regenerate.
308
309 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
310
311         * gdbarch.sh (REGISTER_SIM_REGNO): Replace by
312         gdbarch_register_sim_regno.
313         * sim-regno.h (sim_regno): Likewise (comment).
314         * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
315         * gdbarch.c, gdbarch.h: Regenerate.
316
317 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
318
319         * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
320         gdbarch_virtual_frame_pointer.
321         * tracepoint.c (encode_actions): Likewise.
322         * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
323         * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
324         * gdbarch.c, gdbarch.h: Regenerate.
325
326 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
327
328         * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
329         * p-lang.c (pascal_create_fundamental_type): Likewise.
330         * objc-lang.c (objc_create_fundamental_type): Likewise.
331         * mdebugread.c (_initialize_mdebugread): Likewise.
332         * m2-lang.c (m2_create_fundamental_type)
333         (_initialize_m2_language): Likewise.
334         * gdbtypes.c (build_gdbtypes): Likewise.
335         * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
336         * doublest.c (floatformat_from_length): Likewise.
337         * c-lang.c (c_create_fundamental_type): Likewise.
338         * ada-lang.c (ada_create_fundamental_type)
339         (ada_language_arch_info): Likewise.
340         * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
341         * value.c (unpack_double): Likewise (comment).
342         * gdbtypes.c (build_gdbtypes): Likewise.
343         * doublest.c (floatformat_from_length): Likewise.
344         * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
345         * valarith.c (value_binop): Likewise.
346         * p-lang.c (pascal_create_fundamental_type): Likewise.
347         * objc-lang.c (objc_create_fundamental_type): Likewise.
348         * mdebugread.c (_initialize_mdebugread): Likewise.
349         * m2-lang.c (m2_create_fundamental_type): Likewise.
350         * gdbtypes.c (build_gdbtypes): Likewise.
351         * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
352         * doublest.c (floatformat_from_length): Likewise.
353         * cris-tdep.c (cris_gdbarch_init): Likewise (comment).
354         * c-lang.c (c_create_fundamental_type): Likewise.
355         * ada-lex.l (processReal): Likewise.
356         * ada-lang.c (ada_create_fundamental_type)
357         (ada_language_arch_info): Likewise.
358         * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
359         * value.c (unpack_double): Likewise (comment).
360         * gdbtypes.c (build_gdbtypes): Likewise.
361         * doublest.c (floatformat_from_length): Likewise.
362         * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
363         gdbarch_long_double_bit.
364         * p-lang.c (pascal_create_fundamental_type): Likewise.
365         * objc-lang.c (objc_create_fundamental_type): Likewise.
366         * m2-lang.c (m2_create_fundamental_type): Likewise.
367         * gdbtypes.c (build_gdbtypes): Likewise.
368         * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
369         * doublest.c (floatformat_from_length): Likewise.
370         * c-lang.c (c_create_fundamental_type): Likewise.
371         * ada-lex.l (processReal): Likewise.
372         * ada-lang.c (ada_create_fundamental_type)
373         (ada_language_arch_info): Likewise.
374         * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
375         gdbarch_long_double_format.
376         * gdbtypes.c (build_gdbtypes): Likewise.
377         * doublest.c (floatformat_from_length): Likewise.
378         * gdbarch.c, gdbarch.h: Regenerate.
379
380 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
381
382         * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
383         * ada-lang.c (ada_create_fundamental_type)
384         (ada_language_arch_info): Likewise.
385         * c-lang.c (c_create_fundamental_type): Likewise.
386         * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
387         * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
388         * m2-lang.c (m2_create_fundamental_type): Likewise.
389         * objc-lang.c (objc_create_fundamental_type): Likewise.
390         * p-lang.c (pascal_create_fundamental_type): Likewise.
391         * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit.
392         * c-exp.y (parse_number): Likewise.
393         * objc-exp.y (parse_number): Likewise.
394         * ada-lex.l (processInt): Likewise.
395         * f-exp.y (parse_number): Likewise.
396         * p-exp.y (parse_number): Likewise.
397         * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info)
398         (gdbtypes_post_init, build_gdbtypes): Likewise.
399         * p-lang.c (pascal_create_fundamental_type): Likewise.
400         * parse.c (build_parse): Likewise.
401         * xcoffread.c (_initialize_xcoffread): Likewise.
402         * stabsread.c (define_symbol, read_one_struct_field, read_enum_type)
403         (read_range_type): Likewise.
404         * objc-lang.c (objc_create_fundamental_type): Likewise.
405         * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise.
406         * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language)
407         (m2_create_fundamental_type): Likewise.
408         * c-lang.c (c_create_fundamental_type): Likewise.
409         * coffread.c (coff_read_enum_type): Likewise.
410         * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise.
411         * dwarf2read.c (new_symbol): Likewise.
412         * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit.
413         * c-exp.y (parse_number): Likewise.
414         * objc-exp.y (parse_number): Likewise.
415         * ada-lex.l (processInt): Likewise.
416         * f-exp.y (parse_number): Likewise.
417         * p-exp.y (parse_number): Likewise.
418         * valarith.c (value_binop): Likewise.
419         * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise.
420         * ada-lang.c (ada_create_fundamental_type)
421         (ada_language_arch_info): Likewise.
422         * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
423         * symfile.c (TARGET_LONG_BYTES): Likewise.
424         * p-lang.c (pascal_create_fundamental_type): Likewise.
425         * objc-lang.c (objc_create_fundamental_type): Likewise.
426         * m2-lang.c (m2_create_fundamental_type): Likewise.
427         * f-lang.c (f_create_fundamental_type): Likewise.
428         * c-lang.c (c_create_fundamental_type): Likewise.
429         * coffread.c (decode_base_type): Likewise.
430         * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit.
431         * c-exp.y (parse_number): Likewise.
432         * objc-exp.y (parse_number): Likewise.
433         * p-exp.y (parse_number): Likewise.
434         * ada-lang.c (ada_create_fundamental_type)
435         (ada_language_arch_info): Likewise.
436         * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise.
437         * stabsread.c (read_range_type): Likewise.
438         * p-lang.c (pascal_create_fundamental_type): Likewise.
439         * objc-lang.c (objc_create_fundamental_type): Likewise.
440         * m2-lang.c (m2_create_fundamental_type): Likewise.
441         * f-lang.c (f_create_fundamental_type): Likewise.
442         * c-lang.c (c_create_fundamental_type): Likewise.
443         * gdbarch.c, gdbarch.h: Regenerate.
444
445 2007-06-12  Andreas Schwab  <schwab@suse.de>
446
447         * frame-unwind.h (frame_dealloc_cache_ftype): Define.
448         (struct frame_unwind): Add dealloc_cache.
449         * frame.c (reinit_frame_cache): Call dealloc_cache on all caches.
450
451         * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare.
452         * libunwind-frame.c (libunwind_frame_dealloc_cache): Define.
453         (libunwind_frame_unwind): Set dealloc_cache.
454         * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.
455
456 2007-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
457             Markus Deuling  <deuling@de.ibm.com>
458
459         * remote.c (remote_write_qxfer): New function.
460         (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
461         (remote_read_qxfer): Do not cache empty objects.
462         (_initialize_remote): Add PACKET_qXfer_spu_read and
463         PACKET_qXfer_spu_write.
464
465 2007-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
466
467         * target.h (enum target_object): Add TARGET_OBJECT_SPU.
468         * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.
469
470         * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
471         (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
472         SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
473         * spu-tdep.c (infospucmdlist): New variable.
474         (spu_register_name): Handle additional pseudo registers.
475         (spu_register_type): Likewise.
476         (spu_pseudo_register_read): Likewise.
477         (spu_pseudo_register_write): Likewise.
478         (spu_pseudo_register_read_spu): New function.
479         (spu_pseudo_register_write_spu): Likewise.
480         (info_spu_event_command): New function.
481         (info_spu_signal_command): Likewise.
482         (info_spu_mailbox_list): Likewise.
483         (info_spu_mailbox_command): Likewise.
484         (spu_mfc_get_bitfield): Likewise.
485         (info_spu_dma_cmdlist): Likewise.
486         (info_spu_dma_command): Likewise.
487         (info_spu_proxydma_command): Likewise.
488         (info_spu_command): Likewise.
489         (_initialize_spu_tdep): Install "info spu" commands.
490
491 2007-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
492
493         * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
494         accessing non-seekable spufs files.
495
496 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
497
498         * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by
499         gdbarch_skip_trampoline_code.
500         * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
501         * objc-lang.c (objc_skip_trampoline)
502         (objc_submethod_helper_data): Likewise.
503         * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment).
504         * infrun.c (handle_inferior_event): Likewise.
505         * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise.
506         * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by
507         gdbarch_in_solib_return_trampoline.
508         * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
509         * infrun.c (handle_inferior_event): Likewise.
510         * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise.
511         * gdbarch.c, gdbarch.h: Regenerate.
512
513 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
514
515         * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue.
516         * symtab.c (find_function_start_sal, in_prologue): Likewise.
517         * linespec.c (minsym_found): Likewise.
518         * infrun.c (step_into_function): Likewise.
519         * gdbarch.c, gdbarch.h: Regenerate.
520
521 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
522
523         * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc.
524         * valops.c (value_allocate_space_in_inferior): Likewise.
525         * gdbarch.c, gdbarch.h: Regenerate.
526
527 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
528
529         * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
530         gdbarch_memory_insert_breakpoint.
531         * mem-break.c (memory_insert_breakpoint): Likewise.
532         * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
533         gdbarch_memory_remove_breakpoint.
534         * mem-break.c (memory_remove_breakpoint): Likewise.
535         * gdbarch.c, gdbarch.h: Regenerate.
536
537 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
538
539         * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
540         gdbarch_fetch_tls_load_module_address.
541         * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
542         gdbarch_fetch_tls_load_module_address_p.
543         * gdbarch.c, gdbarch.h: Regenerate.
544
545 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
546
547         * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
548         gdbarch_decr_pc_after_break.
549         * tracepoint.c (trace_dump_command): Likewise.
550         * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
551         * linux-thread-db.c (check_event): Likewise.
552         * linux-nat.c (cancel_breakpoints_callback): Likewise.
553         * infrun.c (adjust_pc_after_break, normal_stop): Likewise.
554         * frame.h: Likewise (comment).
555         * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
556         * aix-thread.c (aix_thread_wait): Likewise.
557         * gdbarch.c, gdbarch.h: Regenerate.
558
559 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
560
561         * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
562         gdbarch_address_class_type_flags.
563         * dwarf2read.c (read_tag_pointer_type): Likewise.
564         * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
565         gdbarch_address_class_type_flags_p.
566         * dwarf2read.c (read_tag_pointer_type): Likewise.
567         * gdbarch.c, gdbarch.h: Regenerate.
568
569 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
570
571         * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
572         * value.c (value_as_address): Likewise (comment).
573         * remote-mips.c (common_breakpoint): Likewise.
574         * regcache.c (read_pc_pid): Likewise.
575         * printcmd.c (do_one_display): Likewise.
576         * monitor.c (monitor_write_memory, monitor_read_memory)
577         (monitor_insert_breakpoint): Likewise.
578         * mips-tdep.c (heuristic_proc_start): Likewise.
579         * infrun.c (insert_step_resume_breakpoint_at_frame)
580         (insert_step_resume_breakpoint_at_caller): Likewise.
581         * buildsym.c (record_line): Likewise.
582         * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
583         (arm_get_next_pc): Likewise.
584         * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
585         (store_regs): Likewise.
586         * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
587         * arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
588         * gdbarch.c, gdbarch.h: Regenerate.
589
590 2007-06-09  Markus Deuling  <deuling@de.ibm.com>
591
592         * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
593         * tracepoint.c (scope_info): Likewise.
594         * target.c (debug_print_register): Likewise.
595         * stack.c (frame_info): Likewise.
596         * sh-tdep.c (sh_register_reggroup_p): Likewise.
597         * sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
598         (sh64_media_print_registers_info)
599         (sh64_compact_print_registers_info): Likewise.
600         * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
601         * remote-sim.c (gdbsim_fetch_register): Likewise.
602         * remote.c (packet_reg): Likewise (comment).
603         * reggroups.c (default_register_reggroup_p): Likewise.
604         * regcache.c (regcache_dump): Likewise.
605         * printcmd.c (address_info): Likewise.
606         * ppc-linux-nat.c (fetch_register, store_register): Likewise.
607         * mt-dep.c (mt_registers_info): Likewise.
608         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
609         * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
610         (mips_read_fp_register_double, mips_print_fp_register)
611         (mips_print_register, print_gp_register_row, mips_print_registers_info)
612         (mips_register_sim_regno): Likewise.
613         * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
614         * inf-ptrace.c (inf_ptrace_fetch_register)
615         (inf_ptrace_store_register): Likewise.
616         * infcmd.c (default_print_registers_info): Likewise.
617         * ia64-linux-nat.c (ia64_linux_fetch_register)
618         (ia64_linux_store_register): Likewise.
619         * i386-linux-nat.c (fetch_register, store_register): Likewise.
620         * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
621         * hppa-linux-nat.c (fetch_register, store_register): Likewise.
622         * hppa-hpux-nat.c (hppa_hpux_fetch_register)
623         (hppa_hpux_store_register): Likewise.
624         * findvar.c (locate_var_value): Likewise.
625         * dwarf2loc.c (locexpr_describe_location): Likewise.
626         * dwarf2-frame.c (execute_cfa_program): Likewise.
627         * arm-tdep.c (arm_push_dummy_call): Likewise.
628         * arch-utils.c (legacy_register_sim_regno): Likewise.
629         * alpha-tdep.c (alpha_register_reggroup_p): Likewise.
630         * alpha-nat.c (fetch_osf_core_registers): Likewise.
631         * mi/mi-main.c (mi_cmd_data_list_register_names)
632         (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
633         (mi_cmd_data_write_register_values): Likewise.
634         * gdbarch.c, gdbarch.h: Regenerate.
635
636 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
637
638         * target-memory.c (blocks_to_erase): Correct off-by-one error.
639
640 2007-06-06  Vladimir Prus  <vladimir@codesourcery.com>
641         
642         * remote.c (process_g_packet): Don't check size.
643         * gdbarch.sh: Remove register_bytes_ok.
644         * gdbarch.c: Regenerated.
645         * gdbarch.h: Regenerated.
646         * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
647         (m68k_register_bytes_ok): Remove.
648         (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
649         
650 2007-06-06  Andreas Schwab  <schwab@suse.de>
651
652         * libunwind-frame.c (unw_destroy_addr_space_p): Define.
653         (destroy_addr_space_name): Define.
654         (libunwind_load): Get address of destroy_addr_space function.
655         (libunwind_frame_cache): Destroy unw_addr_space_t object before
656         returning unsuccessfully.
657         (libunwind_frame_sniffer): Destroy unw_addr_space_t object before
658         returning.
659         (libunwind_sigtramp_frame_sniffer): Likewise.
660         (libunwind_get_reg_special): Likewise.
661
662 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
663
664         * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
665         gdbarch_fetch_pointer_argument.
666         * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
667         * gdbarch.c, gdbarch.h: Regenerate.
668
669 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
670
671         * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
672         gdbarch_have_nonsteppable_watchpoint.
673         * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
674         * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
675         gdbarch_cannot_step_breakpoint.
676         * infrun.c (resume): Likewise.
677         * gdbarch.c, gdbarch.h: Regenerate.
678
679 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
680
681         * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
682         * stack.c (print_frame_args): Likewise.
683         * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
684         * stack.c (print_args_stub, frame_info): Likewise.
685         * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
686         * stack.c (print_args_stub, frame_info): Likewise.
687         * gdbarch.c, gdbarch.h: Regenerate.
688
689 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
690
691         * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
692         gdbarch_coff_make_msymbol_special.
693         * coffread.c (coff_symtab_read): Likewise.
694         * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
695         gdbarch_elf_make_msymbol_special.
696         * elfread.c (elf_symtab_read): Likewise.
697         * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
698         * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
699         * gdbarch.c, gdbarch.h: Regenerate.
700
701 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
702
703         * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
704         gdbarch_frame_red_zone_size.
705         * gdbarch.c, gdbarch.h: Regenerate.
706
707 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
708
709         * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
710         * infcall.c (call_function_by_hand): Likewise.
711         * gcore.c (derive_stack_segment): Likewise.
712         * frame.c (frame_id_inner): Likewise.
713         * arch-utils.c (core_addr_lessthan): Likewise (comment).
714         * ada-lang.c (ensure_lval): Likewise.
715         * gdbarch.c, gdbarch.h: Regenerate.
716
717 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
718
719         * gdbarch.sh (ADDRESS_TO_POINTER): Replace by
720         gdbarch_address_to_pointer.
721         * findvar.c (store_typed_address): Likewise.
722         * gdbtypes.c (make_pointer_type): Likewise (comment).
723         * procfs.c (procfs_address_to_host_pointer): Likewise.
724         * std-regs.c (value_of_builtin_frame_reg): Likewise.
725         (value_of_builtin_frame_fp_reg): Likewise.
726         (value_of_builtin_frame_pc_reg): Likewise.
727         * utils.c (paddress): Likewise (comment).
728         * gdbarch.sh (POINTER_TO_ADDRESS): Replace by
729         gdbarch_pointer_to_address.
730         * findvar.c (extract_typed_address): Likewise.
731         * gdbtypes.c (make_pointer_type): Likewise (comment).
732         * valops.c (value_cast): Likewise (comment).
733         * gdbarch.c, gdbarch.h: Regenerate.
734
735 2007-06-06  Markus Deuling  <deuling@de.ibm.com>
736
737         * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
738         * infrun.c (handle_inferior_event): Likewise.
739         * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
740         gdbarch_get_longjmp_target_p.
741         * breakpoint.c (breakpoint_re_set): Likewise.
742         * infrun.c (handle_inferior_event): Likewise.
743         * gdbarch.c, gdbarch.h: Regenerate.
744
745 2007-06-06  Ulrich Weigand  <uweigand@de.ibm.com>
746
747         * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
748         HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
749         HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
750         hp_cxx_exception_support, hp_cxx_exception_support_initialized,
751         eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
752         eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
753         find_stub_with_shl_get, cover_find_stub_with_shl_get,
754         initialize_hp_cxx_exception_support, child_enable_exception_callback,
755         current_ex_event, child_get_current_exception_event): Remove.
756         (hppa_hpux_inferior_created): Remove.
757         (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
758
759         * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
760         (deprecated_exception_support_initialized): Remove.
761         * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
762         (deprecated_exception_support_initialized): Remove.
763         (breakpoint_init_inferior): Remove handling of non-zero
764         deprecated_exception_catchpoints_are_fragile.
765
766         * symtab.h (deprecated_hp_som_som_object_present): Remove.
767         * symtab.c (deprecated_hp_som_som_object_present): Remove.
768         * c-typeprint.c (c_type_print_base): Remove handling of non-zero
769         deprecated_hp_som_som_object_present.
770         * eval.c (evaluate_subexp_standard): Likewise.
771         * valops.c (value_cast): Likewise.
772
773         * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
774         * parser-defs.h (parse_nested_classes_for_hpacc): Remove.
775         * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
776
777 2007-06-06  Ulrich Weigand  <uweigand@de.ibm.com>
778
779         * objfiles.h (ImportEntry, ExportEntry): Remove types.
780         (struct objfile): Remove import_list, import_list_size,
781         export_list, export_list_size members.
782         (is_in_import_list): Remove prototype.
783         * objfiles.c (is_in_import_list): Remove.
784         * somread.c (init_import_symbols, init_export_symbols): Remove.
785         (som_symfile_read): Do not call init_import_symbols.  Do not
786         set objfile->export_list and objfile->export_list_size.
787
788 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
789
790         * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
791         Use the original objfile if necessary.
792
793 2007-06-04  Daniel Jacobowitz  <dan@codesourcery.com>
794
795         * defs.h (ldirname): New prototype.
796         * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
797         missing.
798         * utils.c (ldirname): New function.
799         * xml-tdesc.c (file_read_description_xml): Use ldirname.
800
801 2007-06-01  Ulrich Weigand  <uweigand@de.ibm.com>
802
803         * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
804
805 2007-06-01  Joel Brobecker  <brobecker@adacore.com>
806
807         * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
808
809 2007-06-01  Ulrich Weigand  <uweigand@de.ibm.com>
810
811         * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
812
813 2007-06-01  Ulrich Weigand  <uweigand@de.ibm.com>
814
815         * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
816         INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
817         (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
818         PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
819         (ppc_linux_in_sigtramp, insn_is_sigreturn,
820         ppc_linux_at_sigtramp_return_path): Remove.
821
822 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
823
824         * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
825         (xtensa_register_write_masked, xtensa_register_read_masked)
826         (xtensa_extract_return_value, xtensa_store_return_value
827         (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace 
828         TARGET_BYTE_ORDER by gdbarch_byte_order.
829         * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
830         (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
831         (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
832         * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
833         (sh64_push_dummy_call, sh64_extract_return_value)
834         (sh64_store_return_value, sh64_register_convert_to_virtual)
835         (sh64_register_convert_to_raw, sh64_pseudo_register_read)
836         (sh64_pseudo_register_write, sh64_do_fp_register)
837         (sh64_frame_prev_register): Likewise.
838         * score-tdep.c (score_print_insn, score_breakpoint_from_pc)
839         (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
840         * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
841         (e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
842         * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
843         * ppc-linux-nat.c (store_register): Likewise.
844         * nto-tdep.c (nto_find_and_open_solib)
845         (nto_init_solib_absolute_prefix): Likewise.
846         * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
847         (mips_convert_register_p, mips_eabi_push_dummy_call)
848         (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
849         (mips_o32_push_dummy_call, mips_o32_return_value)
850         (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
851         (mips_read_fp_register_single, mips_read_fp_register_double)
852         (mips_print_register, print_gp_register_row, gdb_print_insn_mips)
853         (mips_breakpoint_from_pc): Likewise.
854         * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
855         * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
856         (mips_linux_o32_sigframe_init): Likewise.
857         * m32r-tdep.c (m32r_memory_insert_breakpoint)
858         (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
859         * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
860         (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
861         * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
862         * coffread.c (process_coff_symbol): Likewise.
863         * arm-tdep.c (convert_from_extended, convert_to_extended)
864         (gdb_print_insn_arm): Likewise.
865
866 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
867
868         * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
869         * i386-tdep.c (i386_dbx_reg_to_regnum)
870         (i386_svr4_reg_to_regnum): Likewise.
871         * inf-ptrace.c (inf_ptrace_fetch_registers)
872         (inf_ptrace_store_registers): Likewise.
873         * corelow.c (get_core_registers): Likewise.
874         * i386-linux-nat.c (supply_gregset, fill_gregset)
875         (i386_linux_fetch_inferior_registers)
876         (i386_linux_store_inferior_registers): Likewise.
877         * remote.c (init_remote_state,packet_reg_from_regnum)
878         (packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
879         (remote_prepare_to_store,store_registers_using_G)
880         (remote_store_registers,remote_arch_state): Likewise.
881         * tracepoint.c (encode_actions): Likewise.
882         * mi/mi-main.c (mi_cmd_data_list_register_names)
883         (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
884         (mi_cmd_data_write_register_values): Likewise.
885         * tui/tui-regs.c (tui_show_register_group)
886         (tui_show_register_group): Likewise.
887         * xtensa-tdep.h (FP_ALIAS): Likewise.
888         * xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
889         (xtensa_reg_to_regnum,xtensa_pseudo_register_read)
890         (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
891         * win32-nat.c (do_win32_fetch_inferior_registers)
892         (do_win32_store_inferior_registers,fetch_elf_core_registers
893         * user-regs.h: Likewise (comment).
894         * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
895         * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
896         * target-descriptions.h: Likewise (comment).
897         * target-descriptions.c (tdesc_use_registers): Likewise (comment).
898         * target.c (debug_print_register): Likewise.
899         * stack.c (frame_info): Likewise.
900         * stabsread.c (define_symbol): Likewise.
901         * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
902         (sh64_media_print_registers_info)
903         (sh64_compact_print_registers_info): Likewise.
904         * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
905         * rs6000-nat.c (fetch_register,store_register): Likewise.
906         * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
907         (gdbsim_fetch_register,gdbsim_store_register): Likewise.
908         * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
909         * remote-m32r-sdi.c (m32r_fetch_registers)
910         (m32r_store_registers): Likewise.
911         * reggroups.c (default_register_reggroup_p): Likewise.
912         * regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
913         (regcache_restore,regcache_dump): Likewise.
914         * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
915         * mips-tdep.c (mips_xfer_register,mips_register_name)
916         (mips_register_reggroup_p,mips_pseudo_register_read)
917         (mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
918         (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
919         (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
920         (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
921         (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
922         (print_gp_register_row,mips_print_registers_info)
923         (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
924         (mips_register_sim_regno): Likewise.
925         * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
926         (mips_linux_n32n64_sigframe_init): Likewise.
927         * mips-linux-nat.c (mips_linux_register_addr)
928         (mips64_linux_register_addr): Likewise.
929         * findvar.c (value_of_register): Likewise.
930         * infcmd.c (default_print_registers_info,registers_info)
931         (print_vector_info,print_float_info): Likewise.
932         * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
933         * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
934         * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
935         * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
936         * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
937         * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
938         (ia64_cannot_store_register,ia64_linux_fetch_registers)
939         (ia64_linux_store_registers): Likewise.
940         * hpux-thread.c (hpux_thread_fetch_registers)
941         (hpux_thread_store_registers): Likewise.
942         * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
943         (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
944         (h8300_register_type): Likewise.
945         * dwarf2-frame.c (dwarf2_frame_cache)
946         (dwarf2_frame_state_alloc_regs): Likewise.
947         * cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
948         (cris_cannot_store_register,crisv32_cannot_fetch_register)
949         (crisv32_cannot_store_register,cris_register_name): Likewise.
950         * avr-tdep.c (avr_frame_unwind_cache): Likewise.
951         * arch-utils.c (legacy_register_sim_regno)
952         (legacy_virtual_frame_pointer): Likewise.
953         * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
954         * arm-tdep.h: Likewise (comment).
955         * frv-tdep.c (frv_register_sim_regno): Likewise.
956         * m68klinux-nat.c (old_fetch_inferior_registers)
957         (old_store_inferior_registers): Likewise.
958         * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
959         * irix5-nat.c (fetch_core_registers): Likewise.
960         * hppa-tdep.c (hppa_frame_cache): Likewise.
961         * hppa-linux-nat.c (hppa_linux_register_addr)
962         (hppa_linux_fetch_inferior_registers)
963         (hppa_linux_store_inferior_registers): Likewise.
964         * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
965         (hppa_hpux_store_inferior_registers): Likewise.
966         * amd64-nat.c (amd64_native_gregset_reg_offset)
967         (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
968         * dbug-rom.c (dbug_regname): Likewise.
969         * m68hc11-tdep.c (m68hc11_frame_unwind_cache)
970         (HARD_PAGE_REGNUM (comment)): Likewise.
971         * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
972         * i386-tdep.c (i386_dbx_reg_to_regnum)
973         (i386_svr4_reg_to_regnum): Likewise.
974         * mi/mi-main.c (mi_cmd_data_list_register_names)
975         (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
976         (mi_cmd_data_write_register_values): Likewise.
977         * gdbarch.c, gdbarch.h: Regenerate.
978         * tui/tui-regs.c (tui_show_register_group): Likewise.
979         * xtensa-tdep.h (FP_ALIAS): Likewise.
980         * user-regs.h: Likewise (comment).
981         * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
982         * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
983         * target-descriptions.h: Likewise (comment).
984         * target.c (debug_print_register): Likewise.
985         * stack.c (frame_info): Likewise.
986         * stabsread.c (define_symbol): Likewise.
987         * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
988         (sh64_compact_print_registers_info): Likewise.
989         * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
990         * regcache.c (init_regcache_descr,register_size,regcache,regcache_save
991         (regcache_restore,regcache_dump): Likewise.
992         * mips-tdep.c (print_gp_register_row,mips_print_registers_info)
993         (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
994         (mips_stab_reg_to_regnum): Likewise.
995         * findvar.c (value_of_register): Likewise.
996         * infcmd.c (default_print_registers_info,registers_info)
997         (print_vector_info,print_float_info): Likewise.
998         * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
999         * h8300-tdep.c (h8300_register_type): Likewise.
1000         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1001         * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
1002         * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
1003         (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
1004         * parse.c: Remove comment.
1005         * gdbarch.c, gdbarch.h: Regenerate
1006
1007 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
1008
1009         * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
1010         gdbarch_cannot_fetch_register.
1011         * alpha-nat.c (fetch_osf_core_registers): Likewise.
1012         * hppa-linux-nat.c (fetch_register): Likewise.
1013         * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
1014         * m68klinux-nat.c (fetch_register): Likewise.
1015         * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
1016         Likewise.
1017         * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
1018         gdbarch_cannot_store_register.
1019         * hppa-linux-nat.c (store_register): Likewise.
1020         * inf-ptrace.c (inf_ptrace_store_register): Likewise.
1021         * regcache.c (regcache_raw_write): Likewise.
1022         * m68klinux-nat.c (store_register): Likewise.
1023         * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
1024         * gdbarch.c, gdbarch.h: Regenerate.
1025
1026 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
1027
1028         * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
1029         * gdbarch.c, gdbarch.h: Regenerate.
1030
1031 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
1032
1033         * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
1034         * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
1035         * gdbarch.c, gdbarch.h: Regenerate.
1036
1037 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
1038
1039         * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
1040         * ax-gdb.c (gen_bitfield_ref): Likewise.
1041         * mi/mi-main.c (get_register): Likewise.
1042         * findvar.c (default_value_from_register, extract_signed_integer)
1043         (extract_unsigned_integer, extract_long_unsigned_integer)
1044         (store_signed_integer, store_unsigned_integer): Likewise.
1045         * regcache.c (regcache_dump): Likewise.
1046         * value.c (lookup_internalvar, value_of_internalvar)
1047         (set_internalvar): Likewise.
1048         * defs.h: Likewise.
1049         * valprint.c (print_binary_chars, print_octal_chars)
1050         (print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
1051         * infcmd.c (default_print_registers_info): Likewise.
1052         * arch-utils.c (selected_byte_order, show_endian): Likewise.
1053         * stabsread.c (define_symbol): Likewise.
1054         * doublest.c (floatformat_from_length, floatformat_from_type)
1055         (extract_typed_floating, store_typed_floating): Likewise.
1056         * gdbarch.c, gdbarch.h: Regenerate.
1057
1058 2007-05-31  Markus Deuling  <deuling@de.ibm.com>
1059
1060         * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
1061         gdbarch_call_dummy_location.
1062         * infcall.c (call_function_by_hand): Likewise.
1063         * inferior.h: Change comment.
1064         * arch-utils.c: Change comment.
1065         * gdbarch.c, gdbarch.h: Regenerate.
1066
1067 2007-05-28  Joel Brobecker  <brobecker@adacore.com>
1068
1069         * solib-aix5.c: Delete.
1070         * Makefile.in (solib-aix5.o): Delete rule.
1071
1072 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
1073
1074         * breakpoint.h (enum bpstat_what_main_action): Remove
1075         BPSTAT_WHAT_THROUGH_SIGTRAMP.
1076         * infrun.c (process_event_stop_test): Do not check for it.
1077
1078 2007-05-22  Chris Dearman  <chris@mips.com>
1079             Maciej W. Rozycki  <macro@mips.com>
1080
1081         * ser-unix.c (show_serial_hwflow): New function.
1082         (hardwire_raw): Add hardware flow control support.
1083         (_initialize_ser_hardwire): Add "set/show remoteflow".
1084         * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
1085         * NEWS: Document the new command.
1086
1087 2007-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
1088
1089         * config/i386/tm-linux.h (sys_quotactl): Do not define.
1090         * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
1091         define for i[[3456]]86-*-linux* native configurations.
1092         * config.in, configure: Regenerate.
1093
1094 2007-05-19  Joel Brobecker  <brobecker@adacore.com>
1095
1096         * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
1097         a core file. Add comment in the function description.
1098
1099 2007-05-18  Caroline Tice  <ctice@apple.com>
1100
1101         * c-valprint.c (c_value_print):  If the initialized field of the
1102         value struct is 0, print out "[uninitialized]" before the value.
1103         * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; 
1104         allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a 
1105         DW_OP_regx op; add case for DW_OP_GNU_uninit and update
1106         ctx->initialized appropriately. Verify no location op follows
1107         DW_OP_GNU_uninit.
1108         * dwarf2expr.h (struct dwarf_expr_context): New field, initialized.
1109         * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to 
1110         set_value_initialized.
1111         * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
1112         (decode_locdesc): Add case for DW_OP_GNU_uninit.
1113         * value.c (struct value):  New field, initialized.
1114         (allocate_value): Initialize new field.
1115         (set_value_initialized): New function.
1116         (value_initialized): New function.
1117         * value.h (value_initialized): New extern declaration.
1118         (set_value_initialized): Likewise.
1119         
1120 2007-05-18  Caroline Tice  <ctice@apple.com>
1121
1122         * MAINTAINERS (Write After Approval): Add self.
1123         
1124 2007-05-17  Joel Brobecker  <brobecker@adacore.com>
1125
1126         * gdbtypes.c (make_reference_type): Preserve the type chain
1127         and set the length of all the variants of the pointer type.
1128
1129 2007-05-17  Joel Brobecker  <brobecker@adacore.com>
1130
1131         * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
1132         and set the length of all the variants of the pointer type.
1133
1134 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
1135
1136         * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
1137         comment.
1138         (mips_o64_push_dummy_call): Reformat a comment.
1139
1140 2007-05-17  Qinwei  <qinwei@sunnorth.com.cn>
1141
1142         * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
1143         (score_prologue_frame_base_address): Return fp to keep gdb print
1144         local variables correctly when debugging information is stabs.
1145
1146         (score_analyze_prologue): For software watchpoint, fetch all the
1147         instructions from range [startaddr, pc] once and identify them locally
1148         to reduce memory access.
1149         (score_malloc_and_get_memblock, score_free_memblock)
1150         (score_adjust_memblock_ptr): New functions.
1151         (score_fetch_inst): Fetch single instruction or mutiple instructions.
1152
1153         (score_target_can_use_watch, score_stopped_by_watch)
1154         (score_target_insert_watchpoint, score_target_remove_watchpoint)
1155         (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
1156         New functions for remote & local hw-watchpoint and hw-breakpoint.
1157
1158 2007-05-16  Alfred M. Szmidt  <ams@gnu.org>
1159
1160         * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
1161         declarations as well.
1162
1163 2007-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
1164
1165         * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
1166         * config/arm/tm-embed.h: Delete file.
1167
1168         * arm-tdep.h (arm_software_single_step): Declare.
1169         * arm-tdep.c (arm_software_single_step): Make global.
1170         (arm_gdbarch_init): Move set_gdbarch_software_single_step call
1171         from here to ...
1172         * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
1173         * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
1174         * armobsd-tdep.c (armobsd_init_abi): ... here ...
1175         * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
1176
1177         * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
1178         allow defines to be overriden by TM file.
1179         (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise.  Also,
1180         change default to {0xbe,0xbe}.
1181         * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
1182         arm_obsd_thumb_be_breakpoint): New global variables.
1183         (armobsd_init_abi): Override tdep->thumb_breakpoint and
1184         tdep->thumb_breakpoint_size.
1185         * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
1186         (arm_wince_init_abi): Override tdep->thumb_breakpoint and 
1187         tdep->thumb_breakpoint_size.
1188
1189         * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
1190
1191 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
1192
1193         * NEWS: Mention removed "set mips stack-arg-size" and "set mips
1194         saved-gpreg-size".
1195
1196         * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
1197         (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
1198         (mips_stack_argsize_string, mips_stack_argsize): Delete.
1199         (mips_abi_regsize): Simplify.
1200         (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
1201         (mips_n32n64_return_value, mips_o32_push_dummy_call)
1202         (mips_o32_return_value, mips_o64_push_dummy_call)
1203         (mips_o64_return_value): Propogate constant register sizes.  Use the
1204         ABI register size instead of mips_stack_argsize.
1205         (mips_dump_tdep): Don't print mips_stack_argsize.
1206         (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
1207         settings.
1208
1209 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
1210
1211         * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
1212         * config/mips/tm-linux.h: Delete.
1213         * mips-linux-tdep.c (mips_svr4_so_ops): New.
1214         (mips_linux_in_dynsym_resolve_code): Make static.  Use
1215         svr4_in_dynsym_resolve_code.
1216         (mips_linux_init_abi): Initialize mips_svr4_so_ops.  Call
1217         set_solib_ops.
1218         * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
1219         global.
1220         * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
1221         * Makefile.in (mips-linux-tdep.o): Update.
1222         * solib.c (set_solib_ops): New.
1223         (current_target_so_ops): Update comment.
1224         * solib.h (set_solib_ops): New prototype.
1225
1226 2007-05-16  Chris Dearman  <chris@mips.com>
1227
1228         * printcmd.c (do_examine): Fix typos in a comment.
1229
1230 2007-05-16  Richard Sandiford  <richard@codesourcery.com>
1231
1232         * configure.ac: Allow sysroots to be relocated under $prefix as
1233         well as $exec_prefix.
1234         * configure: Regenerate.
1235
1236 2007-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
1237
1238         * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
1239         (offsetof): Do not define.
1240         (find_stub_with_shl_get): Use numerical value 3 instead of
1241         symbolic value TYPE_PROCEDURE.
1242
1243 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
1244
1245         * gdb_proc_service.h (paddr_t): Delete typedef.
1246         * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
1247         (ps_xfer_memory): Take a psaddr_t.  Use ps_addr_to_core_addr.
1248         (ps_pglobal_lookup): Take a psaddr_t *.  Use core_addr_to_ps_addr.
1249         (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
1250         * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
1251         * Makefile.in (proc-service.o): Update.
1252
1253 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
1254
1255         * Makefile.in (mips-tdep.o): Update.
1256         * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
1257         unwinder.
1258
1259 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
1260
1261         * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
1262         instead of store_typed_address.
1263         * value.c (pack_long): New.
1264         (value_from_longest): Use it.
1265         * value.h (pack_long): New prototype.
1266
1267 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
1268
1269         * dwarf2-frame.c (read_encoded_value): Correct typo.  Use
1270         DW_EH_PE_signed if appropriate.
1271
1272 2007-05-14  Paul Brook  <paul@codesourcery.com>
1273             Daniel Jacobowitz  <dan@codesourcery.com>
1274
1275         * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
1276         function.
1277         (dwarf_decode_lines): Check for line info without a file.
1278
1279 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
1280
1281         * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
1282         as hexadecimal.
1283
1284 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
1285
1286         * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
1287         STRUCTOP_STRUCT.
1288         * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
1289         STRUCTOP_STRUCT.
1290         * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
1291
1292 2007-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
1293
1294         * gdbarch.sh (read_sp): Remove.
1295         * gdbarch.c, gdbarch.h: Regenerate.
1296         * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
1297
1298         * avr-tdep.c (avr_read_sp): Remove.
1299         (avr_unwind_sp): New function.
1300         (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
1301         * mips-tdep.c (mips_read_sp): Remove.
1302         (mips_unwind_sp): New function.
1303         (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
1304         * score-tdep.c (score_read_unsigned_register): Remove.
1305         (score_read_sp): Remove.
1306         (score_unwind_sp): New function.
1307         (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
1308
1309 2007-05-14  Maxim Grigoriev  <maxim2405@gmail.com>
1310
1311         * buildsym.c (start_subfile): Handle absolute pathnames
1312         while comparing subfile names.
1313
1314 2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
1315
1316         * hppa-hpux-tdep.c: Include "regcache.h".
1317         * hppa-linux-tdep.c: Likewise.
1318         * hppa-tdep.c: Include "gdb_stdint.h".
1319         (find_unwind_entry): Cast host pointer to uintptr_t before passing
1320         it to paddr_nz.
1321         * Makefile.in: Update dependencies.
1322
1323 2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
1324
1325         * blockframe.c: Remove obsolete comments.
1326         * alpha-nat.c (fetch_osf_core_registers): Update comment.
1327         * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
1328         * hppa-tdep.h (enum hppa_regnum): Likewise.
1329         * mips-tdep.h: Likewise.
1330         * m68hc11-tdep.c: Likewise.
1331
1332 2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
1333
1334         * inferior.h (read_sp): Remove prototype.
1335         * regcache.c (read_sp): Remove.
1336         * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
1337         * infcall.c (call_function_by_hand): Likewise.
1338         * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
1339         of calling read_sp.
1340         * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
1341
1342 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1343
1344         * i386-linux-nat.c (i386_linux_resume): Use regcache functions 
1345         instead of read_register and read_register_pid.
1346
1347         * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE 
1348         argument instead of PTID.  Use regcache functions instead of
1349         read_register_pid.
1350         (ia64_linux_insert_watchpoint): Update call.
1351         (ia64_linux_stopped_data_address): Use regcache functions
1352         instead of read_register_pid and write_register_pid.
1353
1354 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1355
1356         * libunwind-frame.h (struct regcache): Add forward declaration.
1357         (libunwind_get_reg_special): Add REGCACHE argument.
1358         * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
1359         argument.  Pass it to unw_init_remote_p.
1360
1361         * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
1362         libunwind_get_reg_special.
1363         (ia64_access_reg): Remove "write" case.
1364         (ia64_access_fpreg): Likewise.  Read from next_frame passed
1365         as callback argument instead of from current_regcache.
1366         (ia64_access_rse_reg): Remove "write" case.  Read from regcache
1367         passed as callback argument instead of from current_regcache.
1368         (ia64_access_rse_fpreg): New function.
1369         (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
1370
1371 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1372
1373         * NEWS: Mention SPU overlay support.
1374
1375 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1376
1377         * spu-tdep.c (spu_frame_unwind_cache): Add comment.
1378
1379 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1380
1381         * breakpoint.c (remove_breakpoint): Do not remove software
1382         breakpoints in unmapped overlay sections.
1383
1384 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1385
1386         * spu-tdep.c: Include "observer.h".
1387         (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
1388         (spu_overlay_data): New variable.
1389         (struct spu_overlay_table): New type.
1390         (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
1391         spu_overlay_new_objfile): New functions.
1392         (spu_gdbarch_init): Install spu_overlay_update.
1393         (_initialize_spu_tdep): Register spu_overlay_new_objfile, 
1394         allocate spu_overlay_data objfile data.
1395
1396 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1397
1398         * gdbarch.sh (overlay_update): New gdbarch function.
1399         (struct obj_section): Add forward declaration.
1400         * gdbarch.c, gdbarch.h: Regenerate.
1401
1402         * symfile.c (simple_overlay_update): Make global.
1403         (target_overlay_update): Remove variable.
1404         (overlay_is_mapped): Call gdbarch_overlay_update instead of
1405         target_overlay_update.
1406         (overlay_load_command): Likewise.
1407         * symfile.h (struct obj_section): Add forward declaration.
1408         (simple_overlay_update): Add prototype.
1409
1410         * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
1411
1412 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1413
1414         * observer.sh: Add "struct objfile" forward declaration.
1415         * target.h (deprecated_target_new_objfile_hook): Remove.
1416         * symfile.c (deprecated_target_new_objfile_hook): Remove.
1417         (clear_symtab_users): Call observer_notify_new_objfile.
1418         (symbol_file_add_with_addrs_or_offsets): Likewise.
1419         * rs6000-nat.c: Include "observer.h".
1420         (vmap_ldinfo): Call observer_notify_new_objfile.
1421         (xcoff_relocate_core): Likewise.
1422         * remote.c (remote_new_objfile_chain): Remove.
1423         (remote_new_objfile): Do not call remote_new_objfile_chain.
1424         (_initialize_remote): Use observer_attach_new_objfile.
1425         * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
1426         (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
1427         (_initialize_tui_hooks): Use observer_attach_new_objfile.
1428         * aix-thread.c: Include "observer.h".
1429         (target_new_objfile_chain): Remove.
1430         (new_objfile): Do not call target_new_objfile_chain.
1431         (_initialize_aix_thread): Use observer_attach_new_objfile.
1432         * hpux-thread.c: Include "observer.h"
1433         (target_new_objfile_chain): Remove.
1434         (hpux_thread_new_objfile): Make static.  Do not call
1435         target_new_objfile_chain.
1436         (_initialize_hpux_thread): Use observer_attach_new_objfile.
1437         * linux-thread-db.c: Include "observer.h".
1438         (target_new_objfile_chain): Remove.
1439         (thread_db_new_objfile): Do not call target_new_objfile_chain.
1440         (_initialize_thread_db): Use observer_attach_new_objfile.
1441         * sol-thread.c: Include "observer.h".
1442         (target_new_objfile_chain): Remove.
1443         (sol_thread_new_objfile): Make static.  Do not call
1444         target_new_objfile_chain.
1445         (_initialize_sol_thread): Use observer_attach_new_objfile.
1446         * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
1447         rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
1448         $(observer_h).
1449
1450 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1451
1452         * gdbarch.sh (remote_translate_xfer_address): Remove.
1453         * gdbarch.h, gdbarch.c: Regenerate.
1454         * arch-utils.c (generic_remote_translate_xfer_address): Remove.
1455         * arch-utils.h (generic_remote_translate_xfer_address): Remove.
1456         * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
1457         call gdbarch_remote_translate_xfer_address.
1458         * frv-tdep.c (frv_gdbarch_init): Do not call
1459         set_gdbarch_remote_translate_xfer_address.
1460         * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
1461         (ia64_gdbarch_init): Do not install it.
1462
1463 2007-05-11  Bob Wilson  <bob.wilson@acm.org>
1464
1465         * NEWS: Mention change in handling the -tui option.
1466
1467 2007-05-11  Daniel Jacobowitz  <dan@codesourcery.com>
1468
1469         * linux-thread-db.c (enable_thread_event_reporting): Fix comment
1470         typo.
1471
1472 2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
1473
1474         * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
1475         (breakpoint_inserted_here_p): Call it.
1476         (software_breakpoint_inserted_here_p): Likewise.
1477
1478 2007-05-10  Ulrich Weigand  <uweigand@de.ibm.com>
1479
1480         * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
1481         (inf_ptrace_fetch_register): Add register_u_offset callback parameters
1482         GDBARCH and STORE_P.  Handle callback (CORE_ADDR) -1 return value.
1483         (inf_ptrace_store_register): Likewise.
1484         (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
1485         * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
1486
1487         * vax-nat.c (vax_register_u_offset): Adapt parameter list.
1488
1489         * linux-nat.c (linux_trad_target): Adapt parameter list.
1490         * linux-nat.h (linux_trad_target): Likewise.
1491
1492         * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
1493
1494         * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
1495         (mips_linux_cannot_store_register): Likewise.
1496         (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
1497         Return (CORE_ADDR) -1 for registers that cannot be fetched or
1498         stored via ptrace.  Use GDBARCH instead of current_gdbarch.
1499         (mips64_linux_register_addr): Likewise.
1500         (mips_linux_register_u_offset): Adapt parameter list.  Pass
1501         GDBARCH and STORE_P on to mips{64}_linux_register_addr.
1502
1503         * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1504         * config/mips/nm-linux.h: Delete file.
1505
1506 2007-05-10  Pedro Alves  <pedro_alves@portugalmail.pt>
1507
1508         * remote.c (remote_detach): Error out if remote can't detach.
1509
1510 2007-05-10  Luis Machado  <luisgpm@br.ibm.com>
1511
1512         * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
1513         instruction's opcode in the "opcode" variable and declares new
1514         variable "closing_insn".
1515
1516 2007-05-10  Chris Dearman  <chris@mips.com>
1517             Maciej W. Rozycki  <macro@mips.com>
1518
1519         * cli/cli-setshow.c (do_setshow_command): Remove trailing
1520         whitespace when setting a var_filename.
1521
1522 2007-05-09  Bob Wilson  <bob.wilson@acm.org>
1523         
1524         * main.c (captured_main): Recognize -tui option and print an error
1525         message when the TUI is not configured.
1526         
1527 2007-05-09  Andreas Schwab  <schwab@suse.de>
1528
1529         * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
1530         set removed members.
1531         (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
1532
1533 2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
1534
1535         * gdbarch.sh (deprecated_store_struct_return): Remove.
1536         * gdbarch.c, gdbarch.h: Regenerate.
1537         * frv-tdep.c (frv_store_struct_return): Remove.
1538         (frv_gdbarch_init): Do not install it.
1539
1540 2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
1541
1542         * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
1543         * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
1544         * config/nm-linux.h (USE_PROC_FS): Do not undefine.
1545
1546 2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
1547
1548         * spu-linux-nat.c: Include "gdb_stdint.h".
1549         (fetch_ppc_register): Use uint64_t instead of unsigned long long.
1550         (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
1551         (fetch_ppc_memory, store_ppc_memory): Fix coding style.
1552         (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
1553         (spu_child_wait): Mark up string for translation.
1554
1555 2007-05-08  Paul Gilliam  <pgilliam@us.ibm.com>
1556             Luis Machado  <luisgpm@br.ibm.com>
1557
1558         * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
1559         STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
1560         BC_INSTRUCTION): Define.
1561         (deal_with_atomic_sequence): New function.
1562         (rs6000_software_single_step): Call deal_with_atomic_sequence.
1563         (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
1564         gdbarch_software_single_step routine.
1565
1566 2007-05-07  Ulrich Weigand  <uweigand@de.ibm.com>
1567
1568         * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
1569         store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
1570         parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
1571         spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
1572         spu_child_post_attach, spu_fetch_inferior_registers,
1573         spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
1574         memory addresses as ULONGEST, not CORE_ADDR.
1575
1576 2007-05-07  Ulrich Weigand  <uweigand@de.ibm.com>
1577
1578         * gdbarch.sh: Add skip_permanent_breakpoint callback.
1579         * gdbarch.h, gdbarch.c: Regenerate.
1580
1581         * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
1582         (resume): Call gdbarch_skip_permanent_breakpoint instead of
1583         SKIP_PERMANENT_BREAKPOINT.  Inline default case.
1584
1585         * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
1586         Add REGCACHE argument.  Use it instead of read/write_register.
1587         (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
1588
1589         * config/pa/tm-hppah.h: Delete file.
1590         * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
1591         * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
1592
1593 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
1594
1595         * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
1596         * NEWS: Mention improved C++ thunk support.
1597         * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
1598         * cp-abi.c (cplus_skip_trampoline): New.
1599         * cp-abi.h (cplus_skip_trampoline): New prototype.
1600         (struct cp_abi_ops): Add skip_trampoline member.
1601         * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
1602         (init_gnuv3_ops): Set skip_trampoline.
1603
1604 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
1605
1606         * rs6000-tdep.c (struct frame_extra_info): Delete.
1607
1608 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
1609
1610         * linux-thread-db.c: Update some FIXME comments.
1611         (thread_db_xfer_partial): Delete.
1612         (init_thread_db_ops): Do not set to_xfer_partial.
1613
1614 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1615
1616         * inftarg.c, infptrace.c: Remove files.
1617         * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
1618         (inftarg.o, infptrace.o): Remove rules.
1619         * gdbcore.h (register_addr): Remove prototype.
1620         * inferior.h (kill_inferior, store_inferior_registers,
1621         fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
1622         call_ptrace, pre_fork_inferior): Remove prototypes.
1623         * target.h (child_xfer_memory, child_pid_to_exec_file, 
1624         child_core_file_to_sym_file, child_post_attach,
1625         child_post_startup_inferior, child_acknowledge_created_inferior,
1626         child_insert_fork_catchpoint, child_remove_fork_catchpoint,
1627         child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
1628         child_insert_exec_catchpoint, child_remove_exec_catchpoint,
1629         child_follow_fork, child_reported_exec_events_per_exec_call,
1630         child_has_exited, child_thread_alive): Remove prototypes.
1631
1632 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1633
1634         * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
1635         (sparc_store_inferior_registers): Likewise.
1636         * sparc-nat.c (fetch_inferior_registers): Rename to ...
1637         (sparc_fetch_inferior_registers): ... this.
1638         (store_inferior_registers): Rename to ...
1639         (sparc_store_inferior_registers): ... this.
1640         (sparc_target): Update callback names.
1641         * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. 
1642         * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. 
1643
1644 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1645
1646         * linux-nat.c (child_post_attach): Rename to ...
1647         (linux_child_post_attach): ... this.  Make static.
1648         (child_follow_fork): Rename to ...
1649         (linux_child_follow_fork): ... this.  Make static.
1650         (child_insert_fork_catchpoint): Rename to ...
1651         (linux_child_insert_fork_catchpoint): ... this.  Make static.
1652         (child_insert_vfork_catchpoint): Rename to ...
1653         (linux_child_insert_vfork_catchpoint): ... this.  Make static.
1654         (child_insert_exec_catchpoint): Rename to ...
1655         (linux_child_insert_exec_catchpoint): ... this.  Make static.
1656         (child_pid_to_exec_file): Rename to ...
1657         (linux_child_pid_to_exec_file): ... this.  Make static.
1658         Add prototype.
1659         (linux_handle_extended_wait): Update call.
1660         (linux_xfer_partial): Update callback routine names.
1661
1662 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1663
1664         * configure.host (alpha*-*-osf[12]*): Remove support.
1665         * NEWS: Mention removed configurations.
1666
1667         * config/alpha/alpha-osf1.mh: Delete file.
1668         * config/alpha/alpha-osf2.mh: Delete file.
1669         * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
1670         and infptrace.o.
1671         * config/alpha/nm-osf.h: Delete file.
1672         * config/alpha/nm-osf2.h: Delete file.
1673         * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
1674         (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
1675         (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
1676
1677         * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
1678         (register_addr, kernel_u_size): Remove.
1679         Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
1680
1681 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1682
1683         * regcache.c (regcache_invalidate): New function.
1684         (register_cached): Remove.
1685         (set_register_cached): Remove.
1686         (deprecated_registers_fetched): Remove.
1687         (registers_changed): Use regcache_invalidate instead
1688         of set_register_cached.
1689         (regcache_raw_read): Update comment.
1690
1691         * regcache.h (regcache_invalidate): Add prototype.
1692         (register_cached): Remove.
1693         (set_register_cached): Remove.
1694         (deprecated_registers_fetched): Remove.
1695
1696         * findvar.c (value_of_register): Do not call register_cached.
1697         * frame.c (frame_register): Likewise.
1698         * tui/tui-regs.c (tui_get_register): Likewise.
1699
1700         * remote.c (fetch_register_using_p): Do not call set_register_cached.
1701         (process_g_packet): Likewise.
1702         (remote_fetch_registers): Likewise.
1703         * remote-sim.c (gdbsim_fetch_register): Likewise.
1704         * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
1705         by regcache_invalidate.
1706         (mt_pseudo_register_write): Likewise.
1707         * sh-tdep.c (sh_pseudo_register_write): Likewise.
1708
1709         * corelow.c (get_core_registers): Replace deprecated_registers_fetched
1710         call by loop over regcache_raw_supply (..., NULL).
1711
1712 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1713
1714         * target.h (struct target_ops): Add REGCACHE parameter to
1715         to_prepare_to_store.
1716         (target_prepare_to_store): Likewise.
1717         * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
1718         (update_current_target): Adapt prepare_to_store de_fault rule.
1719
1720         * regcache.c (regcache_raw_write): Pass regcache to
1721         target_prepare_to_store.
1722
1723         * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
1724         Do not call CHILD_PREPARE_TO_STORE.
1725         * gnu-nat.c (gnu_prepare_to_store): Likewise.
1726         * procfs.c (procfs_prepare_to_store): Likewise.
1727
1728         * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
1729         * go32-nat.c (go32_prepare_to_store): Likewise.
1730         * monitor.c (monitor_prepare_to_store): Likewise.
1731         * nto-procfs.c (procfs_prepare_to_store): Likewise.
1732         * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
1733         * remote-mips.c (mips_prepare_to_store): Likewise.
1734         * remote-sim.c (gdbsim_prepare_to_store): Likewise.
1735         * win32-nat.c (win32_prepare_to_store): Likewise.
1736
1737         * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
1738         Use it instead of current_regcache.
1739
1740         * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
1741         parameter.  Pass it on to next target.
1742         * sol-thread.c (sol_thread_prepare_to_store): Likewise.
1743
1744 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1745
1746         * target.h (struct regcache): Add forward declaration.
1747         (struct target_ops): Add REGCACHE parameter to to_fetch_registers
1748         and to_store_registers target operations.
1749         (target_fetch_registers, target_store_registers): Update.
1750
1751         * regcache.c (regcache_raw_read): Replace register_cached by
1752         regcache_valid_p.  Pass regcache to target_fetch_registers.
1753         (regcache_raw_write): Pass regcache to target_store_registers.
1754
1755         * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
1756         store_regs, store_wmmx_regs): Replace register_cached by
1757         regcache_valid_p.
1758
1759         * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
1760         to target_fetch_registers calls.
1761         * corelow.c (core_open): Likewise.
1762         * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
1763         * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
1764         ps_lsetfpregs): Likewise.
1765         * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
1766         ps_lsetfpregs): Likewise.
1767         * win32-nat.c (win32_resume): Likewise.
1768         * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
1769         to target_store_registers call.
1770         * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
1771
1772         * inferior.h (store_inferior_registers): Update prototype.
1773         (fetch_inferior_registers): Likewise.
1774         * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
1775         * mips-linux-nat.c (super_fetch_registers, super_store_registers):
1776         Update function pointer signatures.
1777
1778         * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
1779         use it instead of current_regcache, update calls.
1780         (aix_thread_store_registers): Likewise.
1781         * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
1782         (alphabsd_store_inferior_registers): Likewise.
1783         * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
1784         (amd64bsd_store_inferior_registers): Likewise.
1785         * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
1786         (amd64_linux_store_inferior_registers): Likewise.
1787         * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
1788         store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
1789         fetch_wmmx_regs, store_wmmx_regs): Likewise.
1790         (arm_linux_fetch_inferior_registers): Likewise.
1791         (arm_linux_store_inferior_registers): Likewise.
1792         * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
1793         fetch_fp_regs, armnbsd_fetch_registers): Likewise.
1794         (store_register, store_regs, store_fp_register, store_fp_regs,
1795         armnbsd_store_registers): Likewise.
1796         * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
1797         * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
1798         (bsd_uthread_store_registers): Likewise.
1799         * corelow.c (get_core_registers): Likewise.
1800         * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
1801         go32_store_registers): Likewise.
1802         * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
1803         (hppabsd_store_registers): Likewise.
1804         * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
1805         (hppa_hpux_fetch_inferior_registers): Likewise.
1806         (hppa_hpux_store_register): Likewise.
1807         (hppa_hpux_store_inferior_registers): Likewise.
1808         * hppa-linux-nat.c (fetch_register, store_register): Likewise.
1809         (hppa_linux_fetch_inferior_registers): Likewise.
1810         (hppa_linux_store_inferior_registers): Likewise.
1811         * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
1812         (hpux_thread_store_registers): Likewise.
1813         * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
1814         (i386bsd_store_inferior_registers): Likewise.
1815         * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
1816         gnu_store_registers): Likewise.
1817         * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
1818         store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
1819         Likewise.
1820         (i386_linux_fetch_inferior_registers): Likewise.
1821         (i386_linux_store_inferior_registers): Likewise.
1822         * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
1823         (ia64_linux_fetch_registers): Likewise.
1824         (ia64_linux_store_register): Likewise.
1825         (ia64_linux_store_registers): Likewise.
1826         * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
1827         (inf_child_store_inferior_registers): Likewise.
1828         * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
1829         (inf_ptrace_fetch_registers): Likewise.
1830         (inf_ptrace_store_register): Likewise.
1831         (inf_ptrace_store_registers): Likewise.
1832         * infptrace.c (fetch_register, store_register): Likewise.
1833         (fetch_inferior_registers, store_inferior_registers): Likewise.
1834         * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
1835         (m32r_linux_fetch_inferior_registers): Likewise.
1836         (m32r_linux_store_inferior_registers): Likewise.
1837         * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
1838         (m68kbsd_store_inferior_registers): Likewise.
1839         * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
1840         store_register, old_store_inferior_registers, fetch_regs, store_regs,
1841         fetch_fpregs, store_fpregs): Likewise.
1842         (m68k_linux_fetch_inferior_registers): Likewise.
1843         (m68k_linux_store_inferior_registers): Likewise.
1844         * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
1845         (m88kbsd_store_inferior_registers): Likewise.
1846         * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
1847         (mips64obsd_store_inferior_registers): Likewise.
1848         * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
1849         (mips64_linux_regsets_store_registers): Likewise.
1850         (mips64_linux_fetch_registers): Likewise.
1851         (mips64_linux_store_registers): Likewise.
1852         * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
1853         (mipsnbsd_store_inferior_registers): Likewise.
1854         * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
1855         (monitor_fetch_registers, monitor_store_registers): Likewise.
1856         * nto-procfs.c (procfs_fetch_registers): Likewise.
1857         (procfs_store_registers): Likewise.
1858         * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
1859         fetch_register, supply_vrregset, fetch_altivec_registers,
1860         fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
1861         (store_altivec_register, store_spe_register, store_register, 
1862         fill_vrregset, store_altivec_registers, store_ppc_registers,
1863         ppc_linux_store_inferior_registers): Likewise.
1864         * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
1865         (ppcnbsd_store_inferior_registers): Likewise.
1866         * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
1867         (ppcobsd_store_registers): Likewise.
1868         * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
1869         * remote.c (fetch_register_using_p, process_g_packet,
1870         fetch_registers_using_g, remote_fetch_registers): Likewise.
1871         (store_register_using_P, store_registers_using_G, 
1872         remote_store_registers): Likewise.
1873         * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
1874         m32r_store_register, m32r_store_register): Likewise.
1875         * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
1876         * remote-sim.c (gdbsim_fetch_register): Likewise.
1877         (gdbsim_store_register): Likewise.
1878         * rs6000-nat.c (fetch_register, store_register): Likewise.
1879         (rs6000_fetch_inferior_registers): Likewise.
1880         (rs6000_store_inferior_registers): Likewise.
1881         * s390-nat.c (fetch_regs, store_regs): Likewise.
1882         (fetch_fpregs, store_fpregs): Likewise.
1883         (s390_linux_fetch_inferior_registers): Likewise.
1884         (s390_linux_store_inferior_registers): Likewise.
1885         * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
1886         (shnbsd_store_inferior_registers): Likewise.
1887         * sol-thread.c (sol_thread_fetch_registers): Likewise.
1888         (sol_thread_store_registers): Likewise.
1889         * sparc-nat.c (fetch_inferior_registers): Likewise.
1890         (store_inferior_registers): Likewise.
1891         * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
1892         (spu_store_inferior_registers): Likewise.
1893         * target.c (debug_print_register): Likewise.
1894         (debug_to_fetch_registers, debug_to_store_registers): Likewise.
1895         * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
1896         (vaxbsd_store_inferior_registers): Likewise.
1897         * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
1898         (win32_fetch_inferior_registers): Likewise.
1899         (win32_store_inferior_registers): Likewise.
1900
1901 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1902
1903         * gdbcore.h (struct regcache): Add forward declaration.
1904         (struct core_fns): Add REGCACHE argument to core_read_registers
1905         callback.
1906         * corelow.c (get_core_register_section): Add REGCACHE argument,
1907         use it instead of current_regcache, pass it to core_read_registers
1908         callback.
1909         (get_core_registers): Add current_regcache as parameter to
1910         get_core_register_section calls.
1911
1912         * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
1913         use it instead of current_regcache.
1914         * armnbsd-nat.c (fetch_core_registers): Likewise.
1915         (fetch_elfcore_registers): Likewise.
1916         * core-regset.c (fetch_core_registers): Likewise.
1917         * cris-tdep.c (fetch_core_registers): Likewise.
1918         * irix5-nat.c (fetch_core_registers): Likewise.
1919         * m68klinux-nat.c (fetch_core_registers): Likewise.
1920         * mips-linux-tdep.c (fetch_core_registers): Likewise.
1921         * win32-nat.c (fetch_elf_core_registers): Likewise.
1922
1923 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1924
1925         * gregset.h (struct regcache): Add forward declaration.
1926         (supply_gregset): Add REGCACHE parameter, make GREGS const.
1927         (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
1928         (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
1929         (fill_gregset): Add REGCACHE parameter.
1930         (fill_fpregset): Likewise.
1931         (fill_fpxregset): Likewise.
1932
1933         Update all definitions accordingly:
1934         * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
1935         arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
1936         i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, 
1937         m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
1938         s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c 
1939         (supply_gregset): Add REGCACHE parameter, use it instead of 
1940         current_regcache.  Make GREGSETP parameter const, adapt casts.
1941         (supply_fpregset): Add REGCACHE parameter, use it instead of
1942         current_regcache.  Make FPREGSETP parameter const, adapt casts.
1943         (fill_gregset): Add REGCACHE parameter, use it instead of
1944         current_regcache.
1945         (fill_fpregset): Likewise.
1946
1947         Update all callers to pass in current_regcache as the new argument:
1948         * core-regset.c: Include "regcache.h".
1949         (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
1950         * procfs.c: Include "regcache.h".
1951         (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
1952         (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
1953         (procfs_do_thread_registers): Likewise.
1954         (procfs_make_note_section): Likewise.
1955         * proc-service.c: Include "regcache.h".
1956         (ps_lgetregs): Update fill_gregset call.
1957         (ps_lsetregs): Update supply_gregset call.
1958         (ps_lgetfpregs): Update fill_fpregset call.
1959         (ps_lsetfpregs): Update supply_fpregset call.
1960         * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
1961         supply_fpregset calls.
1962         (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
1963         (ps_lgetregs): Update fill_gregset call.
1964         (ps_lsetregs): Update supply_gregset call.
1965         (ps_lgetfpregs): Update fill_fpregset call.
1966         (ps_lsetfpregs): Update supply_fpregset call.
1967         
1968         * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
1969         fill_fpregset, and fill_fpxregset calls.
1970         * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
1971         (store_regs): Update fill_gregset call.
1972         (fetch_fpregs): Update supply_fpregset call.
1973         (store_fpregs): Update fill_fpregset call.
1974         (fetch_fpxregs): Update supply_fpxregset call.
1975         (store_fpxregs): Update fill_fpxregset call.
1976         * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
1977         (store_regs): Update fill_gregset call.
1978         * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
1979         (store_regs): Update fill_gregset call.
1980         (fetch_fpregs): Update supply_fpregset call.
1981         (store_fpregs): Update fill_fpregset call.
1982         (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
1983         * s390-nat.c (fetch_regs): Update supply_gregset call.
1984         (store_regs): Update fill_gregset call.
1985         (fetch_fpregs): Update supply_fpregset call.
1986         (store_fpregs): Update fill_fpregset call.
1987
1988         * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
1989         dependencies.
1990
1991 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1992
1993         * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
1994         it instead of current_regcache.
1995         (parse_register_dump): Add REGCACHE parameter, pass it to 
1996         supply_register callback.
1997         (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
1998         parse_register_dump.
1999         (monitor_dump_regs): Add REGCACHE parameter, pass it to
2000         parse_register_dump and dumpregs callback.
2001         (monitor_wait): Pass current_regcache to parse_register_dump and
2002         monitor_dump_regs.
2003         (monitor_fetch_register): Pass current_regcache to
2004         monitor_supply_register.
2005         (monitor_fetch_registers): Pass current_regcache to
2006         monitor_dump_regs.
2007         * monitor.h (struct monitor_ops): Add REGCACHE parameter to
2008         supply_register and dumpregs callbacks.
2009         (monitor_supply_register, monitor_dump_reg_block): Update
2010         prototypes.
2011         * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter.  Pass
2012         it to monitor_supply_register.
2013         * dink32-rom.c (dink32_supply_register): Likewise.
2014         * ppcbug-rom.c (ppcbug_supply_register): Likewise.
2015         * m32r-rom.c (m32r_supply_register): Likewise.  Also, use REGCACHE
2016         instead of current_regcache.
2017
2018 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2019
2020         * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
2021         Add REGCACHE parameter.  Use it instead of current_regcache.
2022         (i386nto_supply_regset): Add REGCACHE parameter, pass it to
2023         i386nto_supply_gregset and i386nto_supply_fpregset.
2024         (i386nto_regset_fill): Add REGCACHE parameter; use it instead
2025         of current_regcache.
2026
2027         * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
2028         nto_supply_ helper functions.
2029         (procfs_store_registers): Pass current_regcache to nto_regset_fill.
2030
2031         * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
2032
2033         * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
2034         supply_greget, supply_fpregset, supply_altregset, supply_regset,
2035         and regset_fill member function pointers.
2036         (nto_dummy_supply_regset): Adapt prototype.
2037
2038 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2039
2040         * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
2041         instead of current_regcache.  Make REGS const.
2042         (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
2043         * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
2044         prototypes.
2045         * shnbsd-nat.c: Include "regcache.h".
2046         (shnbsd_fetch_inferior_registers): Pass current_regcache to
2047         shnbsd_supply_reg.
2048         (shnbsd_store_inferior_registers): Pass current_regcache to
2049         shnbsd_fill_reg.
2050         * Makefile.in (shbsd-nat.o): Update dependencies.
2051
2052 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2053
2054         * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter.  Use it
2055         instead of current_regcache.
2056         (mips_supply_gregset): Likewise.  Pass REGCACHE to supply_32bit_reg.
2057         Make GREGSETP const, remove superfluous casts.
2058         (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
2059         (mips_supply_fpregset): Likewise.  Make FPREGSETP const, remove 
2060         superfluous casts.
2061         (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
2062         (supply_64bit_reg): Likewise
2063         (mips64_supply_gregset): Likewise.  Pass REGCACHE to supply_64bit_reg.
2064         Make GREGSETP const, adapt casts accordingly.
2065         (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
2066         (mips64_supply_fpregset): Likewise.  Make FPREGSET const, adapt
2067         casts accordingly.
2068         (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
2069         (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
2070         helper routines.
2071         * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
2072         mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
2073         mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
2074         Adapt prototypes.
2075         * mips-linux-nat.c: Include "regcache.h".
2076         (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
2077         current_regcache to mips{64}_(supply|fill)_ helper routines.
2078         (mips64_linux_regsets_fetch_registers): Likewise.
2079         (mips64_linux_regsets_store_registers): Likewise.
2080
2081         * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
2082         REGCACHE argument; replace current_regcache.  Make REGS const.
2083         (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
2084         replace current_regcache.
2085         * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
2086         mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
2087         * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
2088         mipsnbsd_store_inferior_registers): Pass current_regcache to
2089         mipsnbsd_(supply|fill)_... helper routines.
2090
2091         * Makefile.in (mips-linux-nat.o): Update dependencies.
2092
2093 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2094
2095         * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
2096         * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
2097         * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
2098         i387_fill_fsave and i387_fill_fxsave calls by inline copies.
2099         * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
2100         * i386gnu-nat.c (store_fpregs): Likewise.
2101         * i386v4-nat.c (fill_fpregset): Likewise.
2102         * go32-nat.c (store_register, go32_store_registers): Likewise.
2103
2104 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2105
2106         * cris-tdep.c (supply_gregset): Rename to ...
2107         (cris_supply_gregset): ... this.  Add REGCACHE parameter.  Use it
2108         instead of current_regcache.
2109         (fetch_core_registers): Update call.  Pass current_regcache.
2110
2111 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2112
2113         * arnmnbsd-nat.c (supply_gregset): Rename to ...
2114         (arm_supply_gregset): ... this.  Add REGCACHE parameter.
2115         Use it instead of current_regcache.
2116         (supply_fparegset): Rename to ...
2117         (arm_supply_fparegset): ... this.  Add REGCACHE parameter.
2118         Use it instead of current_regcache.
2119         (fetch_regs, fetch_fp_regs): Update calls.  Pass current_regcache.
2120         (fetch_core_registers, fetch_elfcore_registers): Likewise.
2121
2122 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2123
2124         * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
2125         alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
2126         use it instead of current_regcache.
2127         * alpha-tdep.h (struct regcache): Add forward declaration.
2128         (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
2129         alpha_fill_fp_regs): Update prototypes.
2130
2131         * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
2132         fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
2133         * alpha-linux-nat.c: Include "regcache.h".
2134         (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
2135         current_regcache to alpha_supply/fill_ routines.
2136
2137         * alphabsd-tdep.c: Include "regcache.h".
2138         (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
2139         pass it to alpha_supply_ routines.  Make REGS const.
2140         (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
2141         pass it to alpha_fill_ routines.
2142         * alphabsd-tdep.h (struct regcache): Add forward declaration.
2143         (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
2144         alphabsd_fill_fpreg): Update prototypes.
2145
2146         * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
2147         fill_fpregset, alphabsd_fetch_inferior_registers,
2148         alphabsd_store_inferior_registers): Pass current_regcache to
2149         alphabsd_supply/fill_ routines.
2150
2151         * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
2152         dependencies.
2153
2154 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2155
2156         * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
2157         supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
2158         instead of current_regcache.
2159         (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
2160         REGCACHE parameter, pass it to supply_ routines.
2161         (aix_thread_fetch_registers): Pass current_regcache to
2162         fetch_regs_user_thread and fetch_regs_kernel_thread.
2163
2164         (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
2165         Add REGCACHE parameter, use it instead of current_regcache.
2166         Call regcache_valid_p instead of register_cached.
2167         (store_regs_user_thread, store_regs_kernel_thread): Likewise.
2168         Also, pass REGCACHE to fill_ routines.
2169         (aix_thread_store_registers): Pass current_regcache to
2170         store_regs_user_thread and store_regs_kernel_thread.
2171
2172 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2173
2174         * m32r-linux-nat.c (supply_gregset): Do not modify contents
2175         pointed to by GREGSETP.
2176
2177 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2178
2179         * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
2180         of regcache_raw_read_signed.
2181         (fill_fpregset): Use regcache_raw_collect instead of
2182         regcache_raw_read.
2183
2184 2007-05-03  Kevin Buettner  <kevinb@redhat.com>
2185
2186         * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
2187         point arguments, test explicitly for use of the EABI32 ABI
2188         instead of inferring this condition from tests on register
2189         sizes.
2190
2191 2007-05-03  Kevin Buettner  <kevinb@redhat.com>
2192
2193         * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
2194         prior to allocating its location.
2195
2196 2007-05-02  Maciej W. Rozycki  <macro@mips.com>
2197
2198         * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
2199         based on mips_abi_regsize() whose result is known in advance.
2200         (mips_o64_push_dummy_call): Likewise.
2201
2202 2007-04-29  Ulrich Weigand  <uweigand@de.ibm.com>
2203
2204         * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
2205         * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
2206
2207         * mips-linux-nat.c: Include "gregset.h".
2208         (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
2209         from mips-linux-tdep.c.  Change parameter type to gdb_gregset_t.
2210         * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
2211         fill_fpregset): Move to mips-linux-nat.c.
2212
2213         * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
2214
2215 2007-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2216
2217         * regcache.c (deprecated_read_register_gen): Remove, inline ...
2218         (read_register): ... here.
2219         (deprecated_write_register_gen): Remove, inline ...
2220         (write_register): ... here.
2221         * regcache.h (deprecated_read_register_gen): Remove prototype.
2222         (deprecated_write_register_gen): Likewise.
2223
2224         * remote-sim.c (gdbsim_store_register): Replace call to
2225         deprecated_read_register_gen with regcache_cooked_read.
2226         * target.c (debug_print_register): Replace calls to
2227         deprecated_read_register_gen and read_register with
2228         regcache_cooked_read.
2229
2230 2007-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2231
2232         * hpux-thread.c (hpux_thread_store_registers): Use
2233         regcache_raw_collect, not regcache_raw_read.
2234         * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
2235         not regcache_raw_write.
2236
2237 2007-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2238
2239         * gdbarch.sh: Remove deprecated_register_byte.
2240         * gdbarch.c, gdbarch.h: Regenerate.
2241         * arch-utils.h (generic_register_size, generic_register_byte): Remove.
2242         * arch-utils.c (generic_register_size, generic_register_byte): Remove.
2243
2244         * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
2245         * regcache.c (regcache_valid_p): Allow to query cooked registers in
2246         read-only register caches.  Make REGCACHE parameter const.
2247         (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
2248
2249         * mi/mi-main.c (old_regs): Remove.
2250         (mi_setup_architecture_data, _initialize_mi_main): Remove.
2251         (register_changed_p): Reimplement to compare two register caches.
2252         (mi_cmd_data_list_changed_registers): Update caller.
2253         * mi/mi-main.h (mi_setup_architecture_data): Remove.
2254         * mi/mi-interp.c (mi_interpreter_init): Do not call
2255         mi_setup_architecture_data.
2256
2257 2007-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2258
2259         * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
2260         inline definition at the places the macros are used.
2261         * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
2262
2263 2007-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2264
2265         * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
2266         "gdb_string.h".
2267         (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
2268         (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
2269         (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
2270         (rs6000_aix_regset_from_core_section): New function.
2271         (rs6000_aix_init_osabi): Register it.
2272         (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
2273         sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. 
2274         * rs6000-nat.c (CoreRegs): Do not define type.
2275         (fetch_core_registers, rs6000_core_fns): Remove.
2276         (_initialize_core_rs6000): Do not register it.  Rename to ...
2277         (_initialize_rs6000_nat): ... this.
2278         * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
2279
2280 2007-04-27  Kevin Buettner  <kevinb@redhat.com>
2281
2282         * dwarf2expr.c (unsigned_address_type): Add forward declaration.
2283         (dwarf2_read_address): Sign extend return address as required by
2284         target architecture.
2285
2286 2007-04-27  Kevin Buettner  <kevinb@redhat.com>
2287
2288         * solib-frv.c (lm_base): Bail out if the main executable has
2289         not been relocated.
2290
2291 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2292
2293         * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
2294         of FPCR register in fpregset.
2295
2296 2007-04-27  Maciej W. Rozycki  <macro@mips.com>
2297
2298         * Makefile.in (gdbtk-wrapper.o): Update dependencies.
2299         (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
2300
2301 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2302
2303         * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
2304         * rs6000-nat.c (rs6000_wait): New function.
2305         (_initialize_core_rs6000): Install it as to_wait target method.
2306         * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
2307
2308 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2309
2310         * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
2311         * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
2312         * rs6000-nat.c (super_create_inferior): New variable.
2313         (rs6000_create_inferior): Make static.  Adapt argument list.  Call
2314         original version of create_inferior via super_create_inferior.
2315         (_initialize_core_rs6000): Install to_create_inferior target method.
2316
2317 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2318
2319         * aix-thread.c (aix_thread_xfer_memory): Replace by ...
2320         (aix_thread_xfer_partial): ... this.
2321         (init_aix_thread_ops): Install to_xfer_partial instead
2322         of deprecated_xfer_memory target method.
2323
2324         * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
2325         and inftarg.o, add inf-ptrace.o.
2326         * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
2327         CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
2328         * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
2329         (fetch_inferior_registers): Rename to ...
2330         (rs6000_fetch_inferior_registers): ... this.  Make static.
2331         (store_inferior_registers): Rename to ...
2332         (rs6000_store_inferior_registers): ... this.  Make static.
2333         (read_word, child_xfer_memory): Remove.
2334         (rs6000_xfer_partial): New function.
2335         (kernel_u_size): Remove.
2336         (_initialize_core_rs6000): Add inf_ptrace-based target.
2337         * Makefile.in (rs6000-nat.o): Update dependencies.
2338
2339 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2340
2341         * inf-ptrace.c: Include "gdb_stdint.h".
2342         (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as 
2343         intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
2344         (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
2345         before casting CORE_ADDR to PTRACE_TYPE_ARG3.
2346         (inf_ptrace_store_register): Likewise.
2347         * Makefile.in (inf-ptrace.o): Update dependencies.
2348
2349 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2350
2351         * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
2352         * configure.tgt (rs6000-*-*): Likewise.
2353         * config/rs6000/aix4.mh: Delete file.
2354         * config/rs6000/aix4.mt: Delete file.
2355         * config/rs6000/rs6000.mh: Delete file.
2356         * config/rs6000/rs6000.mt: Delete file.
2357
2358         * config/powerpc/nm-aix.h: Delete file.
2359         * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
2360
2361 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2362
2363         * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
2364         Remove obsolete part of comment.
2365         (store_regs_user_thread): Use uint32_t temporaries when calling
2366         fill_sprs32.
2367         (store_regs_kernel_thread): Likewise.  Add assertion to verify
2368         correct size of struct ptsprs members.
2369         (aix_thread_xfer_memory): Fix type of myaddr.
2370         (aix_thread_extra_thread_info): Fix compiler warning.
2371         * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
2372         (fetch_register, store_register): Adapt callers.
2373
2374 2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
2375
2376         * vec.h (vec_free): Rename to vec_free_.  Adapt users.
2377
2378 2007-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
2379
2380         * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
2381         and "regcache.h".
2382         (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
2383         (alpha_linux_gregset, alpha_linux_fpregset): New variables.
2384         (alpha_linux_regset_from_core_section): New function.
2385         (alpha_linux_init_abi): Install it.
2386         * alpha-linux-nat.c: Do not include "gdbcore.h".  Include
2387         "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
2388         <sys/procfs.h>, and "gregset.h".
2389         (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
2390         Move from config/alpha/nm-linux.h.
2391         (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
2392         from alpha-nat.c.
2393         (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
2394         * alpha-nat.c: Remove #ifdef __linux__ section.
2395         (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
2396         (_initialize_core_alpha): Do not register alpha_elf_core_fns.
2397         (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
2398         (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
2399         * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
2400         (NATDEPFILES): Remove alpha-nat.o.
2401         * config/alpha/nm-linux.h: Delete file.
2402         * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
2403         * Makefile.in (alpha-linux-nat.o): Update dependencies.
2404         (alpha-linux-tdep.o): Likewise.
2405
2406 2007-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
2407
2408         * mips-linux-nat.c: No longer include "gdbcore.h".
2409         (mips_linux_register_addr): Move from mips-linux-tdep.c.
2410         (mips64_linux_register_addr): Likewise.
2411         (mips_linux_register_u_offset): Call mips_linux_register_addr or
2412         mips64_linux_register_addr instead of register_addr.
2413         * mips-linux-tdep.c (mips_linux_register_addr,
2414         mips64_linux_register_addr): Move to mips-linux-nat.c.
2415         (register_addr): Remove.
2416         (register_addr_data, init_register_addr_data): Remove.
2417         (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
2418         (set_mips_linux_register_addr): Remove.
2419         (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
2420         * Makefile.in (mips-linux-nat.o): Update dependencies.
2421
2422 2007-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
2423
2424         * linux-nat.c (linux_register_u_offset): Remove.
2425         (linux_target_install_ops): New function.
2426         (linux_target): Use it.
2427         (linux_trad_target): New function.
2428         * linux-nat.h (linux_trad_target): Declare.
2429
2430         * alpha-linux-nat.c: Include "gdbcore.h".
2431         (alpha_linux_register_u_offset): New function.
2432         (_initialize_alpha_linux_nat): Use linux_trad_target.
2433
2434         * mips-linux-nat.c: Include "gdbcore.h".
2435         (mips_linux_register_u_offset): New function.
2436         (_initialize_mips_linux_nat): Use linux_trad_target.
2437
2438         * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2439         * config/arm/nm-linux.h: Delete file.
2440
2441         * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
2442         * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
2443
2444         * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2445         * config/ia64/nm-linux.h: Delete file.
2446
2447         * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2448         * config/m32r/nm-linux.h: Delete file.
2449
2450         * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2451         * config/m68k/nm-linux.h: Delete file.
2452
2453         * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2454         * config/pa/nm-linux.h: Delete file.
2455
2456         * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2457         * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
2458         * config/powerpc/nm-linux.h: Delete file.
2459
2460         * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
2461         * config/s390/nm-linux.h: Delete file.
2462
2463         * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2464         * config/sparc/linux64.mh (NAT_FILE): Likewise.
2465         * config/sparc/nm-linux.h: Delete file.
2466
2467         * Makefile.in (alpha-linux-nat.o): Update dependencies.
2468         (mips-linux-nat.o): Likewise.
2469
2470 2007-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
2471
2472         * core-aout.c: Delete file.
2473         * Makefile.in (ALLDEPFILES): Remove core-aout.c.
2474         (core-aout.o): Delete rule.
2475         * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
2476
2477         * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
2478
2479         * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
2480         * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
2481         KERNEL_U_ADDR): Remove.
2482
2483         * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
2484         (cannot_fetch_register, cannot_store_register): Remove.
2485         (fetch_register): Inline cannot_fetch_register and register_addr.
2486         (store_register): Inline cannot_store_register and register_addr.
2487         * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
2488         * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
2489         REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
2490         Remove.
2491
2492         * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
2493         (fetch_register): Inline register_addr.
2494         (store_register): Inline register_addr.
2495         * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
2496         * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
2497         U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
2498
2499         * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
2500         * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
2501         REGISTER_U_ADDR): Remove.
2502
2503         * hppa-linux-nat.c (register_addr): Rename to ...
2504         (hppa_linux_register_addr): ... this.  Make static.
2505         (fetch_register, store_register): Adapt callers.
2506         * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
2507
2508         * ppc-linux-nat.c (kernel_u_size): Remove.
2509         * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
2510
2511         * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
2512         * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
2513         (NAT_FILE): Remove.
2514         * config/vax/nm-vax.h: Delete file.
2515
2516 2007-04-20  Mark Shinwell  <shinwell@codesourcery.com>
2517
2518         * MAINTAINERS (Write After Approval): Add myself.
2519
2520 2007-04-20  Mark Shinwell  <shinwell@codesourcery.com>
2521
2522         * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
2523         * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
2524         (m68k_linux_sigcontext_reg_offset): Fix typo.
2525         (target_is_uclinux): New.
2526         (m68k_linux_inferior_created): New.
2527         (m68k_linux_get_sigtramp_info):  Check for uClinux or
2528         normal Linux.  Use m68k_uclinux_sigcontext_reg_offset for
2529         uClinux.
2530         (_initialize_m68k_linux_tdep): Register
2531         m68k_linux_inferior_created.
2532
2533 2007-04-19  Pedro Alves  <pedro_alves@portugalmail.pt>
2534
2535         * win32-nat.c (win32_detach): Remove delete_command call.
2536         Resume inferior with win32_resume instead of win32_continue.
2537
2538 2007-04-19  Jerome Guitton  <guitton@adacore.com>
2539
2540         * ser-mingw.c (fd_is_file): New function.
2541         (file_select_thread): New function.
2542         (ser_console_wait_handle): Add special handling for files.
2543
2544 2007-04-18  Denis Pilat  <denis.pilat@st.com>
2545
2546         * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
2547         when missing from DW_TAG_subrange_type.  Remove the handling of null
2548         return from die_type.
2549
2550 2007-04-18  Maciej W. Rozycki  <macro@mips.com>
2551
2552         * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
2553         change to rearrange some brackets.
2554         (mips_n32n64_push_dummy_call): Likewise.
2555         (mips_o32_push_dummy_call): Likewise.
2556         (mips_o64_push_dummy_call): Likewise.
2557
2558 2007-04-18  Denis Pilat  <denis.pilat@st.com>
2559
2560         * infcmd.c (post_create_inferior): Start with a call to 
2561         target_terminal_ours.
2562
2563 2007-04-17  Maciej W. Rozycki  <macro@mips.com>
2564
2565         * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
2566         brackets.
2567         (mips_n32n64_push_dummy_call): Likewise.  Reformat some
2568         expressions.
2569         (mips_o32_push_dummy_call): Likewise.
2570         (mips_o64_push_dummy_call): Likewise.
2571
2572 2007-04-17  Maciej W. Rozycki  <macro@mips.com>
2573
2574         * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
2575         comment.
2576
2577 2007-04-17  Maciej W. Rozycki  <macro@mips.com>
2578
2579         * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
2580         comment.
2581         (mips_o32_push_dummy_call): Likewise.
2582
2583 2007-04-17  Andreas Schwab  <schwab@suse.de>
2584
2585         * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
2586         sal to be bigger than the end of the function.
2587
2588 2007-04-17  Maciej W. Rozycki  <macro@mips.com>
2589             Nigel Stephens  <nigel@mips.com>
2590
2591         * mips-tdep.c (mips_o32_push_dummy_call): Take account of
2592         argument alignment requirements when calculating stack space
2593         required.  When aligning an arg register to eight bytes
2594         boundary, align stack_offset too.  Write floating-point
2595         arguments to the appropriate integer register if need go there.
2596         (mips_o64_push_dummy_call): Likewise.
2597
2598 2007-04-14  Ulrich Weigand  <uweigand@de.ibm.com>
2599
2600         * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
2601         "sig" arguments, add "regcache" argument.
2602         * gdbarch.c, gdbarch.h: Regenerate.
2603
2604         * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
2605         (handle_inferior_event): Call remove_single_step_breakpoints directly
2606         instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
2607
2608         * alpha-tdep.c (alpha_software_single_step): Update argument list.
2609         Remove handling of !insert_breakpoints_p case.
2610         * arm-tdep.c (arm_software_single_step): Likewise.
2611         * cris-tdep.c (cris_software_single_step): Likewise.
2612         * mips-tdep.c (mips_software_single_step): Likewise.
2613         * rs6000-tdep.c (rs6000_software_single_step): Likewise.
2614         * sparc-tdep.c (sparc_software_single_step): Likewise.
2615         * spu-tdep.c (spu_software_single_step): Likewise.
2616
2617         * alpha-tdep.h (alpha_software_single_step): Update prototype.
2618         * mips-tdep.h (mips_software_single_step): Likewise.
2619         * rs6000-tdep.h (rs6000_software_single_step): Likewise.
2620         * sparc-tdep.h (sparc_software_single_step): Likewise.
2621
2622 2007-04-14  Ulrich Weigand  <uweigand@de.ibm.com>
2623
2624         * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
2625         when removing single-step breakpoints.
2626
2627 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
2628
2629         * varobj.h (varobj_set_frozen): New
2630         (varobj_get_frozen): New.
2631         (varobj_update): New parameter explicit.
2632         * varobj.c (struct varobj): New fields frozen
2633         and not_fetched.
2634         (varobj_set_frozen, varobj_get_frozen): New.
2635         (install_new_value): Don't fetch values for 
2636         frozen variable object, or children thereof.  Allow
2637         a frozen variable object to have non-fetched value.
2638         (varobj_update): Allow updating child variables.
2639         Don't traverse frozen children.
2640         (new_variable): Initialize the frozen field.
2641         (c_value_of_variable): Return NULL for frozen
2642         variable without any value yet. 
2643         * mi/mi-cmd-var.c (varobj_update_one): New parameter
2644         'explicit'.
2645         (mi_cmd_var_create): Output the 'frozen' field,
2646         as soon as testsuite is adjusted to expect that field.
2647         (mi_cmd_var_set_frozen): New.
2648         (mi_cmd_var_update): Pass the 'explicit' parameter to
2649         varobj_update_one.
2650         * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
2651         * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
2652         
2653 2007-04-13  Paul Brook  <paul@codesourcery.com>
2654
2655         * target-descriptions.c (tdesc_named_type): Add ieee_single and
2656         ieee_double.
2657         * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
2658
2659 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2660
2661         * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
2662         remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
2663         scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
2664         ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
2665         * Makefile.in: Remove references to deleted files.
2666         * README: Do not mention deleted ROM monitor interfaces.
2667         * defs.h (enum language): Delete language_scm.
2668         * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
2669         (dump_subexp_body_standard): Likewise.
2670         * parse.c (operator_length_standard): Likewise.
2671         * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
2672         * remote-mips.c: Do not include remote-utils.h.
2673         * remote-sim.c: Likewise.  Use remote_debug instead of sr_get_debug
2674         throughout.
2675         * value.c: Do not include scm-lang.h.
2676         (unpack_long): Delete scm_unpack call.
2677         * config/h8300/h8300.mt, config/mips/embed.mt,
2678         config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
2679         config/sh/embed.mt, config/sh/linux.mt: Remove references to
2680         deleted files.
2681         * NEWS: Mention removed files.
2682
2683 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2684
2685         * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
2686         * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
2687
2688 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2689
2690         * NEWS: Mention removal of HP aCC support.
2691
2692 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2693
2694         * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
2695         first entry for static executables.
2696         (breakpoint_addr): Delete unused variable.
2697         (elf_locate_base): Search for _r_debug in static executables.
2698         (enable_break): Do not set breakpoint_addr.  Scan solib_break_names
2699         also.
2700
2701 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2702
2703         * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
2704         (bpstat_what, print_one_breakpoint, allocate_bp_location)
2705         (mention): Remove bp_through_sigtramp support.
2706         * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
2707
2708 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2709
2710         * breakpoint.c (bpstat_what): Give step-resume higher priority than
2711         shlib events.
2712
2713 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
2714
2715         * infrun.c: Doc fixes.
2716         (handle_inferior_event): Clarify debug message.
2717         (insert_step_resume_breakpoint_at_sal): Print a debug message.
2718
2719 2007-04-12  Ulrich Weigand  <uweigand@de.ibm.com>
2720
2721         * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
2722
2723 2007-04-12  Ulrich Weigand  <uweigand@de.ibm.com>
2724
2725         * config/m68k/tm-monitor.h: Delete file.
2726         * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
2727         * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
2728         call moved to ...
2729         * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
2730         * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
2731
2732 2007-04-12  Luis Machado  <luisgpm@br.ibm.com>
2733
2734         * gdbarch.sh (software_single_step): Change the return type
2735         from void to int and reformatted some comments to <= 80
2736         columns.
2737         * gdbarch.c, gdbarch.h: Regenerated.
2738         * alpha-tdep.c (alpha_software_single_step): Likewise.
2739         * alpha-tdep.h (alpha_software_single_step): Likewise.
2740         * arm-tdep.c (arm_software_single_step): Likewise.
2741         * cris-tdep.c (cris_software_single_step): Likewise.
2742         * mips-tdep.c (mips_software_single_step): Likewise.
2743         * mips-tdep.h (mips_software_single_step): Likewise.
2744         * rs6000-tdep.c (rs6000_software_single_step): Likewise.
2745         * rs6000-tdep.h (rs6000_software_single_step): Likewise.
2746         * sparc-tdep.c (sparc_software_single_step): Likewise.
2747         * sparc-tdep.h (sparc_software_single_step): Likewise.
2748         * spu-tdep.c (spu_software_single_step): Likewise.
2749         * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
2750         and act accordingly.
2751
2752 2007-04-11  Steve Ellcey  <sje@cup.hp.com>
2753
2754         * configure.ac (build_warnings): Add -Wno-char-subscripts.
2755         * configure: Regenerate.
2756         * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
2757
2758 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2759
2760         * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
2761
2762 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2763
2764         * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
2765         macros.
2766         (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
2767         distinct on the TYPE_STUB_SUPPORTED debug targets.
2768         * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
2769
2770 2007-04-11  Joel Brobecker  <brobecker@adacore.com>
2771
2772         * sparc-tdep.c (X_RS2): New macro.
2773         (sparc_skip_stack_check): New function.
2774         (sparc_analyze_prologue): Adjust PC past stack probing
2775         sequence if necessary.
2776
2777 2007-04-10  Andreas Schwab  <schwab@suse.de>
2778
2779         * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
2780         register.
2781
2782 2007-04-10  Daniel Jacobowitz  <dan@codesourcery.com>
2783
2784         * breakpoint.c (gdb_breakpoint_query): Really return an
2785         enum gdb_rc.
2786         (gdb_breakpoint): Likewise.
2787         * thread.c (gdb_list_thread_ids): Likewise.
2788         (gdb_thread_select): Likewise.
2789         * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
2790         (mi_cmd_thread_list_ids): Remove bogus initialization.
2791
2792 2007-04-10  Daniel Jacobowitz  <dan@codesourcery.com>
2793
2794         * Makefile.in (SFILES): Remove hpacc-abi.c.
2795         (COMMON_OBS): Remove hpacc-abi.o.
2796         (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
2797         (hpacc-abi.o, hpread.o): Delete rules.
2798         * somread.c: Delete extern declarations from hpread.c.
2799         (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
2800         (som_symfile_finish): Do not call hpread_symfile_finish.
2801         (som_symfile_init): Do not call hpread_symfile_init.
2802         * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
2803         * config/pa/hppahpux.mt (TDEPFILES): Likewise.
2804         * hpacc-abi.c, hpread.c: Deleted.
2805
2806 2007-04-10  Daniel Jacobowitz  <dan@codesourcery.com>
2807
2808         * solib-svr4.c (enable_break): Simplify return value.
2809         (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
2810
2811 2007-04-10  Andreas Schwab  <schwab@suse.de>
2812
2813         * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
2814         l_ld_size, l_next_size, l_prev_size, l_name_size.
2815
2816         * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
2817         to extract addresses from link map.
2818         (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
2819         (LM_NEXT): Likewise.
2820         (LM_NAME): Likewise.
2821         (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
2822         (elf_locate_base): Likewise.
2823         (open_symbol_file_object): Likewise.
2824         (svr4_fetch_objfile_link_map): Likewise.
2825         (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
2826         (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
2827         l_ld_size.
2828         (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
2829         (svr4_lp64_fetch_link_map_offsets): Likewise.
2830
2831         * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
2832         removed members.  Set l_ld_offset to -1 if not present.
2833
2834 2007-04-08  Vladimir Prus  <vladimir@codesourcery.com>
2835         
2836         Pass stderr of program run with "target remote |"
2837         via gdb_stderr.
2838         * serial.c (serial_open): Set error_fd to -1.
2839         * serial.h (struct serial): New field error_fd.
2840         (struct serial_opts): New field avail.
2841         * ser-pipe.c (pipe_open): Create another pair
2842         of sockets.  Pass stderr to gdb.
2843         * ser-mingw.c (pipe_windows_open): Pass
2844         PEX_STDERR_TO_PIPE to pex_run.  Initialize
2845         sd->error_fd.
2846         (pipe_avail): New.
2847         (_initialize_ser_windows): Hook pipe_avail.
2848         * ser-base.c (generic_readchar): Check if there's
2849         anything in stderr channel and route that to gdb_stderr.
2850
2851 2007-04-03  Pedro Alves  <pedro_alves@portugalmail.pt>
2852
2853         * dbxread.c (read_ofile_symtab): Move current_objfile
2854         clearing to after end_stabs.
2855
2856 2007-04-01  Andreas Schwab  <schwab@suse.de>
2857
2858         * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
2859         gdbarch instead of current_gdbarch.
2860
2861 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
2862
2863         * varobj.c (varobj_create): Keep varobj value
2864         NULL when evaluating the type.
2865         
2866 2007-03-31  Pedro Alves  <pedro_alves@portugalmail.pt>
2867
2868         * NEWS: Mention new Windows CE support.
2869
2870 2007-03-30  Pedro Alves  <pedro_alves@portugalmail.pt>
2871
2872         * configure.tgt: Move mips*-*-pe and sh*-*-pe to 
2873         the obsoletion stanza.
2874         * NEWS: Mention deleted targets.
2875
2876         * config/sh/tm-wince.h: Remove.
2877         * config/sh/wince.mt: Remove.
2878         * config/mips/tm-wince.h: Remove.
2879         * config/mips/wince.mt: Remove.
2880
2881         * wince.c: Remove.
2882         * wince-stub.c: Remove.
2883         * wince-stub.h: Remove.
2884         * Makefile.in (wince.o): Remove rule.
2885         (wince-stub.o): Likewise.
2886
2887         * mips-tdep.c (mips_next_pc): Make static.
2888         * mips-tdep.h (mips_next_pc): Remove declaration.
2889         * arm-tdep.c (arm_pc_is_thumb): Make static.
2890         (thumb_get_next_pc): Likewise.
2891         (arm_get_next_pc): Likewise.
2892         * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
2893         (arm_pc_is_thumb): Likewise.
2894         (thumb_get_next_pc): Likewise.
2895         (arm_get_next_pc): Likewise.
2896
2897 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
2898
2899         * MAINTAINERS: Remove d10v entry.
2900         * Makefile.in (SFILES): Remove dwarfread.c.
2901         (COMMON_OBS): Remove dwarfread.o.
2902         (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
2903         (remote-est.o, rom68k-rom.o): Delete.
2904         * NEWS: Mention removal of d10v, target abug, target cpu32bug,
2905         target est, target rom68k, and DWARF 1.
2906         * configure.tgt: Mark d10v as removed.
2907         * dwarf2read.c: Doc update.
2908         * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
2909         and lnsize.
2910         (elf_locate_sections): Do not set them.
2911         (elf_symfile_read): Do not call dwarf_build_psymtabs.
2912         * symfile.h (dwarf_build_psymtabs): Delete prototype.
2913         * config/m68k/monitor.mt (TDEPFILES): Prune.
2914         * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
2915         remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
2916
2917 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
2918
2919         * doublest.c (convert_floatformat_to_doublest): Use
2920         floatformat_classify.
2921         (floatformat_is_nan): Rename to...
2922         (floatformat_classify): ...this.  Return more information.
2923         * doublest.h (enum float_kind): New.
2924         (floatformat_is_nan): Replace prototype...
2925         (floatformat_classify): ...with this one.
2926         * valprint.c (print_floating): Use floatformat_classify.  Handle
2927         infinity.
2928
2929 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
2930
2931         * README: Mention ISO C library requirement.
2932
2933 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
2934
2935         * Makefile.in (SFILES): Remove nlmread.c.
2936         (COMMON_OBS): Remove nlmread.o.
2937         (nlmread.o): Delete rule.
2938         * README: Delete reference to remote-st.c.
2939         * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
2940         * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
2941         GDB_OSABI_LYNXOS.
2942         * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
2943         (_initialize_i386_tdep): Do not reference them.
2944         * nlmread.c: Delete file.
2945         * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
2946         * target.c: Doc update.
2947         * thread.c: Delete commented include.
2948         * config/alpha/tm-alpha.h: Doc update.
2949
2950 2007-03-30  Chris Dearman  <chris@mips.com>
2951
2952         * utils.c (string_to_core_addr): Comment typo.
2953
2954 2007-03-30  Chris Dearman  <chris@mips.com>
2955
2956         * mips-tdep.c: Comment typo.
2957
2958 2007-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2959
2960         * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
2961         * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
2962         * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
2963         * config/powerpc/nm-ppc64-linux.h: Remove file.
2964         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
2965         * inferior.h (PTRACE_ARG3_TYPE): Do not define.
2966         (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
2967         * infptrace.c (call_ptrace): Likewise.
2968         * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
2969         (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
2970         and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
2971         (store_register): Likewise.
2972
2973 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
2974
2975         * Makefile.in (varobj.o): Add missing dependency.
2976
2977 2007-03-29  Michael Snyder  <msnyder@access-company.com>
2978
2979         * MAINTAINERS: Update my email address.
2980
2981 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
2982
2983         Add support for exception handling with multiple versions of
2984         the Ada runtime:
2985         * ada-lang.c: Update general comments on how Ada exception catchpoints
2986         are implemented.
2987         (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
2988         (__gnat_raise_nodefer_with_msg): Delete.
2989         (ada_unhandled_exception_name_addr_ftype): New type.
2990         (exception_support_info): New type.
2991         (ada_unhandled_exception_name_addr): Add forward declaration.
2992         (ada_unhandled_exception_name_addr_from_raise): Likewise.
2993         (default_exception_support_info): New constant.
2994         (exception_support_info_fallback): Likewise.
2995         (exception_info): New global variable.
2996         (ada_exception_support_info_sniffer): New function.
2997         (ada_executable_changed_observer): Likewise.
2998         (ada_unhandled_exception_name_addr_from_raise): Renamed from
2999         ada_unhandled_exception_name_addr.
3000         (ada_unhandled_exception_name_addr): Reimplement to match the
3001         latest Ada runtime implementation.
3002         (error_breakpoint_runtime_sym_not_found): Delete.
3003         (ada_exception_sym_name): Get the exception sym name from
3004         exception_info rather than hardcoding it.
3005         (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
3006         Update error handling.
3007         * Makefile.in (ada-lang.o): Add dependency on observer.h.
3008
3009 2007-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
3010
3011         * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
3012         (remote-st.o, uw-thread.o): Delete.
3013         (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
3014         * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
3015         i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
3016         i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
3017         i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
3018         i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
3019         rs6000-*-lynxos* to an obsoletion stanza.
3020         * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
3021         i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
3022         and rs6000-*-lynxos* to an obsoletion stanza.  Do not mention
3023         i[34567]86-*-netware*.
3024         * NEWS: Mention deleted targets.
3025
3026         * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
3027         uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
3028         config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
3029         config/i386/i386v4.mh, config/i386/i386v42mp.mh,
3030         config/i386/ncr3000.mh, config/i386/ncr3000.mt,
3031         config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
3032         config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
3033         config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
3034         config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
3035         config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
3036         config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
3037         config/rs6000/tm-rs6000ly.h: Delete files.
3038
3039 2007-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
3040
3041         * defs.h (deprecated_registers_changed_hook): Delete declaration.
3042         * interps.c (clear_interpreter_hooks): Do not clear
3043         deprecated_registers_changed_hook.
3044         * regcache.c (registers_changed): Do not call it.
3045         * top.c (deprecated_registers_changed_hook): Do not define it.
3046         * mi/mi-interp.c (mi_command_loop): Do not clear it.
3047         * tui/tui-hooks.c (tui_install_hooks): Do not install it.
3048         (tui_remove_hooks): Do not remove it.
3049         (tui_selected_frame_level_changed_hook): Check for negative level.
3050         Use get_selected_frame.
3051         (tui_registers_changed_hook): Deleted.
3052
3053 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
3054
3055         * stabsread.c (add_undefined_type): Add extra parameter.
3056         Now handles nameless types separately.
3057         (struct nat): New type.
3058         (noname_undefs, noname_undefs_allocated, noname_undefs_length):
3059         New static variables.
3060         (read_type): Update calls to add_undefined_type.
3061         (add_undefined_type_noname): New function.
3062         (add_undefined_type_1): Renames from add_undefined_type.
3063         (cleanup_undefined_types_noname): New function.
3064         (cleanup_undefined_types_1): Renames cleanup_undefined_types.
3065         (cleanup_undefined_types): New handles nameless types separately.
3066         (_initialize_stabsread): Initialize our new static constants.
3067
3068 2007-03-29  Denis Pilat  <denis.pilat@st.com>
3069
3070         * configure.ac: Test for signal.h.
3071         * configure, config.in: Regenerate.
3072
3073 2007-03-29  Denis Pilat  <denis.pilat@st.com>
3074
3075         * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
3076         * infrun.c (normal_stop): Remove MI specific frame printing treatment.
3077
3078 2007-03-29  Pedro Alves  <pedro_alves@portugalmail.pt>
3079
3080         * arm-wince-tdep.c: New.
3081         * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
3082         (MT_CFLAGS): Delete.
3083         (TM_CLIBS): Delete.
3084         (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
3085         solib-legacy.o, solib-svr4.o, and remove wince.o.
3086         * configure.tgt (arm*-*-mingw32ce*): Add.
3087         * signals/signals.c [HAVE_SIGNAL_H]: Check.
3088         (do_target_signal_to_host): Silence 'not used' warning.
3089         * config/arm/tm-wince.h: Remove.
3090
3091 2007-03-28  Ulrich Weigand  <uweigand@de.ibm.com>
3092
3093         * arch-utils.c (legacy_pc_in_sigtramp): Remove.
3094         * arch-utils.h (legacy_pc_in_sigtramp): Remove.
3095
3096         * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
3097         * config/ia64/tm-linux.h: Remove file.
3098         * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
3099         * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
3100         legacy_pc_in_sigtramp.
3101         (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
3102         * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
3103         Remove func_name argument.
3104         (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
3105
3106         * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
3107         * target.c (update_current_target): Add to_have_steppable_watchpoint.
3108         * target.h (struct target_ops):  Add to_have_steppable_watchpoint.
3109         (HAVE_STEPPABLE_WATCHPOINT): Define.
3110
3111         * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
3112         * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
3113         CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
3114         TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
3115         STOPPED_BY_WATCHPOINT, target_stopped_data_address,
3116         target_insert_watchpoint, target_remove_watchpoint): Remove.
3117         (FETCH_INFERIOR_REGISTERS): Define.
3118         * ia64-linux-nat.c (ia64_register_addr): Make static.
3119         (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
3120         (ia64_linux_insert_watchpoint): Make static.  Remove ptid_p argument.
3121         (ia64_linux_remove_watchpoint): Likewise.  Add type argument.
3122         (ia64_linux_stopped_data_address): Make static.  Add target_ops.
3123         (ia64_linux_stopped_by_watchpoint): Make static.
3124         (ia64_linux_can_use_hw_breakpoint): New function.
3125         (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
3126         (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
3127         (_initialize_ia64_linux_nat): Install register and watchpoint ops.
3128
3129 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
3130
3131         * linespec.c: Include language.h.
3132         (find_methods): Add language parameter.  Call
3133         lookup_symbol_in_language.  Pass language down.
3134         (add_matching_methods): Likewise.  Call
3135         lookup_symbol_in_language.
3136         (add_constructors): Likewise.
3137         (find_method): Pass sym_class to collect_methods.
3138         (collect_methods): Add sym_class parameter.  Pass language
3139         down.
3140         * symtab.c (lookup_symbol): Rename to ...
3141         (lookup_symbol_in_language): ... this.  Add language
3142         parameter.  Use passed language instead of current_language.
3143         (lookup_symbol): New as wrapper around
3144         lookup_symbol_in_language.
3145         (lookup_symbol_aux): Add language parameter.  Use passed
3146         language instead of current_language.
3147         (search_symbols): Indent.
3148         * symtab.h (enum language): Forward declare.
3149         (lookup_symbol_in_language): Declare.
3150         (lookup_symbol): Update description.
3151         * ada-lang.h (lookup_symbol_in_language): Remove declaration.
3152         * ada-lang.c (restore_language): Remove.
3153         (lookup_symbol_in_language): Remove.
3154
3155 2007-03-27  Pedro Alves  <pedro_alves@portugalmail.pt>
3156
3157         * breakpoint.c (bpstat_num): Add int *num parameter.
3158         * breakpoint.h (bpstat_num): Likewise.
3159         * infcmd.c (continue_command): Adjust to new bpstat_num
3160         interface.
3161         (program_info): Likewise.
3162
3163 2007-03-27  Ulrich Weigand  <uweigand@de.ibm.com>
3164
3165         * config/sh/tm-sh.h: Remove file.
3166         * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
3167         * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
3168         * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
3169         * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
3170
3171 2007-03-27  Ulrich Weigand  <uweigand@de.ibm.com>
3172
3173         * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
3174         DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
3175         * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
3176         DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
3177         * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
3178         sequence if target_shortname is "remote".
3179
3180 2007-03-27  Anton Blanchard  <anton@samba.org>
3181
3182         * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
3183         instead of wordsize when looking for the LR in a stack frame.
3184
3185 2007-03-27  Andreas Schwab  <schwab@suse.de>
3186             Daniel Jacobowitz  <dan@codesourcery.com>
3187
3188         * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
3189         (dwarf2_frame_adjust_regnum): ...this.  Make static.  Add eh_frame_p
3190         argument.  Update all callers.
3191         (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
3192         (dwarf2_frame_set_eh_frame_regnum): Rename to...
3193         (dwarf2_frame_set_adjust_regnum): ...this.  Update argument type.
3194         * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
3195         (dwarf2_frame_set_adjust_regnum): ...this.
3196         (dwarf2_frame_eh_frame_regnum): Delete prototype.
3197         * rs6000-tdep.c: Include "dwarf2-frame.h".
3198         (rs6000_adjust_frame_regnum): Define.
3199         (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
3200         Register rs6000_adjust_frame_regnum.
3201
3202         * Makefile.in (rs6000-tdep.o): Update dependencies.
3203
3204 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
3205
3206         * Makefile.in: Add support for a "pdf" target.
3207
3208 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
3209
3210         * amd64-tdep.c (amd64_init_frame_cache): New function.
3211         (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
3212
3213 2007-03-26  Nigel Stephens  <nigel@mips.com>
3214             Maciej W. Rozycki  <macro@mips.com>
3215
3216         * ui-out.c (ui_out_field_core_addr): Truncate address to
3217         TARGET_ADDR_BIT size before printing.
3218
3219 2007-03-22  Nigel Stephens  <nigel@mips.com>
3220             Maciej W. Rozycki  <macro@mips.com>
3221
3222         * remote-mips.c (mips_xfer_memory): Update prototype.
3223
3224 2007-03-22  Joel Brobecker  <brobecker@adacore.com>
3225
3226         * symfile.h: #include "symtab.h"
3227
3228 2007-03-22  Denis Pilat  <denis.pilat@st.com>
3229
3230         * utils.c (pagination_on_command, pagination_off_command):
3231         Remove useless prototypes.
3232
3233 2007-03-21  Pierre Muller  <muller@ics.u-strasbg.fr>
3234
3235         Fix PR pascal/2232.
3236         * p-valprint.c (pascal_object_print_value): Use type_name_no_tag 
3237         instead of TYPE_NAME for object base class name.
3238
3239
3240 2007-03-19  Kevin Buettner  <kevinb@redhat.com>
3241
3242         * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
3243         Specify frame type in calls to frame_func_unwind().
3244
3245 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
3246
3247         * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
3248         (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
3249         (refine_prologue_limit): Delete.
3250         (skip_prologue): Don't call it.  Use extract_unsigned_integer.
3251         Assume lim_pc is set.  Correct check for incomplete prologues.
3252         Do not skip clobbers of the frame pointer.
3253         * symtab.c (skip_prologue_using_sal): Fail if there is only one
3254         sal.
3255
3256 2007-03-13  Nathan Froyd  <froydnj@codesourcery.com>
3257
3258         * frame.c (frame_pop): Check to see whether there's a frame to
3259         which we can pop first.
3260
3261 2007-03-13  Nathan Froyd  <froydnj@codesourcery.com>
3262
3263         * MAINTAINERS (Write After Approval): Add myself.
3264
3265 2007-03-09  Markus Deuling  <deuling@de.ibm.com>
3266
3267         * infrun.c (breakpoints_failed): Remove unnecessary variable.
3268         (handle_inferior_event): Remove unnecessary braces.
3269         * breakpoint.c (bpstat_what): Remove wrong comment.
3270
3271 2007-03-09  Ulrich Weigand  <uweigand@de.ibm.com>
3272
3273         * spu-tdep.c (spu_in_function_epilogue_p): New function.
3274         (spu_gdbarch_init): Install it.
3275
3276 2007-03-08  Ulrich Weigand  <uweigand@de.ibm.com>
3277
3278         * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
3279         object types, not 0.
3280
3281 2007-03-08  Ulrich Weigand  <uweigand@de.ibm.com>
3282
3283         * spu-tdep.c (spu_frame_align): New function.
3284         (spu_gdbarch_init): Install it.  Set call dummy location to ON_STACK.
3285
3286 2007-03-08  Ulrich Weigand  <uweigand@de.ibm.com>
3287
3288         * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
3289         (spu_software_single_step): Likewise.
3290         (spu_read_pc, spu_write_pc): New functions.
3291         (spu_gdbarch_init): Install them.
3292
3293 2007-03-08  Ulrich Weigand  <uweigand@de.ibm.com>
3294
3295         * cli/cli-dump.c (struct callback_data): load_offset needs to 
3296         have signed long type.
3297
3298 2007-03-07  Joel Brobecker  <brobecker@adacore.com>
3299
3300         * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
3301         Revert the previous change that had some unexpected side-effects
3302         on mips32.
3303         (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
3304         function to get the address of the calling instruction.
3305
3306 2007-03-07  Denis Pilat  <denis.pilat@st.com>
3307
3308         * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
3309         get_selected_frame by deprecated_safe_get_selected_frame.
3310
3311 2007-03-02  Mark Kettenis  <kettenis@gnu.org>
3312
3313         * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
3314         "gdb_string.h".  Don't include "nbsd-tdep.h".
3315         (SIZEOF_STRUCT_REG): Remove.
3316         (SHNBSD_SIZEOF_GREGS): New.
3317         (shnbsd_supply_gregset, shnbsd_collect_gregset)
3318         (shnbsd_regset_from_core_section): New functions.
3319         (fetch_core_registers, fetch_elfcore_registers): Remove functions.
3320         (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
3321         shnbsd_supply_gregset, shnbsd_collect_gregset.
3322         (shnbsd_gregset): New variable.
3323         (shnbsd_init_abi): Set regset_from_core_section.
3324         (GDB_OSABI_NETBSD_CORE): New define.
3325         (shnbsd_core_osabi_sniffer): New function.
3326         (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
3327         * Makefile.in (shnbsd-tdep.o): Update dependencies.
3328         * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
3329         nbsd-tdep.o.
3330         * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
3331
3332 2007-02-28  Joel Brobecker  <brobecker@adacore.com>
3333
3334         * gdbtypes.c (replace_type): Fix typo that caused us to not update
3335         length of the types referenced by the new type CV ring.
3336
3337 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
3338
3339         * frame.c (frame_pop, frame_observer_target_changed): Call
3340         reinit_frame_cache.
3341         (flush_cached_frames): Rename to reinit_frame_cache and delete
3342         old implementation.
3343         * frame.h (flush_cached_frames): Delete prototype and update comment.
3344
3345         * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
3346         reinit_frame_cache instead of flush_cached_frames.  Do not call
3347         select_frame after reinit_frame_cache.
3348         * corelow.c (core_open): Likewise.
3349         * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
3350         * infrun.c (prepare_to_proceed, context_switch)
3351         (handle_inferior_event): Likewise.
3352         * linux-fork.c (fork_load_infrun_state): Likewise.
3353         * ocd.c (ocd_start_remote): Likewise.
3354         * remote-e7000.c (e7000_start_remote): Likewise.
3355         * remote-mips.c (device): Likewise.
3356         * thread.c (switch_to_thread): Likewise.
3357         * tracepoint.c (finish_tfind_command): Likewise.
3358         * gdbarch.c: Regenerated.
3359
3360 2007-02-28  Jerome Guitton  <guitton@adacore.com>
3361             Joel Brobecker  <brobecker@adacore.com>
3362
3363         * gdbtypes.c (check_typedef): Do not replace stub type if
3364         the resolved type is not defined in the same objfile.
3365
3366 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
3367
3368         * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
3369
3370 2007-02-28  Joel Brobecker  <brobecker@adacore.com>
3371
3372         * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
3373         symbol for Ada units when the symbol is defined using 't' rather
3374         than 'Tt' as symbol descriptor.
3375
3376 2007-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
3377
3378         * config/mips/tm-nbsd.h: Delete file.
3379         * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
3380         * config/sh/tm-nbsd.h: Delete file.
3381         * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
3382
3383 2007-02-28  Joel Brobecker  <brobecker@adacore.com>
3384
3385         * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
3386         unused WRONG_PARAM value since it was recently deleted.
3387
3388 2007-02-28  Vladimir Prus  <vladimir@codesourcery.com>
3389
3390         * varobj.c (varobj_update): Free temporary vectors.
3391
3392 2007-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
3393
3394         * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
3395         * config/powerpc/tm-linux.h: Delete file.
3396         * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
3397         (PROCESS_LINENUMBER_HOOK): Do not undefine.
3398         (TEXT_SEGMENT_BASE): Do not redefine.
3399         * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
3400         from config/rs6000/tm-rs6000.h.
3401         (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
3402         * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
3403         (TEXT_SEGMENT_BASE): Remove.
3404         (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
3405         (rs6000_in_solib_return_trampoline): Remove.
3406         (SKIP_TRAMPOLINE_CODE): Remove.
3407         (rs6000_skip_trampoline_code): Remove.
3408         (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
3409         (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
3410         (FP0_REGNUM): Remove.
3411         (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
3412         (rs6000_set_host_arch_hook): Remove.
3413         * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
3414         (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
3415         * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
3416         * rs6000-aix-tdep.c: Include "ppc-tdep.h".
3417         (rs6000_aix_init_osabi): Set text_segment_base tdep field.
3418         * rs6000-nat.c: Include "rs6000-tdep.h".
3419         (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
3420         (set_host_arch): Rename to ...
3421         (rs6000_create_inferior): ... this.  Make public.
3422         (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
3423         * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
3424         (rs6000_create_inferior): Remove.
3425         (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
3426         (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
3427         set_gdbarch_in_solib_return_trampoline, and
3428         set_gdbarch_skip_trampoline_code.
3429         * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
3430         from config/rs6000/tm-rs6000.h.
3431
3432 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
3433
3434         * buildsym.c (record_producer): Do nothing if no producer is provided.
3435
3436 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
3437
3438         * varobj.c (varobj_update): Remove unused local.  Use gdb_assert
3439         to check changelist is non-NULL.  Call error if the frontend tries
3440         to update a non-root variable.
3441
3442         * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
3443
3444 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
3445
3446         * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
3447         (dwarf2_frame_sniffer): Update.
3448         (dwarf2_signal_frame_this_id): New function.
3449         (dwarf2_signal_frame_unwind): Use it.
3450         (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
3451         * frame.c (frame_func_unwind): Add this_type argument.
3452         (get_frame_func): Update.
3453         (frame_unwind_address_in_block): Add this_type argument and check it.
3454         Fix a typo.
3455         (get_frame_address_in_block): Update.
3456         * frame.h (enum frame_type): Move higher in the file.
3457         (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
3458         argument.
3459
3460         * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
3461         arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
3462         hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
3463         libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
3464         m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
3465         mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
3466         score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
3467         sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
3468         xstormy16-tdep.c, xtensa-tdep.c: Update calls to
3469         frame_func_unwind and frame_unwind_address_in_block to specify
3470         the frame type.  Use frame_unwind_address_in_block instead of
3471         frame_pc_unwind in sniffers.
3472
3473 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
3474
3475         * frame.c (deprecated_selected_frame): Rename to...
3476         (selected_frame): ...this.  Make static.
3477         (get_selected_frame, select_frame): Update.
3478         * frame.h (deprected_select_frame): Delete.
3479         (deprecated_safe_get_selected_frame): Update comments.
3480
3481         * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
3482         infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
3483         tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
3484         parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
3485         tui/tui.c: Replace references to deprecated_selected_frame.
3486
3487 2007-02-27  Fred Fish  <fnf@specifix.com>
3488
3489         * rs6000-tdep.c (skip_prologue): Recognize addi instructions that 
3490         directly decrement the stack pointer, accumulate their operand into 
3491         the stack offset, and mark the function as not being frameless.
3492
3493 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
3494
3495         * arch-utils.c (selected_byte_order): New.
3496         * arch-utils.h (selected_byte_order): New prototype.
3497         * remote-sim.c (gdbsim_open): Use selected_byte_order.
3498
3499 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
3500
3501         * symfile.c (place_section): Check SEC_ALLOC.  Do not check VMA.
3502         (default_symfile_offsets): Check VMA here.  Update section VMAs.
3503
3504 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
3505
3506         * remote.c (init_remote_state): Add special handling for placeholder
3507         registers.
3508
3509 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
3510
3511         * Makefile.in (XMLFILES): Include $(TDEP_XML).
3512         (filenames_h): New variable.
3513         (clean): Clean up xml-builtin.c and stamp-xml.
3514         (arm-linux-nat.o): Update.
3515         * config/arm/linux.mh (TDEP_XML): Define.
3516         * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
3517         (arm_linux_has_wmmx_registers): New.
3518         (GET_THREAD_ID): Fix typo.
3519         (IWMMXT_REGS_SIZE): Define.
3520         (fetch_wmmx_regs, store_wmmx_regs): New.
3521         (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
3522         (arm_linux_store_inferior_registers): Use store_wmmx_regs.
3523         (super_xfer_partial, arm_linux_xfer_partial): New.
3524         (_initialize_arm_linux_nat): Use them.
3525         * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
3526         (xml_builtin_xfer_partial): New function.
3527         * xml-support.h (xml_builtin_xfer_partial): New prototype.
3528         * NEWS: Update mention of iWMMXt support.
3529
3530 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
3531
3532         * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
3533         if there are no FPA registers.
3534         (arm_dwarf_reg_to_regnum): New function.
3535         (arm_register_type, arm_register_name): Return minimal values for
3536         unsupported registers.
3537         (arm_register_sim_regno): Handle iWMMXt registers.
3538         (arm_gdbarch_init): Record missing FPA registers if indicated by
3539         a target description.  Recognize iWMMXt registers.  Only register
3540         "info float" for FPA.  Use ARM_NUM_REGS.  Register
3541         arm_dwarf_reg_to_regnum.
3542         * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
3543         constants.
3544         (struct gdbarch_tdep): Add have_fpa_registers.
3545         * features/xscale-iwmmxt.xml: Update capitalization.
3546         * regformats/arm-with-iwmmxt.dat: Regenerated.
3547
3548 2007-02-24  Kevin Buettner  <kevinb@redhat.com>
3549
3550         * NEWS (New targets): Add entry for the Toshiba Media Processor.
3551
3552 2007-02-23  Kevin Buettner  <kevinb@redhat.com>
3553
3554         * MAINTAINERS (mep): New target.
3555
3556 2007-02-23  Kevin Buettner  <kevinb@redhat.com>
3557
3558         From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
3559         Richard Sandiford:
3560         * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
3561         (mep-tdep.o): New rule.
3562         * configure.tgt (mep-*-*): New target.
3563         * mep-tdep.c: New file.
3564         * config/mep/mep.mt: New file.
3565
3566 2007-02-22  Markus Deuling  <deuling@de.ibm.com>
3567
3568         * infrun.c (inferior_stop_reason, print_stop_reason): Remove
3569         BREAKPOINT_HIT and STOP_UNKNOWN.
3570
3571 2007-02-22  Markus Deuling  <deuling@de.ibm.com>
3572
3573         * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. 
3574
3575 2007-02-20  Joel Brobecker  <brobecker@adacore.com>
3576
3577         * gdb_expat.h (XMLCALL): Define if not already defined.
3578
3579 2007-02-20  Andreas Schwab  <schwab@suse.de>
3580
3581         * Makefile.in (symfile.o): Update dependencies.
3582
3583 2007-02-20  Daniel Jacobowitz  <dan@codesourcery.com>
3584
3585         * MAINTAINERS: Disable -Werror for cris simulator.  Build
3586         sparc64-solaris2.10 instead of the broken sparc-elf.
3587         * solib-frv.c: Include "solib.h".
3588         * Makefile.in (solib-frv.o): Update.
3589         * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
3590         * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
3591         (xtensa_frame_this_id, xtensa_frame_prev_register)
3592         (xtensa_push_dummy_call): Use %p.
3593
3594 2007-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3595
3596         * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
3597         ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
3598         sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
3599         * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
3600         (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
3601         (sparc-linux-tdep.o): Update.
3602
3603 2007-02-15  Maxim Grigoriev  <maxim2405@gmail.com>
3604
3605         * xtensa-tdep.h (xtensa_reg_mask_t): New.
3606         (xtensa_mask_t): Change mask field to be a separate array.
3607         * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
3608         (xtensa_pseudo_register_write, xtensa_unwind_pc)
3609         (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
3610         (xtensa_breakpoint_from_pc): Remove implicit type casting.
3611         * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
3612         (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
3613         (mask14, mask15): Rename to
3614         (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
3615         (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
3616         (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
3617         (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
3618         (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
3619         (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
3620         (xtensa_submask8, xtensa_submask9, xtensa_submask10)
3621         (xtensa_submask11, xtensa_submask12, xtensa_submask13)
3622         (xtensa_submask14, xtensa_submask15): New.
3623         (rmap): Follow strict aliasing rules doing static initialization.
3624
3625 2007-02-13  Daniel Jacobowitz  <dan@codesourcery.com>
3626
3627         * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
3628         handling from here...
3629         (tdesc_register_type): ...to here.
3630         * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
3631         * features/arm-core.xml: Use code_ptr and data_ptr.
3632
3633 2007-02-13  Denis Pilat  <denis.pilat@st.com>
3634
3635         * varobj.h (enum varobj_update_error): New enum.
3636         * varobj.c (struct varobj_root): Add is_valid member.
3637         (varobj_get_type): Check for invalid varobj.
3638         (varobj_get_attributes): Likewise.
3639         (variable_editable):Likewise.
3640         (varobj_update): Likewise.  Use varobj_update_error.
3641         (new_root_variable): Set root varobj as valid by default.
3642         (varobj_invalidate): New function.
3643         * symfile.c (clear_symtab_users): Use varobj_invalidate.
3644         * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
3645         Use varobj_update_error.
3646
3647 2007-02-12  Pierre Muller  <muller@ics.u-strasbg.fr>
3648
3649         Fix PR pascal/2223.
3650         * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
3651         Pascal language marker.
3652         * dwarf2read.c (set_cu_language): Likewise.
3653
3654 2007-02-12  Corinna Vinschen  <vinschen@redhat.com>
3655
3656         * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
3657         (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
3658         instead of target_terminal_init since inferior_ptid isn't set yet.
3659
3660 2007-02-10  Pedro Alves  <pedro_alves@portugalmail.pt>
3661
3662         * MAINTAINERS (Write After Approval): Add myself.
3663
3664 2007-02-09  Fred Fish  <fnf@specifix.com>
3665
3666         Based on work by Apple Computer, Inc.
3667         * event-top.c (async_request_quit): Call quit() whenever either
3668         quit_flag is set or immediate_quit is set.
3669
3670 2007-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3671
3672         * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
3673         type to a pointer to const struct block.
3674         (ada_lookup_symbol_list): Don't cast away constness when calling
3675         remove_out_of_scope_renamings.
3676
3677 2007-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3678
3679         * linux-nat.c (linux_nat_find_memory_regions): Don't check the
3680         address of 'filename'; it is always non null.
3681
3682 2007-02-09  Joel Brobecker  <brobecker@adacore.com>
3683
3684         * exec.c (add_to_section_table): Do not discard empty sections.
3685
3686 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
3687
3688         * features/Makefile, features/arm-with-iwmmxt.xml,
3689         features/gdbserver-regs.xsl, features/number-regs.xsl,
3690         features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
3691         * regformats/arm-with-iwmmxt.dat: Generate.
3692         * NEWS: Mention iWMMXt.
3693
3694 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
3695
3696         * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
3697         (xml-tdesc.o): Update.
3698         * xml-support.c: Add a comment.
3699         (gdb_xml_enums_boolean): New variable.
3700         (gdb_xml_parse_attr_enum): Use strcasecmp.
3701         * xml-support.h (gdb_xml_enums_boolean): Declare.
3702         * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
3703         next_regnum, and current_union.
3704         (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
3705         (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
3706         (field_attributes, union_children, reg_attributes, union_attributes)
3707         (vector_attributes, feature_attributes, feature_children): New.
3708         (target_children): Make static.  Add <feature>.
3709         (tdesc_elements): Make static.
3710         * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
3711         (struct tdesc_feature, tdesc_feature_p): New types.
3712         (struct target_desc): Add features member.
3713         (struct tdesc_arch_data, tdesc_data): New.
3714         (target_find_description): Clarify error message.  Warn about
3715         ignored register descriptions.
3716         (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
3717         (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
3718         (tdesc_data_cleanup, tdesc_numbered_register)
3719         (tdesc_numbered_register_choices, tdesc_find_register)
3720         (tdesc_register_name, tdesc_register_type)
3721         (tdesc_remote_register_number, tdesc_register_reggroup_p)
3722         (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
3723         (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
3724         (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
3725         (tdesc_create_feature, tdesc_record_type): New.
3726         (free_target_description): Free features.
3727         (_initialize_target_descriptions): Initialize tdesc_data.
3728         * arch-utils.c (default_remote_register_number): New.
3729         * arch-utils.h (default_remote_register_number): New prototype.
3730         * target-descriptions.h (set_tdesc_pseudo_register_name)
3731         (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
3732         (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
3733         (tdesc_numbered_register, tdesc_numbered_register_choices)
3734         (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
3735         (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
3736         (tdesc_create_reg): Declare.
3737         * gdbarch.sh (remote_register_number): New entry.
3738         * gdbarch.c, gdbarch.h: Regenerate.
3739         * remote.c (init_remote_state): Use gdbarch_remote_register_number.
3740         * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
3741
3742         * arm-tdep.c (arm_register_aliases): New.
3743         (arm_register_name_strings): Rename to...
3744         (arm_register_names): ...this.  Make const.  Delete the old version.
3745         (current_option, arm_register_byte): Delete.
3746         (set_disassembly_style): Simplify.  Do not adjust arm_register_names.
3747         (value_of_arm_user_reg): New.
3748         (arm_gdbarch_init): Verify any described registers.  Call
3749         tdesc_use_registers.  Don't use arm_register_byte.  Create aliases
3750         for standard register names.
3751         (_initialize_arm_tdep): Do not adjust arm_register_names.
3752         * user-regs.c (struct user_reg): Add baton member.
3753         (append_user_reg, user_reg_add_builtin, user_regs_init)
3754         (user_reg_add, value_of_user_reg): Use a baton for user
3755         register functions.
3756         * std-regs.c: Update.
3757         * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
3758         (user_reg_add): Add baton argument.
3759         * NEWS: Mention target description register support.
3760         * features/arm-core.xml, features/arm-fpa.xml: New.
3761         * eval.c (evaluate_subexp_standard): Allow ptype $register
3762         when the program is not running.
3763
3764 2007-02-09  Nick Roberts  <nickrob@snap.net.nz>
3765
3766         * mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.
3767
3768 2007-02-08  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3769
3770         * rs6000-tdep.c (gdb_print_insn_powerpc): Set
3771         info->disassembler_options to "any".
3772
3773 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
3774
3775         * varobj.c (install_new_value): Only call value_get_print_value
3776         if changeable.
3777
3778 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
3779
3780         Reported by timeless@gmail.com:
3781         * gdb/target.c (target_flash_erase): Do not return void value.
3782         (target_flash_done): Likewise.
3783         * gdb/cli/cli-cmds.c (source_command): Likewise.
3784
3785 2007-02-08  Fred Fish  <fnf@specifix.com>
3786
3787         Based on work by Apple Computer, Inc.
3788         * event-top.c (handle_sigint): Set quit_flag.
3789         (async_request_quit): Don't set quit_flag.  Avoid calling quit()
3790         if quit_flag has already been reset.
3791
3792 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
3793
3794         * ser-mingw.c (pipe_windows_close): Move variable initialization back
3795         up.
3796
3797 2007-02-08  Fred Fish  <fnf@specifix.com>
3798
3799         * defs.h (request_quit): Remove declaration.
3800         * utils.c (request_quit): Remove definition.
3801
3802 2007-02-08  Joel Brobecker  <brobecker@gnat.com>
3803             Jan Kratochvil  <jan.kratochvil@redhat.com>
3804             Daniel Jacobowitz  <dan@codesourcery.com>
3805
3806         * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
3807         (skip_prologue): Allow bl->blrl used by PIC code.
3808
3809 2007-02-08  Mark Kettenis  <kettenis@gnu.org>
3810             Daniel Jacobowitz  <dan@codesourcery.com>
3811
3812         * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
3813         initialize tmp_obstack.
3814         * p-valprint.c (pascal_object_print_value_fields)
3815         (pascal_object_print_value): Likewise.
3816
3817 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
3818
3819         * features/feature_to_c.sh: Use %s to avoid problems with nawk.
3820
3821 2007-02-08  Mark Kettenis  <kettenis@gnu.org>
3822
3823         * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
3824         * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
3825
3826 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
3827
3828         * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
3829         (xml_cache): New.
3830         (tdesc_parse_xml): Cache expanded descriptions.
3831
3832 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
3833
3834         * Makefile.in (XMLFILES): New.
3835         (COMMON_OBS): Add xml-builtin.o.
3836         (xml-builtin.c, stamp-xml): New rules.
3837         (xml-tdesc.o): Update.
3838         * features/feature_to_c.sh: New file.
3839         * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
3840         (struct gdb_xml_parser): Add dtd_name and is_xinclude.
3841         (gdb_xml_start_element): Initialize scope after possibly reallocating
3842         scopes.  Move cleanup later.  Handle the XInclude description
3843         specially.
3844         (gdb_xml_end_element): Only parse the body if there is a current element.
3845         Call XML_DefaultCurrent if there is no element.
3846         (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
3847         (struct xinclude_parsing_data, xinclude_start_include)
3848         (xinclude_end_include, xml_xinclude_default)
3849         (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
3850         (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
3851         (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
3852         * xml-support.h (xml_fetch_another, xml_process_xincludes)
3853         (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
3854         * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument.  Expand
3855         XInclude directives.  Use the compiled in DTD.
3856         (fetch_xml_from_file): Add baton argument.  Treat it as a containing
3857         directory name.  Do not warn here.
3858         (file_read_description_xml): Update call.  Warn here instead.  Pass
3859         a dirname as baton.
3860         (fetch_available_features_from_target): New.
3861         (target_read_description_xml): Use it.
3862         * features/gdb-target.dtd: Add copyright notice.  Use xinclude.dtd
3863         to handle XInclude.
3864         * features/xinclude.dtd: New file.
3865
3866 2007-02-05  Daniel Jacobowitz  <dan@codesourcery.com>
3867
3868         * linux-thread-db.c (check_for_thread_db): Return early if we have
3869         no libthread_db support.
3870
3871 2007-02-05  Daniel Jacobowitz  <dan@codesourcery.com>
3872
3873         * mi/mi-parse.h: Include <sys/time.h>.
3874
3875 2007-02-05  Nick Roberts  <nickrob@snap.net.nz>
3876
3877         * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
3878         instead of print_variable_value to print values.
3879
3880 2007-02-03  Nick Roberts  <nickrob@snap.net.nz>
3881
3882         * mi/mi-main.c: Numerous formatting changes.
3883         (mi_cmd_data_write_register_values): Replace clause inadvertantly
3884         removed in my previous change.
3885
3886 2007-02-03   Eli Zaretskii  <eliz@gnu.org>
3887
3888         * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
3889         Use 1000000L instead of 1000000.
3890
3891 2007-02-03  Nick Roberts  <nickrob@snap.net.nz>
3892
3893             Based on work by Apple Computer, Inc.
3894
3895         * configure.ac: Test for sys/resource.h and getrusage.
3896         * configure, config.in: Regenerate.
3897
3898         * mi/mi-main.c: Include <sys/resource.h> if present.
3899         (rusage): Declare if HAVE_GETRUSAGE.
3900         (current_command_ts, do_timings): New static variables.
3901         (timestamp, print_diff_now, print_diff, timeval_diff):
3902         New static timing functions.
3903         (mi_cmd_enable_timings): New function for new MI command.
3904         (captured_mi_execute_command, mi_execute_async_cli_command): 
3905         Call timing functions.
3906
3907         * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
3908         -enable-timings.
3909
3910         * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
3911
3912         * mi/mi-parse.h: (mi_timestamp): New structure.
3913         (mi_parse): Add mi_timestamp* member.
3914
3915 2007-02-02  Denis Pilat  <denis.pilat@st.com>
3916
3917         * thread.c (make_cleanup_restore_current_thread): New function.
3918         (info_threads_command): Use of make_cleanup_restore_current_thread
3919         to restore the current thread and the selected frame.
3920         (restore_selected_frame): New function.
3921         (struct current_thread_cleanup): Add frame_id field.
3922         (do_restore_current_thread_cleanup): Add restoring of the selected
3923         frame.
3924         (make_cleanup_restore_current_thread): Likewise.
3925         (thread_apply_all_command): backup the selected frame while 
3926         entering the function and restore it at exit.
3927         (thread_apply_command): Likewise.
3928
3929 2007-02-02  Denis Pilat  <denis.pilat@st.com>
3930
3931         * MAINTAINERS (Write After Approval): Add myself to the list.
3932
3933 2007-02-01  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3934
3935         * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
3936         (m32r_store_register): Ditto.
3937
3938 2007-01-30  Vladimir Prus  <vladimir@codesourcery.com>
3939
3940         * ser-mingw.c (pipe_windows_open)
3941         (pipe_windows_read, pipe_windows_write): Declare
3942         variables at the top of the function.
3943
3944 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
3945
3946         * doublest.c (floatformat_from_length): Use the right element from
3947         gdbarch floatformats.
3948         (floatformat_from_type, extract_typed_floating)
3949         (store_typed_floating): Likewise.
3950         * doublest.h: Remove declarations for undefined floatformat arrays.
3951         * gdbarch.sh (float_format, double_format, long_double_format): Change
3952         to pairs.
3953         (pformat): Update for pairs.
3954         * gdbarch.c, gdbarch.h: Regenerated.
3955         * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
3956         (floatformats_ieee_double_littlebyte_bigword)
3957         (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
3958         (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
3959         (floatformats_vax_d): New variables.
3960         (builtin_type_ieee_single, builtin_type_ieee_double)
3961         (builtin_type_arm_ext, builtin_type_ia64_spill)
3962         (builtin_type_ia64_quad): Replace arrays with individual types.
3963         (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
3964         (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
3965         (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
3966         (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
3967         (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
3968         (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
3969         (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
3970         unused and endian-specific types.
3971         (recursive_dump_type): Update for floatformat pairs.
3972         (build_flt): Move higher.  Handle bit == -1.  Take a floatformat pair.
3973         (build_gdbtypes): Use build_flt.
3974         (_initialize_gdbtypes): Update set of initialized types.
3975         * gdbtypes.h: Update declarations to match gdbtypes.c.
3976         (struct main_type): Store a pointer to two floatformats.
3977         * arch-utils.c (default_float_format, default_double_format): Delete.
3978         * arch-utils.h (default_float_format, default_double_format): Delete.
3979
3980         * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
3981         ia64-tdep.c,  iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
3982         mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
3983         sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
3984         vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
3985
3986 2007-01-29  Joel Brobecker  <brobecker@adacore.com>
3987
3988         * target.c (maintenance_print_target_stack): New function.
3989         (initialize_targets): Add new "maintenance print target-stack"
3990         command.
3991
3992 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
3993
3994         * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
3995
3996 2007-01-27  Daniel Jacobowitz  <dan@codesourcery.com>
3997
3998         * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
3999         (struct dwarf2_loclist_baton): Likewise.
4000
4001 2007-01-27  Eli Zaretskii  <eliz@gnu.org>
4002
4003         * cli/cli-script.c: Include breakpoint.h.
4004         (build_command_line): Require arguments only for if and while
4005         commands.
4006         (get_command_line, execute_user_command, execute_control_command):
4007         Fix wording of warning messages.
4008         (print_command_lines): Print breakpoint commands.
4009         (execute_control_command): Call commands_from_control_command to
4010         handle the `commands' command inside a body of a flow-control
4011         command.
4012         (read_next_line): Recognize the `commands' command and build a
4013         command line structure for it.
4014         (recurse_read_control_structure, read_command_lines): Handle
4015         `commands' similarly to `if' and `while'.
4016
4017         * breakpoint.c (get_number_trailer): Document the special meaning
4018         of NULL as the first argument PP.
4019         (commands_from_control_command): New function.
4020
4021         * breakpoint.h (commands_from_control_command): Add prototype.
4022
4023         * defs.h (commands_control): New enumerated value for enum
4024         command_control_type.
4025
4026 2007-01-26  Joel Brobecker  <brobecker@adacore.com>
4027
4028         * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
4029         (ada_exception_sal): Update accordingly.
4030
4031 2007-01-26  Jan Kratochvil <jan.kratochvil@redhat.com>
4032
4033         * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
4034         * NEWS: Describe CHAR array vs. string identifcation rules.
4035
4036 2007-01-25  Paul Brook  <paul@codesourcery.com>
4037
4038         * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
4039
4040 2007-01-24  Jim Blandy  <jimb@codesourcery.com>
4041
4042         * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
4043         expression is empty, bother to return the 'optimized out' value we
4044         construct.  (Thanks to Carl Burch.)
4045
4046 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
4047
4048         * varobj.c (c_value_of_root, c_value_of_child)
4049         (cplus_describe_child): Don't call release_value.
4050
4051 2007-01-24  Thiemo Seufer  <ths@mips.com>
4052
4053         * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
4054         initialization.
4055
4056 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
4057
4058         Refactor getting children name, value and type access 
4059         for varobjs in C++.
4060         * varobj.c (get_type_deref): Remove.
4061         (adjust_value_for_child_access): New.
4062         (c_number_of_children): Use the above.
4063         (c_describe_child): Likewise.
4064         (enum accessibility): New.
4065         (match_accessibility): New function.
4066         (cplus_describe_child): New function.
4067         (cplus_name_of_child, cplus_value_of_child)
4068         (cplus_type_of_child): Reimplement in terms
4069         of cplus_describe_child.
4070         (cplus_number_of_children): Use 
4071         adjust_value_for_child_access.
4072         
4073 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
4074
4075         Fix computation of the 'editable' attribute and
4076         value changeability for for references.
4077         * varobj.c (get_value_type): New function.
4078         (c_variable_editable): Use get_value_type.
4079         (varobj_value_is_changeable): Likewise.
4080                 
4081 2007-01-24  Joel Brobecker  <brobecker@adacore.com>
4082
4083         * source.c (find_and_open_source): Try rewriting the source
4084         path inside filename if dirname is NULL.
4085
4086 2007-01-24  Joel Brobecker  <brobecker@adacore.com>
4087
4088         * dwarf2read.c (add_partial_symbol): Create an extra partial
4089         symbol in the VAR_DOMAIN for Ada structures, unions or enums.
4090         (new_symbol): Likewise for symbols.
4091
4092 2007-01-24  Nick Roberts  <nickrob@snap.net.nz>
4093
4094         * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
4095
4096 2007-01-23  Vladimir Prus  <vladimir@codesourcery.com>
4097         
4098         * value.c (value_primitive_field): Copy the full 'location' 
4099         contents, instead of assuming that copying ADDRESS will 
4100         bring over everything in the union.  Remove obsolete comment.
4101         
4102 2007-01-23  Masaki Muranaka  <monaka@monami-software.com>
4103
4104         * m32c-tdep.c (make_regs, m32c_analyze_prologue)
4105         (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
4106         (m32c_m16c_pointer_to_address): Separate code from declarations.
4107
4108 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
4109
4110         * target.c (update_current_target): Correct typo.
4111
4112 2007-01-22  Masaki Muranaka  <monaka@monami-software.com>
4113
4114         * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
4115         declaration.
4116
4117 2007-01-11  Andrew Cagney  <cagney@redhat.com>
4118             Daniel Jacobowitz  <dan@codesourcery.com>
4119             Jan Kratochvil  <jan.kratochvil@redhat.com>
4120
4121         * dwarf2-frame.c (execute_cfa_program): New support of
4122         `DW_CFA_GNU_negative_offset_extended'.
4123
4124 2007-01-21  Daniel Jacobowitz  <dan@codesourcery.com>
4125
4126         * NEWS: Mention flash support for "load" and new remote packets.
4127
4128 2007-01-21  Markus Deuling  <deuling@de.ibm.com>
4129
4130         * breakpoint.c (delete_command): Skip redundant loop iterations.
4131
4132 2007-01-21  Daniel Jacobowitz  <dan@codesourcery.com>
4133
4134         * gdbarch.sh (register_type): Update comment.
4135         * gdbarch.h: Regenerated.
4136         * arch-utils.c (generic_register_size): Call register_type.
4137         * ia64-tdep.c (ia64_extract_return_value): Likewise.
4138         * m32c-tdep.c (check_for_saved): Likewise.
4139         * mips-tdep.c (mips_print_register, print_gp_register_row)
4140         (mips_print_registers_info): Likewise.
4141         * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
4142         Likewise.
4143         * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
4144         (sh64_do_register, sh64_print_register)
4145         (sh64_media_print_registers_info): Likewise.
4146         * tui/tui-regs.c (tui_register_format): Likewise.
4147
4148 2007-01-21  Daniel Jacobowitz  <dan@codesourcery.com>
4149
4150         * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
4151
4152         * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
4153         (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
4154         * cp-support.c (make_symbol_overload_list_qualified): Likewise.
4155         * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
4156         (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
4157         (make_symbol_completion_list): Likewise.
4158
4159 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
4160             Daniel Jacobowitz  <dan@codesourcery.com>
4161
4162         * buildsym.c (end_symtab): Use preallocated symtab if available.
4163         Fill in SYMBOL_SYMTAB.
4164         * buildsym.h (struct subfile): Add symtab member.
4165         * dwarf2read.c (struct dwarf2_cu): Add line_header.
4166         (struct file_entry): Add symtab.
4167         (free_cu_line_header): New function.
4168         (read_file_scope): Use it.  Save line_header in the cu.  Process
4169         lines before DIEs.
4170         (add_file_name): Initialize new symtab member.
4171         (dwarf_decode_lines): Create symtabs for included files.
4172         (new_symbol): Set SYMBOL_SYMTAB.
4173         * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
4174         (search_symbols): Likewise.
4175         * symtab.h (struct symbol): Add symtab member.
4176         (SYMBOL_SYMTAB): Define.
4177
4178 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
4179
4180         * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
4181
4182 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
4183
4184         * arch-utils.c (show_endian): Correct reversed condition.
4185
4186 2007-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4187
4188         * MAINTAINERS (Write After Approval): Add myself.
4189
4190 2007-01-16  Daniel Jacobowitz  <dan@codesourcery.com>
4191             Vladimir Prus  <vladimir@codesourcery.com>
4192
4193         Fix 'selected frame' varobjs.
4194         * varobj.c (struct varobj): Remove the error field.
4195         (varobj_set_value): Don't check var->error.
4196         (install_new_value): Don't set var->error.
4197         (varobj_update): Always pass the new value
4198         of the root via install_new_value.
4199         (create_child): Don't set error field.
4200         (new_variable): Likewise.
4201         (c_value_of_root): Always reevaluate the value
4202         of selected frame varobjs in the selected frame.
4203         Don't call reinit_frame_cache.
4204
4205 2007-01-15  Joel Brobecker  <brobecker@adacore.com>
4206
4207         * source.c (_initialize_source): Improve the help text of
4208         the substitute-path commands.
4209
4210 2007-01-14  Mark Kettenis  <kettenis@gnu.org>
4211
4212         * frv-tdep.c (frv_gdbarch_init, frv_register_name)
4213         (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
4214         (frv_skip_prologue): Remove prototypes.
4215         (frv_adjust_breakpoint_address): Renamed from
4216         frv_gdbarch_adjust_breakpoint_address.
4217         (frv_gdbarch_init): Adjust.
4218
4219 2007-01-13  Mark Kettenis  <kettenis@gnu.org>
4220
4221         * gdbarch.sh (deprecated_extract_return_value)
4222         (deprecated_store_return_value): Remove.
4223         (extract_return_value, store_return_value): Remove default values.
4224         * gdbarch.c, gdbarch.h: Regenerate.
4225         * arch-utils.c, arch-utils.h (legacy_extract_return_value)
4226         (legacy_store_return_value): Remove.
4227         * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
4228         Remove.
4229
4230         * mi/mi-main.c: Remove obsolete comment.
4231
4232         * regcache.c, regcache.h (deprecated_register_bytes)
4233         (deprecated_read_register_bytes)
4234         (deprecated_write_register_bytes): Remove.
4235
4236         * frame.c (get_frame_register_bytes, put_frame_register_bytes):
4237         Don't forget to move destination pointer.
4238
4239 2007-01-01  Mark Kettenis  <kettenis@gnu.org>
4240
4241         * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
4242
4243 2007-01-11  Ulrich Weigand  <uweigand@de.ibm.com>
4244
4245         * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
4246         past entry function with recent newlib.
4247
4248 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
4249
4250         * gdb.texinfo (GDB/MI Variable Objects): Improve the 
4251         introduction.  Specify -var-update more exactly.
4252
4253 2007-01-11  Daniel Jacobowitz  <dan@codesourcery.com>
4254
4255         * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
4256
4257 2007-01-10  Jim Blandy  <jimb@codesourcery.com>
4258
4259         * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
4260         the Global Maintainers' invitation to be a global maintainer.
4261
4262 2007-01-10  Daniel Jacobowitz  <dan@codesourcery.com>
4263
4264         * infrun.c (singlestep_pc): New variable.
4265         (resume): Set singlestep_pc.
4266         (context_switch): Add a debugging message.  Flush the frame cache.
4267         (handle_inferior_event): Add debugging messages.  Handle thread
4268         hops when a software single step has completed.  Let context_switch
4269         handle flushing the frame cache.
4270
4271 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4272
4273         * NEWS: Mention target descriptions, "set tdesc filename",
4274         "unset tdesc filename", "show tdesc filename", and
4275         qXfer:features:read.
4276         * arch-utils.c (choose_architecture_for_target): New function.
4277         (gdbarch_info_fill): Call it.
4278         * target-descriptions.c (struct property): Make members non-const.
4279         (struct target_desc): Add arch member.
4280         (target_description_filename): New variable.
4281         (target_find_description): Try via XML first.
4282         (tdesc_architecture): New.
4283         (free_target_description, make_cleanup_free_target_description): New.
4284         (set_tdesc_property): Call xstrdup.
4285         (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
4286         (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
4287         (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
4288         (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
4289         * target-descriptions.h (tdesc_architecture)
4290         (make_cleanup_free_target_description, set_tdesc_architecture): New
4291         prototypes.
4292         * Makefile.in (SFILES): Add xml-tdesc.c.
4293         (COMMON_OBS): Add xml-tdesc.o.
4294         (target-descriptions.o): Update.
4295         (xml-tdesc.o): New rule.
4296         * xml-tdesc.c, xml-tdesc.h: New files.
4297         * remote.c (PACKET_qXfer_features): New enum.
4298         (remote_protocol_features): Add qXfer:features:read.
4299         (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
4300         (_initialize_remote): Register qXfer:features:read.
4301         * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
4302         * features/gdb-target.dtd: New file.
4303
4304 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4305
4306         * copyright.sh: Clarify error.
4307
4308 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4309
4310         * symtab.c (matching_bfd_sections): Fix VMA matching for
4311         prelinked objects.
4312
4313 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4314
4315         * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
4316         nested symbols.
4317
4318 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4319
4320         Updated copyright notices for most files.
4321
4322 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4323
4324         * copyright.sh (prunes): Add step-line.inp and step-line.c.
4325
4326 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4327
4328         * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
4329         exec_prefix.
4330         (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
4331         '${prefix}'.
4332         * configure, config.in: Regenerate.
4333         * defs.h (debug_file_directory): Declare.
4334         * main.c (captured_main): Canonicalize gdb_sysroot.  Assume
4335         TARGET_SYSTEM_ROOT is defined.  Initialize debug_file_directory and
4336         relocate it if DEBUGDIR_RELOCATABLE.
4337         * symfile.c (debug_file_directory): Make non-static.
4338         (find_separate_debug_file): Look for debug info for SYSROOT/PATH
4339         in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
4340         (_initialize_symfile): Don't initialize debug_file_directory here.
4341
4342 2007-01-09  Jim Blandy  <jimb@codesourcery.com>
4343
4344         * score-tdep.c (score_push_dummy_call): Don't mix declarations and
4345         statements.
4346
4347 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4348
4349         * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
4350         frame_unwind_register to recurse.
4351         * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
4352         (alpha_heuristic_frame_prev_register): Likewise.
4353         * h8300-tdep.c (h8300_frame_prev_register): Likewise.
4354         * m32c-tdep.c (m32c_prev_register): Likewise.
4355         * frame.c (frame_register_unwind_location): Remove FIXME.
4356
4357 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4358             Eli Zaretskii  <eliz@gnu.org>
4359
4360         * copyright.sh: New file.
4361
4362 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
4363
4364         * configure.ac: Check for XML_StopParser.
4365         * xml-support.c (gdb_xml_body_text): Check for an error.
4366         (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
4367         (gdb_xml_end_element_wrapper): Likewise.
4368         * config.in, configure: Regenerated.
4369
4370 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
4371
4372         * varobj.c (install_new_value): Always update print_value.
4373         (value_get_print_value): Immediately return NULL for missing
4374         values.
4375
4376 2007-01-08  Jim Blandy  <jimb@codesourcery.com>
4377
4378         * configure.ac: Tighten pattern for extracting value of
4379         DEPRECATED_TM_FILE from the target makefile fragment.
4380         * configure: Regenerated.
4381
4382 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
4383
4384         * linux-nat.c (struct simple_pid_list): Add status.
4385         (add_to_pid_list): Record the PID's status.
4386         (linux_record_stopped_pid): Likewise.  Make static.
4387         (pull_pid_from_list): Return the saved status.
4388         (linux_nat_handle_extended): Deleted.
4389         (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
4390         Make static.  Handle non-SIGSTOP for a new thread's first signal.
4391         (flush_callback): Handle unexpected pending signals.
4392         (linux_nat_wait): Update calls to changed functions.
4393         * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
4394         Remove prototypes for newly static functions.
4395
4396 2007-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
4397
4398         * gdbarch.sh (value_from_register): New gdbarch function.
4399         * gdbarch.c, gdbarch.h: Regenerate.
4400         * findvar.c (default_value_from_register): New function.
4401         (value_from_register): Use gdbarch_value_from_register.
4402         * value.h (default_value_from_register): Declare.
4403         * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
4404         spu_value_to_register): Remove.
4405         (spu_value_from_register): New function.
4406         (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
4407         set_gdbarch_register_to_value, set_gdbarch_value_to_register.
4408         Call set_gdbarch_value_from_register.
4409         * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
4410         s390_value_to_register): Remove.
4411         (s390_value_from_register): New function.
4412         (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
4413         set_gdbarch_register_to_value, set_gdbarch_value_to_register.
4414         Call set_gdbarch_value_from_register.
4415
4416 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
4417
4418         * NEWS: Add "set sysroot" and "show sysroot".
4419         * solib.c (solib_absolute_prefix): Delete.  Replace
4420         all uses with gdb_sysroot.
4421         (_initialize_solib): Add "set sysroot" and "show sysroot".
4422         Make "solib-absolute-prefix" an alias to it.
4423
4424 2007-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
4425
4426         * frame.c (get_frame_register_bytes): New function.
4427         (put_frame_register_bytes): Likewise.
4428         * frame.h (get_frame_register_bytes): Declare.
4429         (put_frame_register_bytes): Likewise.
4430         * findvar.c (value_from_register): Always construct lval_register
4431         values.  Use get_frame_register_bytes.
4432         * valops.c (value_assign): Use get_frame_register_bytes and
4433         put_frame_register_bytes.
4434
4435 2007-01-08  Jim Blandy  <jimb@codesourcery.com>
4436
4437         * MAINTAINERS: Update Stan Shebs' email address.
4438
4439 2007-01-07  Joel Brobecker  <brobecker@adacore.com>
4440
4441         * ada-lang.c (is_known_support_routine): Improve the implementation.
4442
4443 2007-01-06  Joel Brobecker  <brobecker@adacore.com>
4444
4445         * ada-lang.c: Add include of source.h.
4446         (is_known_support_routine): Improve the check verifying that the file
4447         associated to this frame exists.
4448         * Makefile.in (ada-lang.o): Add dependency on source.h.
4449
4450 2007-01-07  Jim Blandy  <jimb@codesourcery.com>
4451
4452         * ax-general.c (ax_const_l): Select proper opcode for the given
4453         value.
4454
4455 2007-01-05  Vladimir Prus  <vladimir@codesourcery.com>
4456
4457         * varobj.c (c_value_of_root): Don't select frame if variable
4458         object is out of scope.
4459
4460 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
4461
4462         * varobj.c (struct varobj): New member print_value.
4463         (install_new_value): Compare last printed value with current one
4464         instead of contents.
4465         (new_variable): Initialize var->print_value to NULL.
4466         (free_variable): Free var->print_value.
4467         (value_get_print_value): New function derived from
4468         c_value_of_variable.
4469         (c_value_of_variable): Use value_get_print_value.
4470
4471 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
4472
4473         * i386-tdep.c (i386_analyze_stack_align): Add comment.
4474
4475 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
4476
4477         * NEWS: Add entries for new catch commands.
4478
4479 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
4480
4481         * dwarf2read.c (partial_die_info): Add field has_byte_size.
4482         (add_partial_symbol): Correct identification of external references.
4483         (process_structure_scope): Likewise.
4484         (read_partial_die): Handle DW_AT_byte_size attribute.
4485
4486 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4487
4488         * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
4489
4490 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
4491
4492         * varobj.c (get_type_deref): Fix variable objects for references to
4493         pointers.
4494
4495 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4496
4497         * symtab.c (find_pc_sect_psymtab): Add comments.  Handle psymtabs
4498         with no symbols.
4499
4500 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4501
4502         * memory-map.c (struct_memory_map_parsing_data): Remove most
4503         members.  Make property_name an array.
4504         (free_memory_map_parsing_data, memory_map_start_element)
4505         (memory_map_end_element, memory_map_character_data): Delete.
4506         (memory_map_start_memory, memory_map_end_memory)
4507         (memory_map_start_property, memory_map_end_property): New functions.
4508         (property_attributes, memory_children, memory_type_enum)
4509         (memory_attributes, memory_map_children, memory_map_elements): New.
4510         (parse_memory_map): Rewrite.
4511         * xml-support.c (debug_xml): New.
4512         (xml_get_required_attribute, xml_get_integer_attribute)
4513         (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
4514         Delete.
4515         (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
4516         (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
4517         (gdb_xml_start_element, gdb_xml_start_element_wrapper)
4518         (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
4519         (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
4520         (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
4521         (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
4522         New.
4523         * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
4524         (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
4525         (enum gdb_xml_element_flag, struct gdb_xml_element)
4526         (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
4527         (struct gdb_xml_enum): New.
4528         (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
4529         (gdb_xml_error, gdb_xml_parse_attr_ulongest)
4530         (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
4531         (xml_get_required_attribute, xml_get_integer_attribute)
4532         (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
4533         * Makefile.in (xml_support_h, xml-support.o): Update.
4534
4535 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4536
4537         * Makefile.in (eval.o): Update dependencies.
4538         * eval.c: Include "ui-out.h" and "exceptions.h".
4539         (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
4540         Use value_zero if an error occurs when avoiding side effects.
4541         * varobj.c (c_value_of_root): Initialize new_val.
4542
4543 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4544
4545         * varobj.c (varobj_list_children): Stop if the number of children is
4546         unknown.
4547         (c_number_of_children):
4548
4549 2007-01-04  Mark Kettenis  <kettenis@gnu.org>
4550
4551         * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
4552         (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
4553         (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
4554         (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
4555         sizeof, instead of hardcoded constants.
4556
4557 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4558
4559         * CONTRIBUTE: Use sourceware.org.
4560
4561 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4562
4563         * buildsym.c (start_subfile): Handle producer.
4564         (record_producer): New function.
4565         * buildsym.h (struct subfile): Include producer.
4566         (record_producer): New prototype.
4567         * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
4568         (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
4569         armcc_cfa_offsets_reversed.
4570         (execute_cfa_program): Handle armcc_cfa_offsets_sf.
4571         (dwarf2_frame_find_quirks): New function.
4572         (dwarf2_frame_cache): Call it.  Handle armcc_cfa_offsets_reversed.
4573         (decode_frame_entry_1): Record the CIE version.  Record the
4574         augmentation.  Skip armcc augmentations.
4575         * dwarf2read.c (read_file_scope): Save the producer.
4576         * symtab.h (struct symtab): Rename unused version member to
4577         producer.
4578
4579 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4580
4581         * configure.ac (build_warnings): Use -Wall and
4582         -Wdeclaration-after-statement.
4583         * configure: Regenerated.
4584
4585 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
4586
4587         Simplify access to variours properties of child
4588         variable objects in C.
4589         * varobj.c (value_struct_element_index): New function.
4590         (c_describe_child): New function.
4591         (c_name_of_child, c_value_of_child)
4592         (c_type_of_child): Rewrite to use c_describe_child.
4593
4594 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
4595
4596         gdb/
4597         * varobj.c: Include "vec.h". 
4598         (varobj_p): New typedef, declare vector of those.
4599         (struct varobj): Use vector for the 'children' member.
4600         (child_exists): Remove.
4601         (save_child_in_parent): Remove.
4602         (remove_child_from_parent): Remove.
4603         (struct varobj_child): Remove.
4604         (struct vstack): Remove.
4605         (vpush, vpop): Remove.
4606         (varobj_list_children): Adjust to work work vector.
4607         (varobj_update): Likewise. Use vectors for
4608         working stack and result.
4609         (delete_variable_1): Likewise.
4610         * Makefile.in (varobj.o): Update dependencies.
4611
4612 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
4613
4614         Port from Apple's version.
4615         gdb/
4616         * varobj.c (type_changeable): Rename to...
4617         (varobj_value_is_changeable_p): ...this. Adjust all callers.
4618         (is_root_p): New function. Use it everywhere.
4619
4620 2007-01-04  Jim Blandy  <jimb@codesourcery.com>
4621
4622         * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
4623         then plain 'fixup'.
4624
4625 2007-01-04  Joel Brobecker  <brobecker@adacore.com>
4626
4627         * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
4628
4629 2007-01-04  Joel Brobecker  <brobecker@adacore.com>
4630
4631         * hpread.c (hpread_type_lookup): Fix compilation failure.
4632
4633 2007-01-04  Qinwei  <qinwei@sunnorth.com.cn>
4634
4635         * NEWS: New port to S+core.
4636         * MAINTAINERS (Write After Approval, Responsible Maintainers):
4637         Add myself.
4638
4639         * Makefile.in: Add dependencies for S+core files.
4640         * configure.tgt (score*, score-*-*): Add S+core target.
4641         * config/score/embed.mt: New file.
4642         * score-tdep.c: New file.
4643         * score-tdep.h: New file.
4644
4645 2007-01-04  Joel Brobecker  <brobecker@adacore.com>
4646
4647         * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
4648         the appropriate type rather than a bogus void type.
4649
4650 2007-01-04  Joel Brobecker  <brobecker@adacore.com>
4651
4652         * ada-lang.h (ada_find_printable_frame): Remove.
4653         (ada_exception_catchpoint_p, ada_decode_exception_location)
4654         (ada_decode_assert_location): Add declaration.
4655         * ada-lang.c: Add include of annotate.h and valprint.h.
4656         (exception_catchpoint_kind): New enum.
4657         (function_name_from_pc, is_known_support_routine)
4658         (ada_find_printable_frame, ada_unhandled_exception_name_addr)
4659         (ada_exception_name_addr_1, ada_exception_name_addr)
4660         (print_it_exception, print_one_exception, print_mention_exception)
4661         (print_it_catch_exception, print_one_catch_exception)
4662         (print_mention_catch_exception, catch_exception_breakpoint_ops)
4663         (print_it_catch_exception_unhandled)
4664         (print_one_catch_exception_unhandled)
4665         (print_mention_catch_exception_unhandled, print_it_catch_assert)
4666         (print_one_catch_assert, print_mention_catch_assert)
4667         (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
4668         (ada_get_next_arg, catch_ada_exception_command_split)
4669         (ada_exception_sym_name, ada_exception_sym_name)
4670         (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
4671         (ada_parse_catchpoint_condition, ada_exception_sal)
4672         (ada_decode_exception_location)
4673         (ada_decode_assert_location): New function.
4674         (catch_exception_unhandled_breakpoint_ops): New global variable.
4675         (catch_assert_breakpoint_ops): New global variable.
4676         * breakpoint.c: Add include of ada-lang.h.
4677         (print_one_breakpoint): Do not print the condition for Ada
4678         exception catchpoints.
4679         (create_ada_exception_breakpoint): New function.
4680         (catch_ada_exception_command, catch_assert_command): New function.
4681         (catch_command_1): Add support for the new "catch exception" and
4682         "catch assert" commands.
4683         (_initialize_breakpoint): Add help description for the new catch
4684         commands.
4685         * Makefile.in (ada-lang.o): Add dependency on annotate.h and
4686         valprint.h.
4687         (breakpoint.o): Add dependency on ada-lang.h.
4688
4689 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
4690
4691         * coffread.c (cs_to_section): If bfd_section is found, always
4692         return its section index.
4693         (coff_symtab_read): Determine the minimal_symbol_type using the
4694         bfd_section flags.
4695
4696 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4697             Daniel Jacobowitz  <dan@codesourcery.com>
4698
4699         * Makefile.in (top.o): Update.
4700         * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
4701         (saved_after_char_processing_hook, gdb_readline_wrapper_line)
4702         (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
4703         New.
4704         (gdb_readline_wrapper): Rewrite to use asynchronous readline.
4705
4706 2007-01-03  Mark Kettenis  <kettenis@gnu.org>
4707
4708         * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
4709         (arm_linux_init_abi): Don't set deprecated_extract_return_value.
4710
4711 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4712
4713         * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
4714         * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
4715         * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
4716         greater than or equal to zero.
4717         * m2-typeprint.c (m2_array): Likewise.
4718         * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
4719         * gdbtypes.c (copy_type_recursive): Correct == typo.
4720         * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
4721         * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
4722         greater than zero.
4723         * macroscope.c (sal_macro_scope): Don't name a local variable "main".
4724         (default_macro_scope): Remove unused variable.
4725         * prologue-value.h (pv_area_find_reg): Don't name an argument
4726         "register".
4727         * remote-fileio.c (remote_fio_func_map): Add missing braces.
4728         * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
4729         type.
4730         (cleanup_sigint_signal_handler): Remove casts.
4731         * valprint.c (val_print): Use a volatile local for the modified
4732         argument.
4733         * varobj.c (languages): Remove extra array dimension.
4734         (varobj_create): Correct access to languages array.
4735         * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
4736         missing braces.
4737         * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
4738         * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
4739         * mi/mi-getopt.c (mi_valid_noargs): Likewise.
4740         * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
4741         (mi_cmd_data_write_memory): Likewise.
4742         * signals/signals.c (target_signal_to_string): Cast to int before
4743         comparing.
4744         * tui/tui-layout.c (init_and_make_win): Take and return a void *.
4745         Update all callers.
4746
4747 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4748
4749         * NEWS: Mention pointer to member improvements.
4750         * Makefile.in (gnu-v3-abi.o): Delete special rule.
4751         (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
4752         * ada-valprint.c (ada_print_scalar): Update for new type codes.
4753         * c-typeprint.c (c_print_type): Update for new type codes.
4754         (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
4755         (c_type_print_base): Likewise.
4756         (c_type_print_args): Rewrite.
4757         * c-valprint.c (c_val_print): Update for new type codes.  Remove
4758         support for references to members.  Treat methods like functions.
4759         * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
4760         (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
4761         * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
4762         (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
4763         (struct cp_abi_ops): Add corresponding members.
4764         * cp-valprint.c (cp_print_class_method): Delete.
4765         (cp_find_class_member): New function.
4766         (cp_print_class_member): Use it.  Simplify support for bogus
4767         member pointers.
4768         * dwarf2read.c (quirk_gcc_member_function_pointer): Use
4769         lookup_methodptr_type.
4770         (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
4771         * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
4772         OP_SCOPE.  Update call to value_aggregate_elt.  Rewrite member
4773         pointer support.
4774         (evaluate_subexp_for_address): Handle OP_SCOPE explicitly.  Handle
4775         references returned by user defined operators.
4776         * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
4777         (f_type_print_varspec_suffix): Remove support for member pointers.
4778         * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
4779         and adjusted.
4780         (smash_to_memberptr_type): Likewise, from smash_to_member_type.
4781         (lookup_methodptr_type): New.
4782         (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
4783         (recursive_dump_type): Update for new types.
4784         * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
4785         TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
4786         (lookup_memberptr_type, lookup_methodptr_type)
4787         (smash_to_memberptr_type): New prototypes.
4788         (smash_to_method_type): Formatting fix.
4789         (lookup_member_type, smash_to_member_type): Delete prototypes.
4790         * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
4791         Do not rely on debug information for the vptr or the method's
4792         enclosing type.  Handle function descriptors for IA64.
4793         (gnuv3_virtual_fn_field): Rewrite using the new functions.
4794         (gnuv3_find_method_in, gnuv3_print_method_ptr)
4795         (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
4796         (gnuv3_method_ptr_to_value): New.
4797         (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
4798         * hpread.c (hpread_type_lookup): Update for new types.
4799         * infcall.c (value_arg_coerce): Likewise.
4800         * m2-typeprint.c (m2_print_type): Remove explicit support
4801         for member pointers.
4802         * m2-valprint.c (m2_val_print): Likewise.
4803         * p-typeprint.c (pascal_type_print_varspec_prefix)
4804         (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
4805         * p-valprint.c (pascal_val_print): Likewise.
4806         (pascal_object_print_class_method, pascal_object_print_class_member):
4807         Delete.
4808         * p-lang.h (pascal_object_print_class_method)
4809         (pascal_object_print_class_member): Delete prototypes.
4810         * stabsread.c (read_type): Update for new types.
4811         * typeprint.c (print_type_scalar): Likewise.
4812         * valops.c (value_struct_elt_for_reference, value_namespace_elt)
4813         (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
4814         argument.  Construct a pointer to member if the address of a
4815         function or data member is requested.
4816         (value_cast_pointers): Don't modify the input value.
4817         (value_cast): Adjust pointer to member handling for new types.
4818         Allow null pointer to member constants.  Don't modify the input
4819         value.
4820         (value_ind): Remove pointer to member check.  Handle function
4821         descriptors for function pointers.
4822         (value_struct_elt, value_find_oload_method_list, check_field):
4823         Remove pointer to member checks.
4824         * value.c (unpack_long): Allow pointers to data members.
4825         (value_from_longest): Allow member pointers.
4826         * value.h (value_aggregate_elt): Add want_address.
4827         * varobj.c (c_variable_editable): Remove check for members.
4828         * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
4829         * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
4830         in virtual tables.
4831         (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
4832         * c-lang.h (cp_print_class_method): Delete prototype.
4833         * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
4834         * mips-tdep.c (mips_gdbarch_init): Likewise.
4835         * gdbarch.c, gdbarch.h: Regenerated.
4836
4837 2007-01-01  Mark Kettenis  <kettenis@gnu.org>
4838
4839         * rs6000-tdep.c (rs6000_use_struct_convention)
4840         (rs6000_extract_return_value, rs6000_store_return_value)
4841         (rs6000_extract_struct_value_address): Remove.
4842         (rs6000_return_value): New function.
4843         (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
4844         store_return_value, deprecated_extract_struct_value_address and
4845         deprecated_use_struct_convention.  Use rs6000_return_value
4846         instead.
4847
4848 2007-01-02  Nick Roberts  <nickrob@snap.net.nz>
4849
4850         * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
4851         -display-disable, -display-enable, -display-insert and
4852         -display-list.
4853
4854 2007-01-01  Joel Brobecker  <brobecker@adacore.com>
4855
4856         * breakpoint.c (remove_breakpoint): Remove dead code.
4857
4858 2007-01-01  Nick Roberts  <nickrob@snap.net.nz>
4859
4860         * varobj.c: Include block.h.
4861         (c_value_of_root): Check scope within nested statements.
4862
4863 2007-01-01  Mark Kettenis  <kettenis@gnu.org>
4864
4865         * mi/mi-main.c (mi_cmd_data_write_register_values): Use
4866         regcache_cooked_write_signed instead of
4867         deprecated_write_register_bytes.
4868
4869 2007-01-01  Joel Brobecker  <brobecker@adacore.com>
4870
4871         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
4872
4873 2007-01-01  Joel Brobecker  <brobecker@adacore.com>
4874
4875         Followed the Start of New Year Procedure:
4876         * ChangeLog-2006: New file, containing all the entries for 2006.
4877         * ChangeLog: Removed all 2006 entries, and changed the reference
4878         to the previous ChangeLog to point to ChangeLog 2006.
4879         * top.c (print_gdb_version): Update copyright year.
4880
4881 2007-01-01  Mark Kettenis  <kettenis@gnu.org>
4882
4883         * Makefile.in (remote-sds.o): Remove.
4884         * remote-sds.c: Delete.
4885
4886 For older changes see ChangeLog-2006.
4887 \f
4888 Local Variables:
4889 mode: change-log
4890 left-margin: 8
4891 fill-column: 74
4892 version-control: never
4893 End: