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