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