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