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