Commit | Line | Data |
---|---|---|
603942cc AC |
1 | 2003-11-23 Andrew Cagney <cagney@redhat.com> |
2 | ||
3 | * Makefile.in (infrun.o): Update dependencies. | |
4 | * infrun.c: Include "exec.h". | |
5 | (handle_inferior_event): Pass exec_ops to SOLIB_ADD. | |
6 | ||
66c57289 AC |
7 | 2003-11-23 Andrew Cagney <cagney@redhat.com> |
8 | ||
dd3ecc14 AC |
9 | * frame.c (frame_unwind_signed_register): Delete function. |
10 | * frame.h (frame_unwind_register_signed): Delete declaration. | |
11 | * mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed. | |
12 | ||
eec1a560 AC |
13 | * arch-utils.h (generic_cannot_extract_struct_value_address): |
14 | Delete declaration. | |
15 | ||
cb137aa5 AC |
16 | * defs.h (DEPRECATED_STREQN): Rename STREQN. |
17 | (DEPRECATED_STREQ): Rename STREQ. | |
18 | * ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update. | |
19 | * config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update. | |
20 | * config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update. | |
21 | * dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update. | |
22 | * eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update. | |
23 | * jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update. | |
24 | * mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update. | |
25 | * p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update. | |
26 | * source.c, sparc-tdep.c, stack.c, target.c: Update. | |
66c57289 | 27 | |
cb137aa5 | 28 | * symfile.c (symbol_file_command): Replace STREQ with strcmp. |
66c57289 AC |
29 | * elfread.c (elf_symtab_read): Delete STREQ from comment. |
30 | ||
29dfb2ac AC |
31 | 2003-11-22 Andrew Cagney <cagney@redhat.com> |
32 | ||
213cc0ad AC |
33 | * frame.c (deprecated_frame_xmalloc): Delete function. |
34 | (deprecated_set_frame_extra_info_hack): Delete function. | |
35 | (deprecated_set_frame_saved_regs_hack): Delete function. | |
36 | * frame.h (deprecated_frame_xmalloc): Delete declaration. | |
37 | (deprecated_set_frame_extra_info_hack): Delete declaration. | |
38 | (deprecated_set_frame_saved_regs_hack): Delete declaration. | |
39 | * mcore-tdep.c (analyze_dummy_frame): Instead of | |
40 | deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack, | |
41 | and deprecated_set_frame_extra_info_hack use | |
42 | deprecated_frame_xmalloc_with_cleanup. | |
43 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
44 | * mips-tdep.c (mips_init_extra_frame_info): Delete call to | |
45 | deprecated_set_frame_saved_regs_hack. | |
46 | ||
35bb18ac AC |
47 | * mips-tdep.c (mips_frame_chain): Delete call to |
48 | deprecated_inside_entry_file. | |
49 | ||
38a7ce4b AC |
50 | * frame.h (deprecated_set_frame_next_hack): Delete declaration. |
51 | (deprecated_set_frame_prev_hack): Delete declaration. | |
52 | * frame.c (deprecated_set_frame_next_hack): Delete function. | |
53 | (deprecated_set_frame_prev_hack): Delete function. | |
54 | * mcore-tdep.c (analyze_dummy_frame): Delete calls to | |
55 | "deprecated_set_frame_next_hack" and | |
56 | "deprecated_set_frame_prev_hack". | |
57 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
58 | ||
47ebcfbe AC |
59 | * mips-tdep.c (mips_register_convertible): Delete function. |
60 | (mips_register_convert_to_virtual): Delete function. | |
61 | (mips_register_convert_to_raw): Delete function. | |
62 | (mips_gdbarch_init): Do not set "deprecated_register_convertible", | |
63 | "deprecated_register_convert_to_virtual", or | |
64 | "deprecated_register_convert_to_raw". | |
65 | (mips_pseudo_register_write, mips_pseudo_register_read): Handle | |
66 | 32/64 cooked to raw register conversions. | |
67 | ||
2a9264f1 | 68 | * frame.c (deprecated_get_frame_context): Delete function. |
38a7ce4b | 69 | (deprecated_set_frame_context): Delete function. |
2a9264f1 AC |
70 | (struct frame_info): Delete member "context". |
71 | * frame.h (deprecated_get_frame_context): Delete declaration. | |
72 | (deprecated_set_frame_context): Delete declaration. | |
73 | ||
7af6341f AC |
74 | * procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment. |
75 | * config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro. | |
76 | * config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro. | |
77 | * config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro. | |
78 | ||
10a08821 AC |
79 | * mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro. |
80 | (mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with | |
81 | mips_regsize. | |
82 | (mips_dump_tdep): Do not print SIGFRAME_REG_SIZE. | |
83 | * config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro. | |
84 | * config/mips/tm-irix5.h: Update copyright. | |
85 | (SIGFRAME_REG_SIZE): Delete macro. | |
86 | ||
00d33403 AC |
87 | * hppa-tdep.c (hppa_value_returned_from_stack): Delete function. |
88 | * config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete | |
89 | declaration. | |
90 | (DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro. | |
91 | * infcall.c (call_function_by_hand): Delete #ifdef | |
92 | DEPRECATED_VALUE_RETURNED_FROM_STACK code. | |
93 | * infcmd.c (print_return_value): Ditto. | |
94 | ||
74da7425 AC |
95 | * mips-tdep.c (skip_prologue_using_sal): New function. |
96 | (mips32_skip_prologue, mips16_skip_prologue): Use | |
97 | skip_prologue_using_sal to get an upper bound on the search. | |
98 | ||
369864a4 AC |
99 | * config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete |
100 | #if 0'ed macro. | |
101 | * infrun.c (step_into_function): Delete #ifdef | |
102 | PROLOGUE_FIRSTLINE_OVERLAP code. | |
103 | * symtab.c (find_function_start_sal): Ditto. | |
104 | ||
a5a12285 AC |
105 | * remote-rdp.c: Update copyright. |
106 | (rdp_init): #if 0 references to "target_byte_order". | |
107 | ||
29dfb2ac AC |
108 | * mips-tdep.c (mips_o32_store_return_value): Delete function. |
109 | (mips_o32_return_value): Replace mips_o32_xfer_return_value. | |
110 | (mips_o32_extract_return_value): Delete function. | |
111 | (mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value. | |
112 | (mips_n32n64_extract_return_value): Delete function. | |
113 | (mips_n32n64_store_return_value): Delete function. | |
114 | (mips_gdbarch_init): For o32 and n32n64, set "return_value" | |
115 | instead of "store_return_value", "extract_return_value", and | |
116 | "use_struct_convention". | |
117 | (mips_n32n64_use_struct_convention): Delete function. | |
118 | ||
3a3da38c KB |
119 | 2003-11-21 Kevin Buettner <kevinb@redhat.com> |
120 | ||
121 | * frv-tdep.c (frv_frame_this_id): Eliminate call to | |
122 | inside_entry_func(). | |
123 | ||
c5e656c1 MK |
124 | 2003-11-20 Mark Kettenis <kettenis@gnu.org> |
125 | ||
126 | * i386-tdep.c (i386_extract_return_value, | |
127 | i386_store_return_value): Add gdbarch argument. Use it instead of | |
128 | determining it from REGCACHE. Remove recursive call for | |
129 | structures with a single member. | |
130 | (i386_use_struct_convention): Remove. | |
131 | (i386_reg_struct_return_p): New function. | |
132 | (i386_return_value): New function. | |
133 | (i386_gdbarch_init): Set return_value, don't set | |
134 | extract_return_value, store_return_value and | |
135 | use_struct_convention. | |
136 | * x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL. | |
137 | ||
515cc92e JB |
138 | 2003-11-20 Jim Blandy <jimb@redhat.com> |
139 | ||
140 | * osabi.c (_initialize_gdb_osabi): Don't return before registering | |
141 | the 'set osabi' and 'show osabi' commands. | |
142 | ||
3f1d7f16 MK |
143 | 2003-11-19 Mark Kettenis <kettenis@gnu.org> |
144 | ||
145 | * frame.c (get_prev_frame): Use result from | |
146 | get_frame_address_in_block instead of get_frame_pc as argument to | |
147 | inside_main_func. Fixes PR backtrace/1435. | |
148 | ||
667e784f AC |
149 | 2003-11-19 Andrew Cagney <cagney@redhat.com> |
150 | ||
151 | * stack.c (return_command): Handle "void", "legacy" and "unknown | |
152 | location" return values separatly. | |
153 | * values.c (using_struct_return): Return 0 for a "void" return | |
154 | type. Mention "register_value_being_returned". | |
155 | (register_value_being_returned): Mention "using_struct_return". | |
156 | ||
4cecd739 DJ |
157 | 2003-11-19 Daniel Jacobowitz <drow@mvista.com> |
158 | ||
159 | * dwarf2read.c (offreg, basereg, isderef, frame_base_reg) | |
160 | (frame_base_offset): Delete. | |
161 | (read_func_scope): Delete call to decode_locdesc. | |
162 | (decode_locdesc): Update comments. Don't set the removed variables. | |
163 | Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and | |
164 | DW_OP_fbreg support. | |
165 | ||
6b992462 DJ |
166 | 2003-11-18 Daniel Jacobowitz <drow@mvista.com> |
167 | ||
168 | * dwarf2read.c (optimized_out, islocal): Remove. | |
169 | (decode_locdesc): Update comments. Don't set optimized_out | |
170 | or islocal. | |
171 | ||
968d1cb4 JJ |
172 | 2003-11-17 Jeff Johnston <jjohnstn@redhat.com> |
173 | David Mosberger <davidm@hpl.hp.com> | |
174 | ||
175 | * ia64-tdep.c: Include elf.h. | |
176 | [HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and | |
177 | libunwind-ia64.h. | |
178 | (ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support. | |
179 | (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto. | |
180 | (ia64_is_fpreg, ia64_access_reg): Ditto. | |
181 | (ia64_access_fpreg, ia64_access_mem): Ditto. | |
182 | (get_kernel_table): Ditto. | |
183 | (ia64_find_unwind_table): Ditto. | |
184 | (ia64_find_proc_info_x, ia64_put_unwind_info): Ditto. | |
185 | (ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto. | |
186 | (ia64_libunwind_frame_prev_register): Ditto. | |
187 | (ia64_libunwind_frame_sniffer): Ditto. | |
188 | (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame | |
189 | sniffer. Register libunwind functions needed by generic | |
190 | libunwind frame code using libunwind_frame_set_descr(). | |
191 | ||
d29caefc DJ |
192 | 2003-11-16 Daniel Jacobowitz <drow@mvista.com> |
193 | ||
194 | * breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable a | |
195 | bp_shlib_disabled breakpoint if there is a shared library mapped | |
196 | at its expected address. | |
197 | ||
691c0433 AC |
198 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
199 | ||
96cb1c2f AC |
200 | * configure.tgt: Delete mips*tx39*-elf*. |
201 | * config/mips/tm-tx39.h: Delete file. | |
202 | * config/mips/tx39.mt: Delete file. | |
203 | * config/mips/tx39.mt: Delete file. | |
204 | ||
691c0433 AC |
205 | * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Declare. |
206 | * remote-mips.c (common_open): Instead of | |
207 | "mips_read_register_type" and "mips_set_processor_type_command" | |
208 | call "deprecated_mips_set_processor_regs_hack". | |
209 | * config/mips/tm-mips.h (mips_read_processor_type): Delete | |
210 | declaration. | |
211 | (mips_set_processor_type_command): Delete declaration. | |
212 | * mips-tdep.c (mips_gdbarch_init): Update comment. | |
213 | (mips_dump_tdep): Do not print MIPS_REGISTER_NAMES. | |
214 | (mips_set_processor_type): Delete function. | |
215 | (NUM_MIPS_PROCESSOR_REGS): Define. | |
216 | (mips_show_processor_type_command): Delete function. | |
217 | (mips_set_processor_type_command): Delete function. | |
218 | (tmp_mips_processor_type): Delete. | |
219 | (mips_processor_type): Delete. | |
220 | (mips_processor_type_table): Delete. | |
221 | (mips_r3051_reg_names): Delete. | |
222 | (mips_r3081_reg_names): Delete. | |
223 | (mips_lsi33k_reg_names): Delete. | |
224 | (mips_processor_reg_names): Delete. | |
225 | (mips_read_processor_type): Delete function. | |
226 | (deprecated_mips_set_processor_regs_hack): New function. | |
227 | (struct gdbarch_tdep): Add member "mips_processor_reg_names". | |
228 | (mips_register_name): Get the processor names from the tdep. | |
229 | (mips_tx39_reg_names): New array. | |
230 | (mips_generic_reg_names): Wire to a standard set of names. | |
231 | (mips_gdbarch_init): Set "mips_processor_reg_names". | |
232 | * config/mips/tm-irix5.h (MIPS_REGISTER_NAMES): Delete macro. | |
233 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Delete macro. | |
234 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Delete macro. | |
235 | ||
56cea623 AC |
236 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
237 | ||
238 | * mips-tdep.c (struct gdbarch_tdep): Add field "regnum". | |
239 | (mips_fpa0_regnum, mips_regnum): New function. | |
240 | (mips_gdbarch_init): Fill in the "regnum" fields. | |
241 | * mips-tdep.h (struct mips_regnum): Define. | |
242 | (mips_regnum): Declare. | |
243 | * config/mips/tm-mips.h (BADVADDR_REGNUM): Delete macro. | |
244 | (LO_REGNUM, HI_REGNUM, BADVADDR_REGNUM): Ditto. | |
245 | (CAUSE_REGNUM, PC_REGNUM, FP0_REGNUM): Ditto. | |
246 | (FCRCS_REGNUM, FCRIR_REGNUM, FPA0_REGNUM): Ditto. | |
247 | * config/mips/tm-irix6.h (FP0_REGNUM): Delete macro. | |
248 | (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto. | |
249 | (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto. | |
250 | * config/mips/tm-irix5.h (FP0_REGNUM): Delete macro. | |
251 | (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto. | |
252 | (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto. | |
253 | * remote-mips.c: Include "mips-tdep.h". Update. | |
254 | * mipsnbsd-tdep.c: Update. | |
255 | * mipsv4-nat.c: Update. | |
256 | * mips-tdep.c: Update. | |
257 | * mips-nat.c: Update. | |
258 | * mips-linux-tdep.c: Update. | |
259 | * mips-linux-nat.c: Update. | |
260 | * irix5-nat.c: Update. | |
261 | * dve3900-rom.c: Include "mips-tdep.h". Update. | |
262 | (ignore_packet): Supress GCC warning. | |
263 | * config/mips/nm-riscos.h: Update. | |
264 | ||
719ec221 AC |
265 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
266 | ||
267 | * mips-tdep.c: Replace DEPRECATED_REGISTER_RAW_SIZE with | |
268 | register_size. | |
269 | (mips_register_raw_size): Delete function. | |
270 | (mips_register_type): Handle "mips64_transfers_32bit_regs_p". | |
271 | (mips_gdbarch_init): Do not set "deprecated_register_raw_size". | |
272 | Check and set "mips64_transfers_32bit_regs_p". | |
273 | (struct gdbarch_tdep): Add "mips64_transfers_32bit_regs_p". | |
274 | (mips_register_convertible): Check the architecture's | |
275 | "mips64_transfers_32bit_regs_p". | |
276 | (set_mips64_transfers_32bit_regs): New function. | |
277 | (_initialize_mips_tdep): Use "add_setshow_cmd" when adding the | |
278 | "set remote-mips64-transfers-32bit-regs" command. Specify | |
279 | set_mips64_transfers_32bit_regs as the set function. | |
56cea623 | 280 | * Makefile.in (dve3900-rom.o, remote-mips.o): Update dependencies. |
719ec221 | 281 | |
20187ed5 MK |
282 | 2003-11-16 Mark Kettenis <kettenis@gnu.org> |
283 | ||
284 | * i386-tdep.h (i386_supply_gregset): Provide prototype. | |
285 | * i386-tdep.c (i386_supply_gregset): Make public. | |
286 | ||
6771c427 AC |
287 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
288 | ||
289 | * mips-tdep.c (mips_register_byte): Delete function. | |
290 | (mips_gdbarch_init): Do not set "deprecated_register_byte". | |
291 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Delete macro. | |
292 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Delete macro. | |
293 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Delete macro. | |
294 | ||
c8048956 MK |
295 | 2003-11-16 Mark Kettenis <kettenis@gnu.org> |
296 | ||
297 | * i386-tdep.c (i386_extract_return_value): Don't use bfd_byte. | |
298 | ||
cc8a868a AC |
299 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
300 | ||
301 | * config/mips/linux64.mt: Delete file. | |
302 | * config/mips/tm-linux64.h: Delete file. | |
303 | * config/mips/tm-mips64.h: Delete file. | |
304 | * config/mips/embed64.mt: Delete file. | |
305 | * config/djgpp/fnchange.lst: Update. | |
306 | * configure.tgt: Delete explicit patterns for mipsisa64*-*-linux*, | |
307 | mips64*-*-linux*, mips64*-*-*, and mipsisa64*-*-*. | |
308 | * config/mips/tm-irix6.h: Update copyright. Include | |
309 | "mips/tm-mips.h" instead of "mips/tm-mips64.h". | |
310 | * mips-tdep.c (mips_dump_tdep): Do not print "OP_LDFPR" or | |
311 | "OP_LDGPR". | |
312 | ||
5ef80fb0 AC |
313 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
314 | ||
315 | * mips-tdep.c (mips_register_type): Simplify. Eliminate reference | |
316 | to MIPS_REGISTER_TYPE. Make integer registers signed. Make IRIX | |
317 | n32 registers 64 bit. | |
318 | (mips_register_raw_size, mips_register_byte): For pseudo | |
319 | registers, use the register's pseudo size and not the | |
320 | corresponding raw register's size. | |
321 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Delete macro. | |
322 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Delete macro. | |
323 | * config/mips/tm-irix6.h: Don't #undef MIPS_REGISTER_TYPE. | |
324 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Delete macro. | |
325 | ||
4246e332 AC |
326 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
327 | ||
8fa9cfa1 AC |
328 | * mips-tdep.c (struct gdbarch_tdep): Delete member |
329 | gdb_target_is_mips64. | |
330 | (GDB_TARGET_IS_MIPS64): Delete macro. | |
331 | (mips_gdbarch_init): Do not set tdep's gdb_target_is_mips64. | |
332 | (mips_dump_tdep): Do not print GDB_TARGET_IS_MIPS64. | |
333 | (mips_addr_bits_remove): Simplify. | |
334 | ||
c73e8f27 AC |
335 | * mips-tdep.c: Replace DEPRECATED_REGISTER_VIRTUAL_SIZE with |
336 | register_size. | |
337 | ||
4246e332 AC |
338 | Replace MIPS_REGSIZE with mips_regsize. |
339 | * mips-tdep.c (mips_regsize): New function. | |
340 | * mips-tdep.h (mips_regsize): Declare. | |
341 | * mipsnbsd-tdep.h (SIZEOF_STRUCT_FPREG): Update. | |
342 | (SIZEOF_STRUCT_REG): Update. | |
343 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg): Update. | |
344 | (mipsnbsd_fill_reg): Update. | |
345 | (mipsnbsd_supply_fpreg): Update. | |
346 | (mipsnbsd_fill_fpreg): Update. | |
347 | (NBSD_MIPS_JB_ELEMENT_SIZE): Update. | |
348 | * mips-tdep.c (mips_register_raw_size): Update. | |
349 | (mips_register_type): Update. | |
350 | (SIGFRAME_BASE): Update. | |
351 | (SIGFRAME_PC_OFF): Update. | |
352 | (SIGFRAME_REGSAVE_OFF): Update. | |
353 | (SIGFRAME_FPREGSAVE_OFF): Update. | |
354 | (SIGFRAME_REG_SIZE): Update. | |
355 | (mips32_heuristic_proc_desc): Update. | |
356 | (print_gp_register_row): Update. | |
357 | (mips_dump_tdep): Do not print MIPS_REGSIZE. | |
358 | * irix5-nat.c (supply_gregset): Update. | |
359 | (fetch_core_registers): Update. | |
360 | * config/mips/tm-mips64.h (MIPS_REGSIZE): Delete macro. | |
361 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Update. | |
362 | * config/mips/tm-mips.h (MIPS_REGSIZE): Delete macro. | |
363 | (MIPS_REGISTER_BYTE): Update. | |
364 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Update. | |
365 | ||
5e044b1e AC |
366 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
367 | ||
368 | * config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename | |
369 | USE_REGISTER_NOT_ARG. | |
370 | * stabsread.c (define_symbol): Update. | |
371 | ||
3a16a68c AC |
372 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
373 | ||
374 | * bcache.h (deprecated_bcache): Declare. | |
375 | (bcache): Make returned buffer constant. | |
376 | * bcache.c (deprecated_bcache): New function. | |
377 | (bcache_data): New function. | |
378 | (bcache): Call bcache data. | |
379 | * symfile.c (add_psymbol_to_list): Use deprecated_bcache. | |
380 | (add_psymbol_with_dem_name_to_list): Ditto. | |
381 | ||
bb41a796 MK |
382 | 2003-11-15 Mark Kettenis <kettenis@gnu.org> |
383 | ||
384 | * glibc-tdep.h (struct gdbarch): Declare opaque. | |
385 | (glibc_skip_solib_resolver): Adjust prototype. | |
386 | * glibc-tdep.c (glibc_skip_solib_resolver): Adjust. | |
387 | * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove. | |
388 | (arm_linux_init_abi): Set skip_solib_resolver. | |
389 | * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove. | |
390 | (i386_linux_init_abi): Set skip_solib_resolver. | |
391 | * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. | |
392 | (arm_linux_skip_solib_resolver): Remove prototype. | |
393 | * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. | |
394 | (i386_linux_skip_solib_resolver): Remove prototype. | |
395 | ||
4c8c40e6 MK |
396 | 2003-11-14 Mark Kettenis <kettenis@gnu.org> |
397 | ||
398 | * gdbarch.sh (skip_solib_resolver): Change into a multi-arch | |
399 | function. | |
400 | * gdbarch.c, gdbarch.h: Regenerate. | |
401 | * infrun.c (handle_inferior_event): Call | |
402 | gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER. | |
403 | * arch-utils.c (generic_in_solib_call_trampoline): Adjust function | |
404 | definition. | |
405 | * arch-utils.h (generic_in_solib_call_trampoline): Adjust function | |
406 | prototype. | |
407 | ||
0e5d83e3 JJ |
408 | 2003-11-14 Jeff Johnston <jjohnstn@redhat.com> |
409 | ||
410 | * libunwind-frame.c: New file. | |
411 | * libunwind-frame.h: New file. | |
412 | * acconfig.h (HAVE_LIBUNWIND): #undef reference added. | |
413 | * configure.in: Add --with-libunwind option support. Define | |
414 | HAVE_LIBUNWIND if libunwind support selected / defaulted. | |
415 | Also check for libunwind.h and libunwind-ia64.h headers. | |
416 | * configure: Regenerated. | |
417 | * Makefile.in: Add support for libunwind-frame.o. | |
418 | * config.in: Regenerated. | |
419 | ||
287a334e JJ |
420 | 2003-11-14 Jeff Johnston <jjohnstn@redhat.com> |
421 | ||
422 | * config/ia64/nm-linux.h (NATIVE_XFER_UNWIND_TABLE): New macro to | |
423 | set up the ia64 linux native target method for getting the kernel | |
424 | unwind table. | |
425 | * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): New function. | |
426 | * inftarg.c (child_xfer_partial): Enable section of code to | |
427 | handle TARGET_OBJECT_UNWIND_TABLE. | |
428 | * target.h (target_object): Add new TARGET_OBJECT_UNWIND_TABLE macro. | |
429 | ||
140be7b8 ILT |
430 | 2003-11-14 Ian Lance Taylor <ian@wasabisystems.com> |
431 | ||
432 | * config/arm/nbsd.mt (TM_FILE): Define. | |
433 | * config/arm/tm-nbsd.h: New file. | |
434 | ||
0a90bcdd AC |
435 | 2003-11-14 Andrew Cagney <cagney@redhat.com> |
436 | ||
437 | * Makefile.in (ppc-sysv-tdep.o): Update dependencies. | |
438 | * ppc-sysv-tdep.c: Include "objfiles.h". | |
439 | (ppc64_sysv_abi_push_dummy_call): Provide the | |
440 | the FN's objfile when looking for the descriptor. | |
9ea97f2a AC |
441 | |
442 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's | |
443 | "name_of_malloc" to ".malloc". | |
444 | ||
087f1027 MK |
445 | 2003-11-13 Mark Kettenis <kettenis@gnu.org> |
446 | ||
447 | * config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o. | |
448 | ||
3882f37a DC |
449 | 2003-11-13 David Carlton <carlton@kealia.com> |
450 | ||
451 | * cp-namespace.c (lookup_namespace_scope): Fix typo in comment. | |
452 | ||
a8cf2722 AC |
453 | 2003-11-13 Andrew Cagney <cagney@redhat.com> |
454 | ||
455 | * arch-utils.h (selected_architecture_name): Declare. | |
456 | (selected_byte_order): Declare. | |
457 | * arch-utils.c (selected_byte_order): New function. | |
458 | (selected_architecture_name): New function. | |
459 | (target_architecture_auto): Make static. | |
460 | (set_architecture_string): Make static. | |
461 | (target_byte_order): Make static. | |
462 | (target_byte_order_auto): Make static. | |
463 | * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete | |
464 | non-multi-arch definition. | |
465 | (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete. | |
466 | (target_byte_order, target_architecture): Delete declaration. | |
467 | (target_byte_order_auto, target_architecture_auto): Ditto. | |
468 | * gdbarch.h: Re-generate. | |
469 | * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and | |
470 | "selected_byte_order". | |
471 | ||
475b6ddd AC |
472 | 2003-11-13 Andrew Cagney <cagney@redhat.com> |
473 | ||
474 | * ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order. | |
475 | ||
a22286a9 JB |
476 | 2003-11-13 Jim Blandy <jimb@redhat.com> |
477 | ||
478 | * cp-namespace.c: Doc fix. | |
479 | ||
7bb11558 MS |
480 | 2003-11-12 Michael Snyder <msnyder@redhat.com> |
481 | ||
39add00a MS |
482 | * sh64_tdep.c: Regularize some names. |
483 | (sh_sh64_register_name): Rename to sh64_register_name. | |
484 | (sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc. | |
485 | (sh_sh64_register_byte): Rename to sh64_register_byte. | |
486 | (sh_sh64_build_float_register_type): | |
487 | Rename to sh64_build_float_register_type. | |
488 | (sh_sh64_register_convert_to_virtual): | |
489 | Rename to sh64_register_convert_to_virtual. | |
490 | (sh_sh64_register_convert_to_raw): | |
491 | Rename to sh64_register_convert_to_raw. | |
492 | ||
2a314ed5 MS |
493 | * sh64-tdep.c (translate_insn_rn, is_media_pseudo, |
494 | sh64_media_reg_base_num, sh64_compact_reg_base_num, | |
495 | sh64_nofp_frame_init_saved_regs, sh64_push_arguments, | |
496 | sh64_extract_return_value, sh64_show_media_regs, | |
497 | sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type, | |
498 | sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw, | |
499 | sh64_pseudo_register_read, sh64_pseudo_register_write, | |
500 | sh64_do_pseudo_register, sh_compact_print_registers_info): | |
501 | Delete unused variable 'tdep'. | |
502 | ||
7bb11558 MS |
503 | * sh64-tdep.c: Coding standard and spelling comment fixes. |
504 | (sh64_extract_return_value): Replace deprecated_store_floating | |
505 | with store_typed_floating. | |
506 | (sh_sh64_register_convert_to_raw): Replace | |
507 | deprecated_store_floating with store_typed_floating. | |
508 | (sh_sh64_register_virtual_type): Convert to sh64_register_type. | |
509 | (sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register, | |
510 | sh64_nofp_frame_init_saved_regs, sh64_push_arguments, | |
511 | sh64_extract_struct_value_address, sh64_pop_frame, | |
512 | sh64_extract_return_value, sh64_store_return_value, | |
513 | sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read, | |
514 | sh_sh64_register_convert_to_raw, sh_pseudo_register_write): | |
515 | Replace DEPRECATED_REGISTER_RAW_SIZE with register_size. | |
516 | Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type. | |
517 | (sh64_gdbarch_init): Don't set deprecated_register_bytes, | |
518 | deprecated_register_virtual_type, deprecated_register_raw_size, | |
519 | deprecated_max_register_raw_size, or | |
520 | deprecated_max_register_virtual_size. Instead, just set | |
521 | gdbarch_register_type. | |
39add00a MS |
522 | (sh_sh64_register_raw_size): Delete. |
523 | (sh_sh64_register_virtual_size): Delete. | |
7bb11558 | 524 | |
e7c27a73 DJ |
525 | 2003-11-12 Daniel Jacobowitz <drow@mvista.com> |
526 | ||
527 | * dwarf2read.c (struct dwarf2_cu): New type. | |
528 | ||
529 | (dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a | |
530 | dwarf2_cu structure to pass down. | |
531 | ||
532 | (scan_partial_symbols, add_partial_symbol, add_partial_namespace) | |
533 | (add_partial_enumeration, locate_pdi_sibling, process_die) | |
534 | (read_file_scope, read_func_scope) | |
535 | (read_lexical_block_scope, dwarf2_get_pc_bounds) | |
536 | (dwarf2_add_field, dwarf2_attach_fields_to_type) | |
537 | (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type) | |
538 | (read_structure_scope, read_enumeration, read_array_type) | |
539 | (read_common_block, read_namespace, read_tag_pointer_type) | |
540 | (read_tag_ptr_to_member_type, read_tag_reference_type) | |
541 | (read_tag_const_type, read_tag_volatile_type, read_tag_string_type) | |
542 | (read_subroutine_type, read_typedef, read_base_type, read_comp_unit) | |
543 | (read_die_and_children, read_die_and_siblings, dwarf2_read_section) | |
544 | (dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die) | |
545 | (read_full_die. read_attribute_value, read_attribute) | |
546 | (read_address, dwarf_decode_line_header, dwarf_decode_lines) | |
547 | (var_decode_location, new_symbol, dwarf2_const_value, die_type) | |
548 | (die_containing_type, type_at_offset, tag_type_to_type) | |
549 | (read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros) | |
550 | (dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object. | |
551 | ||
1640b821 DJ |
552 | 2003-11-12 Daniel Jacobowitz <drow@mvista.com> |
553 | ||
554 | PR breakpoints/1450 | |
555 | * breakpoint.c (insert_bp_location): Fix a logic error by returning | |
556 | 0 after a catchpoint fails. | |
557 | ||
d7891507 MC |
558 | 2003-11-11 Michael Chastain <mec.gnu@mindspring.com> |
559 | ||
560 | * mips-tdep.c (msymbol_size): Delete. | |
561 | ||
f594e5e9 MC |
562 | 2003-11-07 Michael Chastain <mec@shout.net> |
563 | ||
564 | * symtab.h (struct minimal_symbol): Add size. | |
565 | * dbxread.c: Use it. | |
566 | * elfread.c: (record_minimal_symbol_and_info): Do not use info. | |
567 | Rename to record_minimal_symbol. | |
568 | (elf_symtab_read): Set MSYMBOL_SIZE explicitly. | |
569 | * minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE. | |
570 | (install_minimal_symbols): Ditto. | |
571 | * objfiles.c (terminate_minimal_symbol_table): Ditto. | |
572 | * arm-tdep.c: Delete unused MSYMBOL_SIZE. | |
573 | * m68hc11-tdep.c: Ditto. | |
574 | * mips-tdep.c: Ditto. | |
575 | * sh64-tdep.c: Ditto. | |
576 | ||
68e39e73 MC |
577 | 2003-11-10 Michael Chastain <mec.gnu@mindspring.com> |
578 | ||
579 | * MAINTAINERS: Change my e-mail address. | |
580 | ||
b60eb90d AC |
581 | 2003-11-10 Andrew Cagney <cagney@redhat.com> |
582 | ||
963e2bb7 AC |
583 | * gdbarch.sh (return_value): Replace "inval" and "outval" with |
584 | "readbuf" and "writebuf". | |
585 | * ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto. | |
586 | * d10v-tdep.c (d10v_return_value): Ditto. | |
587 | * ppc-tdep.h (ppc_sysv_abi_return_value): Ditto. | |
588 | (ppc_sysv_abi_broken_return_value): Ditto. | |
589 | (ppc64_sysv_abi_return_value): Ditto. | |
590 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto. | |
591 | (ppc_sysv_abi_return_value): Ditto. | |
592 | (ppc_sysv_abi_broken_return_value): Ditto. | |
593 | (ppc64_sysv_abi_return_value): Ditto. | |
594 | * values.c (register_value_being_returned): Update call. | |
595 | * stack.c (return_command): Update call. | |
596 | * gdbarch.h, gdbarch.c: Re-generate. | |
597 | ||
8aa91c1e AC |
598 | * target.h (struct target_ops): Order xfer buffer parameters "read |
599 | write" not "write read". | |
600 | * bfd-target.c (target_bfd_xfer_partial): Update. | |
601 | * remote.c (remote_xfer_partial): Update. | |
602 | * inftarg.c (child_xfer_partial): Update. | |
603 | * target.c (default_xfer_partial): Update. | |
604 | (target_read_partial, target_write_partial): Update. | |
605 | (debug_to_xfer_partial): Update. | |
606 | ||
100bcc3f AC |
607 | * arch-utils.h, arch-utils.c: Fix typo in comment. |
608 | ||
b60eb90d AC |
609 | * arch-utils.c (deprecated_select_gdbarch_hack): Delete function. |
610 | (gdbarch_from_bfd): Call gdbarch_find_by_info. | |
1b3164d8 AC |
611 | (set_gdbarch_from_file): Call |
612 | "deprecated_current_gdbarch_select_hack". | |
b60eb90d | 613 | |
bf922ad9 AC |
614 | 2003-11-09 Andrew Cagney <cagney@redhat.com> |
615 | ||
ebdba546 AC |
616 | * arch-utils.c (gdbarch_update_p): New function. |
617 | * gdbarch.sh (gdbarch_update_p): Delete function. | |
618 | (find_arch_by_info, gdbarch_find_by_info): New functions. | |
3f030793 | 619 | (deprecated_current_gdbarch_select_hack): New function. |
ebdba546 AC |
620 | * gdbarch.c: Re-generate. |
621 | ||
7de2341d AC |
622 | * gdbarch.sh (clear_gdbarch_swap): Delete function. |
623 | (swapout_gdbarch_swap): Delete function. | |
624 | (swapin_gdbarch_swap): Delete function. | |
625 | (init_gdbarch_swap): Delete function. | |
626 | (initialize_non_multiarch): Delete function. | |
627 | (current_gdbarch_swap_in_hack): New function. | |
628 | (current_gdbarch_swap_out_hack): New function. | |
629 | (current_gdbarch_swap_init_hack): New function. | |
630 | * gdbarch.c: Re-generate. | |
631 | ||
db446970 AC |
632 | * gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch" |
633 | parameter to "current_gdbarch". Add comment explaining why. | |
634 | (TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format. | |
635 | (TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto. | |
636 | * gdbarch.c: Re-generate. | |
637 | ||
341e3d11 AC |
638 | * config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros. |
639 | * config/s390/nm-linux.h (KERNEL_U_ADDR): Define. | |
640 | * config/s390/xm-linux.h: Delete file. | |
641 | * config/m88k/xm-delta88v4.h: Delete stray. | |
642 | ||
bf922ad9 AC |
643 | * Makefile.in (arch-utils.o): Update dependencies. |
644 | * arch-utils.c: Include "osabi.h". | |
645 | (gdbarch_info_fill): New function. | |
646 | * arch-utils.h (gdbarch_info_fill): Declare. | |
647 | * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill". | |
648 | * gdbarch.c: Re-generate. | |
649 | ||
a3640c75 MK |
650 | 2003-11-09 Mark Kettenis <kettenis@gnu.org> |
651 | David S. Miller <davem@redhat.com> | |
652 | ||
653 | * glibc-tdep.c, glibc-tdep.h: New files. | |
654 | * config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o | |
655 | * config/i386/linux.mt (TDEPFILES): Likewise. | |
656 | * i386-linux-tdep.c (glibc-tdep.h): Include. | |
657 | (find_minsym_and_objfile, skip_hurd_resolver): Delete. | |
658 | (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. | |
659 | * arm-linux-tdep.c (glibc-tdep.h): Include. | |
660 | (find_minsym_and_objfile, skip_hurd_resolver): Delete. | |
661 | (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. | |
662 | * Makefile.in (ALLDEPFILES): Add glibc-tdep.c | |
663 | (glibc_tdep_h): Define. | |
664 | (glibc-tdep.o): Add dependencies. | |
665 | (arm-linux-tdep.o): Update dependencies. | |
666 | (i386-linux-tdep.o): Likewise. | |
667 | ||
e60e0ab2 AC |
668 | 2003-11-09 Andrew Cagney <cagney@redhat.com> |
669 | ||
670 | * config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h". | |
671 | * config/mips/nm-irix6.h: Delete file. | |
672 | * config/mips/nm-linux.h: Update copyright. | |
673 | (MIPS_GNULINUX_TARGET): Delete macro. | |
674 | * config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h". | |
675 | * config/mips/xm-irix6.h: Delete file. | |
676 | * config/mips/linux.mh (XM_FILE): Delete definition. | |
677 | * config/mips/xm-linux.h: Delete file. | |
678 | ||
181555e9 AC |
679 | 2003-11-09 Andrew Cagney <cagney@redhat.com> |
680 | ||
681 | * d10v-tdep.c (d10v_return_value): New function. | |
682 | (d10v_use_struct_convention): Delete function. | |
683 | (d10v_store_return_value): Delete function. | |
684 | (d10v_extract_struct_value_address): Delete function. | |
685 | (d10v_gdbarch_init): Set "return_value" instead of | |
686 | "extract_return_value", "store_return_value", | |
687 | "extract_struct_value_address", and "use_struct_convention". | |
688 | (RET1_REGNUM): Delete const. | |
689 | ||
dea0c52f MK |
690 | 2003-11-09 Mark Kettenis <kettenis@gnu.org> |
691 | ||
692 | From David S. Miller <davem@redhat.com>: | |
693 | * gdbarch.sh (SKIP_SOLIB_RESOLVER): New method. | |
694 | * gdbarch.c, gdbarch.h: Regenerated. | |
695 | * arch-utils.c (generic_skip_solib_resolver): New function. | |
696 | * arch-utils.h (generic_skip_solib_resolver): New prototype. | |
697 | * infrun.c (SKIP_SOLIB_RESOLVER): Don't define. | |
698 | ||
6314a349 AC |
699 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
700 | ||
701 | * top.c (print_gdb_version): Replace STREQ with strcmp. | |
702 | * valops.c (value_struct_elt_for_reference): Ditto. | |
703 | (value_struct_elt_for_reference): Ditto. | |
704 | * symtab.c (gdb_mangle_name): Ditto. | |
705 | (find_line_symtab): Ditto. | |
706 | * symmisc.c (maintenance_print_symbols): Ditto. | |
707 | * symfile.c (symbol_file_command): Ditto. | |
708 | * stabsread.c (define_symbol, read_type): Ditto. | |
709 | (cleanup_undefined_types, scan_file_globals): Ditto. | |
710 | * solib.c (solib_map_sections): Ditto. | |
711 | * solib-svr4.c (bfd_lookup_symbol): Ditto. | |
712 | * rs6000-tdep.c (skip_prologue): Ditto. | |
713 | * p-valprint.c (pascal_value_print): Ditto. | |
714 | (pascal_object_is_vtbl_ptr_type): Ditto. | |
715 | * objfiles.c (in_plt_section): Ditto. | |
716 | * minsyms.c (lookup_minimal_symbol): Ditto. | |
717 | (compact_minimal_symbols): Ditto. | |
718 | (find_solib_trampoline_target): Ditto. | |
719 | * mdebugread.c (parse_type): Ditto. | |
720 | * language.c (set_language_command): Ditto. | |
721 | (set_type_command, set_range_command): Ditto. | |
722 | * f-lang.c (add_common_block): Ditto. | |
723 | (add_common_block): Ditto. | |
724 | (find_first_common_named): Ditto. | |
725 | (patch_all_commons_by_name): Ditto. | |
726 | * elfread.c (elf_locate_sections): Ditto. | |
727 | (elf_locate_sections): Ditto. | |
728 | (elfstab_offset_sections): Ditto. | |
729 | * dwarf2read.c (dwarf2_locate_sections): Ditto. | |
730 | * dbxread.c (add_old_header_file): Ditto. | |
731 | (find_corresponding_bincl_psymtab): Ditto. | |
732 | (read_dbx_symtab, process_one_symbol): Ditto. | |
733 | * coffread.c (patch_opaque_types): Ditto. | |
734 | * cli/cli-decode.c (delete_cmd): Ditto. | |
735 | * cli/cli-cmds.c (pwd_command, list_command): Ditto. | |
736 | * c-typeprint.c (c_type_print_base): Ditto. | |
737 | * breakpoint.c (bpstat_stop_status): Ditto. | |
738 | (clear_command, breakpoint_re_set_one): Ditto. | |
739 | ||
49df298f AC |
740 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
741 | ||
742 | * bcache.h: Update copyright. Add comments on bcache VS hashtab. | |
743 | * bcache.c (struct bstring): Make "length" an unsigned short, add | |
744 | "half_hash". | |
745 | (struct bcache): Add "half_hash_error_count". | |
746 | (bcache): Compute and save the "half_hash". Compare the | |
747 | "half_hash" before comparing the length. Update | |
748 | half_hash_error_count. | |
749 | ||
f168dd80 AC |
750 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
751 | ||
752 | * inftarg.c (child_xfer_partial): New function | |
753 | (init_child_ops): Set "to_xfer_partial". | |
754 | ||
05580c65 AC |
755 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
756 | ||
757 | * ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux, | |
758 | set "return_value" instead of "use_struct_convention". | |
759 | (ppc_linux_use_struct_convention): Delete function. | |
760 | (ppc_linux_return_value): New function. | |
761 | * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function. | |
762 | (ppc_sysv_abi_broken_return_value): New function. | |
763 | (do_ppc_sysv_return_value): Add "gdbarch" parameter. | |
764 | (ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop | |
765 | static. | |
766 | (ppc_sysv_abi_extract_return_value): Delete function. | |
767 | (ppc_sysv_abi_broken_extract_return_value): Delete function. | |
768 | (ppc_sysv_abi_store_return_value): Delete function. | |
769 | (ppc_sysv_abi_broken_store_return_value): Delete function. | |
770 | (ppc_sysv_abi_use_struct_convention): Delete function. | |
771 | (ppc64_sysv_abi_use_struct_convention): Delete function. | |
772 | (ppc64_sysv_abi_extract_return_value): Delete function. | |
773 | (ppc64_sysv_abi_store_return_value): Delete function. | |
774 | * ppcnbsd-tdep.c (ppcnbsd_return_value): New function. | |
775 | (ppcnbsd_init_abi): Set "return_value", instead of | |
776 | "use_struct_convention", "extract_return_value", and | |
777 | "store_return_value". | |
778 | (ppcnbsd_use_struct_convention): Delete function. | |
779 | * ppc-tdep.h (ppc64_sysv_abi_return_value): Declare. | |
780 | (ppc_sysv_abi_return_value): Declare. | |
781 | (ppc_sysv_abi_broken_return_value): Declare. | |
782 | (ppc_sysv_abi_use_struct_convention): Delete. | |
783 | (ppc_sysv_abi_store_return_value): Delete. | |
784 | (ppc_sysv_abi_extract_return_value): Delete. | |
785 | (ppc_sysv_abi_broken_store_return_value): Delete. | |
786 | (ppc_sysv_abi_broken_extract_return_value): Delete. | |
787 | (ppc64_sysv_abi_use_struct_convention): Delete. | |
788 | (ppc64_sysv_abi_extract_return_value): Delete. | |
789 | (ppc64_sysv_abi_store_return_value): Delete. | |
790 | * rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV, | |
791 | set "return_value" instead of "extract_return_value", | |
792 | "store_return_value", and "use_struct_convention". | |
793 | ||
1763fba4 MK |
794 | 2003-11-07 Mark Kettenis <kettenis@gnu.org> |
795 | ||
22c7ba1a MK |
796 | * dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment. |
797 | ||
1763fba4 MK |
798 | * fbsd-proc.c (read_mapping): Use sscanf and fgets instead of |
799 | fscanf. | |
800 | ||
fc07cc2d MK |
801 | 2003-11-07 Mark Kettenis <kettenis@gnu.org> |
802 | ||
803 | * fbsd-proc.c: Fix formatting. | |
804 | ||
6a748db6 KB |
805 | 2003-11-06 Kevin Buettner <kevinb@redhat.com> |
806 | ||
807 | * frv-tdep.c (first_pseudo_regnum, iacc0_regnum, frv_num_pseudo_regs): | |
808 | Define. | |
809 | (new_variant): Set name for iacc0_regnum. | |
810 | (frv_register_name): Accommodate pseudo-registers. | |
811 | (frv_register_type): Add case for iacc0_regnum. | |
812 | (frv_pseudo_register_read, frv_pseudo_register_write): New functions. | |
813 | (frv_gdbarch_init): Set number of pseudo registers. Establish | |
814 | pseudo-register read/write methods. | |
815 | ||
bf896cb0 AC |
816 | 2003-11-06 Andrew Cagney <cagney@redhat.com> |
817 | ||
818 | * valops.c (destructor_name_p): Replace STREQN with strncmp. | |
819 | * top.c (command_line_input): Ditto. | |
820 | * objc-exp.y (yylex): Ditto. | |
821 | * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. | |
822 | * jv-exp.y (yylex): Ditto. | |
823 | * f-exp.y (yylex): Ditto. | |
824 | * event-top.c (command_line_handler): Ditto. | |
825 | * environ.c (get_in_environ): Ditto. | |
826 | (set_in_environ): Ditto. | |
827 | * dwarfread.c (handle_producer): Ditto. | |
828 | * dbxread.c (process_one_symbol): Ditto. | |
829 | * c-typeprint.c (c_type_print_base): Ditto. | |
830 | * c-exp.y (yylex): Ditto. | |
831 | ||
0b603eba AC |
832 | 2003-11-06 Andrew Cagney <cagney@redhat.com> |
833 | Jeff Johnston <jjohnstn@redhat.com> | |
834 | ||
835 | * target.c (add_target): Only set "to_xfer_partial" when NULL. | |
836 | (init_dummy_target): Set "to_xfer_partial". | |
837 | ||
9cedbfec AC |
838 | 2003-11-06 Andrew Cagney <cagney@redhat.com> |
839 | ||
840 | * stack.c (return_command): Warn when STRUCT_CONVENTION, and not | |
841 | REGISTER_CONVENTION. | |
842 | ||
26bb91f3 DJ |
843 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
844 | ||
845 | * breakpoint.c (insert_bp_location, allocate_bp_location): Make | |
846 | static. | |
847 | ||
0bde7532 DJ |
848 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
849 | ||
850 | * breakpoint.c (remove_breakpoint): Take an bp_location | |
851 | instead of a breakpoint argument. Check the bp_location's type. | |
852 | Fix a reversed condition for hardware breakpoints. | |
853 | ||
854 | (insert_bp_location): Update call to remove_breakpoint. | |
855 | (remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS. | |
856 | (remove_hw_watchpoints): Likewise. | |
857 | (reattach_breakpoints): Likewise. | |
858 | (detach_breakpoints): Likewise. | |
859 | (delete_breakpoint): Likewise. | |
860 | ||
075f6582 DJ |
861 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
862 | ||
863 | * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS. | |
864 | (beakpoint_init_inferior): Likewise. | |
865 | (breakpoint_here_p): Likewise. Only check addresses for software | |
866 | or hardware breakpoints. | |
867 | (breakpoint_inserted_here_p): Likewise. | |
868 | (breakpoint_thread_match): Likewise. Correct comment. | |
869 | (bpstat_have_active_hw_watchpoints): Likewise. | |
870 | (check_duplicates): Likewise. | |
871 | ||
879bfdc2 DJ |
872 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
873 | ||
874 | * breakpoints.c (insert_bp_location): New function, broken out | |
875 | from insert_breakpoints. Work on an bp_location instead of a | |
876 | breakpoint. | |
877 | (insert_breakpoints): Use it. | |
878 | ||
cf3a9e5b DJ |
879 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
880 | ||
881 | * breakpoint.h (struct bp_location): Add section. | |
882 | (struct breakpoint): Remove section. | |
883 | * breakpoint.c (insert_breakpoints, remove_breakpoint) | |
884 | (breakpoint_here_p, breakpoint_inserted_here_p) | |
885 | (breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint) | |
886 | (describe_other_breakpoints, check_duplicates, set_raw_breakpoint) | |
887 | (clear_command, delete_breakpoint, breakpoint_re_set_one): Access | |
888 | section through loc. | |
889 | ||
ffce0d52 DJ |
890 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
891 | ||
892 | * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS | |
893 | instead of ALL_BREAKPOINTS. Check for software breakpoints only. | |
894 | ||
e049a4b5 DJ |
895 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
896 | ||
897 | * breakpoint.c (allocate_bp_location): Take bpt and bp_type | |
898 | arguments. Initialize owner and type for the new breakpoint | |
899 | location item. | |
900 | (set_raw_breakpoint): Update call to allocate_bp_location. | |
901 | ||
7cc221ef DJ |
902 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
903 | ||
904 | * breakpoint.h (struct bp_location): Add a chain pointer. | |
905 | * breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New | |
906 | macros. | |
907 | (bp_location_chain): New variable. | |
908 | (allocate_bp_location): New function. | |
909 | (set_raw_breakpoint): Use it. | |
910 | (delete_breakpoint): Remove ->loc from the bp_location_chain. | |
911 | ||
5cab636d DJ |
912 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
913 | ||
914 | * breakpoint.h (enum bp_loc_type, struct bp_location): New. | |
915 | (struct breakpoint): Remove address, shadow_contents, inserted, | |
adeee247 | 916 | requested_address, and duplicate. Add a struct bp_location. |
5cab636d DJ |
917 | * breakpoint.c (condition_command, read_memory_nobpt) |
918 | (insert_breakpoints, remove_breakpoints, remove_hw_watchpoints) | |
919 | (reattach_breakpoints, update_breakpoints_after_exec) | |
920 | (detach_breakpoints, remove_breakpoint, mark_breakpoints_out) | |
921 | (breakpoint_init_inferior, breakpoint_here_p) | |
922 | (breakpoint_inserted_here_p, deprecated_frame_in_dummy) | |
923 | (breakpoint_thread_match, bpstat_stop_status) | |
924 | (bpstat_have_active_hw_watchpoints, print_one_breakpoint) | |
925 | (describe_other_breakpoints, check_duplicates) | |
926 | (make_breakpoint_permanent, create_thread_event_breakpoint) | |
927 | (disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs) | |
928 | (set_longjmp_resume_breakpoint, mention, create_breakpoints) | |
929 | (watch_command_1, print_one_exception_catchpoint) | |
930 | (clear_command, breakpoint_re_set_one): Adjust member accesses to | |
931 | use the breakpoint's ->loc. | |
932 | (set_raw_breakpoint): Likewise. Initialize ->loc. | |
933 | (delete_breakpoint): Likewise. Free ->loc. | |
934 | ||
7be0c536 AC |
935 | 2003-11-05 Andrew Cagney <cagney@redhat.com> |
936 | ||
4c7d882e AC |
937 | * config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete |
938 | macro. | |
939 | * config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro. | |
940 | * config/i386/tm-cygwin.h | |
941 | (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro. | |
942 | * config/powerpc/tm-linux.h | |
943 | (AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro. | |
944 | (at_subroutine_call_instruction_target): Delete declaration. | |
945 | * config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro. | |
946 | * config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro. | |
947 | * config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro. | |
948 | ||
7be0c536 AC |
949 | * xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with |
950 | "struct bfd_section" and "struct bfd". | |
951 | * target.h (struct section_table): Ditto. | |
952 | * rs6000-nat.c (xcoff_relocate_core): Ditto. | |
953 | * solib-svr4.c (elf_locate_base): Ditto. | |
954 | * pa64solib.c (dld_cache_t): Ditto. | |
955 | * objfiles.h (struct obj_section): Ditto. | |
956 | * objfiles.c (add_to_objfile_sections): Ditto. | |
957 | * exec.c (bfdsec_to_vmap): Ditto. | |
958 | (add_to_section_table): Ditto. | |
959 | (build_section_table): Ditto. | |
960 | * corelow.c (get_core_register_section): Ditto. | |
961 | * coffread.c (find_linenos): Ditto. | |
962 | * elfread.c (elf_interpreter): Delete #if0'd function. | |
963 | ||
964 | * mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS. | |
965 | * config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro. | |
966 | * config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro. | |
967 | * config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro. | |
968 | ||
969 | * arch-utils.h (generic_cannot_extract_struct_value_address): | |
970 | Delete declaration. | |
971 | * wince.c (_initialize_wince): Fix multi-line string. | |
972 | * ia64-tdep.c (floatformat_valid): Convert to ISO C. | |
973 | ||
d8fe84e3 EZ |
974 | 2003-11-05 Elena Zannoni <ezannoni@redhat.com> |
975 | ||
976 | * top.c (execute_command): Fix broken logic for command execution | |
977 | while inferior is running in async mode. | |
978 | ||
cbdfc7c0 MK |
979 | 2003-11-06 Mark Kettenis <kettenis@gnu.org> |
980 | ||
981 | * dwarf2-frame.c (execute_cfa_program): Mark register as | |
982 | REG_SAVED_REG for DW_CFA_register opcode. | |
983 | ||
dac94105 MK |
984 | 2003-11-05 Mark Kettenis <kettenis@gnu.org> |
985 | ||
986 | * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of | |
987 | %rsp, %rip and %eflags to match ABI-change. | |
988 | ||
85bf2b91 JJ |
989 | 2003-11-05 Jeff Johnston <jjohnstn@redhat.com> |
990 | ||
991 | * ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field. | |
992 | (ia64_gdbarch_init): Don't bother calculating the os. | |
993 | Instead use the gdbarch_info struct and look at the osabi field. | |
994 | Also use gdbarch_list_lookup_by_info() to look for a | |
995 | candidate gdbarch. | |
996 | ||
cd31fb03 KB |
997 | 2003-11-05 Kevin Buettner <kevinb@redhat.com> |
998 | ||
999 | * frv-tdep.c (frv_register_byte): Delete. | |
1000 | (frv_extract_return_value, frv_store_return_value) | |
1001 | (frv_extract_struct_value_address): Don't call frv_register_byte(). | |
1002 | Convert to non-deprecated form. | |
1003 | (frv_gdbarch_init): Don't call set_gdbarch_deprecated_register_byte(). | |
1004 | Convert calls to set_gdbarch_deprecated_extract_return_value(), | |
1005 | set_gdbarch_deprecated_store_return_value(), and | |
1006 | set_gdbarch_deprecated_extract_struct_value_address() into | |
1007 | non-deprecated forms. | |
1008 | ||
0a056982 AC |
1009 | 2003-11-05 Andrew Cagney <cagney@redhat.com> |
1010 | ||
1011 | * mips-tdep.c (mips_dump_tdep): Do not print | |
1012 | PRINT_EXTRA_FRAME_INFO. | |
1013 | * config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO): | |
1014 | Rename PRINT_EXTRA_FRAME_INFO. | |
1015 | * mips-tdep.c (mips_print_extra_frame_info): Delete function. | |
1016 | * config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro. | |
1017 | (mips_print_extra_frame_info): Delete declaration. | |
1018 | * stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO. | |
1019 | ||
29e0a062 EZ |
1020 | 2003-11-05 Elena Zannoni <ezannoni@redhat.com> |
1021 | ||
1022 | * coffread.c (coff_symtab_read): Remove passing of info parameter | |
1023 | to prim_record_minimal_symbol_and_info. | |
1024 | ||
8af580fc EZ |
1025 | 2003-11-05 Elena Zannoni <ezannoni@redhat.com> |
1026 | ||
1027 | * coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use. | |
1028 | (decode_base_type): Delete ifdeffed out code. | |
1029 | ||
507836c0 AC |
1030 | 2003-11-04 Andrew Cagney <cagney@redhat.com> |
1031 | ||
1032 | * symtab.c (find_active_alias): Delete function. | |
1033 | (lookup_block_symbol): Delete alias code. | |
1034 | * stabsread.c (resolve_live_range): Delete function. | |
1035 | (add_live_range): Delete function. | |
1036 | (resolve_symbol_reference): Delete function. | |
1037 | (define_symbol): Delete live range and alias code. | |
1038 | (scan_file_globals): Delete alias code. | |
1039 | * symtab.h (SYMBOL_RANGES): Delete macro. | |
1040 | (struct range_list): Delete structure. | |
1041 | (struct symbol): Delete field "ranges". | |
1042 | (SYMBOL_ALIASES): Delete macro. | |
1043 | (struct alias_list): Delete structure. | |
1044 | (struct symbol): Delete field "aliases". | |
1045 | ||
1083b3bc MS |
1046 | 2003-11-04 Michael Snyder <msnyder@redhat.com> |
1047 | ||
1048 | * MAINTAINERS: Remove myself as owner of breakpoints and | |
1049 | of sparc/solaris. | |
1050 | ||
474e5826 CV |
1051 | 2003-11-03 Corinna Vinschen <vinschen@redhat.com> |
1052 | ||
1053 | * sh-tdep.c (sh_sh4_nofpu_register_name): New function. | |
1054 | (sh_sh4al_dsp_register_name): Ditto. | |
1055 | (sh4_nofpu_show_regs): Ditto. | |
1056 | (sh_gdbarch_init): Add cases for bfd_mach_sh4al_dsp, bfd_mach_sh4a, | |
1057 | bfd_mach_sh4_nofpu and bfd_mach_sh4a_nofpu. | |
1058 | ||
2160782c AC |
1059 | 2003-11-03 Andrew Cagney <cagney@redhat.com> |
1060 | ||
1061 | * bcache.c: Include "gdb_assert.h". | |
1062 | (struct bcache): Add fields "expand_count" and | |
1063 | "expand_hash_count". | |
1064 | (expand_hash_table): Update the expand counts. | |
1065 | (print_bcache_statistics): Use XCALLOC, not alloca. Print stats | |
1066 | on object sizes and hashes. | |
1067 | * Makefile.in (bcache.o): Update dependencies. | |
1068 | ||
85302095 AC |
1069 | 2003-11-03 Andrew Cagney <cagney@redhat.com> |
1070 | ||
1071 | * exec.c (xfer_memory): Eliminate xfer_fn. | |
1072 | ||
526eef89 KB |
1073 | 2003-10-31 Kevin Buettner <kevinb@redhat.com> |
1074 | ||
1075 | * frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h) | |
1076 | (opcodes/frv-desc.h): Include. | |
1077 | (iacc0h_regnum, iacc0l_regnum): Define. | |
1078 | (last_spr_regnum, frv_num_regs): Update. | |
1079 | (new_variant): Don't supply default names for holes in the SPRs. | |
1080 | Supply names for iacc0h_regnum and iacc0l_regnum. | |
1081 | (frv_register_type): Use symbolic constants first_fpr_regnum and | |
1082 | last_fpr_regnum instead of hardcoded constants 64 and 127. Use | |
1083 | builtin_type_int instead of builtin_type_int32. | |
1084 | (frv_register_sim_regno): New function. | |
1085 | (frv_gdbarch_init): Call set_gdbarch_register_sim_regno(). | |
1086 | * Makefile.in (gdb_sim_frv_h): Define. | |
1087 | (frv-tdep.o): Update dependencies. | |
1088 | ||
9e815ec2 AC |
1089 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1090 | ||
1091 | * avr-tdep.c (avr_frame_this_id): Do not call | |
1092 | deprecated_inside_entry_file. | |
1093 | * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. | |
1094 | * m32r-tdep.c (m32r_frame_this_id): Ditto. | |
1095 | * d10v-tdep.c (d10v_frame_this_id): Ditto. | |
1096 | * arm-tdep.c (arm_prologue_this_id): Ditto. | |
1097 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto. | |
1098 | ||
e372db49 JB |
1099 | 2003-10-31 Jim Blandy <jimb@redhat.com> |
1100 | ||
1101 | * elfread.c (elf_symtab_read): Allocate correct number of tail | |
1102 | elements to sectinfo structure. (Fix from Woody LaRue.) | |
1103 | ||
e8bcf01f AC |
1104 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1105 | ||
1106 | * stack.c (return_command): Use get_frame_type, instead of | |
1107 | CALL_DUMMY_HAS_COMPLETED. | |
1108 | * inferior.h (CALL_DUMMY_HAS_COMPLETED): Delete definition. | |
1109 | * config/pa/tm-hppa.h (CALL_DUMMY_HAS_COMPLETED): Delete macro. | |
1110 | ||
4c05fe53 MK |
1111 | 2003-10-31 Mark Kettenis <kettenis@gnu.org> |
1112 | ||
1113 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): Don't | |
1114 | explicitly specify size of array. | |
1115 | (x86_64_linux_init_abi): Use ARRAY_SIZE to initialize | |
1116 | TDEP->sc_num_regs. | |
1117 | ||
c8b91b89 AC |
1118 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1119 | ||
1120 | * s390-tdep.c (s390_cannot_extract_struct_value_address): New | |
1121 | function. | |
1122 | (s390_gdbarch_init): Set extract_struct_value_address. | |
1123 | * arch-utils.c (generic_cannot_extract_struct_value_address): | |
1124 | Delete function. | |
1125 | * arch-utils.h (generic_cannot_extract_struct_value_address): | |
1126 | Delete definition. | |
1127 | ||
fdfb6fc8 MK |
1128 | 2003-10-31 Mark Kettenis <kettenis@gnu.org> |
1129 | ||
1130 | * i386-linux-nat.c (fetch_core_registers): Remove. | |
1131 | (linux_elf_core_fns): Remove. | |
1132 | (_initialize_i386_linux_nat): Remove. | |
1133 | ||
2f4950cd AC |
1134 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1135 | ||
1136 | * solib-svr4.c: Update copyright. Include "bfd-target.h" and | |
1137 | "exec.h". | |
1138 | (exec_entry_point): New function. | |
1139 | (enable_break): Create a "tmp_bfd_target", use that and | |
1140 | entry_point_address when computing the relocation offset. | |
1141 | (svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops. | |
1142 | * Makefile.in (solib-svr4.o): Update dependencies. | |
1143 | ||
bba2d28d AC |
1144 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1145 | ||
1146 | * defs.h (XZALLOC): Define. | |
1147 | * target.h (struct target_ops): Add "to_data"; | |
1148 | * bfd-target.h, bfd-target.c: New files. | |
1149 | * Makefile.in (SFILES): Add "bfd-target.c". | |
1150 | (COMMON_OBS): Add "bfd-target.o". | |
1151 | (bfd-target.o): Specify dependencies. | |
1152 | (bfd_target_h): Define. | |
1153 | * defs.h (XZALLOC): Define. | |
1154 | ||
6066c3de AC |
1155 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1156 | ||
1157 | * rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set | |
1158 | adjust_breakpoint_address. | |
1159 | * Makefile.in (ppc-sysv-tdep.o): Add $(target_h). | |
1160 | * ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare. | |
1161 | * ppc-sysv-tdep.c: Include "target.h". Update copyright. | |
1162 | (ppc64_sysv_abi_adjust_breakpoint_address): New function. | |
1163 | ||
4b8a223f AC |
1164 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1165 | ||
1166 | * target.h (struct target_ops): Replace "to_read_partial" and | |
1167 | "to_write_partial" with "to_xfer_partial". Update comments. | |
1168 | * target.c (debug_to_write_partial): Delete function. | |
1169 | (debug_to_xfer_partial): Replace debug_to_read_partial. | |
1170 | (add_target, update_current_target, setup_target_debug): Set | |
1171 | "to_xfer_partial" instead of "to_read_partial" and | |
1172 | "to_write_partial". | |
1173 | (default_xfer_partial): Replace "default_write_partial". | |
1174 | (default_read_partial): Delete. | |
1175 | (target_read_partial, target_write_partial): Call | |
1176 | "to_xfer_partial". | |
1177 | * remote.c (init_remote_ops): Set "to_xfer_partial". | |
1178 | (init_remote_async_ops): Ditto. | |
1179 | (remote_xfer_partial): Replace "remote_read_partial". | |
1180 | ||
66a72d25 MK |
1181 | 2003-10-31 Mark Kettenis <kettenis@gnu.org> |
1182 | ||
1183 | * i386-tdep.c (i386_supply_fpregset): Support floating-point | |
1184 | registers in `fxsave' format. | |
1185 | (i386_regset_from_core_section): Deal with ".reg-xfp" sections. | |
1186 | ||
9a12a2a0 MK |
1187 | 2003-10-30 Mark Kettenis <kettenis@gnu.org> |
1188 | ||
e9f1aad5 MK |
1189 | * i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable. |
1190 | (i386_linux_init_abi): Initialize TDEP->gregset_reg_offset, | |
1191 | TDEP->gregset_num_regs and tdep->sizeof_gregset. | |
1192 | ||
bb489b3c MK |
1193 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitly |
1194 | specify size of array. | |
1195 | (i386_linux_init_abi): Remove initialization of | |
1196 | TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of | |
1197 | registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs. | |
1198 | ||
da285bc4 MK |
1199 | * config/i386/fbsd64.mt (TDEPFILES): Add corelow.o. |
1200 | * config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and | |
1201 | core-regset.o. | |
1202 | ||
9a12a2a0 MK |
1203 | * fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in |
1204 | the ELF header. | |
1205 | ||
0e24ac5d MK |
1206 | 2003-10-29 Mark Kettenis <kettenis@gnu.org> |
1207 | ||
6d6d8e9c MK |
1208 | * config/i386/fbsd.mt (TDEPFILES): Add corelow.o. |
1209 | * config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and | |
1210 | core-regset.o. | |
1211 | ||
25e60c9b MK |
1212 | * fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts. |
1213 | ||
0e24ac5d MK |
1214 | * corelow.c: Include "arch-utils.h", "regset.h" and |
1215 | "gdb_assert.h". | |
1216 | (core_gdbarch): New variable. | |
1217 | (sniff_core_bfd): Don't sniff if we have support for register sets | |
1218 | in CORE_GDBARCH. | |
1219 | (core_close): Reset CORE_GDBARCH. | |
1220 | (core_open): Initialize CORE_GDBARCH. | |
1221 | (get_core_register_section): Use register sets if they are | |
1222 | supported by CORE_GDBARCH. | |
1223 | (get_core_registers): Don't print error message if we have support | |
1224 | for register sets in CORE_GDBARCH. | |
1225 | ||
0a0a4ac3 AC |
1226 | 2003-10-29 Andrew Cagney <cagney@redhat.com> |
1227 | ||
1228 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the | |
1229 | default PPC machine, register 32-bit and 64-bit PPC, and rs6k. | |
1230 | ||
7b097ae3 MK |
1231 | 2003-10-29 Mark Kettenis <kettenis@gnu.org> |
1232 | ||
1233 | * objfiles.h (clear_objfile_data): New prototype. | |
1234 | * objfiles.c (clear_objfile_data): New function. | |
1235 | * symfile.c (reread_symbols): Clear per-objfile data. | |
1236 | ||
46f45a4a JJ |
1237 | 2003-10-28 Jeff Johnston <jjohnstn@redhat.com> |
1238 | ||
1239 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use | |
1240 | printf_unfiltered instead of printf_filtered for output messages. | |
1241 | (add_symbol_file_command): Ditto. | |
1242 | (reread_symbols): Ditto. | |
1243 | (overlay_auto_command): Ditto. | |
1244 | (overlay_manual_command): Ditto. | |
1245 | (overlay_off_command): Ditto. | |
1246 | ||
2b026650 MK |
1247 | 2003-10-27 Mark Kettenis <kettenis@gnu.org> |
1248 | ||
1249 | * arch-utils.c (deprecated_select_gdbarch_hack): New function. | |
1250 | (gdbarch_from_bfd): New function. | |
1251 | (set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and | |
1252 | deprecated_select_gdbarch_hack. | |
1253 | * arch-utils.h (gdbarch_from_bfd): New prototype. | |
1254 | ||
0bcad584 | 1255 | 2003-10-27 Andrew Cagney <cagney@redhat.com> |
931758af AC |
1256 | |
1257 | * osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of | |
1258 | arch_info. Use warning instead of fprintf_filtered. Do not use | |
1259 | deprecated bfd_printable_arch_mach. | |
1260 | ||
7f398216 KB |
1261 | 2003-10-26 Kevin Buettner <kevinb@redhat.com> |
1262 | ||
1263 | * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size): | |
1264 | Delete. | |
1265 | (frv_register_type): Rename from frv_register_virtual_type. Add | |
1266 | ``struct gdbarch *'' parameter. | |
1267 | (frv_gdbarch_init): Delete calls to the following functions: | |
1268 | set_gdbarch_deprecated_size(), | |
1269 | set_gdbarch_deprecated_register_bytes(), | |
1270 | set_gdbarch_deprecated_register_raw_size(), | |
1271 | set_gdbarch_deprecated_max_register_raw_size(), | |
1272 | set_gdbarch_deprecated_register_virtual_size(), | |
1273 | set_gdbarch_deprecated_max_register_virtual_size(), | |
1274 | set_gdbarch_deprecated_register_virtual_size(), | |
1275 | set_gdbarch_deprecated_register_virtual_type(). | |
1276 | Add call to function set_gdbarch_register_type(). | |
1277 | ||
bcf48cc7 MK |
1278 | 2003-10-26 Mark Kettenis <kettenis@gnu.org> |
1279 | ||
6c7de422 MK |
1280 | * i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, |
1281 | FDOFF_REGNUM): Remove defines. | |
1282 | * win32-nat.c (do_child_fetch_inferior_registers): Include | |
1283 | "i387-tdep.h". | |
3e685d41 | 1284 | (do_child_fetch_inferior_registers): Use I387_FISEG_REGNUM and |
6c7de422 MK |
1285 | I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM. Define and |
1286 | undefine I387_ST0_REGNUM. | |
1287 | ||
f783586b MK |
1288 | * i386-tdep.h (FPU_REG_RAW_SIZE): Remove define. |
1289 | * x86-64-tdep.c (x86_64_store_return_value): Use | |
1290 | I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE. | |
1291 | ||
bcf48cc7 MK |
1292 | Change register numbers to enumartion values. |
1293 | * i386-tdep.h (enum i386_regnum): New. | |
1294 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
1295 | I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM, | |
1296 | I386_ST0_REGNUM): Remove defines. | |
1297 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
1298 | I386_EDI_REGNUM): Remove defines. | |
1299 | ||
b6591e8b AC |
1300 | 2003-10-24 Andrew Cagney <cagney@redhat.com> |
1301 | ||
1302 | * target.c: Include "gdbcore.h". | |
1303 | (get_target_memory, get_target_memory_unsigned): New functions. | |
1304 | * target.h (get_target_memory, get_target_memory_unsigned): Declare. | |
1305 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): | |
1306 | Use get_target_memory_unsigned. | |
1307 | * Makefile.in (target.o): Update dependencies. | |
1308 | ||
5f724446 AC |
1309 | 2003-10-24 Andrew Cagney <cagney@redhat.com> |
1310 | ||
ce2826aa AC |
1311 | * osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic]. |
1312 | * PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto. | |
1313 | * complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto. | |
1314 | * frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto. | |
1315 | * kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto. | |
1316 | ||
5f724446 AC |
1317 | * osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit. |
1318 | (can_run_code_for): Use the OO term "singleton". | |
1319 | ||
fc70c2a0 AC |
1320 | 2003-10-23 Andrew Cagney <cagney@redhat.com> |
1321 | ||
1322 | * Makefile.in (stack.o): Add $(regcache_h). | |
1323 | * stack.c: Include "regcache.h" | |
1324 | (return_command): Rewrite. Use get_frame_id and | |
1325 | get_selected_frame. Eliminate "deprecated_selected_frame". Warn | |
1326 | about unhandled return-values. | |
1327 | * value.h (set_return_value): Delete declaration. | |
1328 | * values.c (set_return_value): Delete function. | |
1329 | ||
4afcc598 JJ |
1330 | 2003-10-23 Jeff Johnston <jjohnstn@redhat.com> |
1331 | ||
1332 | * ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field. | |
1333 | (pseudo_regs): Add comment regarding register stack registers. | |
1334 | (ia64_alloc_frame_cache): Initialize new prev_cfm field to 0. | |
1335 | (floatformat_valid): New static routine. | |
1336 | (floatformat_ia64_ext): Add name field and set up is_valid routine | |
1337 | to floatformat_valid(). | |
1338 | (examine_prologue): For the previous cfm, use | |
1339 | frame_unwind_register() | |
1340 | if the cfm is not stored in a register-stack register. Save the | |
1341 | previous cfm value in the prev_cfm field. Add debug output. | |
1342 | (ia64_frame_this_id): Use frame_id_build_special() to also register | |
1343 | the bsp. Add debug output. | |
1344 | (ia64_sigtramp_frame_this_id): Ditto. | |
1345 | (ia64_frame_prev_register): Look at cache saved_regs for a few more | |
1346 | registers and also add some checks for framelessness before accepting | |
1347 | current register values for fields such as return address. For cfm, | |
1348 | use the cached prev_cfm field if available. Add comment to explain | |
1349 | PSR logic. Add debug output. | |
1350 | (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses | |
1351 | as part of initialization. | |
1352 | (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be | |
1353 | calculated. Cache the bsp and cfm values. | |
1354 | (ia64_sigtramp_frame_prev_register): Add logic to this routine out | |
1355 | instead of using ia64_frame_prev_register() which doesn't expect most | |
1356 | registers to be saved. The saved values for bsp and sp | |
1357 | can be taken from the cache. Add debug output. | |
1358 | (ia64_push_dummy_call): Use frame_id_build_special() to also register | |
1359 | the bsp. | |
1360 | ||
6cfae0bc JB |
1361 | 2003-10-23 Jim Blandy <jimb@redhat.com> |
1362 | ||
1363 | * osabi.c (gdbarch_init_osabi): A handler is okay if it's for an | |
1364 | architecture the current arch can run code for --- but not if it's | |
1365 | a superset. | |
1366 | (can_run_code_for): New function. | |
1367 | ||
fcd182f9 JW |
1368 | 2003-10-22 James E Wilson <wilson@specifixinc.com> |
1369 | ||
1370 | * MAINTAINERS: Move myself from paper trail section back to write | |
1371 | after approval section. | |
1372 | ||
4646aa9d AC |
1373 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1374 | ||
1375 | * exec.h: New file. | |
1376 | * win32-nat.c: Include "exec.h". | |
1377 | * solib.c: Include "exec.h". | |
1378 | * target.h (build_section_table): Delete declaration. | |
1379 | * somsolib.c: Include "exec.h". | |
1380 | (exec_ops): Delete extern declaration. | |
1381 | * rs6000-nat.c: Update copyright. Include "exec.h". | |
1382 | (exec_ops): Delete extern declaration. | |
1383 | * pa64solib.c: Update copyright. Include "exec.h". | |
1384 | (exec_ops): Delete extern declaration. | |
1385 | * exec.c: Update copyright. Include "exec.h". | |
1386 | * corelow.c: Update dependencies. Include "exec.h". | |
1387 | * Makefile.in (exec_h): Define. | |
1388 | (exec.o, somsolib.o): Update dependencies. | |
1389 | (pa64solib.o, corelow.o): Update dependencies. | |
1390 | ||
0088c768 AC |
1391 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1392 | ||
1393 | * target.c: Include "gdb_assert.h" (target_read): Call | |
1394 | "target_read_partial", not "target_write_partial". | |
1395 | (default_read_partial, default_write_partial): New function. | |
1396 | (target_read_partial, target_write_partial): Simplify, assume that | |
1397 | there is always a read/write method. | |
1398 | (update_current_target, add_target): Always set "to_read_partial" | |
1399 | and "to_write_partial". | |
1400 | (target_write, target_read): Fail on a zero byte transfer. | |
1401 | * Makefile.in (target.o): Update dependencies. | |
1402 | * target.h: Update copyright date. | |
1403 | (target_object): Fix typo. | |
1404 | ||
e2d0e7eb AC |
1405 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1406 | ||
1407 | * gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure | |
1408 | multi-arch method, add "targ" parameter. | |
1409 | (struct target_ops): Declare. | |
1410 | * gdbarch.h, gdbarch.c: Re-generate. | |
1411 | * Makefile.in (c-valprint.o): Update dependencies. | |
1412 | * arch-utils.h: Update copyright. | |
1413 | (convert_from_func_ptr_addr_identity): Declare. | |
1414 | * arch-utils.c (convert_from_func_ptr_addr_identity): New function. | |
1415 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
1416 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate. | |
1417 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update. | |
1418 | * infcall.c (find_function_addr, call_function_by_hand): Update. | |
1419 | * c-valprint.c: Include "target.h". | |
1420 | (print_function_pointer_address): Update. | |
1421 | ||
f1c07ab0 AC |
1422 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1423 | ||
1424 | * target.c (target_close): New function. | |
1425 | (debug_to_close): Use "target_close". | |
1426 | (push_target): Use "target_close". | |
1427 | (unpush_target): Use "target_close". | |
1428 | (pop_target): Use "target_close". | |
1429 | * target.h (struct target_ops): Add "to_xclose". | |
1430 | (target_open): Delete macro. Move comment to "to_open". | |
1431 | (target_close): Replace macro with function that takes a target. | |
1432 | * top.c (quit_target): Pass "current_target" to "target_close". | |
1433 | ||
5520a790 EZ |
1434 | 2003-10-21 Elena Zannoni <ezannoni@redhat.com> |
1435 | ||
1436 | * minsyms.c (lookup_minimal_symbol_text): Remove unused parameter. | |
1437 | Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
1438 | * symtab.h (lookup_minimal_symbol_text): Update. | |
1439 | * breakpoint.c (create_overlay_event_breakpoint, | |
1440 | create_longjmp_breakpoint): Update callers. | |
1441 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller. | |
1442 | * symtab.c (find_pc_sect_line): Ditto. | |
1443 | ||
caa92b73 AC |
1444 | 2003-10-21 Andrew Cagney <cagney@redhat.com> |
1445 | ||
1446 | * target.c (errno): Delete extern declaration. | |
1447 | ||
aa2a9a3c JJ |
1448 | 2003-10-20 Jeff Johnston <jjohnstn@redhat.com> |
1449 | ||
1450 | * ia64-tdep.c: Change all occurrences of | |
1451 | DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead. | |
1452 | (ia64_frame_prev_register): Minor whitespace change. | |
1453 | ||
4beec2b7 MC |
1454 | 2003-10-20 Michael Chastain <mec@shout.net> |
1455 | ||
1456 | * config/djgpp/fnchange.lst: Add lines for: | |
1457 | sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs, | |
1458 | sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs, | |
1459 | sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs, | |
1460 | sim/testsuite/sim/frv/interrupts/compound-fr550.cgs, | |
1461 | sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs, | |
1462 | sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs, | |
1463 | sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs. | |
1464 | ||
92ad9cd9 AC |
1465 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
1466 | ||
1467 | * values.c (register_value_being_returned): Update comments. Use | |
1468 | "gdbarch_return_value" when available. | |
1469 | (using_struct_return): Ditto. | |
1470 | (set_return_value): Ditto. Use "gdbarch_return_value" when | |
1471 | available.. Print a warning, and not an error, when an unhandled | |
1472 | return type is encountered. | |
1473 | * infcmd.c: Include "gdb_assert.h". | |
1474 | (print_return_value): When gdbarch_return_value_p, and using | |
1475 | struct return, assume that the value is not available. | |
1476 | * defs.h (return_value_convention): Define. | |
1477 | * gdbarch.sh (gdbarch_return_value): New predicate method. | |
1478 | * gdbarch.h, gdbarch.c: Re-generate | |
1479 | * ppc-sysv-tdep.c (return_value_convention): Delete definition. | |
1480 | ||
198beae2 AC |
1481 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
1482 | ||
1483 | * symtab.c: Replace "struct sec" with "struct bfd_section". | |
1484 | * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. | |
1485 | ||
24d693a6 | 1486 | 2003-10-19 Michael Chastain <mec@shout.net> |
e7cb278a MC |
1487 | |
1488 | * config/djgpp/fnchange.lst: Add lines for: | |
1489 | gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c, | |
1490 | gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c, | |
1491 | gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c. | |
1492 | ||
21ad8dc3 MK |
1493 | 2003-10-19 Mark Kettenis <kettenis@gnu.org> |
1494 | ||
1495 | * amd64fbsd-nat.c (fetch_inferior_registers, | |
1496 | store_inferior_registers): Remove functions. | |
1497 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o. | |
1498 | ||
cced5e27 MK |
1499 | 2003-10-18 Mark Kettenis <kettenis@gnu.org> |
1500 | ||
1501 | Add NetBSD/amd64 native configuration: | |
1502 | * x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. | |
1503 | * amd64nbsd-tdep.c: New file. | |
1504 | * amd64nbsd-nat.c: New file. | |
1505 | * amd64bsd-nat.c: New file. | |
1506 | * config/i386/nbsd64.mh: New file. | |
1507 | * config/i386/nbsd64.mt: New file. | |
1508 | * configure.host: Add x86_64-*-netbsd*. | |
1509 | * configure.tgt: Add x86_64-*-netbsd*. | |
1510 | * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): | |
1511 | New targets. | |
1512 | * NEWS (New native configurations): Mention NetBSD/amd64. | |
1513 | ||
666de3fd MC |
1514 | 2003-10-17 Michael Chastain <mec@shout.net> |
1515 | ||
1516 | * config/djgpp/fnchange.lst: Remove dead lines for: | |
1517 | bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c, | |
1518 | bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c, | |
1519 | bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c, | |
1520 | gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h, | |
1521 | gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h, | |
1522 | gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h, | |
1523 | gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h, | |
1524 | gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h, | |
1525 | gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h, | |
1526 | gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h, | |
1527 | gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h, | |
1528 | gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h, | |
1529 | gdb/config/sparc/tm-sparclite.h, | |
1530 | gdb/gdbtk/generic/ChangeLog-2001, | |
1531 | gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c, | |
1532 | gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c, | |
1533 | gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c, | |
1534 | gdb/sparclet-rom.c, gdb/sparclet-stub.c, | |
1535 | gdb/testsuite/gdb.mi/mi0-var-block.exp, | |
1536 | gdb/testsuite/gdb.mi/mi0-var-child.exp, | |
1537 | gdb/testsuite/gdb.mi/mi0-var-cmd.exp, | |
1538 | gdb/testsuite/gdb.mi/mi0-var-display.exp, | |
1539 | itcl/iwidgets3.0.0/demos/extfileselectionbox, | |
1540 | itcl/iwidgets3.0.0/demos/extfileselectiondialog, | |
1541 | itcl/iwidgets3.0.0/demos/fileselectionbox, | |
1542 | itcl/iwidgets3.0.0/demos/fileselectiondialog, | |
1543 | itcl/iwidgets3.0.0/demos/html/buttonbox.n.html, | |
1544 | itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html, | |
1545 | itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html, | |
1546 | itcl/iwidgets3.0.0/demos/html/combobox.n.html, | |
1547 | itcl/iwidgets3.0.0/demos/html/dialog.n.html, | |
1548 | itcl/iwidgets3.0.0/demos/html/dialogshell.n.html, | |
1549 | itcl/iwidgets3.0.0/demos/html/entryfield.n.html, | |
1550 | itcl/iwidgets3.0.0/demos/html/feedback.n.html, | |
1551 | itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html, | |
1552 | itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html, | |
1553 | itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html, | |
1554 | itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html, | |
1555 | itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html, | |
1556 | itcl/iwidgets3.0.0/demos/html/menubar.n.html, | |
1557 | itcl/iwidgets3.0.0/demos/html/messagedialog.n.html, | |
1558 | itcl/iwidgets3.0.0/demos/html/notebook.n.html, | |
1559 | itcl/iwidgets3.0.0/demos/html/optionmenu.n.html, | |
1560 | itcl/iwidgets3.0.0/demos/html/panedwindow.n.html, | |
1561 | itcl/iwidgets3.0.0/demos/html/promptdialog.n.html, | |
1562 | itcl/iwidgets3.0.0/demos/html/pushbutton.n.html, | |
1563 | itcl/iwidgets3.0.0/demos/html/radiobox.n.html, | |
1564 | itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html, | |
1565 | itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html, | |
1566 | itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html, | |
1567 | itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html, | |
1568 | itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html, | |
1569 | itcl/iwidgets3.0.0/demos/html/selectionbox.n.html, | |
1570 | itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html, | |
1571 | itcl/iwidgets3.0.0/demos/html/shell.n.html, | |
1572 | itcl/iwidgets3.0.0/demos/html/spindate.n.html, | |
1573 | itcl/iwidgets3.0.0/demos/html/spinint.n.html, | |
1574 | itcl/iwidgets3.0.0/demos/html/spinner.n.html, | |
1575 | itcl/iwidgets3.0.0/demos/html/spintime.n.html, | |
1576 | itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html, | |
1577 | itcl/iwidgets3.0.0/demos/html/tabset.n.html, | |
1578 | itcl/iwidgets3.0.0/demos/html/toolbar.n.html, | |
1579 | itcl/iwidgets3.0.0/demos/scrolledcanvas, | |
1580 | itcl/iwidgets3.0.0/demos/scrolledframe, | |
1581 | itcl/iwidgets3.0.0/demos/scrolledhtml, | |
1582 | itcl/iwidgets3.0.0/demos/scrolledlistbox, | |
1583 | itcl/iwidgets3.0.0/demos/scrolledtext, | |
1584 | itcl/iwidgets3.0.0/demos/selectionbox, | |
1585 | itcl/iwidgets3.0.0/demos/selectiondialog, | |
1586 | itcl/iwidgets3.0.0/doc/canvasprintbox.n, | |
1587 | itcl/iwidgets3.0.0/doc/canvasprintdialog.n, | |
1588 | itcl/iwidgets3.0.0/doc/extfileselectionbox.n, | |
1589 | itcl/iwidgets3.0.0/doc/extfileselectiondialog.n, | |
1590 | itcl/iwidgets3.0.0/doc/fileselectionbox.n, | |
1591 | itcl/iwidgets3.0.0/doc/fileselectiondialog.n, | |
1592 | itcl/iwidgets3.0.0/doc/scopedobject.n.backup, | |
1593 | itcl/iwidgets3.0.0/doc/scrolledcanvas.n, | |
1594 | itcl/iwidgets3.0.0/doc/scrolledframe.n, | |
1595 | itcl/iwidgets3.0.0/doc/scrolledhtml.n, | |
1596 | itcl/iwidgets3.0.0/doc/scrolledlistbox.n, | |
1597 | itcl/iwidgets3.0.0/doc/scrolledtext.n, | |
1598 | itcl/iwidgets3.0.0/doc/selectionbox.n, | |
1599 | itcl/iwidgets3.0.0/doc/selectiondialog.n, | |
1600 | itcl/iwidgets3.0.0/generic/canvasprintbox.itk, | |
1601 | itcl/iwidgets3.0.0/generic/canvasprintdialog.itk, | |
1602 | itcl/iwidgets3.0.0/generic/extfileselectionbox.itk, | |
1603 | itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk, | |
1604 | itcl/iwidgets3.0.0/generic/fileselectionbox.itk, | |
1605 | itcl/iwidgets3.0.0/generic/fileselectiondialog.itk, | |
1606 | itcl/iwidgets3.0.0/generic/scrolledcanvas.itk, | |
1607 | itcl/iwidgets3.0.0/generic/scrolledframe.itk, | |
1608 | itcl/iwidgets3.0.0/generic/scrolledhtml.itk, | |
1609 | itcl/iwidgets3.0.0/generic/scrolledlistbox.itk, | |
1610 | itcl/iwidgets3.0.0/generic/scrolledtext.itk, | |
1611 | itcl/iwidgets3.0.0/generic/scrolledwidget.itk, | |
1612 | itcl/iwidgets3.0.0/generic/selectionbox.itk, | |
1613 | itcl/iwidgets3.0.0/generic/selectiondialog.itk, | |
1614 | itcl/iwidgets3.0.0/tests/canvasprintbox.test, | |
1615 | itcl/iwidgets3.0.0/tests/canvasprintdialog.test, | |
1616 | itcl/iwidgets3.0.0/tests/extfileselectionbox.test, | |
1617 | itcl/iwidgets3.0.0/tests/extfileselectiondialog.test, | |
1618 | itcl/iwidgets3.0.0/tests/fileselectionbox.test, | |
1619 | itcl/iwidgets3.0.0/tests/fileselectiondialog.test, | |
1620 | itcl/iwidgets3.0.0/tests/scrolledcanvas.test, | |
1621 | itcl/iwidgets3.0.0/tests/scrolledframe.test, | |
1622 | itcl/iwidgets3.0.0/tests/scrolledhtml.test, | |
1623 | itcl/iwidgets3.0.0/tests/scrolledlistbox.test, | |
1624 | itcl/iwidgets3.0.0/tests/scrolledtext.test, | |
1625 | itcl/iwidgets3.0.0/tests/selectionbox.test, | |
1626 | itcl/iwidgets3.0.0/tests/selectiondialog.test, | |
1627 | itcl/iwidgets3.0.0/unix/iwidgets.tcl.in, | |
1628 | itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in, | |
1629 | tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt, | |
1630 | tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt, | |
1631 | tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt, | |
1632 | tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt, | |
1633 | tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt, | |
1634 | tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in, | |
1635 | tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in, | |
1636 | tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c, | |
1637 | tix/win/tkConsole42.c, tix/win/tkConsole80a1.c, | |
1638 | tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps, | |
1639 | tk/mac/tkMacProjects.sit.hqx. | |
1640 | ||
1e3ff5ad AC |
1641 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
1642 | ||
8db32d44 AC |
1643 | * target.c (target_section_by_addr): New function. |
1644 | (do_xfer_memory): Use "target_section_by_addr". | |
1645 | * target.h (target_section_by_addr): Declare. | |
1646 | ||
1e3ff5ad AC |
1647 | * target.h (struct target_ops): Add "to_read_partial" and |
1648 | "to_write_partial", delete "to_query". | |
1649 | (target_read_partial, target_write_partial): Declare. | |
1650 | (target_read, target_write): Declare. | |
1651 | (target_query): Delete macro. | |
1652 | * target.c (target_read_partial): New function. | |
1653 | (target_write_partial, target_read, target_write): New function. | |
1654 | (update_current_target): Delete inheritance of "to_query". Add | |
1655 | comments about "to_read_partial" and "to_write_partial". | |
1656 | (debug_to_partial_read, debug_to_partial_write): New functions. | |
1657 | (debug_to_query): Delete function. | |
1658 | (setup_target_debug): Set "to_read_partial" and "to_write_partial" | |
1659 | instead of "to_query". | |
1660 | * remote.c (remote_read_partial): Replace "remote_query". | |
1661 | (init_remote_ops): Set "to_read_partial" instead of "to_query". | |
1662 | (init_remote_async_ops): Ditto. | |
1663 | * kod.c (gdb_kod_query): Make "bufsize" a LONGEST. Use | |
1664 | "target_read_partial" instead of "target_query". | |
1665 | * avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST. | |
1666 | Use "target_read_partial" instead of "target_query". | |
1667 | ||
48c66725 JJ |
1668 | 2003-10-17 Jeff Johnston <jjohnstn@redhat.com> |
1669 | ||
1670 | * frame.h (struct frame_id): Add new field: special_addr. | |
1671 | (frame_id_build_special): New prototype. | |
1672 | * frame.c (frame_id_build_special): New function. | |
1673 | (frame_id_build): Change to call frame_id_build_special(). | |
1674 | (frame_id_eq): Change to also test special_addr field. | |
1675 | (frame_id_inner): Update comment. | |
1676 | ||
7998dfc3 AC |
1677 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
1678 | ||
1679 | * target.c (update_current_target): Perform the target cleanup. | |
1680 | Put the target stack beneath the squashed "current_target". | |
1681 | (add_target): Delete disabled call to "cleanup_target". | |
1682 | (cleanup_target): Delete function. | |
1683 | (push_target, unpush_target): Do not call "cleanup_target". | |
1684 | ||
9c04404e | 1685 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
258b763a AC |
1686 | |
1687 | * target.c (target_stack): Change to a static target_ops. | |
1688 | (update_current_target): Walk the "struct target_ops" stack. | |
1689 | (pop_target, do_xfer_memory, target_info): Ditto. | |
1690 | (find_target_beneath): Ditto. | |
1691 | (push_target): Rewrite to use the "struct target_ops" stack. | |
1692 | (unpush_target): Ditto. | |
1693 | * target.h (struct target_stack_item): Delete definition. | |
1694 | (target_stack): Delete declaration. | |
1695 | (struct target_ops): Add field "beneath". | |
1696 | ||
c98a2b49 | 1697 | 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com> |
ac1764c7 AC |
1698 | |
1699 | * gdb/config/h8300/tm-h8300.h (h8300_normal_mode): Add external | |
1700 | declaration. | |
1701 | * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode | |
c98a2b49 SA |
1702 | (h8300_examine_prologue): Use h8300_normal_mode flag |
1703 | (h8300_gdbarch_init): Set architecture info for normal mode | |
1704 | ||
506fb367 DJ |
1705 | 2003-10-16 Daniel Jacobowitz <drow@mvista.com> |
1706 | ||
1707 | * remote.c (remote_protocol_vcont): New variable. | |
1708 | (set_remote_protocol_vcont_packet_cmd): New function. | |
1709 | (show_remote_protocol_vcont_packet_cmd): New function. | |
1710 | (init_all_packet_configs): Handle remote_protocol_vcont. | |
1711 | (remote_vcont_probe): New function. | |
1712 | (remote_vcont_resume): New function. | |
1713 | (remote_resume): Use it. | |
1714 | (remote_async_resume): Call remote_resume. | |
1715 | (_initialize_remote): Add verbose-resume packet commands. | |
1716 | ||
65815ea1 AC |
1717 | 2003-10-16 Andrew Cagney <cagney@redhat.com> |
1718 | ||
1719 | * infrun.c (handle_inferior_event): Add comment about | |
1720 | "frame_id_inner" being too weak. | |
1721 | ||
40324f1b EZ |
1722 | 2003-10-16 Elena Zannoni <ezannoni@redhat.com> |
1723 | ||
1724 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
1725 | second parameter, which is always null. Remove | |
1726 | SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
1727 | * symtab.h (lookup_minimal_symbol_solib_trampoline): Update | |
1728 | accordingly. | |
1729 | * somsolib.c (som_solib_create_inferior_hook, | |
1730 | som_solib_desire_dynamic_linker_symbols): Update callers. | |
1731 | * hppa-tdep.c (hppa_fix_call_dummy): Ditto. | |
b4b4b794 KI |
1732 | |
1733 | 2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com> | |
1734 | ||
1735 | * remote-m32r-sdi.c : New file, interface to m32r on-chip | |
1736 | debug interface, SDI (Scalable Debug Interface). | |
1737 | * NEWS: Mention m32r SDI protocol was supported. | |
1738 | * Makefile.in (remote-m32r-sdi.o): Add build rule. | |
1739 | * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o. | |
1740 | ||
51931cbb JJ |
1741 | 2003-10-15 Jeff Johnston <jjohnstn@redhat.com> |
1742 | ||
1743 | * ia64-linux-tdep.c: Include gdbcore.h. | |
1744 | (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed. | |
1745 | (ia64_linux_sigcontext_register_addr): Find the address of the | |
1746 | sigcontext area stored in the sigframe instead of using | |
1747 | a magic offset constant. | |
1748 | ||
84e7fd53 AC |
1749 | 2003-10-15 Andrew Cagney <cagney@redhat.com> |
1750 | ||
1751 | * remote.c (remote_search): Delete function. | |
1752 | * target.h (target_search): Delete disabled macro. | |
1753 | (struct target_ops): Delete disabled field "to_search". | |
1754 | ||
0f4d7c52 KB |
1755 | 2003-10-14 Kevin Buettner <kevinb@redhat.com> |
1756 | ||
1757 | * frv-tdep.c (frv_frame_this_id): Call inside_entry_func() | |
1758 | instead of deprecated_inside_entry_file(). | |
1759 | ||
2e952408 CV |
1760 | 2003-10-14 Corinna Vinschen <vinschen@redhat.com> |
1761 | ||
1762 | * sh-tdep.c: Fix copy/paste hangover in comment. | |
1763 | (sh_push_dummy_call_fpu): Accomodate double passing in little endian | |
1764 | mode. | |
1765 | (sh3e_sh4_extract_return_value): Ditto. | |
1766 | ||
7e86466e RH |
1767 | 2003-10-13 Richard Henderson <rth@redhat.com> |
1768 | ||
1769 | * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF. | |
1770 | * f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to | |
1771 | match c_val_print a bit closer. | |
1772 | ||
46a16dba KB |
1773 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
1774 | ||
1775 | * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants. | |
1776 | (frv_gdbarch_adjust_breakpoint_address): New function. | |
1777 | (frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address'' | |
1778 | method. | |
1779 | ||
76897487 KB |
1780 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
1781 | ||
1782 | * breakpoint.h (struct breakpoint): Add new member | |
1783 | ``requested_address''. | |
1784 | * breakpoint.c (breakpoint_adjustment_warning) | |
1785 | (adjust_breakpoint_address): New static functions. | |
1786 | (print_it_typical): Issue warning if breakpoint's address is different | |
1787 | from its requested address. | |
1788 | (set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1) | |
1789 | (breakpoint_re_set_one): Set breakpoint's | |
1790 | ``requested_address'' field. Set ``address'' field to the | |
1791 | result of calling adjust_breakpoint_address() on the requested | |
1792 | address. | |
1793 | ||
a1131521 KB |
1794 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
1795 | ||
1796 | * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method. | |
1797 | * gdbarch.h, gdbarch.c: Regenerate. | |
1798 | ||
6ce6d90f MK |
1799 | 2003-10-11 Mark Kettenis <kettenis@gnu.org> |
1800 | ||
155c1d33 MK |
1801 | * i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize |
1802 | TDEP->sc_num_regs. | |
1803 | ||
8a96bc77 MK |
1804 | * i386fbsd-tdep.c: New file. |
1805 | (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1806 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
1807 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from | |
1808 | i386bsd-tdep.c. | |
1809 | (_initialize_i386fbsd_tdep): New function. | |
1810 | (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles. | |
1811 | (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset, | |
1812 | TDEP->gregset_num_regs, TDEP->sizeof_gregset and | |
1813 | TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize | |
1814 | TDEP->sc_num_regs. | |
1815 | (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset, | |
1816 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
1817 | to initialize TDEP->sc_num_regs. | |
1818 | * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1819 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
1820 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove. | |
1821 | (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and | |
1822 | FreeBSD ELF OS/ABI's here. | |
1823 | * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c. | |
1824 | (i386fbsd-tdep.o): New target. | |
1825 | * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
1826 | * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
1827 | ||
477f40d1 MK |
1828 | * amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable. |
1829 | (amd64fbsd_init_abi): Set TDEP->gregset_reg_offset, | |
1830 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
1831 | in initialization of TDEP->sc_num_regs. | |
1832 | ||
c6b33596 MK |
1833 | * x86-64-tdep.c (x86_64_regset_from_core_section): New function. |
1834 | (x86_64_init_abi): Initialize regset_from_core_section if | |
1835 | appropriate. | |
1836 | ||
8446b36a MK |
1837 | * i386-tdep.c (i386_regset_from_core_section): New function. |
1838 | (i386_gdbarch_init): Initialize regset_from_core_section if | |
1839 | appropriate. | |
1840 | * i386-tdep.h (i386_regset_from_core_section): New declaration. | |
1841 | ||
c783cbd6 MK |
1842 | * i386-tdep.h (struct regset): Declare opaque. |
1843 | ||
6ce6d90f MK |
1844 | * gdbarch.sh (regset_from_core_section): New method. |
1845 | (struct regset): Declare opaque. | |
1846 | * gdbarch.c, gdbarch.h: Regenerated. | |
1847 | ||
b98ed7be AM |
1848 | 2003-10-11 Alan Modra <amodra@bigpond.net.au> |
1849 | ||
1850 | * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to | |
1851 | _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. | |
1852 | Correct test for pc within section. | |
1853 | ||
f6214256 MK |
1854 | 2003-10-11 Mark Kettenis <kettenis@gnu.org> |
1855 | ||
1856 | * gdbarch.sh: Remove trailing whitepsace from comments. | |
1857 | ||
a8f4cde1 RM |
1858 | 2003-10-08 Roland McGrath <roland@redhat.com> |
1859 | ||
1860 | * gcore.c (make_mem_sec): Function removed, folded into ... | |
1861 | (gcore_create_callback): ... here. To omit a section, clear its | |
1862 | SEC_LOAD bit rather than zeroing its size. | |
1863 | Omit read-only sections only if they correspond to a known disk file. | |
1864 | (gcore_copy_callback): Ignore sections without SEC_LOAD flag set. | |
1865 | ||
74276724 MS |
1866 | 2003-10-10 Michael Snyder <msnyder@redhat.com> |
1867 | ||
1868 | * d10v-tdep.c: Fix typo in comment. | |
1869 | ||
e754ae69 AC |
1870 | 2003-10-10 Andrew Cagney <cagney@redhat.com> |
1871 | ||
1872 | * rs6000-tdep.c (e500_store_return_value): Delete function. | |
1873 | (e500_extract_return_value): Delete function. | |
1874 | (rs6000_gdbarch_init): When SYSV, set "extract_return_value" and | |
1875 | "restore_return_value" to "ppc_sysv_abi_extract_return_value" and | |
1876 | "ppc_sysv_abi_restore_return_value" where applicable. | |
1877 | * ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare. | |
1878 | (ppc_sysv_abi_extract_return_value): Declare. | |
1879 | (ppc_sysv_abi_broken_store_return_value): Declare. | |
1880 | (ppc_sysv_abi_broken_extract_return_value): Declare. | |
1881 | (ppc_sysv_abi_broken_use_struct_convention:) Delete declaration. | |
1882 | * ppc-sysv-tdep.c (return_value_convention): Move definition to | |
1883 | start of file. | |
1884 | (do_ppc_sysv_return_value): New function. | |
1885 | (ppc_sysv_abi_extract_return_value): New function. | |
1886 | (ppc_sysv_abi_store_return_value): New function. | |
1887 | (ppc_sysv_abi_broken_extract_return_value): New function. | |
1888 | (ppc_sysv_abi_broken_store_return_value): New function. | |
1889 | (ppc_sysv_abi_use_struct_convention): Call | |
1890 | do_ppc_sysv_return_value. | |
1891 | ||
8d4ce20a JB |
1892 | 2003-10-10 J. Brobecker <brobecker@gnat.com> |
1893 | ||
1894 | * blockframe.c (inside_main_func): No longer use symbol_lookup() | |
1895 | to lookup the main function symbol. | |
1896 | ||
afce3d2a CV |
1897 | 2003-10-10 Corinna Vinschen <vinschen@redhat.com> |
1898 | ||
1899 | * sh-tdep.c (sh_treat_as_flt_p): New function to recognize float | |
1900 | types correctly. | |
1901 | (sh_push_dummy_call_fpu): Fix argument passing rules. | |
1902 | (sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize | |
1903 | float types. | |
1904 | (sh3e_sh4_store_return_value): Ditto. | |
1905 | ||
7fe958be EZ |
1906 | 2003-10-10 Elena Zannoni <ezannoni@redhat.com> |
1907 | ||
1908 | * sh-tdep.c (sh_use_struct_convention): Clarify one case in | |
1909 | comment. | |
1910 | ||
3f997a97 CV |
1911 | 2003-10-10 Corinna Vinschen <vinschen@redhat.com> |
1912 | ||
1913 | * sh-tdep.c (sh_use_struct_convention): Clean up to have a | |
1914 | more readable code. Accomodate passing of bitfields. | |
1915 | ||
8be9034a AC |
1916 | 2003-10-10 Andrew Cagney <cagney@redhat.com> |
1917 | ||
1918 | * Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h). | |
1919 | * rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set | |
1920 | push_dummy_call to ppc64_sysv_abi_push_dummy_call. | |
1921 | * ppc-sysv-tdep.c: Include "gdb_assert.h". | |
1922 | (ppc64_sysv_abi_push_dummy_call): New function. | |
1923 | (ppc64_sysv_abi_broken_push_dummy_call): New function. | |
1924 | * ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare. | |
1925 | (ppc64_sysv_abi_broken_push_dummy_call): Declare. | |
1926 | ||
85a453d5 KI |
1927 | 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com> |
1928 | ||
1929 | * NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas". | |
1930 | * README: Ditto. | |
1931 | * d10v-tdep.c: Ditto. | |
1932 | * h8300-tdep.c: Ditto. | |
1933 | * remote-e7000.c: Ditto. | |
1934 | * remote-hms.c: Ditto. | |
1935 | * ser-e7kpc.c: Ditto. | |
1936 | * sh-stub.c: Ditto. | |
1937 | * sh-tdep.c: Ditto. | |
1938 | * sh-tdep.h: Ditto. | |
1939 | * sh3-rom.c: Ditto. | |
1940 | * sh64-tdep.c: Ditto. | |
1941 | * top.c: Ditto. | |
1942 | * wince.c: Ditto. | |
1943 | * config/d10v/d10v.mt: Ditto. | |
1944 | * config/sh/embed.mt: Ditto. | |
1945 | * config/sh/linux.mt: Ditto. | |
1946 | * config/sh/tm-linux.h: Ditto. | |
1947 | * config/sh/tm-sh.h: Ditto. | |
1948 | * config/sh/wince.mt: Ditto. | |
1949 | ||
221c12ff AC |
1950 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
1951 | ||
1952 | * ppc-tdep.h (struct type): Declare opaque. | |
1953 | * x86-64-tdep.h (struct regcache): Declare opaque. | |
1954 | * sh-tdep.c (sh_do_fp_register): Delete "register" attribute, fix | |
1955 | coding style. | |
1956 | ||
ef5200c1 AC |
1957 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
1958 | ||
1959 | Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>: | |
1960 | * config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro. | |
1961 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
1962 | * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto. | |
1963 | * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto. | |
1964 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
1965 | * rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set | |
1966 | software_single_step to rs6000_software_single_step. | |
a8f4cde1 | 1967 | |
9644bbdd AC |
1968 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
1969 | ||
1970 | * MAINTAINERS: Mark m32r-elf as buildable with -Werror. | |
1971 | ||
db72fa6b MS |
1972 | 2003-10-09 Michael Snyder <msnyder@redhat.com> |
1973 | ||
f3efb16c MS |
1974 | * frame.h: Fix typo in comment. |
1975 | * dummy-frame.c: Fix typo in comment. | |
db72fa6b MS |
1976 | * d10v-tdep.c: Random whitespace/comment tweaks. |
1977 | ||
9a5cef92 EZ |
1978 | 2003-10-09 Elena Zannoni <ezannoni@redhat.com> |
1979 | ||
1980 | * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code. | |
f49c4e4e | 1981 | (sh_push_dummy_code): Delete function, it's only used for dummy calls |
9a5cef92 | 1982 | on stack. |
a8f4cde1 | 1983 | |
9a5cef92 EZ |
1984 | Based on input by Stephen Clarke (stephen.clarke@superh.com): |
1985 | * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI | |
1986 | in detail. | |
a8f4cde1 | 1987 | |
0f317a0c DJ |
1988 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
1989 | ||
1990 | * remote-mips.c (mips_initialize): Remove unneeded call to | |
1991 | get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
1992 | ||
bbab2f46 DJ |
1993 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
1994 | ||
1995 | * dwarf2expr.c (execute_stack_op): Don't treat the frame base as | |
1996 | a memory pointer. | |
1997 | ||
550950b8 JJ |
1998 | 2003-10-08 Jeff Johnston <jjohnstn@redhat.com> |
1999 | ||
2000 | * lin-lwp.c (stop_and_resume_callback): Set the resumed flag | |
2001 | for any lwp we resume. | |
2002 | (running_callback): Add lwps that have pending status events | |
2003 | against them to be considered running. | |
2004 | ||
15c69bc7 KI |
2005 | 2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com> |
2006 | ||
2007 | * m32r-tdep.c : Include "dis-asm.h". | |
2008 | * Makefile.in (m32r-tdep.o): Update dependencies. | |
2009 | ||
51065942 JB |
2010 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
2011 | ||
2012 | * completer.h (get_gdb_completer_word_break_characters): Delete. | |
2013 | * completer.c: include language.h. | |
2014 | (gdb_completer_word_break_characters): Delete. | |
2015 | (get_gdb_completer_word_break_characters): Delete. | |
2016 | (location_completer): Use the word break characters of the current | |
2017 | language. | |
2018 | (complete_line): Likewise. | |
2019 | (line_completion_function): Likewise. | |
2020 | (skip_quoted_chars): Likewise. | |
2021 | * Makefile.in (completer.o): Add dependency on language.h. | |
2022 | * top.c (init_main): Set the readline word break characters | |
2023 | to GDB's default word break characters. | |
2024 | ||
6084f43a JB |
2025 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
2026 | ||
2027 | * language.h (language_defn): new field, la_word_break_characters. | |
2028 | * language.c (unknown_language_defn): Set new field to | |
2029 | default_word_break_characters. | |
2030 | (auto_language_defn): Likewise. | |
2031 | (local_language_defn): Likewise. | |
2032 | * ada-lang.c (ada_language_defn): Likewise. | |
2033 | * c-lang.c (c_language_defn): Likewise. | |
2034 | (cplus_language_defn): Likewise. | |
2035 | (asm_language_defn): Likewise. | |
2036 | (minimal_language_defn): Likewise. | |
2037 | * f-lang.c (f_language_defn): Likewise. | |
2038 | * jv-lang.c (java_language_defn): Likewise. | |
2039 | * m2-lang.c (m2_language_defn): Likewise. | |
2040 | * objc-lang.c (objc_language_defn): Likewise. | |
2041 | * p-lang.c (pascal_language_defn): Likewise. | |
2042 | * scm-lang.c (scm_language_defn): Likewise. | |
2043 | ||
944fcfab AC |
2044 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
2045 | ||
2046 | * ppc-sysv-tdep.c: Re-indent. | |
2047 | ||
9f0a5303 JB |
2048 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
2049 | ||
2050 | * language.h (default_word_break_characters): Add prototype. | |
2051 | * language.c (default_word_break_characters): New function. | |
2052 | ||
7270b6ed AS |
2053 | 2003-10-06 Andreas Schwab <schwab@suse.de> |
2054 | ||
2055 | * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl | |
2056 | with %eax. | |
2057 | ||
a5d61f66 AC |
2058 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
2059 | ||
2060 | * Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and | |
2061 | "h8500-tdep.c". | |
2062 | (z8k-tdep.o): Delete custom build rule. | |
2063 | ||
28a86f5c AC |
2064 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
2065 | ||
1bfd8a83 AC |
2066 | * Makefile.in: Update all dependencies. |
2067 | ||
17144ef8 AC |
2068 | * MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted. |
2069 | No longer list PA as as obsolete candidate. List m32r as | |
2070 | broken instead of obsolete. | |
a8f4cde1 | 2071 | |
a5679ae5 AC |
2072 | * config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files. |
2073 | * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto. | |
2074 | * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto. | |
2075 | * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto. | |
2076 | * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto. | |
2077 | * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto. | |
2078 | * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto. | |
2079 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
2080 | * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto. | |
2081 | * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto. | |
2082 | * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto. | |
2083 | * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto. | |
2084 | * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto. | |
2085 | * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto. | |
2086 | * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto. | |
2087 | * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto. | |
2088 | * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto. | |
2089 | * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto. | |
2090 | * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto. | |
2091 | * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto. | |
2092 | * config/z8k/z8k.mt: Ditto. | |
2093 | ||
4a8269c0 AC |
2094 | * NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*, |
2095 | h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*, | |
2096 | mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*, | |
2097 | i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and | |
2098 | sparclite were removed. | |
2099 | * configure.host, configure.tgt: Remove corresponding tuples. | |
2100 | ||
41989fcd AC |
2101 | * breakpoint.c, breakpoint.h: Remove obsolete code. |
2102 | * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto. | |
2103 | * monitor.c, sparc-tdep.c, stabsread.c: Ditto. | |
2104 | * stabsread.h, xcoffread.c: Ditto. | |
2105 | ||
28a86f5c AC |
2106 | * z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file. |
2107 | * sparclet-stub.c, sparclet-rom.c: Delete obsolete file. | |
2108 | * sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file. | |
2109 | * m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file. | |
2110 | ||
4efdaa0d DL |
2111 | 2003-10-06 David Lecomber <dsl@sources.redhat.com> |
2112 | ||
2113 | * f-valprint.c: Reformatting | |
2114 | ||
ae53de43 MK |
2115 | 2003-10-06 Mark Kettenis <kettenis@gnu.org> |
2116 | ||
a8bb57e7 MK |
2117 | * x86-64-tdep.c: Remove duplicate comment. |
2118 | ||
ae53de43 MK |
2119 | * x86-64-tdep.c (x86_64_store_return_value): Don't use |
2120 | DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register | |
2121 | names for return values. This fixes a bug since we looked at %rbx | |
2122 | instead of %rdx. | |
2123 | ||
473f17b0 MK |
2124 | 2003-10-05 Mark Kettenis <kettenis@gnu.org> |
2125 | ||
2c261fae MK |
2126 | * x86-64-tdep.c: Include "regset.h". |
2127 | ||
473f17b0 MK |
2128 | * i386-tdep.h (struct gdbarch_tdep): Add members gregset, |
2129 | gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset, | |
2130 | sizeof_fpregset. | |
2131 | * i386-tdep.c: Include "regset.h". | |
2132 | (i386_supply_gregset): New function. | |
2133 | (i386_supply_fpregset): New function. | |
2134 | (i386_gdbarch_init): Initialze register set-related members of | |
2135 | TDEP. | |
2136 | * x86-64-tdep.c (x86_64_supply_fpregset): New function. | |
2137 | (x86_64_init_abi): Initialize TDEP->sizeof_fpregset. | |
2138 | ||
afd48b75 AC |
2139 | 2003-10-03 Andrew Cagney <cagney@redhat.com> |
2140 | ||
2141 | * rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI, | |
2142 | set extract_return_value, store_return_value and | |
2143 | use_struct_convention to ppc64_sysv_abi_extract_return_value, | |
2144 | ppc64_sysv_abi_store_return_value and | |
2145 | ppc64_sysv_abi_use_struct_convention. | |
2146 | * ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare. | |
2147 | (ppc64_sysv_abi_store_return_value): Declare. | |
2148 | (ppc64_sysv_abi_use_struct_convention): Declare. | |
2149 | * ppc-sysv-tdep.c (enum return_value_convention): Define. | |
2150 | (ppc64_sysv_abi_extract_return_value): New function. | |
2151 | (ppc64_sysv_abi_store_return_value): New function. | |
2152 | (ppc64_sysv_abi_use_struct_convention): New function. | |
2153 | (ppc64_sysv_abi_return_value): New function. | |
2154 | ||
9b540880 AC |
2155 | 2003-10-03 Andrew Cagney <cagney@redhat.com> |
2156 | ||
2157 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only | |
2158 | convert a descriptor to a function when it's in the ".opd" | |
2159 | section. | |
2160 | ||
8748518b CV |
2161 | 2003-10-03 Corinna Vinschen <vinschen@redhat.com> |
2162 | ||
2163 | * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and | |
2164 | reg_size to keep GCC silent. | |
2165 | ||
0fd85043 CV |
2166 | 2003-10-03 Corinna Vinschen <vinschen@redhat.com> |
2167 | ||
2168 | * dwarf2-frame.c (struct comp_unit): Add tbase member to store | |
2169 | base for DW_EH_PE_textrel encodings. | |
2170 | (read_encoded_value): Add a DW_EH_PE_textrel case. | |
2171 | (dwarf2_build_frame_info): Set unit.tbase to beginning of text | |
2172 | section. | |
2173 | ||
37b517aa MK |
2174 | 2003-10-03 Mark Kettenis <kettenis@gnu.org> |
2175 | ||
2176 | * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment. | |
2177 | ||
12c266ea AC |
2178 | 2003-10-02 Andrew Cagney <cagney@redhat.com> |
2179 | ||
2180 | * gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename | |
2181 | REGISTER_RAW_SIZE. | |
2182 | * gdbarch.h, gdbarch.c: Re-generate. | |
2183 | * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update. | |
2184 | * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update. | |
2185 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
2186 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
2187 | * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update. | |
2188 | * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update. | |
2189 | * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update. | |
2190 | * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update. | |
2191 | * remote-e7000.c, remote-mips.c, remote-sim.c: Update. | |
2192 | * remote-vxmips.c, remote-vxsparc.c, remote.c: Update. | |
2193 | * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update. | |
2194 | * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update. | |
2195 | * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update. | |
2196 | * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
2197 | * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update. | |
2198 | * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update. | |
a8f4cde1 | 2199 | |
78ba4af6 JB |
2200 | 2003-10-02 Jim Blandy <jimb@redhat.com> |
2201 | ||
2202 | * dwarf2read.c (struct die_info): Doc fix. | |
2203 | ||
617daa0e CV |
2204 | 2003-10-02 Corinna Vinschen <vinschen@redhat.com> |
2205 | ||
2206 | * sh-tdep.c: Running thru gdb_indent.sh. | |
2207 | ||
e5e33cd9 CV |
2208 | 2003-10-02 Corinna Vinschen <vinschen@redhat.com> |
2209 | ||
2210 | * sh-tdep.c (sh_justify_value_in_reg): New function. | |
2211 | (sh_stack_allocsize): Ditto. | |
2212 | (flt_argreg_array): New array used for floating point argument | |
2213 | passing. | |
2214 | (sh_init_flt_argreg): New function. | |
a8f4cde1 | 2215 | (sh_next_flt_argreg): Ditto. |
e5e33cd9 CV |
2216 | (sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to |
2217 | "pass_on_stack". Use new helper functions. Accomodate Renesas ABI. | |
2218 | Fix argument passing strategy. | |
2219 | (sh_push_dummy_call_nofpu): Ditto. | |
2220 | ||
5fe830e4 AC |
2221 | 2003-10-01 Andrew Cagney <cagney@redhat.com> |
2222 | ||
2223 | * value.h (register_value_being_returned): Declare. Replace | |
2224 | "value_being_returned". | |
2225 | * infcall.c (call_function_by_hand): Use | |
2226 | register_value_being_returned. | |
2227 | * infcmd.c (print_return_value): Call | |
2228 | "register_value_being_returned", handle struct return locally. | |
2229 | * values.c (register_value_being_returned): New function. Replace | |
2230 | "value_being_returned". | |
a8f4cde1 | 2231 | |
5fe830e4 | 2232 | 2003-09-30 Elena Zannoni <ezannoni@redhat.com> |
cf50a87a EZ |
2233 | |
2234 | * linux-proc.c (linux_do_registers): New function. | |
2235 | (linux_make_note_section): Use linux_do_registers in case of | |
2236 | single threaded inferior programs. | |
2237 | ||
64f395bf AC |
2238 | 2003-10-01 Andrew Cagney <cagney@redhat.com> |
2239 | ||
2240 | * infcall.c (call_function_by_hand): When STRUCT_RETURN, always | |
2241 | use STRUCT_ADDR. When not using "struct return convention", pass | |
2242 | "0" to "value_being_returned". Add FIXMEs. | |
2243 | * infcmd.c (print_return_value): Pass an explicit 0/1 to | |
2244 | value_being_returned. Add comments. | |
2245 | * values.c (value_being_returned): Add fixme. | |
2246 | * hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME. | |
2247 | (hppa_value_returned_from_stack): Add FIXME. | |
2248 | ||
639d11d3 DC |
2249 | 2003-09-30 David Carlton <carlton@kealia.com> |
2250 | ||
2251 | * dwarf2read.c (struct die_info): Add 'parent' field; replace | |
2252 | 'has_children' and 'next' by 'child' and 'sibling'. | |
2253 | (read_comp_unit): Rework algorithm, breaking body into | |
2254 | read_die_and_children and read_die_and_siblings. | |
2255 | (read_die_and_children, read_die_and_siblings): New. | |
2256 | (read_full_die): Add 'has_children' argument; set it instead of | |
2257 | the die's 'has_children' field. Minor formatting cleanup. | |
2258 | (free_die_list): Use die->child and die->sibling instead of | |
2259 | die->next. | |
2260 | (dump_die_list): Ditto. | |
2261 | (sibling_die): Use die->sibling. | |
2262 | (psymtab_to_symtab_1): Use die's 'child' field in place of its | |
2263 | 'has_children' and 'next' fields. | |
a8f4cde1 RM |
2264 | (process_die, read_file_scope, read_func_scope) |
2265 | (read_lexical_block_scope, read_structure_scope) | |
2266 | (read_enumeration, read_array_type, read_common_block) | |
639d11d3 DC |
2267 | (read_namespace, read_subroutine_type, dump_die): Ditto. |
2268 | ||
5bffac25 AC |
2269 | 2003-09-30 Andrew Cagney <cagney@redhat.com> |
2270 | ||
2271 | * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone | |
2272 | to 224, not 220. | |
2273 | ||
f30992d4 AC |
2274 | 2003-09-30 Andrew Cagney <cagney@redhat.com> |
2275 | ||
2276 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename | |
2277 | REGISTER_VIRTUAL_SIZE. | |
2278 | * gdbarch.h, gdbarch.c: Regenerate. | |
2279 | * vax-tdep.h, sparc-tdep.c, regcache.h: Update. | |
2280 | * regcache.c, mn10300-tdep.c, mips-tdep.c: Update. | |
2281 | * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update. | |
2282 | ||
2e092625 AC |
2283 | 2003-09-29 Andrew Cagney <cagney@redhat.com> |
2284 | ||
2285 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename | |
7bb11558 | 2286 | REGISTER_VIRTUAL_TYPE. |
2e092625 AC |
2287 | * gdbarch.h, gdbarch.c: Regenerate. |
2288 | * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. | |
2289 | * sh64-tdep.c, sparc-tdep.c: Update. | |
4deab737 AC |
2290 | |
2291 | * remote-vxsparc.c (vx_read_register): Replace bzero with memset. | |
2292 | * remote-vxmips.c (vx_read_register): Ditto. | |
2293 | * remote-vx68.c (vx_read_register): Ditto. | |
2294 | * gnu-nat.c (inf_validate_procs): Ditto. | |
2295 | ||
7a5dd6ee JB |
2296 | 2003-09-29 J. Brobecker <brobecker@gnat.com> |
2297 | ||
2298 | * infcall.c (call_function_by_hand): Fix build failure | |
2299 | introduced in the previous change to this file. | |
2300 | ||
1fe43d45 AC |
2301 | 2003-09-29 Andrew Cagney <cagney@redhat.com> |
2302 | ||
2303 | * NEWS: Mention Objective-C. | |
2304 | ||
e28a332c JG |
2305 | 2003-09-29 Jerome Guitton <guitton@act-europe.fr> |
2306 | ||
2307 | * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to | |
2308 | test if the register has been saved on the stack. | |
2309 | (arm_scan_prologue_cache): When analysing the instruction | |
2310 | "str lr, [sp, #-4]", save the address where lr has been stored. | |
2311 | ||
9ff63c35 AC |
2312 | 2003-09-28 Andrew Cagney <cagney@redhat.com> |
2313 | ||
7f5f525d AC |
2314 | * frame.c (frame_read_unsigned_register): Delete function. |
2315 | * frame.h (frame_read_unsigned_register): Delete declaration. | |
2316 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
2317 | get_frame_register_unsigned. | |
2318 | (sparc_frame_saved_pc, sparc_pop_frame): Ditto. | |
2319 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
2320 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
a8f4cde1 | 2321 | |
7f5f525d AC |
2322 | * frame.h (frame_read_register): Delete declaration. |
2323 | * frame.c (frame_read_register): Delete function. | |
2324 | * arch-utils.c (legacy_register_to_value): Use get_frame_register. | |
2325 | * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto. | |
2326 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto. | |
2327 | * mips-tdep.c (mips_register_to_value): Ditto. | |
2328 | * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto. | |
2329 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
2330 | ||
2331 | * frame.c (frame_read_signed_register): Delete function. | |
2332 | (frame_read_unsigned_register): Update comments. | |
2333 | * frame.h (frame_read_signed_register): Delete declaration. | |
2334 | * h8300-tdep.c (h8300_print_register): Use | |
2335 | get_frame_register_signed. | |
2336 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
2337 | ||
9ff63c35 AC |
2338 | * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): |
2339 | Rename VALUE_RETURNED_FROM_STACK. | |
2340 | * infcmd.c (print_return_value): Update. | |
2341 | * infcall.c (call_function_by_hand): Update. | |
2342 | ||
41d041d6 MK |
2343 | 2003-09-28 Mark Kettenis <kettenis@gnu.org> |
2344 | ||
2345 | * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add | |
2346 | regcache argument and reverse the order of the other two | |
2347 | arguments. Remove local regcache variable. Determine | |
2348 | architecture from REGCACHE. Update comments. | |
2349 | * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and | |
2350 | reverse the order of the other two arguments. Remove local | |
2351 | regcache variable. Determine architecture from REGCACHE. Update | |
2352 | comments. | |
2353 | * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust | |
2354 | prototypes. Update comments. | |
2355 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust | |
2356 | comment. | |
2357 | * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers): | |
2358 | Update. | |
2359 | * go32-nat.c (fetch_register, go32_fetch_registers): Update. | |
2360 | * i386-interix-nat.c (supply_fpregset): Update. | |
2361 | * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update. | |
2362 | * i386-nto-tdep.c (i386nto_supply_fpregset): Update. | |
2363 | * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update. | |
2364 | * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update. | |
2365 | * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers): | |
2366 | Update. | |
2367 | * i386obsd-tdep.c (fetch_core_registers): Update. | |
2368 | * i386v4-nat.c (supply_fpregset): Update. | |
2369 | * x86-64-linux-nat.c (supply_fpregset): Update. | |
2370 | * x86-64-linux-tdep.c (fetch_core_registers): Update. | |
a8f4cde1 | 2371 | |
1cb97e17 MK |
2372 | 2003-09-27 Mark Kettenis <kettenis@gnu.org> |
2373 | ||
5716833c MK |
2374 | * i386-tdep.h: Put opaque declarations in alphabetical |
2375 | order. Remove spurious whitespace. | |
2376 | (struct gdbarch_tdep): add st0_regnum and mm0_regnum members. | |
2377 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes. | |
2378 | * i386-tdep.c (MM0_REGNUM): Remove define. | |
2379 | (i386_mmx_regnum_p): Add gdbarch argument. | |
2380 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument. | |
2381 | Rewrite using new macro definitions for FPU/SSE registers. | |
2382 | (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro | |
2383 | definitions from i387-tdep.h. | |
2384 | (i386_register_name): Update. | |
2385 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use | |
2386 | new macro definitions for FPU/SSE registers. | |
2387 | (i386_extract_return_value): Determine whether floating-point | |
2388 | registers are present by examining REGCACHE's architecture. | |
2389 | (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE | |
2390 | instead of FPU_REG_RAW_SIZE. Use new macro definitions for | |
2391 | FPU/SSE registers. | |
2392 | (i386_register_type): Update. | |
2393 | (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro | |
2394 | definitions for FPU registers. Use REGCACHE's architecture to | |
2395 | determine the appropriate register numbers. | |
2396 | (i386_pseudo_register_read, i386_pseudo_register_write, | |
2397 | i386_register_reggroup_p): Update. | |
2398 | (i386_gdbarch_init): Initialize TDEP->st0_regnum and | |
2399 | TDEP->mm0_regnum. | |
2400 | * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, | |
2401 | I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM, | |
2402 | I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, | |
2403 | I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines. | |
2404 | (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave, | |
2405 | i387_fill_fxsave): Change type of fsave/fxsave argument from `char | |
2406 | *' to `void *'. | |
2407 | * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR, | |
2408 | i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR, | |
2409 | i387_supply_fxsave, i387_fill_fxsave): Update to use new macro | |
2410 | definitions for FPU/SSE registers. | |
2411 | (FXSAVE_MXCSR_ADDR): New define. | |
2412 | * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and | |
2413 | TDEP->mm0_regnum. | |
2414 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines. | |
2415 | (I387_ST0_REGNUM): Define. | |
2416 | ||
41d35cb0 MK |
2417 | * regcache.h (get_regcache_arch): New prototype. |
2418 | * regcache.c (get_regcache_arch): New function. | |
2419 | ||
54e74f72 MK |
2420 | * x86-64-tdep.c (x86_64_store_return_value): Remove spurious |
2421 | whitespace. | |
2422 | ||
1cb97e17 MK |
2423 | * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): |
2424 | Initialize using ARRAY_SIZE. | |
2425 | ||
0968aa8c AC |
2426 | 2003-09-27 Andrew Cagney <cagney@redhat.com> |
2427 | ||
2428 | * arch-utils.c (deprecated_init_frame_pc_default): Rename | |
2429 | "init_frame_pc_default". | |
2430 | * arch-utils.h (deprecated_init_frame_pc_default): Update. | |
2431 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2432 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2433 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2434 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
2435 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2436 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2437 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2438 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2439 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2440 | * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. | |
2441 | ||
54c84734 MK |
2442 | 2003-09-26 Mark Kettenis <kettenis@gnu.org> |
2443 | ||
2444 | * regset.h: New file. | |
2445 | * Makefile.in (regset_h): Add. | |
2446 | ||
1b1d3794 AC |
2447 | 2003-09-25 Andrew Cagney <cagney@redhat.com> |
2448 | ||
2449 | * frame.h (deprecated_frame_saved_regs): Rename | |
2450 | get_frame_saved_regs. | |
2451 | * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. | |
2452 | * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. | |
2453 | * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. | |
2454 | * s390-tdep.c, sh64-tdep.c, stack.c: Update. | |
2455 | * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
2456 | ||
e6beb428 AC |
2457 | 2003-09-25 Andrew Cagney <cagney@redhat.com> |
2458 | ||
2459 | * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted | |
2460 | file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions, | |
2461 | and Java. | |
2462 | * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and | |
2463 | arm*-*-* do not use the new frame code. | |
2464 | ||
710122da DC |
2465 | 2003-09-25 David Carlton <carlton@kealia.com> |
2466 | ||
2467 | * c-exp.y: Remove 'register' declarations. | |
2468 | * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto. | |
2469 | ||
79c2c32d DC |
2470 | 2003-09-25 David Carlton <carlton@kealia.com> |
2471 | ||
2472 | * c-exp.y: Include cp-support.h. Add qualified_type. | |
2473 | (yylex): Delete nested type hack; add comments. | |
2474 | * cp-namespace.c (cp_lookup_nested_type): New function. | |
2475 | * cp-support.h: Declare cp_lookup_nested_type. | |
2476 | * eval.c (evaluate_subexp_standard): Call value_aggregate_elt | |
2477 | instead of value_struct_elt_for_reference. | |
2478 | * valops.c: Include cp-support.h. | |
2479 | (value_aggregate_elt): New function. | |
2480 | (value_namespace_elt): Ditto. | |
2481 | (value_struct_elt_for_reference): Make static. | |
2482 | * value.h: Delete declaration of value_struct_elt_for_reference; | |
2483 | add declaration for value_aggregate_elt. | |
2484 | * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h). | |
2485 | (valops.o): Ditto. | |
2486 | ||
898c62f5 DJ |
2487 | 2003-09-25 Daniel Jacobowitz <drow@mvista.com> |
2488 | ||
2489 | * stack.c: Include "reggroups.h". | |
2490 | (frame_info): Only display registers in all_reggroup. | |
2491 | * Makefile.in (stack.o): Update dependencies. | |
2492 | ||
28cd8767 JG |
2493 | 2003-09-25 Jerome Guitton <guitton@act-europe.fr> |
2494 | ||
2495 | * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and | |
2496 | "add ip, sp #n" in the prologue. | |
2497 | (arm_scan_prologue): Ditto. | |
2498 | ||
a4ab2b5d JG |
2499 | 2003-09-25 Jerome Guitton <guitton@act-europe.fr> |
2500 | ||
2501 | * MAINTAINERS (write after approval): Add myself. | |
2502 | ||
3f244638 AS |
2503 | 2003-09-25 Andreas Schwab <schwab@suse.de> |
2504 | ||
2505 | * m68k-tdep.c: Include "dwarf2-frame.h". | |
2506 | (m68k_gdbarch_init): Add the DWARF CFI frame unwinder. | |
2507 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
2508 | ||
1c0159e0 CV |
2509 | 2003-09-25 Corinna Vinschen <vinschen@redhat.com> |
2510 | ||
2511 | * sh-tdep.c (struct frame_extra_info): Remove. | |
2512 | (struct sh_frame_cache): New structure. | |
2513 | (GET_SOURCE_REG): New macro extracting source register of an opcode. | |
2514 | (GET_TARGET_REG): Ditto but target register. | |
2515 | (GET_PUSHED_REG): Remove. | |
2516 | (IS_MOV_ARG_TO_REG): New macro. | |
2517 | (IS_MOV_ARG_TO_IND_R14): New macro. | |
2518 | (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. | |
2519 | (IS_MOVW_PCREL_TO_REG): New macro. | |
2520 | (IS_MOVL_PCREL_TO_REG): New macro. | |
2521 | (IS_SUB_REG_FROM_SP): New macro. | |
2522 | (IS_ARG_MOV): Remove. | |
2523 | (IS_MOV_TO_R14): Remove. | |
2524 | (IS_RESTORE_FP): New macro. | |
2525 | (IS_RTS): New macro. | |
2526 | (IS_LDS): New macro. | |
2527 | (IS_MOV_FP_SP): New macro. | |
2528 | (IS_ADD_REG_TO_FP): New macro. | |
2529 | (IS_ADD_IMM_FP): New macro. | |
2530 | (sh_skip_prologue_hard_way): Remove. | |
2531 | (sh_saved_pc_after_call): Remove. | |
2532 | (sh_frame_chain): Remove. | |
2533 | (sh_find_callers_reg): Remove. | |
a8f4cde1 | 2534 | (sh_nofp_frame_init_saved_regs): Remove. |
1c0159e0 CV |
2535 | (sh_fp_frame_init_saved_regs): Remove. |
2536 | (sh_init_extra_frame_info): Remove. | |
2537 | (sh_analyze_prologue): New function. | |
2538 | (sh_skip_prologue): Remove deprecated code. Rely on new function | |
2539 | sh_analyze_prologue when after_prologue fails. | |
2540 | (sh_frame_saved_pc): Remove. | |
2541 | (sh_alloc_frame_cache): New function. | |
2542 | (sh_frame_cache): Ditto. | |
2543 | (sh_frame_prev_register): Ditto. | |
2544 | (sh_frame_this_id): Ditto. | |
2545 | (sh_frame_unwind): New structure defining the heuristic frame | |
2546 | sniffer interface. | |
2547 | (sh_frame_sniffer): New function. | |
2548 | (sh_unwind_sp): Ditto. | |
2549 | (sh_unwind_pc): Ditto. | |
2550 | (sh_unwind_dummy_id): Ditto. | |
2551 | (sh_frame_base_address): Ditto. | |
2552 | (sh_frame_base): New structure defining new frame base code. | |
2553 | (sh_in_function_epilogue_p): New function. | |
2554 | (sh_gdbarch_init): Restructure and simplify to eliminate deprecated | |
2555 | code and to call all new code instead. Initialize dwarf2 and | |
2556 | heuristic frame sniffer. | |
2557 | ||
5f9769d1 PH |
2558 | 2003-09-24 Paul N. Hilfinger <hilfingr@nile.gnat.com> |
2559 | ||
a8f4cde1 RM |
2560 | * parser-defs.h (struct exp_descriptor): New definition, containing |
2561 | language-specific info for printing, prefixifying, dumping, and | |
5f9769d1 PH |
2562 | evaluating expressions. |
2563 | (exp_descriptor_standard): Declare new variable. | |
2564 | (print_subexp): Make global and declare here (from expprint.c). | |
2565 | (dump_subexp): Ditto. | |
2566 | (dump_subexp_body_standard): Declare. | |
2567 | (operator_length_standard): Declare. | |
2568 | (op_name_standard): Declare. | |
2569 | (print_subexp): Declare. | |
2570 | (print_subexp_standard): Declare. | |
2571 | ||
2572 | * language.h (struct language_defn): Add la_exp_desc field to hold | |
2573 | pointer to table for language-specific operators. | |
2574 | Remove evaluate_exp field, which is now in struct exp_descriptor. | |
a8f4cde1 RM |
2575 | |
2576 | * parse.c (operator_length): Move most code to new | |
5f9769d1 | 2577 | operator_length_standard function. Use language-specific information. |
a8f4cde1 | 2578 | (operator_length_standard): New function taking most code from |
5f9769d1 PH |
2579 | operator_length. |
2580 | (exp_descriptor_standard): New constant. | |
a8f4cde1 RM |
2581 | |
2582 | * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 | |
5f9769d1 | 2583 | and OP_EXTENDED_LAST. |
a8f4cde1 RM |
2584 | |
2585 | * expprint.c (print_subexp): Use language-specific print_subexp. | |
5f9769d1 PH |
2586 | Make global; remove static declaration. |
2587 | Move most code to print_subexp_standard. | |
a8f4cde1 | 2588 | (print_subexp_standard): New function, containing code formerly in |
5f9769d1 PH |
2589 | print_subexp. |
2590 | (op_name): Add expression to argument signature. | |
a8f4cde1 | 2591 | Use langauge-specific op_name. |
5f9769d1 PH |
2592 | Move most code to op_name_standard. |
2593 | (op_name_standard): New function, containing code formerly in op_name. | |
2594 | (dump_subexp): Use new version of op_name function. | |
2595 | Use language-specific dump_subexp_body, and move most existing code to | |
2596 | dump_subexp_body_standard. | |
2597 | (dump_raw_expression): Use new op_name interface. | |
2598 | (dump_subexp_body): Move most code to dump_subexp_body_standard. | |
2599 | (dump_subexp_body_standard): New function, containing code formerly | |
2600 | in dump_subexp_body. | |
a8f4cde1 | 2601 | |
5f9769d1 PH |
2602 | * language.c (unknown_language): Add default la_exp_desc field and |
2603 | remove evaluate_exp field. | |
2604 | (auto_language): Ditto. | |
2605 | (local_language): Ditto. | |
2606 | * f-lang.c (f_language_defn): Ditto. | |
2607 | * c-lang.c (c_language_defn): Ditto. | |
2608 | (cplus_language_defn): Ditto. | |
2609 | (asm_language_defn): Ditto. | |
2610 | (minimal_language_defn): Ditto. | |
2611 | * p-lang.c (pascal_language_defn): Ditto. | |
2612 | * m2-lang.c (m2_language_defn): Ditto. | |
2613 | * objc-lang.c (objc_language_defn): Ditto. | |
a8f4cde1 RM |
2614 | |
2615 | * jv-lang.c (exp_descriptor_java): New variable, containing | |
5f9769d1 PH |
2616 | Java-specific expression evaluator. |
2617 | (java_language_defn): Add la_exp_desc field and remove evaluate_exp | |
2618 | field. | |
a8f4cde1 | 2619 | * scm-lang.c (exp_descriptor_scm): New variable, containing |
5f9769d1 PH |
2620 | Scheme-specific expression evaluator. |
2621 | (scm_language_defn): Add la_exp_desc field and remove evaluate_exp | |
2622 | field. | |
2623 | * objc-lang.c (print_object_command): Take evaluate_exp from the | |
2624 | la_exp_desc field. | |
a8f4cde1 | 2625 | |
5f9769d1 | 2626 | * Makefile.in (eval.o): Add dependency on parser-defs.h. |
a8f4cde1 RM |
2627 | |
2628 | * eval.c: Include parser-defs.h for the full declaration of | |
5f9769d1 PH |
2629 | la_exp_desc's type. |
2630 | (evaluate_subexp): Get evaluate_exp out of la_exp_desc field. | |
a8f4cde1 | 2631 | |
24daaebc PH |
2632 | 2003-09-23 Paul N. Hilfinger <hilfingr@nile.gnat.com> |
2633 | ||
2634 | * parser-defs.h (operator_length): Declare. | |
a8f4cde1 | 2635 | |
24daaebc PH |
2636 | * parse.c (length_of_subexp): Use operator_length to get operator |
2637 | lengths and arities for operators. | |
2638 | Move most code to new operator_length function. | |
a8f4cde1 | 2639 | (operator_length): New function absorbing most code from |
24daaebc PH |
2640 | length_of_subexp. |
2641 | (prefixify_subexp): Remove large case and use operator_length instead. | |
2642 | (parse_exp_1): Use renamings: | |
a8f4cde1 | 2643 | dump_prefix_expression => dump_raw_expression and |
24daaebc | 2644 | dump_postfix_expression => dump_prefix_expression. |
a8f4cde1 | 2645 | |
24daaebc PH |
2646 | * expression.h (dump_prefix_expression): Rename to ... |
2647 | (dump_raw_expression): New name. | |
2648 | (dump_postfix_expression): Rename to ... | |
2649 | (dump_prefix_expression): New name. | |
a8f4cde1 | 2650 | |
24daaebc PH |
2651 | * expprint.c (dump_subexp): Make global. Add comment. |
2652 | Move most existing code to dump_subexp_body. | |
2653 | (dump_subexp_body): New function. | |
2654 | (dump_prefix_expression): Rename to dump_raw_expression. | |
a8f4cde1 | 2655 | Remove attempt to print the expression via print_expression: it can't |
24daaebc PH |
2656 | work before the expression is prefixified. |
2657 | (dump_raw_expression): Renamed from dump_prefix_expression. | |
a8f4cde1 | 2658 | (dump_postfix_expression): Rename to dump_prefix_expression, since |
24daaebc | 2659 | that's what it does. |
a8f4cde1 | 2660 | Remove 'note' parameter, since this routine must be used on |
24daaebc PH |
2661 | prefixified expression. |
2662 | (dump_prefix_expression): Renamed from dump_postfix_expression. | |
a8f4cde1 | 2663 | |
8c2957c4 JB |
2664 | 2003-09-22 Jim Blandy <jimb@redhat.com> |
2665 | ||
2666 | * dwarf2read.c (read_array_type): When building the type for an | |
2667 | array of unspecified length, make sure to choose the upper bound | |
2668 | so that the array's total length comes out to be zero --- that's | |
2669 | how we represent such arrays. | |
2670 | ||
592e3010 MC |
2671 | 2003-09-22 Michael Chastain <mec@shout.net> |
2672 | ||
2673 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
2674 | ||
365c70b1 JJ |
2675 | 2003-09-22 Jeff Johnston <jjohnstn@redhat.com> |
2676 | ||
2677 | * top.c (quit_force): Fix indirect call to quit_target so | |
2678 | a struct qt_args pointer is passed. | |
2679 | ||
5d6eb653 AC |
2680 | 2003-09-22 Andrew Cagney <cagney@redhat.com> |
2681 | ||
2682 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
2683 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
2684 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
2685 | "init_frame_pc". | |
2686 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2687 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
2688 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
2689 | declaration. | |
2690 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
2691 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
2692 | declaration. | |
2693 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
2694 | ||
b222a67f AG |
2695 | 2003-09-22 Anthony Green <green@redhat.com> |
2696 | ||
2697 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
2698 | declaration. | |
2699 | ||
d5b5ac79 AC |
2700 | 2003-09-20 Andrew Cagney <cagney@redhat.com> |
2701 | ||
deafb061 AC |
2702 | * breakpoint.c: Eliminate ARGSUSED. |
2703 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
2704 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
2705 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
2706 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
2707 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
2708 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
2709 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
2710 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
2711 | * wince.c, remote-vx.c: Ditto. | |
2712 | ||
d5b5ac79 AC |
2713 | * cli/cli-script.c: Remove "register" attributes. |
2714 | * config/pa/tm-hppa.h: Ditto. | |
2715 | * cli/cli-decode.c: Ditto. | |
2716 | * cli/cli-cmds.c: Ditto. | |
2717 | ||
c6316faa AC |
2718 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
2719 | ||
2720 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
2721 | DEPRECATED_NPC_REGNUM. | |
2722 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
2723 | ||
f4f99b11 CF |
2724 | 2003-09-19 Christopher Faylor <cgf@redhat.com> |
2725 | ||
2726 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
2727 | ||
1708f284 JB |
2728 | 2003-09-19 Jim Blandy <jimb@redhat.com> |
2729 | ||
2730 | * macrotab.c (macro_include): Use the correct comparison to find | |
2731 | the appropriate place for this inclusion in the list. | |
2732 | ||
b9fbf434 AC |
2733 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
2734 | ||
2735 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
2736 | (DEPRECATED_HPUX_TEXT_END): Define. | |
2737 | (deprecated_hpux_text_end): Declare. | |
2738 | (struct target_ops): Declare opaque. | |
2739 | * hppah-nat.c (text_end): Make static. | |
2740 | (deprecated_hpux_text_end): New function. | |
2741 | * exec.c (text_end): Delete global variable. | |
2742 | (NEED_TEXT_START_END): Do not define. | |
2743 | (exec_file_attach): Replace code computing "text_end" code with | |
2744 | call to DEPRECATED_HPUX_TEXT_END. | |
2745 | ||
5b03f266 AC |
2746 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
2747 | ||
2748 | * utils.c (align_up, align_down): New functions. | |
2749 | * defs.h (align_up, align_down): Declare. | |
2750 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
2751 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
2752 | and "align_down". | |
2753 | (round_up, round_down): Delete functions. | |
2754 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
2755 | "align_down". | |
2756 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
2757 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
2758 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
2759 | "align_up" and "align_down". | |
2760 | (round_up, round_down): Delete macros. | |
2761 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
2762 | "align_down". | |
2763 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
2764 | ||
51db5742 JB |
2765 | 2003-09-18 J. Brobecker <brobecker@gnat.com> |
2766 | ||
2767 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
2768 | hard-coded constant. Use the proper machine name instead. | |
2769 | ||
77949794 AC |
2770 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2771 | ||
2772 | * sparc-tdep.c (legacy_register_name): Delete function. | |
2773 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
2774 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
2775 | * infcmd.c (gdb_register_name): Delete variable. | |
2776 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
2777 | REGISTER_NAME and "tm.h". | |
2778 | * gdbarch.h, gdbarch.c: Regenerate. | |
2779 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
2780 | REGISTER_NAMES in comments. | |
2781 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
2782 | * m68klinux-nat.c (regmap): Ditto. | |
2783 | ||
b55c33cc JB |
2784 | 2003-09-17 Jim Blandy <jimb@redhat.com> |
2785 | ||
2786 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
2787 | ||
957e27ac AC |
2788 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2789 | ||
2790 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
2791 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
2792 | "ppcnbsd_use_struct_convention". | |
2793 | ||
192cb3d4 MK |
2794 | 2003-09-17 Mark Kettenis <kettenis@gnu.org> |
2795 | ||
2796 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
2797 | * gdbarch.h, gdbarch.c: Regenerate. | |
2798 | (stabs_argument_has_addr): New architecture method. | |
2799 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
2800 | * arch-utils.c: Include "buildsym.h". | |
2801 | (default_stabs_argument_has_addr): New function. | |
2802 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
2803 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
2804 | ||
efe59759 AC |
2805 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2806 | ||
2807 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
2808 | * gdbarch.h, gdbarch.c: Regenerate. | |
2809 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
2810 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
2811 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
2812 | * sparcnbsd-tdep.c: Update. | |
a8f4cde1 | 2813 | |
62700349 AC |
2814 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2815 | ||
2816 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
2817 | * gdbarch.h, gdbarch.c: Regenerate. | |
2818 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
2819 | * d10v-tdep.c, frame.c: Update. | |
2820 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
2821 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
2822 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
2823 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
2824 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
2825 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
2826 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
2827 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
2828 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
2829 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
2830 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
2831 | * config/pa/nm-hppah.h: Update. | |
2832 | ||
b9ff3018 AC |
2833 | 2003-09-16 Andrew Cagney <cagney@redhat.com> |
2834 | ||
2835 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
2836 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
2837 | (ppc_linux_use_struct_convention): New function. | |
2838 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
2839 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
2840 | "rs6000_use_struct_convention". | |
2841 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
2842 | declaration. | |
2843 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
2844 | Delete function. | |
2845 | ||
aa1ee363 AC |
2846 | 2003-09-16 Andrew Cagney <cagney@redhat.com> |
2847 | ||
2848 | * buildsym.c: Remove more occurances of "register". | |
2849 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
2850 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
2851 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
2852 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
2853 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
2854 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
2855 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
2856 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
2857 | ||
f2ea0907 CV |
2858 | 2003-09-16 Corinna Vinschen <vinschen@redhat.com> |
2859 | ||
2860 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
2861 | numbers to enumeration values. | |
2862 | * sh-tdep.c: Accomodate above change. | |
2863 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
2864 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
2865 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
2866 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
2867 | (IS_FPUSH): Rename from IS_FMOV. | |
2868 | (sh_extract_struct_value_address): Remove useless comment. | |
2869 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
2870 | instead of own local values. | |
2871 | (sh_dump_tdep): Remove. | |
2872 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
2873 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
2874 | ||
1c704f11 AC |
2875 | 2003-09-15 Andrew Cagney <cagney@redhat.com> |
2876 | ||
2877 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
2878 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
2879 | ||
ac79b88b DJ |
2880 | 2003-09-15 Daniel Jacobowitz <drow@mvista.com> |
2881 | ||
2882 | * values.c (unpack_double): Call floatformat_is_valid. | |
2883 | ||
1c671366 MK |
2884 | 2003-09-15 Mark Kettenis <kettenis@gnu.org> |
2885 | ||
de5227fb MK |
2886 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
2887 | ps_strings into a long. | |
2888 | ||
1c671366 MK |
2889 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
2890 | _initialize_am64fbsd_nat. | |
2891 | ||
a604369a KB |
2892 | 2003-09-15 Kevin Buettner <kevinb@redhat.com> |
2893 | ||
2894 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
2895 | associated with DW_AT_ranges attribute is out of bounds. | |
2896 | ||
b3cacbee DL |
2897 | 2003-09-15 David Lecomber <dsl@sources.redhat.com> |
2898 | ||
2899 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
2900 | ||
d0f37bb2 MC |
2901 | 2003-09-14 Michael Chastain <mec@shout.net> |
2902 | ||
2903 | * config/m68k/nm-apollo68v.h: Delete. | |
2904 | * config/m68k/xm-apollo68v.h: Delete. | |
2905 | ||
69517000 AC |
2906 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
2907 | ||
2908 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
2909 | * dcache.c: Update copyrights and descriptions. | |
2910 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
2911 | ||
ef8b349d AC |
2912 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
2913 | ||
2914 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
2915 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
2916 | ||
52f0bd74 AC |
2917 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
2918 | ||
2919 | * alpha-nat.c: Remove some occurances of "register". | |
2920 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
2921 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
2922 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
2923 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
2924 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
2925 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
2926 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
2927 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
2928 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
2929 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
2930 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
2931 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
2932 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
2933 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
2934 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
2935 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
2936 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
2937 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
2938 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
2939 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
2940 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
2941 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
a8f4cde1 | 2942 | |
4a4b3fed AC |
2943 | 2003-09-13 Andrew Cagney <cagney@redhat.com> |
2944 | ||
2945 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
2946 | * ppc-tdep.h (struct regcache): Declare opaque. | |
2947 | * objfiles.h (struct objfile_data): Declare opaque. | |
2948 | * cp-support.h (struct objfile): Declare opaque. | |
2949 | * linux-nat.h (target_waitstatus): Declare opaque. | |
2950 | ||
2110b94f MK |
2951 | 2003-09-14 Mark Kettenis <kettenis@gnu.org> |
2952 | ||
1c671366 MK |
2953 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
2954 | (stabs_argument_has_addr): New architecture method. | |
2955 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
2956 | * arch-utils.c: Include "buildsym.h". | |
2957 | (default_stabs_argument_has_addr): New function. | |
2958 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
2959 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
2960 | ||
2110b94f MK |
2961 | * cris-tdep.c (cris_gdbarch_init): Set |
2962 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
2963 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
2964 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
2965 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
2966 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
2967 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
2968 | ||
48436ce6 AC |
2969 | 2003-09-13 Andrew Cagney <cagney@redhat.com> |
2970 | ||
2971 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
2972 | parameters. | |
2973 | * value.h (using_struct_return): Update declaration. | |
2974 | * infcmd.c (finish_command_continuation): Update. | |
2975 | (finish_command): Update. | |
2976 | * infcall.c (call_function_by_hand): Update. | |
2977 | * eval.c (evaluate_subexp_standard): Update. | |
2978 | ||
403d9909 CF |
2979 | 2003-09-13 Christopher Faylor <cgf@redhat.com> |
2980 | ||
2981 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
2982 | SSE registers since gdb will not operate correctly without this. | |
2983 | Restore include file ordering munged in previous change. | |
2984 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
2985 | ||
ebf7d56b MK |
2986 | 2003-09-13 Mark Kettenis <kettenis@gnu.org> |
2987 | ||
8e823e25 MK |
2988 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
2989 | REG_STRUCT_HAS_ADDR. | |
2990 | * gdbarch.c, gdbarch.h: Updated. | |
2991 | * infcall.c (call_function_by_hand): Update. | |
2992 | * stabsread.c (define_symbol): Updated. | |
a8f4cde1 | 2993 | |
ebf7d56b MK |
2994 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
2995 | ||
d3f13f72 CF |
2996 | 2003-09-12 Christopher Faylor <cgf@redhat.com> |
2997 | ||
2998 | * win32-nat.c: Reorganize so that defines used by target headers are | |
2999 | actually defined by the system headers. | |
3000 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
3001 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
3002 | ||
14f75137 JB |
3003 | 2003-09-12 Jim Blandy <jimb@redhat.com> |
3004 | ||
d646061f JB |
3005 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
3006 | the file has no .data, .bss, or .rodata sections. Instead wait | |
3007 | until we see a variable alleged to live in one of those sections. | |
3008 | ||
2a13f9bc JB |
3009 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
3010 | .bss section, presume that any variables we find live in the | |
3011 | .rodata section. | |
3012 | ||
4f49b26b JB |
3013 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
3014 | offsets for global and static variables. | |
3015 | ||
14f75137 JB |
3016 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
3017 | symbol types are, by definition, in the .data section, so it is | |
3018 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
3019 | If there is no .data section, there should be no N_DATA or N_DATA | |
3020 | | N_EXT symbols. | |
3021 | ||
212c460c MK |
3022 | 2003-09-12 Mark Kettenis <kettenis@gnu.org> |
3023 | ||
3024 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
3025 | (amd64fbsd_sigcontext_addr): Rewrite. | |
3026 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
3027 | with correct values. | |
3028 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
3029 | (amd64fbsd_init_abi): Fix typo. | |
3030 | ||
68856ea3 AC |
3031 | 2003-09-12 Andrew Cagney <cagney@redhat.com> |
3032 | ||
3033 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
3034 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
3035 | ||
627b3ba2 AC |
3036 | 2003-09-12 Andrew Cagney <cagney@redhat.com> |
3037 | ||
3038 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
3039 | "entry_file_highpc". Update comments. | |
3040 | * defs.h (deprecated_inside_entry_file): Rename | |
3041 | "inside_entry_file". | |
3042 | * blockframe.c (deprecated_inside_entry_file): Rename | |
3043 | "inside_entry_file". | |
3044 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
3045 | * vax-tdep.c (vax_frame_chain): Update. | |
3046 | * sh64-tdep.c (sh64_frame_chain): Update. | |
3047 | * sh-tdep.c (sh_frame_chain): Update. | |
3048 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
3049 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
3050 | * mips-tdep.c (mips_frame_chain): Update. | |
3051 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
3052 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
3053 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
3054 | * frv-tdep.c (frv_frame_this_id): Update. | |
3055 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
3056 | * cris-tdep.c (cris_frame_chain): Update. | |
3057 | * blockframe.c (legacy_frame_chain_valid): Update. | |
3058 | * avr-tdep.c (avr_frame_this_id): Update. | |
3059 | * arm-tdep.c (arm_prologue_this_id): Update. | |
3060 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
3061 | * objfiles.c (objfile_relocate): Update. | |
3062 | * mipsread.c (mipscoff_symfile_read): Update. | |
3063 | (mipscoff_symfile_read): Update. | |
3064 | * mdebugread.c (parse_partial_symbols): Update. | |
3065 | * dwarfread.c (read_file_scope): Update. | |
3066 | * dwarf2read.c (read_file_scope): Update. | |
3067 | * dbxread.c (read_dbx_symtab): Update. | |
3068 | (read_dbx_symtab): Update. | |
3069 | * coffread.c (complete_symtab): Update. | |
3070 | ||
b0abbc58 JJ |
3071 | 2003-09-12 Jeff Johnston <jjohnstn@redhat.com> |
3072 | ||
3073 | * top.c (quit_target): New static helper function. | |
3074 | (quit_force): Moved code to quit_target(). Call quit_target() | |
3075 | via catch_errors() to catch errors during quit. | |
3076 | ||
a1632d59 DC |
3077 | 2003-09-11 David Carlton <carlton@kealia.com> |
3078 | ||
3079 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
3080 | block. | |
3081 | * mdebugread.c (new_block): Add FIXME. | |
3082 | ||
5c4e30ca DC |
3083 | 2003-09-11 David Carlton <carlton@kealia.com> |
3084 | ||
3085 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
3086 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
3087 | (recursive_dump_type): Ditto. | |
3088 | * printcmd.c (print_formatted): Ditto. | |
3089 | * typeprint.c (print_type_scalar): Ditto. | |
3090 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
3091 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
3092 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
3093 | maint_cplus_cmd_list. | |
3094 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
3095 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
3096 | command.h. | |
3097 | (lookup_symbol_file): Look in possible namespace blocks when | |
3098 | appropriate. | |
3099 | (initialize_namespace_symtab): New. | |
3100 | (get_possible_namespace_block, free_namespace_block) | |
3101 | (check_possible_namespace_symbols) | |
3102 | (check_possible_namespace_symbols_loop) | |
3103 | (check_one_possible_namespace_symbol) | |
3104 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
3105 | (_initialize_cp_namespace): Ditto. | |
3106 | * block.h: Declare allocate_block. | |
3107 | * block.c (allocate_block): New. | |
3108 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
3109 | allocate_block. | |
3110 | * symfile.h: Update declaration of add_psymbol_to_list. | |
3111 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
3112 | question. | |
3113 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
3114 | scan_partial_symbols_call. | |
3115 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
3116 | helper functions. | |
3117 | (add_partial_symbol): If necessary, scan mangled names for names | |
3118 | of namespaces. | |
3119 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
3120 | symbols associated to namespaces. | |
3121 | (add_partial_enumeration): Add NAMESPACE argument. | |
3122 | (new_symbol): Allow namespace syms. | |
3123 | (read_namespace): Generate namespace syms. | |
3124 | * objfiles.h: Add opaque declaration of struct symtab. | |
3125 | (struct objfile): Add cp_namespace_symtab member. | |
3126 | * objfiles.c (allocate_objfile): Set | |
3127 | objfile->cp_namespace_symtab. | |
3128 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
3129 | dictionary_h, command_h. | |
3130 | ||
33a7c2fc AC |
3131 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
3132 | ||
3133 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
3134 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
3135 | near the function's end. | |
3136 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
3137 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
3138 | regcache_raw_write_signed to set SP_REGNUM. | |
3139 | ||
63cd24fe EZ |
3140 | 2003-09-11 Elena Zannoni <ezannoni@redhat.com> |
3141 | ||
3142 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
3143 | orig_addrs is set up properly. | |
3144 | ||
f27dd7fd AC |
3145 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
3146 | ||
3147 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
3148 | * gdbarch.h, gdbarch.c: Re-generate. | |
3149 | * infcall.c (call_function_by_hand): Update. | |
3150 | * hppa-tdep.c (hppa_push_arguments): Update. | |
3151 | * ada-lang.c (place_on_stack): Update. | |
3152 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3153 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3154 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3155 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3156 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
3157 | stack_align. | |
3158 | ||
f630a401 DJ |
3159 | 2003-09-11 Daniel Jacobowitz <drow@mvista.com> |
3160 | ||
3161 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
3162 | register do need a frame. | |
3163 | ||
0ddabb4c AC |
3164 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
3165 | ||
3166 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
3167 | buildable since GDB 5.0. | |
3168 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
3169 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
3170 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
3171 | * irix4-nat.c: Delete file. | |
3172 | * config/mips/irix4.mh: Delete file. | |
3173 | * config/mips/irix3.mh: Delete file. | |
3174 | * config/mips/irix3.mt: Delete file. | |
3175 | * config/mips/tm-irix3.h: Delete file. | |
3176 | * config/mips/nm-irix3.h: Delete file. | |
3177 | * config/mips/xm-irix3.h: Delete file. | |
3178 | * config/mips/nm-irix4.h: Delete file. | |
3179 | * config/mips/xm-irix4.h: Delete file. | |
3180 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
3181 | ||
fde2cceb JB |
3182 | 2003-09-10 J. Brobecker <brobecker@gnat.com> |
3183 | ||
3184 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
3185 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
3186 | ||
66f667f5 JW |
3187 | 2003-09-10 James E Wilson <wilson@specifixinc.com> |
3188 | ||
ef5fd69f JW |
3189 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
3190 | section. | |
66f667f5 | 3191 | |
53e8aaea KB |
3192 | 2003-09-10 Kevin Buettner <kevinb@redhat.com> |
3193 | ||
3194 | * MAINTAINERS (frv): New ISA entry. | |
3195 | ||
dcc6aaff KB |
3196 | 2003-09-10 Kevin Buettner <kevinb@redhat.com> |
3197 | ||
3198 | * frv-tdep.c (dis-asm.h): Include. | |
3199 | * Makefile.in (frv-tdep.o): Update dependencies. | |
3200 | ||
932644f0 JJ |
3201 | 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> |
3202 | ||
3203 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
3204 | Fix typo for high range of floating registers. | |
3205 | ||
91c24f0a DC |
3206 | 2003-09-09 David Carlton <carlton@kealia.com> |
3207 | ||
3208 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
3209 | highpc initialization here out of scan_partial_symbols. | |
3210 | (scan_partial_symbols): Restructure into a recursive version, | |
3211 | calling add_partial_namespace and add_partial_enumeration when | |
3212 | appropriate. | |
3213 | (add_partial_namespace): New. | |
3214 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
3215 | ||
c9263853 AC |
3216 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3217 | ||
e56a0ecc AC |
3218 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
3219 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
3220 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
3221 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
3222 | ||
794a477a AC |
3223 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
3224 | (rs6000_push_dummy_call): Set the "TOC" register. | |
3225 | ||
c9263853 AC |
3226 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
3227 | methods "max_register_raw_size", "max_register_virtual_size" or | |
3228 | "register_virtual_size". | |
3229 | ||
afa7d0b2 ILT |
3230 | 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com> |
3231 | ||
3232 | * MAINTAINERS: Update my e-mail address. | |
3233 | ||
7a41266b AC |
3234 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3235 | ||
3236 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
3237 | (rs6000_push_dummy_call): Store the struct return address. | |
3238 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
3239 | ||
77b2b6d4 AC |
3240 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3241 | ||
3242 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
3243 | "ppc_sysv_abi_push_arguments". | |
3244 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
3245 | "ppc_sysv_abi_push_arguments". | |
3246 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
3247 | instead of "push_arguments". | |
3248 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
3249 | ||
e8a7b686 AC |
3250 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3251 | ||
3252 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
3253 | instead of CALL_DUMMY_ADDRESS. | |
3254 | ||
f86f5ca3 PH |
3255 | 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com> |
3256 | ||
3257 | * p-lang.c: Eliminate "register". | |
3258 | * c-lang.c: Ditto. | |
3259 | * expprint.c: Ditto. | |
3260 | * f-lang.c: Ditto. | |
3261 | * jv-lang.c: Ditto. | |
3262 | * language.c: Ditto. | |
3263 | * m2-lang.c: Ditto. | |
3264 | * parse.c: Ditto. | |
3265 | * scm-lang.c: Ditto. | |
3266 | * objc-lang.c: Ditto. | |
3267 | ||
83ee270e NC |
3268 | 2003-09-09 Nick Clifton <nickc@redhat.com> |
3269 | ||
3270 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
3271 | ||
a89aa300 AC |
3272 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3273 | ||
3274 | * avr-tdep.c: Include "dis-asm.h". | |
3275 | * cris-tdep.c: Include "dis-asm.h". | |
3276 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
3277 | instead of corresponding typedef. | |
3278 | * h8300-tdep.c: Include "dis-asm.h". | |
3279 | * ia64-tdep.c: Include "dis-asm.h". | |
3280 | * i386-tdep.c: Include "dis-asm.h". | |
3281 | (i386_print_insn): Use "struct disassemble_info" instead of | |
3282 | corresponding typedef. | |
3283 | * m68k-tdep.c: Include "dis-asm.h". | |
3284 | * mcore-tdep.c: Include "dis-asm.h". | |
3285 | * mips-tdep.c: Include "dis-asm.h". | |
3286 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
3287 | instead of corresponding typedef. | |
3288 | * ns32k-tdep.c: Include "dis-asm.h". | |
3289 | * s390-tdep.c: Include "dis-asm.h". | |
3290 | * sparc-tdep.c: Include "dis-asm.h". | |
3291 | * vax-tdep.c: Include "dis-asm.h". | |
3292 | * v850-tdep.c: Include "dis-asm.h". | |
3293 | * mn10300-tdep.c: Include "dis-asm.h". | |
3294 | * rs6000-tdep.c: Include "dis-asm.h". | |
3295 | * xstormy16-tdep.c: Include "dis-asm.h". | |
3296 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
3297 | print_insn_xstormy16. | |
3298 | * Makefile.in (v850-tdep.o): Update dependencies. | |
3299 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
3300 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
3301 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
3302 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
3303 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
3304 | (gdbarch_h): Remove $(dis_asm_h). | |
3305 | * disasm.c: Include "dis-asm.h". | |
3306 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
3307 | corresponding typedef. | |
3308 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
3309 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
3310 | * gdbarch.sh: Do not include "dis-asm.h". | |
3311 | (struct disassemble_info): Declare opaque. | |
3312 | (TARGET_PRINT_INSN): Update declaration. | |
3313 | * gdbarch.h, gdbarch.c: Re-generate. | |
3314 | ||
88a82a65 AC |
3315 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
3316 | ||
3317 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
3318 | CALL_DUMMY_ADDRESS, change to a predicate. | |
3319 | * gdbarch.h, gdbarch.c: Re-generate. | |
3320 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
3321 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
3322 | * infcall.c (call_function_by_hand): Ditto. | |
3323 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
3324 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
3325 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
3326 | CALL_DUMMY_ADDRESS with entry_point_address. | |
3327 | * v850-tdep.c (v850_push_return_address): Ditto. | |
3328 | * s390-tdep.c (s390_push_return_address): Ditto. | |
3329 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
3330 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
3331 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
3332 | * cris-tdep.c (cris_push_return_address): Ditto. | |
3333 | * arm-tdep.c (arm_push_return_address): Ditto. | |
3334 | ||
3e2c4033 AC |
3335 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
3336 | ||
3337 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
3338 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
3339 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
3340 | (execute_cfa_program): Update. | |
3341 | (dwarf2_frame_cache): Update. Initialize table to | |
3342 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
3343 | location. | |
3344 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
3345 | ||
39efb398 AC |
3346 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
3347 | ||
3348 | * gnu-nat.c: Remove "inline" function attribute. | |
3349 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
3350 | ||
f5cb5aca KB |
3351 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
3352 | ||
3353 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
3354 | target. | |
3355 | ||
1cb761c7 KB |
3356 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
3357 | ||
3358 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
3359 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
3360 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
3361 | Add fields ``prev_sp'' and ``base''. | |
3362 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
3363 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
3364 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
3365 | Delete. | |
3366 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
3367 | Revise all callers. Fill in the unwind cache argument and make | |
3368 | other adjustments to account for new frame mechanisms. | |
3369 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
3370 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
3371 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
3372 | (frv_frame_unwind, frv_frame_base): New structs. | |
3373 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
3374 | additional arguments expected by this method and adjust function | |
3375 | body accordingly. | |
3376 | (frv_gdbarch_init): Remove calls to the following functions: | |
3377 | set_gdbarch_deprecated_init_frame_pc(), | |
3378 | set_gdbarch_deprecated_saved_pc_after_call(), | |
3379 | set_gdbarch_deprecated_frame_chain(), | |
3380 | set_gdbarch_deprecated_frame_saved_pc(), | |
3381 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
3382 | set_gdbarch_deprecated_push_arguments(), | |
3383 | set_gdbarch_deprecated_push_return_address(), | |
3384 | set_gdbarch_deprecated_pop_frame(), | |
3385 | set_gdbarch_deprecated_call_dummy_words(), | |
3386 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
3387 | set_gdbarch_deprecated_init_extra_frame_info(), | |
3388 | set_gdbarch_deprecated_dummy_write_sp(), and | |
3389 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
3390 | Add calls to the following functions: | |
3391 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
3392 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
3393 | frame_base_set_default(). | |
3394 | * Makefile.in (frv-tdep.o): Update dependencies. | |
a8f4cde1 | 3395 | |
68f6cf99 MK |
3396 | 2003-09-09 Mark Kettenis <kettenis@gnu.org> |
3397 | ||
3398 | * dwarf2-frame.c (read_encoded_value): Add support for | |
3399 | DW_EH_PE_aligned encoding. | |
3400 | ||
73b65bb0 DJ |
3401 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
3402 | ||
3403 | * infrun.c (normal_stop): Don't print a message if the inferior | |
3404 | has exited. | |
3405 | ||
7c8a5605 JB |
3406 | 2003-09-08 Jim Blandy <jimb@redhat.com> |
3407 | ||
3408 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
3409 | * dbxread.c: #include "gdb_assert.h". | |
3410 | (read_dbx_symtab): If the objfile has no .data section, use the | |
3411 | section index for the .bss section instead. | |
3412 | ||
7dd88986 DJ |
3413 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
3414 | ||
3415 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
3416 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
3417 | * findvar.c (read_var_value): Call it. | |
3418 | ||
55ff77ac CV |
3419 | 2003-09-08 Corinna Vinschen <vinschen@redhat.com> |
3420 | ||
3421 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
3422 | (sh64-tdep.o): Add dependencies. | |
3423 | * configure.tgt: Add FIXME to sh-*-linux*. | |
3424 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
3425 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
a8f4cde1 | 3426 | pointer. Call sh64_gdbarch_init() if machine type is sh5. |
55ff77ac CV |
3427 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. |
3428 | * sh64-tdep.c: New file, containing all sh64 related code from | |
3429 | sh-tdep.c. | |
3430 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
3431 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
a8f4cde1 | 3432 | * config/sh/nbsd.mt (TDEPFILES): Ditto. |
55ff77ac CV |
3433 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. |
3434 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
3435 | ||
bfb39158 DJ |
3436 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
3437 | ||
3438 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
3439 | (stop_wait_callback): Handle !lp->signalled also. | |
3440 | (lin_lwp_has_pending, flush_callback): New functions. | |
3441 | (lin_lwp_wait): Call flush_callback. | |
3442 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
3443 | (linux_proc_pending_signals): New function. | |
3444 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
3445 | ||
9407de8e DJ |
3446 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
3447 | ||
3448 | From Nick Kelsey <nickk@ubicom.com>: | |
3449 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
3450 | when the stop PC is at the beginning of a function also. | |
3451 | ||
2ef47cd0 DJ |
3452 | 2003-09-06 Daniel Jacobowitz <drow@mvista.com> |
3453 | ||
3454 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
3455 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
3456 | ||
6f4492c8 MK |
3457 | 2003-09-06 Mark Kettenis <kettenis@gnu.org> |
3458 | ||
3459 | * sol-thread.c: Include "gdb_string.h". | |
3460 | ||
d3420b2f MK |
3461 | 2003-09-03 Mark Kettenis <m.kettenis@osp.nl> |
3462 | ||
3463 | * gcore.c: Reorder include files in alphabetical order. Include | |
3464 | "gdb_assert.h". Various coding style fixes. | |
3465 | (derive_stack_segment, derive_heap_segment): Replace check for | |
3466 | non-null BOTTOM and TOP with gdb_assert. | |
3467 | (derive_heap_segment): Replace check for successful creation of | |
3468 | ZERO with gdb_assert. | |
3469 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
3470 | ||
5220ea4c AC |
3471 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3472 | ||
3473 | * thread-db.c (verbose_dlsym): New function. | |
3474 | (thread_db_load): Use verbose_dlsym | |
3475 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
3476 | that thread debugging was enabled. | |
3477 | ||
6e8c2c06 AC |
3478 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3479 | ||
3480 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
3481 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
3482 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
3483 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
3484 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
3485 | mips*-sony-*, and mips64*-*-elf* targets. | |
3486 | * config/mips/embedl.mt: Delete file. | |
3487 | * config/mips/embedl64.mt: Delete file. | |
3488 | * config/mips/mips.mt: Delete file. | |
3489 | * config/mips/mips64.mt: Delete file. | |
3490 | * config/mips/tm-embed.h: Delete file. | |
3491 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
3492 | * config/mips/embed64.mt: Delete out-of-date comment. | |
3493 | ||
3a3bc038 AC |
3494 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3495 | ||
3496 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
3497 | "have_nonsteppable_watchpoint". | |
3498 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3499 | * mips-tdep.c (mips_dump_tdep): Do not print | |
3500 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
3501 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
3502 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3503 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3504 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3505 | ||
a957e642 CV |
3506 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
3507 | ||
3508 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
3509 | unused code. Add comment. | |
3510 | ||
a6fbcf2f CV |
3511 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
3512 | ||
3513 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
3514 | epilogue if watchpoint frame couldn't be found. | |
3515 | ||
c14a44d5 AC |
3516 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3517 | ||
3518 | * Makefile.in: Re-generate all dependencies. | |
3519 | ||
f6c40618 AC |
3520 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3521 | ||
3522 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
3523 | * arch-utils.c (legacy_print_insn): Delete function. | |
3524 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
3525 | (_initialize_disasm): Delete function, contained code initializing | |
3526 | deprecated_tm_print_insn_info. | |
3527 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
3528 | (deprecated_tm_print_insn_info): Delete. | |
3529 | (TARGET_PRINT_INSN): Do not provide a default. | |
3530 | * gdbarch.h, gdbarch.c: Re-generate. | |
3531 | ||
242e8be5 AC |
3532 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3533 | ||
3534 | * disasm.c (fprintf_disasm): New function. | |
3535 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
3536 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
3537 | reverts 2003-08-14 change. | |
3538 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
3539 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
3540 | ||
3ffc3dda MS |
3541 | 2003-09-03 Michael Snyder <msnyder@redhat.com> |
3542 | ||
3543 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
3544 | ||
52d16ba8 AC |
3545 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3546 | ||
3547 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
3548 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
3549 | * symfile.c (syms_from_objfile): Update. | |
3550 | (reread_symbols): `Update | |
3551 | * exec.c (exec_file_attach): Update. | |
3552 | (exec_file_attach): Update. | |
3553 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
3554 | 2003-08-29 change. | |
3555 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
3556 | ||
eb5492fa DJ |
3557 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
3558 | ||
3559 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
3560 | trad-frame.h. | |
3561 | (arm_get_cache): Delete macro. | |
3562 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
3563 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
3564 | to prev_sp. | |
3565 | (thumb_scan_prologue): Update for cache changes. Don't call | |
3566 | DEPRECATED_PC_IN_CALL_DUMMY. | |
3567 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
3568 | argument and use it in desperation search for our prologue. Do not | |
3569 | search past the specified PC. | |
3570 | (arm_make_prologue_cache): Simplify. | |
3571 | ||
3572 | (arm_prologue_this_id, arm_prologue_prev_register) | |
3573 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
3574 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
3575 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
3576 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
3577 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
3578 | ||
3579 | (arm_frame_chain_valid, arm_find_callers_reg) | |
3580 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
3581 | (arm_pop_frame): Delete obsolete methods. | |
3582 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
3583 | ||
3584 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
3585 | and sigtramp unwinders. Set the default frame base method. | |
3586 | ||
3587 | * Makefile.in (arm-tdep.o): Update dependencies. | |
3588 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
3589 | get_frame_base_address. | |
3590 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
3591 | ||
24de872b DJ |
3592 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
3593 | ||
3594 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
3595 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
3596 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
3597 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
3598 | Take NEXT_FRAME and CACHE arguments. Call | |
3599 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
3600 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
3601 | Don't bother checking the frame type when looking for sigtramp | |
3602 | frames. | |
3603 | (arm_make_prologue_cache, arm_frame_chain) | |
3604 | (arm_init_extra_frame_info): New functions. | |
3605 | ||
9b8d791a DJ |
3606 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
3607 | ||
3608 | * arm-tdep.c (arm_get_cache): Define. | |
3609 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
3610 | unwound_sp, unwound_pc, and saved_regs. | |
3611 | (thumb_scan_prologue): Take a cache instead of the frame. | |
3612 | (arm_scan_prologue): Likewise. | |
3613 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
3614 | instead of a temporary frame. | |
3615 | (arm_init_extra_frame_info): Allocate and use a cache. | |
3616 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
3617 | ||
7ee3275f AC |
3618 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3619 | ||
3620 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
3621 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
3622 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
3623 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
3624 | * config/sparc/sp64.mt (CC): Delete. | |
3625 | ||
57b29be7 AC |
3626 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3627 | ||
3628 | * defs.h: Do not include "arch-utils.h". | |
3629 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
3630 | GDB_MULTI_ARCH_PURE. | |
3631 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
3632 | * configure, config.in: Regenerate. | |
3633 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
3634 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
3635 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
3636 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
3637 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
3638 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
3639 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
3640 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
3641 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
3642 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
3643 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
3644 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
3645 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
3646 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
3647 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
3648 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
3649 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
3650 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
3651 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
a8f4cde1 | 3652 | |
12e035e2 MC |
3653 | 2003-08-30 Michael Chastain <mec@shout.net> |
3654 | ||
3655 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
3656 | * config/m68k/nm-hp300hpux.h: Delete. | |
3657 | * config/m68k/tm-hp300hpux.h: Delete. | |
3658 | * config/m68k/xm-hp300hpux.h: Delete. | |
3659 | * config/m68k/xm-hp300bsd.h: Delete. | |
3660 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
3661 | tm-hp300hpux.h, xm-hp300hpux.h. | |
3662 | * somsolib.c: Remove comment about hp300 shared libraries. | |
3663 | ||
bda34dc2 MK |
3664 | 2003-08-31 Mark Kettenis <kettenis@gnu.org> |
3665 | ||
5bca7895 MK |
3666 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
3667 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
3668 | Various style fixes in code and comments and some additional | |
3669 | spelling fixes in comments. Move after functions dealing with | |
3670 | debug registers. | |
3671 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
3672 | Fix coding-style. | |
3673 | ||
bda34dc2 MK |
3674 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
3675 | frame_unwind_register_unsigned instead of | |
3676 | frame_unwind_unsigned_register. | |
3677 | ||
c890192f MK |
3678 | 2003-08-30 Mark Kettenis <kettenis@gnu.org> |
3679 | ||
3680 | * configure.in: Search for gethostbyname in libnsl. | |
3681 | * configure: Regenerated. | |
3682 | ||
60fac5b8 MK |
3683 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
3684 | ||
e294916c MK |
3685 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
3686 | uintptr_t in stdint.h. | |
3687 | * configure: Regenerated. | |
3688 | ||
c40d267a MK |
3689 | * amd64-nat.h (struct regcache): Add opaque declaration. |
3690 | ||
60fac5b8 MK |
3691 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
3692 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
3693 | Change "register array" to "register cache" in comments. | |
3694 | (x86_64_linux_gregset64_reg_offset): New variable. | |
3695 | (GETREGS_SUPPLIES): Remove macro. | |
3696 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
3697 | x86_64_linux_supply_gregset. | |
3698 | (fill_gregset): Rename `regno' to `regnum'. Call | |
3699 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
3700 | (store_regs): Rename `regno' to `regnum'. | |
3701 | (store_fpregs): Rename `regno' to `regnum'. | |
3702 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
3703 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
3704 | Reorganize function a bit. | |
3705 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
3706 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
3707 | Reorganize function a bit. | |
3708 | (_initialize_x86_64_linux_nat): New function. | |
3709 | * config/i386/x86-64linux.mh. | |
3710 | ||
546143b6 AC |
3711 | 2003-08-29 Andrew Cagney <cagney@redhat.com> |
3712 | ||
3713 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
3714 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
3715 | (target_remove_watchpoint): Delete macro. | |
3716 | (target_insert_watchpoint): Delete macro. | |
3717 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
3718 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
3719 | (remote_mips_remove_watchpoint): Delete declaration. | |
3720 | (remote_mips_set_watchpoint): Delete declaration. | |
3721 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
3722 | * remote-mips.c (_initialize_remote_mips): Set | |
3723 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
3724 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
3725 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
3726 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
3727 | (mips_stopped_by_watchpoint): Rename | |
3728 | remote_mips_stopped_by_watchpoint. | |
3729 | (mips_can_hardware_watchpoint): Rename | |
3730 | remote_mips_can_use_hardware_watchpoint, update function | |
3731 | signature. | |
3732 | ||
7bace51b MK |
3733 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
3734 | ||
b0f5c6f2 MK |
3735 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
3736 | USER_DS. We haven't given them a register number yet. | |
3737 | ||
2a6d284d MK |
3738 | * amd64-nat.h: New file. |
3739 | * amd64-nat.c: New file. | |
3740 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
3741 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
3742 | (amd64fbsd32_r_reg_offset): New variable. | |
3743 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
3744 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
3745 | amd64_collect_native_gregset. | |
3746 | (fill_fpregset): Rename `regno' to `regnum'. | |
3747 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
3748 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
3749 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
3750 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
3751 | supply_gregset. Call x86_64_supply_fxsave instead of | |
3752 | supply_fpregset. | |
3753 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
3754 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
3755 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
3756 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
3757 | fill_gregset. Call x86_64_collect_fxsave instead of | |
3758 | fill_fpregset. | |
3759 | (_initialize_am64fbsd_nat): Initialize | |
3760 | amd64_native_gregset32_reg_offset and | |
3761 | amd64_native_gregset64_reg_offset. | |
3762 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
3763 | ||
a16d75cc MK |
3764 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
3765 | null pointer. Fix typo in comment. | |
3766 | ||
7bace51b MK |
3767 | * regcache.c (supply_register): Reimplement to call |
3768 | regcache_raw_supply. | |
3769 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
3770 | ||
9a661b68 MK |
3771 | 2003-08-28 Mark Kettenis <kettenis@gnu.org> |
3772 | ||
3773 | * regcache.c (register_buffer): Consitify first argument. | |
3774 | (regcache_raw_supply, regcache_raw_collect): New | |
3775 | functions. | |
3776 | ||
e94cc8fa DJ |
3777 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
3778 | ||
3779 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
3780 | by Nathan J. Williams. | |
3781 | ||
c64bd0ce DJ |
3782 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
3783 | ||
3784 | * lin-lwp.c (wait_lwp): New function, copied from | |
3785 | stop_wait_callback. Clean up. | |
3786 | (stop_wait_callback): Use wait_lwp. | |
3787 | ||
e5ab0dce AC |
3788 | 2003-08-28 Andrew Cagney <cagney@redhat.com> |
3789 | ||
3790 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
3791 | flavour and disassembler options. | |
3792 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
3793 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
3794 | deprecated_tm_print_insn_info. | |
a8f4cde1 | 3795 | |
a788de9b AC |
3796 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3797 | ||
3798 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
3799 | Use target_read_memory. | |
3800 | (s390_get_frame_info): Update. Do not reference | |
3801 | deprecated_tm_print_insn_info. | |
3802 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
3803 | ||
36482093 AC |
3804 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3805 | ||
3806 | * Makefile.in (cris-tdep.o): Update dependencies. | |
3807 | * cris-tdep.c: Include "gdb_assert.h". | |
3808 | (cris_gdbarch_init): Set print_insn. | |
3809 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
3810 | (cris_delayed_get_disassembler): Simplify, directly call the | |
3811 | disassembler returned by cris_get_disassembler. | |
3812 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
3813 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
3814 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
3815 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
3816 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
3817 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
3818 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
3819 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
3820 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
3821 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
3822 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
3823 | (gdb_print_insn_sparc): Delete function. | |
3824 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
3825 | deprecated_tm_print_insn_info. | |
3826 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
3827 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
3828 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
3829 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
3830 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
3831 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
3832 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
3833 | (s390_gdbarch_init): Set print_insn. | |
3834 | ||
0285512f AC |
3835 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3836 | ||
3837 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
3838 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
3839 | * infcall.c (call_function_by_hand): Convert the entry point | |
3840 | address into a code address. | |
3841 | ||
cdcd5552 AC |
3842 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3843 | ||
3844 | * dsrec.c: Include "gdb_string.h". | |
3845 | * Makefile.in (dsrec.o): Update dependencies. | |
3846 | ||
e85cddad MC |
3847 | 2003-08-27 Michael Chastain <mec@shout.net> |
3848 | ||
3849 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
3850 | ||
8bbfbb23 AC |
3851 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3852 | ||
3853 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
3854 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
3855 | ||
ba058b66 DC |
3856 | 2003-08-27 David Carlton <carlton@kealia.com> |
3857 | ||
3858 | From Randolph Chung <tausq@debian.org>: | |
3859 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
3860 | compiles with -Wformat-nonliteral -Werror. | |
3861 | ||
87f84c9d JB |
3862 | 2003-08-26 Jim Blandy <jimb@redhat.com> |
3863 | ||
3864 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
3865 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
3866 | bfd_lookup_symbol, since we only want symbols in code sections. | |
3867 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
3868 | bfd_lookup_symbol, since we're not concerned about which section | |
3869 | the symbol is in. | |
3870 | ||
102d615a JJ |
3871 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
3872 | ||
3873 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
a8f4cde1 | 3874 | we are frameless or the return address register is already known. |
102d615a | 3875 | |
cc7ad3ea AC |
3876 | 2003-08-26 Andrew Cagney <cagney@redhat.com> |
3877 | ||
3878 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
3879 | in size. Add comments. | |
3880 | ||
af8b88dd JJ |
3881 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
3882 | ||
3883 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
a8f4cde1 | 3884 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). |
af8b88dd | 3885 | |
e0a4f5a1 JM |
3886 | 2003-08-26 Jason Merrill <jason@redhat.com> |
3887 | ||
3888 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
3889 | case out of #ifdef MIPS block. | |
3890 | ||
4ae9ee8e DJ |
3891 | 2003-08-25 Daniel Jacobowitz <drow@mvista.com> |
3892 | ||
3893 | PR java/1322 | |
3894 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
3895 | available before calling SECT_OFF_TEXT. | |
3c164570 | 3896 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 3897 | |
004d836a JJ |
3898 | 2003-08-25 Jeff Johnston <jjohnstn@redhat.com> |
3899 | ||
a8f4cde1 | 3900 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, |
004d836a JJ |
3901 | bof, and nat0-nat127 as pseudo-registers. |
3902 | (ia64_frame_cache): New struct used to cache frame info. | |
3903 | (ia64_register_reggroup_p): New routine used to override default | |
a8f4cde1 | 3904 | register grouping so registers without names are still saved and |
004d836a | 3905 | restored. |
a8f4cde1 | 3906 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their |
004d836a JJ |
3907 | pseudo values. |
3908 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
3909 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
a8f4cde1 | 3910 | (ia64_alloc_frame_cache): New routine to create a new |
004d836a JJ |
3911 | ia64_frame_cache. |
3912 | (examine_prologue): Change prototype to add next_frame pointer. | |
3913 | Assume frameless until otherwise proven. Verify that the cfm for | |
a8f4cde1 | 3914 | current frame matches the cfm that should occur for the prologues |
004d836a JJ |
3915 | alloc insn and if equal, mark as not frameless. At end of routine, |
3916 | if not frameless, calculate registers for the previous frame and store | |
3917 | in the cache, if a cache is provided. | |
3918 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
3919 | and pass 0 for next_frame. | |
3920 | (ia64_store_return_value): Change to use convert_typed_floating() | |
3921 | instead of calling ia64_convert_to_raw(). | |
3922 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
3923 | instead of calling ia64_convert_to_virtual(). | |
3924 | (ia64_frame_cache): New routine to support new frame model. | |
3925 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
3926 | (ia64_frame_sniffer): Ditto. | |
3927 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
3928 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
3929 | (ia64_sigtramp_frame_prev_register): Ditto. | |
3930 | (ia64_sigtramp_frame_sniffer): Ditto. | |
3931 | (ia64_frame_base_address): Ditto. | |
3932 | (ia64_extract_struct_value_address): Change to issue error message. | |
3933 | (ia64_frame_align): New routine to align sp. | |
3934 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
a8f4cde1 | 3935 | (ia64_push_arguments): Removed. Logic moved to |
004d836a JJ |
3936 | ia64_push_dummy_call(). |
3937 | (ia64_push_return_address): Ditto. | |
3938 | (ia64_unwind_dummy_id): New function. | |
3939 | (ia64_unwind_pc): Ditto. | |
3940 | (ia64_convert_register_p): Ditto. | |
3941 | (ia64_register_to_value): Ditto. | |
3942 | (ia64_value_to_register): Ditto. | |
3943 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
3944 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
3945 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
3946 | (ia64_saved_pc_after_call): Ditto. | |
3947 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
3948 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
3949 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
3950 | (ia64_register_convert_to_raw): Ditto. | |
3951 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
3952 | (ia64_init_extra_frame_info): Ditto. | |
3953 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
3954 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
3955 | are no longer used. Add registration of new gdbarch functions. | |
3956 | Remove registering deprecated_write_sp. Replace | |
3957 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
3958 | Delete set_gdbarch_deprecated_register_convertible(), | |
3959 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
3960 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
3961 | set_gdbarch_deprecated_register_size(), | |
3962 | set_gdbarch_deprecated_register_bytes(), | |
3963 | set_gdbarch_pcregnum(), | |
3964 | set_gdbarch_deprecated_register_byte(), | |
3965 | set_gdbarch_deprecated_register_raw_size(), | |
3966 | set_gdbarch_deprecated_max_register_raw_size(), | |
3967 | set_gdbarch_deprecated_register_virtual_size(), | |
3968 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
3969 | Replace set_gdbarch_deprecated_extract_return_value() with | |
3970 | set_gdbarch_extract_return_value(). Remove calls to: | |
3971 | set_gdbarch_deprecated_saved_pc_after_call(); | |
3972 | set_gdbarch_deprecated_frame_chain(), | |
3973 | set_gdbarch_deprecated_frame_saved_pc(), | |
3974 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
3975 | set_gdbarch_deprecated_get_saved_register(), | |
3976 | set_gdbarch_deprecated_call_dummy_words(), | |
3977 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
3978 | set_gdbarch_deprecated_init_extra_frame_info(), | |
3979 | set_gdbarch_deprecated_frame_args_address(), | |
3980 | set_gdbarch_deprecated_frame_locals_address(), | |
3981 | and set_gdbarch_deprecated_dummy_write_sp(). | |
3982 | Add set_gdbarch_convert_register_p(), | |
3983 | set_gdbarch_register_to_value(), | |
3984 | set_gdbarch_value_to_register(), | |
3985 | set_gdbarch_push_dummy_call(), | |
3986 | set_gdbarch_frame_align(), | |
3987 | set_gdbarch_unwind_dummy_id(), | |
3988 | set_gdbarch_unwind_pc(), | |
3989 | frame_unwind_append_sniffer(), | |
3990 | frame_unwind_append_sniffer(), | |
3991 | and frame_base_set_default(). | |
3992 | ||
aede7613 CD |
3993 | 2003-08-25 Chris Demetriou <cgd@broadcom.com> |
3994 | ||
3995 | * configure.tgt: Document need for special "mipsisa64" handling. | |
3996 | (mipsisa64*-*-linux64): Handle as target linux64. | |
3997 | (mipsisa64*-*-*): Handle as target embed64. | |
3998 | ||
43c3a82e MC |
3999 | 2003-08-18 Michael Chastain <mec@shout.net> |
4000 | ||
4001 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
4002 | objfile bug. | |
4003 | ||
6564f77d MK |
4004 | 2003-08-24 Mark Kettenis <kettenis@gnu.org> |
4005 | ||
2de139ba MK |
4006 | * i387-tdep.h: Update copyright date. |
4007 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
4008 | ||
6564f77d MK |
4009 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
4010 | CFLAGS games to reflect reality. | |
4011 | ||
42cf1509 AC |
4012 | 2003-08-24 Andrew Cagney <cagney@redhat.com> |
4013 | ||
4014 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
4015 | GDB_MULTI_ARCH is always non-zero. | |
4016 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
4017 | (gdbarch_init_osabi): Ditto. | |
4018 | * sparc-tdep.c: Ditto for #if code. | |
4019 | ||
0485f6ad MK |
4020 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
4021 | ||
4022 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
4023 | Update comments. | |
4024 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
4025 | comments. | |
4026 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
4027 | x86_64_supply_fxsave. | |
4028 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
4029 | x86_64_supply_fxsave. | |
4030 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
4031 | x86_64_supply_fxsave. | |
4032 | ||
c7716133 AJ |
4033 | 2003-08-23 Andreas Jaeger <aj@suse.de> |
4034 | ||
4035 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
4036 | i387_supply_fxsave. | |
4037 | ||
ed504bdf MK |
4038 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
4039 | ||
4040 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
4041 | i387_supply_register. | |
4042 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
4043 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
4044 | i387_supply_fsave. | |
4045 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
4046 | i387_supply_fxsave. | |
4047 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
4048 | i387_supply_fsave. | |
4049 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
4050 | i387_supply_fsave. | |
4051 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
4052 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
4053 | supply_fpregset. | |
4054 | (store_inferior_registers): Remove extraneous whitespace. Call | |
4055 | i387_fill_fsave instead of fill_fpregset. | |
4056 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
4057 | (supply_fpregset): Likewise. | |
4058 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
4059 | i387_supply_fsave. | |
4060 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
4061 | i387_supply_fsave. | |
4062 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
4063 | i387_supply_fsave. | |
4064 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
4065 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
4066 | i387supply_fsave and i387_supply_fxsave. | |
4067 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
4068 | Incorporate code from `i387_supply_register. | |
4069 | (i387_supply_register): Remove. | |
4070 | (i387_supply_fxsave): Add `regnum' argument. | |
4071 | Update comments. | |
4072 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
4073 | prototype. | |
4074 | (i387_supply_register): remove prototype. | |
4075 | Update comments. | |
a8f4cde1 | 4076 | |
4be5d520 MC |
4077 | 2003-08-22 Michael Chastain <mec@shout.net> |
4078 | ||
4079 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
4080 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
4081 | still not 8.3 unique. | |
4082 | ||
7ed85d26 DJ |
4083 | 2003-08-22 Daniel Jacobowitz <drow@mvista.com> |
4084 | ||
4085 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
4086 | TYPE_VPTR_FIELDNO is valid. | |
4087 | ||
eb0d3137 MK |
4088 | 2003-08-19 Mark Kettenis <kettenis@gnu.org> |
4089 | ||
4090 | * utils.c (set_width_command): Remove prototypes. | |
4091 | (set_screen_size): New prototype. | |
4092 | (init_page_info): Simplify by fetching the screen size from | |
4093 | Readline. Call set_screen_size. | |
4094 | (set_screen_size): New function. | |
4095 | (set_width): Add missing whitespace in comment. | |
4096 | (set_width_command): Call set_screen_size. | |
4097 | (set_height_command): New function. | |
4098 | (initialize_utils): Fix formatting. Make "set height" command | |
4099 | call set_height_command. Remove redundant code that turns off | |
4100 | pagination if output isn't a terminal. Remove redundant call to | |
4101 | set_width_command. | |
a8f4cde1 | 4102 | |
7e6d0ac8 MK |
4103 | 2003-08-22 Mark Kettenis <kettenis@gnu.org> |
4104 | ||
3567a8ea MK |
4105 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
4106 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
4107 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
4108 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
4109 | `case' keyword. | |
4110 | (sparc64_register_info): Give the reister with number | |
4111 | SPARC64_STATE_REGNUM a name. | |
4112 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
4113 | %asi and %ccr. | |
4114 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
4115 | stcak alignment. | |
4116 | (sparc_software_single_step): Remove assertions that check whether | |
4117 | NPC and NNPC were zero. | |
4118 | (sparc_supply_rwindow): Make public. Merge functionality with | |
4119 | sparc64_supply_rwindow. | |
4120 | (sparc_fill_rwindow): Make public. Merge functionality with | |
4121 | sparc64_fill_rwindow. | |
4122 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
4123 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
4124 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
4125 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
4126 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
4127 | ||
7e6d0ac8 MK |
4128 | * reggroups.c: Add whitespace after declarations of local |
4129 | variables in functions. | |
4130 | ||
72e5f484 MC |
4131 | 2003-08-21 Michael Chastain <mec@shout.net> |
4132 | ||
4133 | * gdbtypes.h: Change array bound type from an int to enum. | |
4134 | ||
435ac228 AC |
4135 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
4136 | ||
4137 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
4138 | * config/sparc/tm-sparc.h: Ditto. | |
4139 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
4140 | unconditionally. | |
4141 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
4142 | ||
0d0e1a63 MK |
4143 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
4144 | ||
4145 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
4146 | (register_objfile_data, set_objfile_data, objfile_data): New | |
4147 | prototypes. | |
4148 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
4149 | prototypes. | |
4150 | (allocate_objfile): Call objfile_alloc_data. | |
4151 | (free_objfile): Call objfile_free_data. | |
4152 | (struct objfile_data): New. | |
4153 | (struct objfile_data_registration): New. | |
4154 | (struct objfile_data_registry): New. | |
4155 | (objfile_data_registry): New variable. | |
4156 | (register_objfile_data): New function. | |
4157 | (objfile_alloc_data, objfile_free_data): New functions. | |
4158 | (set_objfile_data, objfile_data): New functions. | |
4159 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
4160 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
4161 | (_initialize_dwarf2_frame): New function and prototype. | |
4162 | ||
d90cf509 AC |
4163 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
4164 | ||
4165 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
4166 | a specific architecture. | |
4167 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
4168 | declaration. | |
4169 | (target_architecture_hook): Delete declaration. | |
4170 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
4171 | (default_float_format): Assume GDB_MULTI_ARCH. | |
4172 | (default_double_format): Assume GDB_MULTI_ARCH. | |
4173 | (set_endian_from_file): Delete function. | |
4174 | (arch_ok): Delete function. | |
4175 | (set_arch): Delete function. | |
4176 | (set_architecture_from_arch_mach): Delete function. | |
4177 | (set_architecture_from_file): Delete function. | |
4178 | (set_architecture): Assume GDB_MULTI_ARCH. | |
4179 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
4180 | ||
8b39fe56 MK |
4181 | 2003-08-21 Mark Kettenis <kettenis@gnu.org> |
4182 | ||
4183 | Rewrite FreeBSD/sparc64 native configuration. | |
4184 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
4185 | * sparc64fbsd-nat.c: New file. | |
4186 | * sparc64fbsd-tdep.c: New file. | |
4187 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
4188 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
4189 | sparc64fbsd-tdep.o): New dependencies. | |
4190 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
4191 | and sparc64fbsd-tdep.c. | |
4192 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
4193 | * config/sparc/fbsd.mh: Remove copyright notice. | |
4194 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
4195 | sparcbsd-nat.o. | |
4196 | * config/sparc/fbsd.mt: Remove copyright notice. | |
4197 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
4198 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
4199 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
4200 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
4201 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
4202 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
4203 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
4204 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
4205 | "sparc/tm-sp64.h". | |
4206 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
4207 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
4208 | ||
a7f19c79 MC |
4209 | 2003-08-21 Michael Chastain <mec@shout.net> |
4210 | ||
4211 | * symtab.h: Add doco on the space critical structures and | |
4212 | some measurements of space usage. | |
4213 | ||
da08ea5b MS |
4214 | 2003-08-21 Michael Snyder <msnyder@redhat.com> |
4215 | ||
4216 | * tracepoint.c (trace_dump_command): Trace break address | |
4217 | is subject to DECR_PC_AFTER_BREAK. | |
4218 | (set_traceframe_context): Make "trace_line" an int. | |
4219 | Fixes suggested by Mark Newman <mark.newman@lmco.com> | |
a8f4cde1 | 4220 | |
6df2bf50 MS |
4221 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
4222 | ||
4223 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
a8f4cde1 RM |
4224 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set |
4225 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
6df2bf50 | 4226 | argument passing. |
a8f4cde1 | 4227 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New |
6df2bf50 MS |
4228 | functions, replace sh_push_dummy_call. |
4229 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
4230 | ||
0955bbf0 MC |
4231 | 2003-08-20 Michael Chastain <mec@shout.net> |
4232 | ||
4233 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
4234 | ||
260a4188 MS |
4235 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
4236 | ||
4237 | * trad-frame.c: Comment typo fix. | |
4238 | ||
8baa6f92 KB |
4239 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
4240 | Kevin Buettner <kevinb@redhat.com> | |
4241 | ||
4242 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
4243 | (frv_frame_init_saved_regs): Add declaration. | |
4244 | (frame_extra_info): Add new field ``saved_regs''. | |
4245 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
4246 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
4247 | Update frame related code. | |
4248 | (frv_extract_struct_value_address): Adjust formatting. | |
4249 | * Makefile.in (frv-tdep.o): Update dependencies. | |
4250 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
4251 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
4252 | (target_remove_hw_breakpoint): Delete these macros. | |
4253 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
4254 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
4255 | these declarations. | |
4256 | ||
87193939 MC |
4257 | 2003-08-20 Michael Chastain <mec@shout.net> |
4258 | ||
4259 | * defs.h (ENUM_BITFIELD): New macro. | |
4260 | * symtab.h (ENUM_BITFIELD): Use it. | |
4261 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
4262 | ||
062103ba SA |
4263 | 2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com> |
4264 | ||
4265 | * MAINTAINERS (write after approval): Add myself. | |
a8f4cde1 | 4266 | |
8b148df9 AC |
4267 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
4268 | ||
4269 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
4270 | * gdbarch.h, gdbarch.c: Re-generate. | |
4271 | * infcall.c (call_function_by_hand): Adjust the SP by | |
4272 | frame_red_zone_size before allocating any stack space. | |
4273 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
4274 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
4275 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
4276 | ||
4277 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
4278 | Remove code adjusting SP so that it skips over the Red Zone. | |
4279 | ||
954a4db8 MK |
4280 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
4281 | ||
4282 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
4283 | ||
1a241548 AC |
4284 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
4285 | ||
4286 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
4287 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
4288 | "m68k_frame_p". | |
4289 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
4290 | ||
f82b2acd MK |
4291 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
4292 | ||
4293 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
4294 | ||
4056d258 ML |
4295 | 2003-08-18 Michal Ludvig <mludvig@suse.cz> |
4296 | ||
4297 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
4298 | Define. | |
4299 | * i386-linux-nat.c: Include "linux-nat.h". | |
4300 | (child_post_startup_inferior): New function. | |
a8f4cde1 | 4301 | |
99ab4326 MK |
4302 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
4303 | ||
4304 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
4305 | at the start of a frameless function. This probably fixes PR | |
4306 | backtrace/1338. | |
4307 | ||
c8d5f0d6 MC |
4308 | 2003-08-17 Michael Chastain <mec@shout.net> |
4309 | ||
4310 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
4311 | ||
9016a515 DJ |
4312 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
4313 | ||
4314 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
4315 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
4316 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
4317 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
4318 | (linux_supports_tracevforkdone): New function. | |
4319 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
4320 | TRACEVFORKDONE. | |
4321 | (child_follow_fork): Handle vfork. | |
4322 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
4323 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
4324 | * NEWS: Mention fork tracing. | |
4325 | ||
c538c11c DJ |
4326 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
4327 | ||
4328 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
4329 | ||
4de4c07c DJ |
4330 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
4331 | ||
4332 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
4333 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
4334 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
4335 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
4336 | * i386-linux-nat.c: Include "linux-nat.h". | |
4337 | (child_post_startup_inferior): New function. | |
4338 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
4339 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
4340 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
4341 | attaching to each LWP. | |
4342 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
4343 | (init_lin_lwp_ops): Fill in some more operations. | |
4344 | * linux-nat.h (linux_enable_event_reporting) | |
4345 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
4346 | prototypes. | |
4347 | * linux-nat.c (linux_enable_event_reporting): New function. | |
4348 | (child_post_attach, linux_child_post_startup_inferior) | |
4349 | (child_post_startup_inferior, child_follow_fork) | |
4350 | (linux_handle_extended_wait, kill_inferior): New functions. | |
4351 | ||
7996bcec AC |
4352 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
4353 | ||
4354 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
4355 | * gdbarch.h, gdbarch.c: Re-generate. | |
4356 | ||
3d48a7a0 MK |
4357 | 2003-08-16 Mark Kettenis <kettenis@gnu.org> |
4358 | ||
4359 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
4360 | ||
7989c619 AC |
4361 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
4362 | ||
4363 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
4364 | * top.c (get_prompt_1): Delete function. | |
4365 | (gdb_prompt_escape): | |
4366 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
4367 | prompt-escape-char" command. | |
4368 | (MAX_PROMPT_SIZE): Delete macro. | |
4369 | (get_prompt): Simplify, do not call get_prompt_1. | |
4370 | ||
07978cd8 AC |
4371 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
4372 | ||
4373 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
4374 | -Werror. -Wformat-nonliteral problems. | |
4375 | ||
3ff7cf9e JB |
4376 | 2003-08-15 J. Brobecker <brobecker@gnat.com> |
4377 | ||
4378 | Further multiarching work mostly for hppa64-*-hpux11: | |
4379 | * hppa-tdep.h: New file. | |
4380 | * hppa-tdep.c: #include hppa-tdep.c. | |
4381 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
4382 | (hppa64_num_regs): New constant. | |
4383 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
4384 | (hppa32_call_dummy_length): New constant. | |
4385 | (hppa64_call_dummy_length): New constant. | |
4386 | (hppa32_stack_align): Make name 32bit explicit. | |
4387 | (hppa32_register_virtual_type): Likewise. | |
4388 | (hppa32_extract_return_value): Likewise. | |
4389 | (hppa32_use_struct_convention): Likewise. | |
4390 | (hppa32_store_return_value): Likewise. | |
4391 | (hppa64_register_virtual_type): New function. | |
4392 | (hppa64_extract_return_value): New function. | |
4393 | (hppa64_use_struct_convention): New function. | |
4394 | (hppa64_store_return_value): New function. | |
4395 | (hppa_frame_locals_address): Remove declaration, function does | |
4396 | not exist anymore. | |
4397 | (hppa_register_byte): Add support for PA64 ABI. | |
4398 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
4399 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
4400 | Make name 32bit explicit. | |
4401 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
4402 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
4403 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
4404 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
4405 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
4406 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
4407 | necessary now that the gdbarch vector is properly setup. | |
a8f4cde1 | 4408 | Transform some macros into function calls. Some minor cleanup. |
3ff7cf9e JB |
4409 | * config/pa/tm-hppah.h: Update function calls in macros |
4410 | following the function renaming in hppa-hpux-tdep.c. | |
4411 | * Makefile.in (hppa_tdep_h): New variable. | |
4412 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
4413 | ||
5d05ca6d MS |
4414 | 2003-08-14 Michael Snyder <msnyder@redhat.com> |
4415 | ||
4416 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
4417 | ||
37ba2569 JB |
4418 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4419 | ||
4420 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
4421 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
4422 | routine. | |
4423 | ||
aed7f26a MS |
4424 | 2003-08-13 Michael Snyder <msnyder@redhat.com> |
4425 | ||
4426 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
4427 | (frv_saved_pc_after_call): Use deprecated ftype. | |
4428 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
4429 | (frv_remote_translate_xfer_address): Remove. | |
4430 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
4431 | ||
752d4ac1 JB |
4432 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4433 | ||
4434 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
4435 | initialization after the common gdbarch initialization, not before. | |
4436 | ||
1426ac1d JB |
4437 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4438 | ||
4439 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
4440 | (ADDR_BITS_REMOVE): Remove, redundant. | |
4441 | ||
b6fbdd1d JB |
4442 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4443 | ||
4444 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
4445 | gdbarch method to clear the 2 low bits of text addresses. | |
4446 | ||
44160db3 AC |
4447 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
4448 | ||
4449 | * Makefile.in (dsrec.o): Update dependencies. | |
4450 | * dsrec.c: Include "gdb_assert.h". | |
4451 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
4452 | string. | |
4453 | ||
bcf7d3ca AC |
4454 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
4455 | ||
4456 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
4457 | FRAME_OBSTACK_ZALLOC. | |
4458 | ||
49ed40de KB |
4459 | 2003-08-12 Kevin Buettner <kevinb@redhat.com> |
4460 | ||
4461 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
4462 | SSE registers. | |
4463 | ||
b246147c MK |
4464 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
4465 | ||
4466 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
4467 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
4468 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
4469 | declarations. | |
4470 | ||
d95fdc0d BE |
4471 | 2003-08-11 Ben Elliston <bje@wasabisystems.com> |
4472 | ||
4473 | * MAINTAINERS (write after approval): Update my mail address. | |
4474 | ||
cf6a0e73 AC |
4475 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
4476 | ||
4477 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
4478 | ||
f837910f MK |
4479 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
4480 | ||
e2dbbd2d MK |
4481 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
4482 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
4483 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
4484 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
4485 | i386bsd_sc_reg_offset): Add extern declarations. | |
4486 | * i386obsd-nat.c: Include "i386-tdep.h" | |
4487 | (_initialize_i386obsd_nat): Remove extern declarations. | |
4488 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
4489 | declarations. | |
4490 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
4491 | declarations. | |
4492 | ||
f837910f MK |
4493 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
4494 | instead of frame_read_register. | |
4495 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
4496 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
4497 | SP_REGNUM. | |
4498 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
4499 | instead of frame_unwind_unsigned_register. Use | |
4500 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
4501 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
4502 | instead of read_register. Use builtin_type_void_data_ptr instead | |
4503 | of builtin_type_void_func_ptr when extracting the address of the | |
4504 | jmp_buf. | |
4505 | (i386_extract_return_value, i386_store_return_value, | |
4506 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
4507 | register_size instead REGISTER_RAW_SIZE. | |
4508 | ||
edcf254d AC |
4509 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
4510 | ||
4511 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
4512 | sprintf. Make "name" constant. | |
4513 | ||
26604a34 MK |
4514 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
4515 | ||
192285c6 MK |
4516 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
4517 | instead of frame_read_register. | |
f837910f MK |
4518 | (i387_print_float_info): Use get_frame_register and |
4519 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 4520 | |
f0925262 MK |
4521 | * i386fbsd-nat.c: Include "i386-tdep.h". |
4522 | (child_resume): Make `eflags' an ULONGEST. Use | |
4523 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
4524 | instead of register_read and register_write. | |
4525 | ||
a144416f MK |
4526 | * i386bsd-nat.c (fetch_inferior_registers, |
4527 | store_inferior_registers): Don't use && at the end of a line. | |
4528 | (_initialize_i386bsd_nat): Fix typo. | |
4529 | ||
fec74868 MK |
4530 | * frame.c (_initialize_frame): Add missing backslash. |
4531 | ||
87232496 MK |
4532 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
4533 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
4534 | and supply_register instead of manipulating the register buffer | |
4535 | directly. | |
4536 | ||
c9b9de0b MK |
4537 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
4538 | * config/i386/nm-i386sol2.h | |
4539 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
4540 | ||
26604a34 MK |
4541 | Based on a patch from Michael Elizabeth Chastain (mec@shout.net): |
4542 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
4543 | instructions that GCC likes to mingle into the prologue. Fixes | |
4544 | gdb/1253 and gdb/1255. | |
4545 | ||
25d29d70 AC |
4546 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
4547 | ||
4548 | Fix GDB PR cli/926. | |
4549 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
4550 | * command.h (add_setshow_uinteger_cmd): Declare. | |
4551 | * frame.c (set_backtrace_cmd): New function. | |
4552 | (show_backtrace_cmd): New function. | |
4553 | * frame.c (_initialize_frame): Replace "set/show | |
4554 | backtrace-below-main" with "set/show backtrace past-main". Add | |
4555 | command "set/show backtrace limit". | |
4556 | (backtrace_past_main): Rename "backtrace_below_main". | |
4557 | (backtrace_limit): New variable. | |
4558 | (get_prev_frame): Update. Check the backtrace_limit. | |
4559 | ||
9ebf4acf AC |
4560 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
4561 | ||
4562 | * defs.h (xstrprintf): Declare. | |
4563 | * utils.c (xstrprintf): New function. | |
4564 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
4565 | non-literal format strings, with xstrprintf and cleanups. | |
4566 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
4567 | (commands_command, insert_breakpoints): Ditto. | |
4568 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
4569 | (break_at_finish_command_1): Ditto. | |
4570 | ||
3771659b AC |
4571 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
4572 | ||
4573 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
4574 | maintainer. | |
4575 | ||
b4263afa JB |
4576 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
4577 | ||
4578 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
4579 | are now multiarched. | |
4580 | ||
d84defb1 JB |
4581 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
4582 | ||
4583 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
4584 | longer necessary now that hppa64 is partially multiarch'ed. | |
4585 | ||
f786f615 AC |
4586 | 2003-08-08 Andrew Cagney <cagney@redhat.com> |
4587 | ||
4588 | * interps.c (interp_set): Check for a NULL "old_interp". | |
4589 | ||
c938e9b0 L |
4590 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
4591 | ||
4592 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
4593 | (install-only): Support DESTDIR. | |
4594 | (uninstall): Likewise. | |
4595 | (install-gdbtk): Likewise. | |
4596 | ||
9a146a11 EZ |
4597 | 2003-08-08 Elena Zannoni <ezannoni@redhat.com> |
4598 | ||
4599 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
4600 | contains something meaningful at all times. | |
4601 | ||
4602 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <blc@redhat.com> | |
7a76ced5 | 4603 | |
62599e99 | 4604 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 4605 | |
56296155 BC |
4606 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com> |
4607 | ||
62599e99 | 4608 | * MAINTAINERS (write after approval): Added self. |
56296155 | 4609 | |
9710e734 AC |
4610 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
4611 | ||
4612 | * inferior.h (AT_SYMBOL): Define. | |
4613 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
4614 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
4615 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
4616 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
4617 | set call_dummy_address. | |
4618 | ||
98b3ab73 AC |
4619 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
4620 | ||
4621 | * language.c (op_error): Delete function. | |
4622 | (binop_type_check): Delete function. | |
4623 | * language.h (type_op_error, range_op_error): Delete macros. | |
4624 | (op_error): Delete declaration. | |
4625 | ||
2fcf52f0 AC |
4626 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
4627 | ||
4628 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
4629 | ||
abd4220e | 4630 | 2003-08-07 Michal Ludvig <mludvig@suse.cz> |
fd83bada | 4631 | |
abd4220e | 4632 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 4633 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 4634 | |
9dd5f34f AC |
4635 | 2003-08-05 Andrew Cagney <cagney@redhat.com> |
4636 | ||
4637 | * reggroups.c (reggroup_next): Check for the final entry. | |
4638 | ||
e5e78edc AC |
4639 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
4640 | ||
ab4e3d93 AC |
4641 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
4642 | * cli/cli-script.c (define_command): Call query directly, instead | |
4643 | of passing it a buffer. | |
4644 | * ocd.c (ocd_error): Pass error a constant format string. | |
4645 | * remote-mips.c (mips_error): Use fputs_filtered. | |
4646 | ||
1062ca82 AC |
4647 | * solib-svr4.c (_initialize_svr4_solib): Update |
4648 | register_gdbarch_data call. | |
4649 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
4650 | ||
fcc1c85c AC |
4651 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
4652 | (register_gdbarch_data): Delete "free" parameter. Update | |
4653 | comments. | |
4654 | * gdbarch.h, gdbarch.c: Re-generate. | |
4655 | * reggroups.c (_initialize_reggroup): Update. | |
4656 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
4657 | * frame-base.c (_initialize_frame_base): Update. | |
4658 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
4659 | * user-regs.c (_initialize_user_regs): Update. | |
4660 | * remote.c (_initialize_remote): Update. | |
4661 | * regcache.c (_initialize_regcache): Update. | |
4662 | ||
116f06ea AC |
4663 | * regcache.c (xfree_regcache_descr): Delete function. |
4664 | (_initialize_regcache): Update call to register_gdbarch_data. | |
4665 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
4666 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
4667 | ||
e5e78edc AC |
4668 | * remote.c (free_remote_state): Delete function. |
4669 | (_initialize_remote): Update register_gdbarch_data. | |
4670 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
4671 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
4672 | ||
6c7d17ba AC |
4673 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
4674 | ||
4675 | * reggroups.c (struct reggroup_el): Define. | |
4676 | (struct reggroups): Delete field "nr_group". Replace array | |
4677 | "group" with a "first" to "last" linked list. | |
4678 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
4679 | (reggroups_free): Delete function. | |
4680 | (add_group): Update. Add "el" parameter. | |
4681 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
4682 | (default_groups): Update. | |
4683 | (reggroup_next): Replace reggroups. | |
4684 | (reggroups_dump): Update. | |
4685 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
4686 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
4687 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
4688 | ||
89b7795b DJ |
4689 | 2003-08-04 Daniel Jacobowitz <drow@mvista.com> |
4690 | ||
4691 | * Makefile.in (tui-interp.o): Update dependencies. | |
4692 | ||
306d9ac5 DC |
4693 | 2003-08-04 David Carlton <carlton@kealia.com> |
4694 | ||
4695 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
4696 | to internal_error call. | |
4697 | * source.c (forward_search_command): Add "%s" format argument. | |
4698 | (reverse_search_command): Ditto. | |
4699 | * top.c (quit_confirm): Ditto. | |
4700 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
4701 | * cp-valprint.c (cp_print_class_method): Replace | |
4702 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
4703 | (cp_print_class_member): Ditto. | |
4704 | * event-top.c (command_line_handler): Ditto. | |
4705 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
4706 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
4707 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
4708 | (pascal_object_print_class_member): Ditto. | |
4709 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
4710 | * remote.c (remote_cisco_section_offsets): Ditto. | |
4711 | * top.c (command_line_input): Ditto. | |
4712 | * utils.c (vwarning,error_stream,quit): Ditto. | |
4713 | * valprint.c (print_floating,print_binary_chars) | |
4714 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
4715 | ||
57bfe177 AC |
4716 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
4717 | ||
4718 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
4719 | ||
e546b999 AC |
4720 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
4721 | ||
4722 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
4723 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
4724 | amd64fbsd-nat.c. | |
4725 | ||
91092ee5 AC |
4726 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
4727 | ||
4728 | * Makefile.in: Update all dependencies and definitions. | |
4729 | ||
889f28e2 AF |
4730 | 2003-08-02 Adam Fedor <fedor@gnu.org> |
4731 | ||
4732 | * linespec.c (is_objc_method_format): New function | |
4733 | (decode_line_1, locate_first_half): Use it. | |
4734 | Fixes PR objc/1298 | |
4735 | ||
880bc914 AC |
4736 | 2003-08-01 Andrew Cagney <cagney@redhat.com> |
4737 | ||
4738 | * NEWS: Mention that m32r is multi-arch. | |
4739 | From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
4740 | * configure.tgt: Recognize m32r-*-*. | |
4741 | * config/m32r/tm-m32r.h: Delete file. | |
4742 | * config/m32r/m32r.mt: New file. | |
a8f4cde1 | 4743 | * m32r-rom.c (m32r_upload_command): Use hostent only when |
880bc914 AC |
4744 | gethostname succeeds, in order to avoid a compilation |
4745 | warning. | |
4746 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
4747 | compiler warning. | |
4748 | ||
19f59343 MS |
4749 | 2003-08-01 Michael Snyder <msnyder@redhat.com> |
4750 | ||
4751 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
4752 | (sh_gdbarch_init): Set up frame_align method. | |
4753 | ||
4e7d7511 MS |
4754 | 2003-07-31 Michael Snyder <msnyder@redhat.com> |
4755 | ||
4756 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
4757 | which is already covered by the new frames infrastructure. | |
4758 | ||
63022984 AC |
4759 | 2003-07-31 Andrew Cagney <cagney@redhat.com> |
4760 | ||
4761 | * user-regs.c (struct user_reg): Add "next" link. | |
4762 | (struct user_regs): Replace "user" with "first" and "last" links. | |
4763 | (append_user_reg): Add pre-allocated "reg" parameter. | |
4764 | (builtin_user_regs): Provide initial value for "last". | |
4765 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
4766 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
4767 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
4768 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
4769 | linked list. | |
4770 | (usernum_to_user_reg): New function. | |
4771 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
4772 | (value_of_user_reg): Use usernum_to_user_reg. | |
4773 | (user_regs_free): Delete function. | |
4774 | (_initialize_user_regs): Update register_gdbarch_data call. | |
4775 | ||
7cf6e574 DJ |
4776 | 2003-07-31 Daniel Jacobowitz <drow@mvista.com> |
4777 | ||
4778 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
4779 | ||
c48a845b MS |
4780 | 2003-07-30 Michael Snyder <msnyder@redhat.com> |
4781 | ||
4e7d7511 | 4782 | * value.h (value_being_returned): Add a struct_addr argument. |
a8f4cde1 | 4783 | * infcall.c (call_function_by_hand): Pass struct_addr to |
c48a845b MS |
4784 | value_being_returned. |
4785 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
4786 | * values.c (value_being_returned): If struct_addr is passed, | |
4787 | use it instead of trying to recover it from the inferior. | |
4788 | ||
f0d8db19 KB |
4789 | 2003-07-30 Kevin Buettner <kevinb@redhat.com> |
4790 | ||
4791 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
4792 | the prologue analyzer won't need to attempt to extract the pc | |
4793 | value from the woefully incomplete dummy frame. | |
4794 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
4795 | possible. Disable code which modifies the frame. | |
4796 | ||
e5c113a1 AC |
4797 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
4798 | ||
4799 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
4800 | to level 2. | |
4801 | (annotate_breakpoints_table, annotate_record): Ditto. | |
4802 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
4803 | (annotate_field_name_end, annotate_field_value): Ditto. | |
4804 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
4805 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
4806 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
4807 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
4808 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
4809 | (annotate_frame_args, annotate_frame_end): Ditto. | |
4810 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
4811 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
4812 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
4813 | (annotate_function_call, annotate_signal_name): Ditto. | |
4814 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
4815 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
4816 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
4817 | (annotate_value_history_end, annotate_value_end): Ditto. | |
4818 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
4819 | (annotate_display_format, annotate_display_expression): Ditto. | |
4820 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
4821 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
4822 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
4823 | (annotate_elt, annotate_array_section_end): Ditto. | |
4824 | ||
bb1db049 AC |
4825 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
4826 | ||
4827 | * regcache.c (struct regcache_descr): Update comments on | |
4828 | nr_raw_registers. | |
4829 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
4830 | sizeof_raw_register_valid_p. | |
4831 | (init_regcache_descr): Set nr_raw_registers and | |
4832 | sizeof_raw_register_valid_p before calling | |
4833 | init_legacy_regcache_descr. | |
4834 | ||
20e6603c AC |
4835 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
4836 | ||
4837 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
4838 | MOD NUM_REGS. | |
4839 | ||
db742940 DJ |
4840 | 2003-07-28 Daniel Jacobowitz <drow@mvista.com> |
4841 | ||
4842 | * thread.c (info_threads_command): Use get_selected_frame (). | |
4843 | Check that there is at least one non-sentinel frame. | |
4844 | ||
ce7f4371 SC |
4845 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
4846 | ||
4847 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
4848 | (m68hc11_pop_frame): Remove. | |
4849 | (m68hc11_frame_saved_pc): Remove. | |
4850 | (m68hc11_frame_chain): Remove. | |
4851 | (m68hc11_frame_init_saved_regs): Remove. | |
4852 | (m68hc11_init_extra_frame_info): Remove. | |
4853 | (m68hc11_store_struct_return): Remove. | |
4854 | (m68hc11_saved_pc_after_call): Remove. | |
4855 | ||
1ea653ae SC |
4856 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
4857 | ||
4858 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
4859 | frame unwind information. | |
4860 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
4861 | and adapted for frame unwinding. | |
4862 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
4863 | (m68hc11_unwind_pc): New function. | |
4864 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
4865 | (m68hc11_frame_this_id): New function to create new frame struct. | |
4866 | (m68hc11_frame_prev_register): New function to unwind a register from | |
4867 | the frame. | |
4868 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
4869 | (m68hc11_frame_p): New function for the above. | |
4870 | (m68hc11_frame_base_address): New function to return fp of frame. | |
4871 | (m68hc11_frame_args_address): Update for frame. | |
4872 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
4873 | (m68hc11_unwind_sp): New function. | |
4874 | (m68hc11_unwind_dummy_id): New function. | |
4875 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
4876 | calls. | |
4877 | ||
c8a7f6ac SC |
4878 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
4879 | ||
4880 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
4881 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
4882 | when we are beyond the current pc. | |
4883 | ||
3dc990bf SC |
4884 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
4885 | ||
4886 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
4887 | from m68hc11_push_arguments. | |
4888 | (m68hc11_push_arguments): Remove. | |
4889 | (m68hc11_push_return_address): Remove. | |
4890 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
4891 | handlers; remove deprecated_extra_stack_alignment_needed. | |
4892 | ||
222e5d1d AC |
4893 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
4894 | ||
4895 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
4896 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
4897 | REAL_PC and not the pointer. | |
4898 | * hppa-hpux-tdep.c: Include frame.h | |
4899 | ||
a7e9a47e AC |
4900 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
4901 | ||
4902 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
4903 | GDB_MULTI_ACH_PARTIAL. | |
4904 | ||
7e3dd49e AC |
4905 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
4906 | ||
4907 | Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
4908 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
4909 | operator at start and not end of line. | |
4910 | (decode_prologue): Ditto. | |
4911 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
4912 | frame_unwind_register_unsigned instead of | |
4913 | frame_unwind_unsigned_register. | |
4914 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
4915 | read_register. | |
4916 | (m32r_push_dummy_call): Use register_size instead of | |
4917 | REGISTER_RAW_SIZE. | |
4918 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
4919 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
4920 | * m32r-rom.c (report_transfer_performance): Delete extern | |
4921 | declaration. | |
4922 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
4923 | instead of report_transfer_performance. | |
4924 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
4925 | / add_show_from_set. | |
4926 | ||
0880807f AC |
4927 | 2003-07-26 Andrew Cagney <cagney@redhat.com> |
4928 | ||
4929 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
4930 | store_return_value and extract_struct_value_address. | |
4931 | ||
64ae9269 DJ |
4932 | 2003-07-26 Daniel Jacobowitz <drow@mvista.com> |
4933 | ||
4934 | PR c++/1267 | |
4935 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
4936 | NULL, default to the section containing PC. | |
4937 | ||
e286caf2 SC |
4938 | 2003-07-24 Stephane Carrez <stcarrez@nerim.fr> |
4939 | ||
4940 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
4941 | ||
4942 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
4943 | (m68hc11_print_register): New function to print out one register. | |
4944 | (m68hc11_print_registers_info): New function to print registers. | |
4945 | (show_regs): Deprecate and use the above. | |
4946 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
4947 | ||
705b278b JJ |
4948 | 2003-07-24 Jeff Johnston <jjohnstn@redhat.com> |
4949 | ||
4950 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
4951 | that we have a SIGTRAP before returning non-zero. | |
4952 | ||
63cd4198 EZ |
4953 | 2003-07-23 Michal Ludvig <mludvig@suse.cz> |
4954 | Elena Zannoni <ezannoni@redhat.com> | |
4955 | ||
a8f4cde1 | 4956 | * linespec.c (decode_line_2): Avoid crash if |
63cd4198 EZ |
4957 | find_function_start_sal() returns empty record. |
4958 | ||
6926787d AS |
4959 | 2003-07-23 Andreas Schwab <schwab@suse.de> |
4960 | ||
4961 | * ia64-tdep.c (ia64_print_insn): New function. | |
4962 | (ia64_gdbarch_init): Set print_insn to it. | |
4963 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
4964 | deprecated_tm_print_insn_info. | |
4965 | ||
708cc1b6 MS |
4966 | 2003-07-22 Michael Snyder <msnyder@redhat.com> |
4967 | ||
4968 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
4969 | handle 8-bit returns (long long). | |
4970 | (h8300h_extract_return_value): Ditto. | |
4971 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
4972 | ||
aebd7893 AC |
4973 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
4974 | ||
4975 | * gdbarch.c Include "gdb_obstack.h". | |
4976 | (struct gdbarch): Add an "obstack". | |
4977 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
4978 | GDBARCH_OBSTACK_CALLOC. | |
4979 | (free_gdbarch_data): Delete function. | |
4980 | (gdbarch_obstack_zalloc): New function. | |
4981 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
4982 | Assert that the architecture is not initialized. | |
4983 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
4984 | vector from the obstack. | |
4985 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
4986 | architecture obstack. | |
4987 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
4988 | (set_gdbarch_data): Assert that the data is not initialized. | |
4989 | (struct gdbarch_data): Delete member "free". | |
4990 | (register_gdbarch_data): Do not initialize "free". | |
4991 | * gdbarch.h, gdbarch.c: Re-generate. | |
a8f4cde1 | 4992 | |
153721e6 AC |
4993 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
4994 | ||
4995 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
4996 | * configure: Re-generate. | |
4997 | ||
c193f044 | 4998 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
32ffcbed EZ |
4999 | |
5000 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 5001 | |
c3228f12 EZ |
5002 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
5003 | ||
5004 | * findvar.c (read_var_value): Remove case for thread local storage | |
5005 | variables. It is now entirely handled by the dwarf2 location | |
5006 | expression code. | |
5007 | * printcmd.c (address_info): Ditto. | |
5008 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
5009 | enumeration value. | |
5010 | (struct symbol): Remove objfile field, which was used by | |
5011 | LOC_THREAD_LOCAL_STATIC only. | |
5012 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
5013 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
5014 | usage of objfile pointer. | |
5015 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
5016 | thread local variables. | |
5017 | Add include of objfiles.h. | |
5018 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
5019 | storage variables. | |
5020 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
5021 | ||
aef9bcd2 AC |
5022 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
5023 | ||
5024 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
5025 | get_frame_base. | |
5026 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
5027 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
5028 | (struct value): Add opaque declaration. | |
5029 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
5030 | ||
d95a8903 AC |
5031 | 2003-07-21 Andrew Cagney <cagney@redhat.com> |
5032 | ||
5033 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
5034 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
5035 | ||
4db73d49 SC |
5036 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
5037 | ||
a8f4cde1 | 5038 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use |
4db73d49 SC |
5039 | regcache_cooked_read_unsigned instead of read_register. |
5040 | (m68hc11_saved_pc_after_call): Likewise. | |
5041 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
5042 | instead of write_register. | |
5043 | (m68hc11_register_type): New function. | |
5044 | (m68hc11_register_virtual_type): Remove. | |
5045 | (m68hc11_store_return_value): Convert to use the regcache. | |
5046 | (m68hc11_extract_struct_value_address): Likewise. | |
5047 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
5048 | m68hc11_register_type; undeprecate store_return_value and | |
5049 | extract_struct_value_address. | |
5050 | ||
ef2b8fcd SC |
5051 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
5052 | ||
5053 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
5054 | and translate to use regcache. | |
5055 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
5056 | ||
625b0b97 AC |
5057 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5058 | ||
5059 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
5060 | * gdbarch.h, gdbarch.c: Re-generate. | |
5061 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
5062 | DWARF2_BUILD_FRAME_INFO. | |
5063 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
5064 | unconditionally. | |
5065 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
5066 | DWARF2_BUILD_FRAME_INFO. | |
5067 | ||
22b0d388 AC |
5068 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5069 | ||
5070 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
5071 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
5072 | ||
1ce5d6dd AC |
5073 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5074 | ||
5075 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
5076 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
5077 | (dwarf2_frame_cache): Ditto. | |
5078 | ||
e6e5e94c AC |
5079 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5080 | ||
5081 | * user-regs.h (struct gdbarch): Declare opaque. | |
5082 | * ui-out.h (struct ui_file): Declare opaque. | |
5083 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
5084 | ||
5483d879 KW |
5085 | 2003-07-18 Kris Warkentin <kewarken@qnx.com> |
5086 | ||
5087 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
5088 | #include "...". | |
5089 | (procfs_meminfo): Change strerror to safe_strerror. | |
5090 | (procfs_can_run): Remove K&R badness. | |
5091 | ||
278a7cf7 MS |
5092 | 2003-07-17 Michael Snyder <msnyder@redhat.com> |
5093 | ||
5094 | * remote-sim.c: Comment typo fix. | |
5095 | ||
606e3b82 AC |
5096 | 2003-07-17 Andrew Cagney <cagney@redhat.com> |
5097 | ||
5098 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
5099 | configure. | |
5100 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
5101 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
5102 | GDB_MULTI_ARCH_PARTIAL. | |
5103 | ||
c43af07c EZ |
5104 | 2003-07-17 Elena Zannoni <ezannoni@redhat.com> |
5105 | ||
5106 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
5107 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
5108 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
5109 | ||
3b85b0f1 TR |
5110 | 2003-07-16 Theodore A. Roth <troth@openavr.org> |
5111 | ||
5112 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
5113 | found. | |
5114 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
5115 | Update a comment. | |
5116 | Save the computed prev_sp. | |
5117 | (avr_saved_regs_unwinder): Remove function. | |
a8f4cde1 | 5118 | (avr_frame_prev_register): Use PC unwind logic from |
3b85b0f1 TR |
5119 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). |
5120 | ||
336d1bba AC |
5121 | 2003-07-16 Andrew Cagney <cagney@redhat.com> |
5122 | ||
5123 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
5124 | (frame_base_append_predicate): Delete declaration. | |
5125 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
5126 | (frame_unwind_append_predicate): Delete declaration. | |
5127 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
5128 | (append_predicate): Delete parameter "p". | |
5129 | (frame_unwind_append_predicate): Delete function. | |
5130 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
5131 | (frame_unwind_free): Delete function. | |
5132 | (_initialize_frame_unwind): Pass NULL as "free" to | |
5133 | register_gdbarch_data. | |
5134 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
5135 | (frame_unwind_find_by_frame): Simplify. | |
5136 | * frame-base.c (struct frame_base_table): Delete field "p". | |
5137 | (append_predicate): Delete parameter "p". | |
5138 | (frame_base_append_predicate): Delete function. | |
5139 | (frame_base_append_sniffer): Update call to append_predicate. | |
5140 | (frame_base_free): Delete function. | |
5141 | (frame_base_find_by_frame): Simplify. | |
5142 | (_initialize_frame_base): Pass NULL as "free" to | |
5143 | register_gdbarch_data. | |
5144 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
5145 | (x86_64_sigtramp_frame_sniffer): Replace | |
5146 | "x86_64_sigtramp_frame_p". | |
5147 | (x86_64_init_abi): Set the frame unwind sniffers. | |
5148 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
5149 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
5150 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
5151 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
5152 | "i386_sigtramp_frame_p". | |
5153 | (i386_frame_sniffer): Replace "i386_frame_p". | |
5154 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
5155 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
5156 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
5157 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
5158 | "alpha_sigtramp_frame_p" | |
5159 | (alpha_heuristic_frame_sniffer): Replace | |
5160 | "alpha_heuristic_frame_p". | |
5161 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
5162 | (alpha_dwarf2_init_abi): Ditto. | |
5163 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
5164 | "alpha_debug_frame_p". | |
5165 | (alpha_mdebug_frame_base_sniffer): Replace | |
5166 | "alpha_mdebug_frame_base_p". | |
5167 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
5168 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
5169 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
5170 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
5171 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
5172 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
5173 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
5174 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
5175 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
5176 | ||
48db5a3c CV |
5177 | 2003-07-16 Michael Snyder <msnyder@redhat.com> |
5178 | ||
5179 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
5180 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
5181 | will not get the right values. | |
5182 | ||
5183 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
5184 | ||
5185 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
5186 | deprecated_store_floating by call to store_typed_floating. | |
5187 | (sh_sh4_register_convert_to_raw): Substitute call to | |
5188 | deprecated_extract_floating by call to extract_typed_floating. | |
5189 | ||
5190 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
5191 | ||
5192 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
5193 | ||
5194 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
5195 | ||
5196 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
5197 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
5198 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
5199 | as possible. | |
5200 | (do_pseudo_register): Remove. | |
5201 | (sh_push_dummy_code): New function. | |
5202 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
5203 | Only called for sh64 now. | |
5204 | (sh_extract_struct_value_address): Regcache'ify. | |
5205 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
5206 | and accomodate new tasks. | |
5207 | (sh64_push_return_address): Rename from sh_push_return_address. | |
5208 | Only called for sh64 now. | |
5209 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
5210 | Regcache'ify. | |
5211 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
5212 | (sh_default_store_return_value): Ditto. | |
5213 | (sh3e_sh4_store_return_value): Ditto. | |
5214 | (sh_default_register_byte): Remove. | |
5215 | (sh_sh4_register_byte): Remove. | |
5216 | (sh_default_register_raw_size): Remove. | |
5217 | (sh_sh4_register_raw_size): Remove. | |
5218 | (sh_register_virtual_size): Remove. | |
5219 | (sh_sh3e_register_virtual_type): Remove. | |
5220 | (sh_sh3e_register_type): New function. | |
5221 | (sh_sh4_register_virtual_type): Remove. | |
5222 | (sh_sh4_register_type): New function. | |
5223 | (sh_default_register_virtual_type): Remove. | |
5224 | (sh_default_register_type): New function. | |
5225 | (do_fv_register_info): Add parameters to accomodate call from | |
5226 | sh_print_registers_info. | |
5227 | (do_dr_register_info): Ditto. | |
5228 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
5229 | Add parameters to accomodate call from sh_print_registers_info. | |
5230 | (sh_do_fp_register): Ditto. | |
5231 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
5232 | do_fv_register_info and sh_do_fp_register with default parameters. | |
5233 | (sh_do_register): Add parameters to accomodate call from | |
5234 | sh_print_registers_info. | |
5235 | (sh_print_register): Ditto. | |
5236 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
5237 | Add parameters to be used as gdbarch_print_registers_info | |
5238 | implementation. Accomodate removed do_pseudo_register function | |
5239 | pointer. | |
5240 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
5241 | function pointer. Call sh_print_register with default parameters. | |
5242 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
5243 | sh_do_registers_info. | |
5244 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
5245 | detection of deprecated vs. non-deprecated functionality. | |
5246 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
5247 | function pointer assignments by direct function calls. | |
5248 | ||
e8a89fe2 AC |
5249 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
5250 | ||
5251 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
5252 | (frame_register_unwind, create_new_frame): Ditto. | |
5253 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
5254 | (get_frame_base_address): Use frame_base_find_by_frame. | |
5255 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
5256 | (get_frame_args_address): Use frame_base_find_by_frame. | |
5257 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
5258 | (frame_base_append_sniffer): Declare. | |
5259 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
5260 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
5261 | (frame_base_append_sniffer): New function. | |
5262 | (frame_base_append_predicate): Add a NULL sniffer. | |
5263 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
5264 | (struct frame_base_table): Add "sniffer". | |
5265 | (frame_base_free): Free the "sniffer" table. | |
5266 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
5267 | (frame_unwind_append_sniffer): Declare. | |
5268 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
5269 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
5270 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
5271 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
5272 | (frame_unwind_init): Update append_predicate call. | |
5273 | (frame_unwind_append_sniffer): New function. | |
5274 | (frame_unwind_append_predicate): Update append_predicate call. | |
5275 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
5276 | ||
0714963c AC |
5277 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
5278 | ||
5279 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
5280 | before code inhibiting repeated unwind attempts. Add to | |
5281 | commentary on that test's problems. | |
5282 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
5283 | symbol table. | |
5284 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
5285 | identical. | |
5286 | ||
d9170e22 AC |
5287 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
5288 | ||
5289 | * complaints.c (struct explanation): Define. | |
5290 | (struct complaints): Change type of "explanation" to "struct | |
5291 | explanation". | |
5292 | (symfile_explanations): Convert to a "struct explanation" table. | |
5293 | (vcomplaint): Update. | |
5294 | ||
eba29c8c ML |
5295 | 2003-07-15 Michal Ludvig <mludvig@suse.cz> |
5296 | ||
5297 | * x86-64-linux-nat.c (regmap): Removed. | |
a8f4cde1 | 5298 | (supply_gregset, fill_gregset): Call |
eba29c8c ML |
5299 | x86_64_linux_(fill,supply)_gregset functions. |
5300 | * x86-64-linux-tdep.c (USER_*): New defines. | |
5301 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
5302 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
5303 | New functions. | |
5304 | (fetch_core_registers): Ditto. | |
5305 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
5306 | * x86-64-linux-tdep.h: New file. | |
5307 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
5308 | and core-regset.o. | |
5309 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
5310 | ||
68cc0bfb MK |
5311 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
5312 | ||
88a115f7 MK |
5313 | * x86-64-tdep.c (x86_64_store_return_value): Use |
5314 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 5315 | |
68cc0bfb MK |
5316 | * configure.host: Add x86_64-*-freebsd*. |
5317 | * configure.tgt: Add x86_64-*-freebsd*. | |
5318 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
5319 | * amd64fbsd-nat.c: New file. | |
5320 | * amd64fbsd-tdep.c: New file. | |
5321 | * config/i386/nm-fbsd64.h: New file. | |
5322 | * config/i386/fbsd64.mh: New file. | |
5323 | * config/i386/fbsd64.mt: New file. | |
5324 | ||
138e7be5 MK |
5325 | 2003-07-11 Mark Kettenis <kettenis@gnu.org> |
5326 | ||
5327 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
5328 | `sc_regs_offset' and `sc_fpregs_offset'. | |
5329 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
5330 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
5331 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
5332 | `struct gdbarch_tdep'. | |
5333 | (alpha_gdbarch_init): Initialize new members of struct | |
5334 | gdbarch_tdep'. | |
5335 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
5336 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
5337 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
5338 | (alphafbsd_pc_in_sigtramp): Implement. | |
5339 | (alphafbsd_sigtramp_offset): New function. | |
5340 | (alphafbsd_sigcontext_addr): New function. | |
5341 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
5342 | of `struct gdbarch_tdep'. | |
5343 | (_initialize_alphafbsd_tdep): Add prototype. | |
5344 | ||
95303a68 TR |
5345 | 2003-07-11 Theodore A. Roth <troth@openavr.org> |
5346 | ||
ba292e4c TR |
5347 | * Makefile.in (install-only): Quote sed expression when generating |
5348 | transformed_name. | |
95303a68 | 5349 | |
6896c0c7 RH |
5350 | 2003-07-11 Richard Henderson <rth@redhat.com> |
5351 | ||
5352 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
5353 | * dwarf2-frame.c: Include complaints.h. | |
5354 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
5355 | variable initialization; return NULL on error. | |
5356 | (decode_frame_entry): New. | |
5357 | ||
8edd5d01 AC |
5358 | 2003-07-11 Andrew Cagney <cagney@redhat.com> |
5359 | ||
c4a09524 AC |
5360 | * frame.h (frame_address_in_block): Delete declaration. |
5361 | * blockframe.c (frame_address_in_block): Delete function. | |
5362 | (get_frame_block): Use get_frame_address_in_block. | |
5363 | (block_innermost_frame): Ditto. | |
5364 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
5365 | ||
8edd5d01 AC |
5366 | * frame.h (get_frame_address_in_block): Declare. |
5367 | (frame_unwind_address_in_block): Declare. | |
5368 | * frame.c (frame_unwind_address_in_block): New function. | |
5369 | (get_frame_address_in_block): New function. | |
5370 | ||
f7968451 AC |
5371 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
5372 | ||
5373 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
5374 | pre-default. Note: re-generate has no effect. | |
a8f4cde1 | 5375 | |
ae99b398 AC |
5376 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
5377 | ||
5378 | * gdbarch.sh: When a variable, but not a function, compare against | |
5379 | 0. Fix problem in previous patch. | |
5380 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 5381 | |
956ac328 AC |
5382 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
5383 | ||
5384 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
5385 | functions against NULL, not 0. | |
5386 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 5387 | |
287c3240 FF |
5388 | 2003-07-10 Fred Fish <fnf@ninemoons.com> |
5389 | ||
5390 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
5391 | null string instead of a null pointer. | |
5392 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
5393 | ||
32f63c4b MS |
5394 | 2003-07-09 Michael Snyder <msnyder@redhat.com> |
5395 | ||
5396 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
5397 | ||
402ecd56 MK |
5398 | 2003-07-09 Mark Kettenis <kettenis@gnu.org> |
5399 | ||
5400 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
5401 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
5402 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
5403 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
5404 | * x86-64-tdep.c: ... from here. | |
5405 | ||
c481dac7 AS |
5406 | 2003-07-09 Andreas Schwab <schwab@suse.de> |
5407 | ||
5408 | * m68k-tdep.h (enum struct_return): Define. | |
5409 | (struct gdbarch_tdep): Add struct_return. | |
5410 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
5411 | bytes are padded to the right, not to the left. Pass struct value | |
5412 | address in register %a1, not on stack. | |
5413 | (m68k_use_struct_convention): New function. | |
5414 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
5415 | struct_return in tdep to pcc_struct_return. | |
5416 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
5417 | reg_struct_return. | |
5418 | ||
a8f4cde1 | 5419 | 2003-07-09 Joel Brobecker <brobecker@gnat.com> |
64176fa3 | 5420 | |
a8f4cde1 | 5421 | * somread.c (som_symfile_offsets): Fix compilation error. |
64176fa3 | 5422 | |
96a4ee76 AC |
5423 | 2003-07-09 Andrew Cagney <cagney@redhat.com> |
5424 | ||
5425 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
5426 | Add comments about the checks. | |
5427 | ||
1517c6d1 AC |
5428 | 2003-07-08 Andrew Cagney <cagney@redhat.com> |
5429 | ||
5430 | * Makefile.in: Make dependency section headers consistent. | |
5431 | (config_h): Move to $BUILD headers section. | |
5432 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
5433 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
5434 | (ada-exp.tab.c): Move to YACC/LEX section. | |
5435 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
5436 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
5437 | ||
dc5dd1eb KW |
5438 | 2003-07-08 Kris Warkentin <kewarken@qnx.com> |
5439 | ||
5440 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
5441 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
5442 | of strerror with safe_strerror, use ISO C function definitions, | |
5443 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 5444 | |
612dde91 AC |
5445 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
5446 | ||
5447 | * frame.c (get_prev_frame): Enable check for identical frames. | |
5448 | Update comments. Update error messages. | |
5449 | ||
492c11d3 JB |
5450 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5451 | ||
5452 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
5453 | ||
376a5a49 JB |
5454 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5455 | ||
5456 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
5457 | sort_symtab_syms, no longer necessary. | |
5458 | ||
22b4a9ad JB |
5459 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5460 | ||
5461 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
5462 | ||
5bbcb741 JB |
5463 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5464 | ||
5465 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
5466 | (mips_register_byte): Likewise. | |
5467 | ||
c139e7d9 DJ |
5468 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
5469 | ||
5470 | * Makefile.in (sparc_tdep_h): New. | |
5471 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
5472 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
5473 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
5474 | * sparc-nat.c: Likewise. | |
5475 | * sparc-tdep.c: Likewise. | |
5476 | * sparc64nbsd-nat.c: Likewise. | |
5477 | * sparcnbsd-nat.c: Likewise. | |
5478 | * sparcnbsd-tdep.c: Likewise. | |
5479 | * sparc-tdep.h: New file. | |
5480 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
5481 | and sparc_npc_regnum. | |
5482 | ||
fd8f87c5 DJ |
5483 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
5484 | ||
5485 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
5486 | (mips_linux_cannot_store_register): List supported instead of | |
5487 | unsupported registers. | |
5488 | ||
13adf674 DJ |
5489 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
5490 | ||
5491 | * disasm.c (dump_insns): Separate instructions from addresses. | |
5492 | ||
8de307e0 AS |
5493 | 2003-07-07 Andreas Schwab <schwab@suse.de> |
5494 | ||
5495 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
5496 | dependencies. | |
5497 | * m68k-tdep.c (NUM_FREGS): Delete. | |
5498 | (SIG_PC_FP_OFFSET): Delete. | |
5499 | (TARGET_M68K): Delete. | |
5500 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
5501 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
5502 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
5503 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
5504 | P_TRAP): Delete. | |
5505 | (m68k_register_raw_size): Delete. | |
5506 | (m68k_register_virtual_size): Delete. | |
5507 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
5508 | add gdbarch argument. | |
5509 | (m68k_store_struct_return): Delete. | |
5510 | (m68k_deprecated_extract_return_value): Delete. | |
5511 | (m68k_deprecated_extract_struct_value_address): Delete. | |
5512 | (m68k_frame_chain): Delete. | |
5513 | (m68k_frame_saved_pc): Delete. | |
5514 | (m68k_fix_call_dummy): Delete. | |
5515 | (m68k_push_dummy_frame): Delete. | |
5516 | (m68k_pop_frame): Delete. | |
5517 | (m68k_extract_return_value): New function. | |
5518 | (m68k_store_return_value): Rewrite using regcache. | |
5519 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
5520 | (m68k_push_dummy_call): New function. | |
5521 | (struct m68k_frame_cache): Define. | |
5522 | (m68k_alloc_frame_cache): New function. | |
5523 | (m68k_analyze_frame_setup): New function. | |
5524 | (m68k_analyze_register_saves): New function. | |
5525 | (m68k_analyze_prologue): New function. | |
5526 | (m68k_skip_prologue): Rewrite using above functions. | |
5527 | (m68k_unwind_pc): New function. | |
5528 | (m68k_frame_cache): New function. | |
5529 | (m68k_frame_this_id): New function. | |
5530 | (m68k_frame_prev_register): New function. | |
5531 | (m68k_frame_unwind): New variable. | |
5532 | (m68k_frame_p): New function. | |
5533 | (m68k_sigtramp_frame_cache): New function. | |
5534 | (m68k_sigtramp_frame_this_id): New function. | |
5535 | (m68k_sigtramp_frame_prev_register): New function. | |
5536 | (m68k_sigtramp_frame_unwind): New variable. | |
5537 | (m68k_sigtramp_frame_p): New function. | |
5538 | (m68k_frame_base_address): New function. | |
5539 | (m68k_frame_base): New function. | |
5540 | (m68k_unwind_dummy_id): New function. | |
5541 | (fill_gregset): Use regcache_collect. | |
5542 | (fill_fpregset): Likewise. | |
5543 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
5544 | defined. | |
5545 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
5546 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
5547 | deprecated_extract_return_value, deprecated_store_return_value, | |
5548 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
5549 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
5550 | deprecated_register_virtual_size, | |
5551 | deprecated_max_register_raw_size, | |
5552 | deprecated_max_register_virtual_size, | |
5553 | deprecated_register_virtual_type, deprecated_register_size, | |
5554 | deprecated_register_byte, deprecated_register_bytes, | |
5555 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
5556 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
5557 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
5558 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
5559 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
5560 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
5561 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
5562 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
5563 | store_return_value, extract_struct_value_address, register_type, | |
5564 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
5565 | predicates. | |
5566 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
5567 | M68K_MAX_REGISTER_SIZE): Define. | |
5568 | (struct m68k_sigtramp_info): Define. | |
5569 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
5570 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
5571 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
5572 | (store_register): Likewise. | |
5573 | (fetch_inferior_registers): Likewise. | |
5574 | (store_inferior_registers): Likewise. | |
5575 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
5576 | (m68k_linux_frame_saved_pc): Delete. | |
5577 | (m68k_linux_sigcontext_reg_offset, | |
5578 | m68k_linux_ucontext_reg_offset): Define. | |
5579 | (m68k_linux_get_sigtramp_info): New function. | |
5580 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
5581 | (m68k_linux_store_return_value): Likewise. | |
5582 | (m68k_linux_extract_struct_value_address): Likewise. | |
5583 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
5584 | Don't set deprecated_frame_saved_pc, | |
5585 | deprecated_extract_return_value, deprecated_store_return_value, | |
5586 | deprecated_extract_struct_value_address. Set | |
5587 | extract_return_value, store_return_value, | |
5588 | extract_struct_value_address. | |
5589 | ||
eb8bc282 AC |
5590 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
5591 | ||
5592 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
5593 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
5594 | frame_map_regnum_to_name. | |
5595 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
5596 | (frame_map_name_to_regnum): Simplify, call | |
5597 | user_reg_map_name_to_regnum. | |
5598 | (frame_map_regnum_to_name): Simplify, call | |
5599 | user_reg_map_regnum_to_name. | |
5600 | (frame_register_unwind): Update. | |
5601 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
5602 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
5603 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
5604 | (value_of_register): Use value_of_user_reg. | |
5605 | * eval.c (evaluate_subexp_standard): Update. | |
5606 | * parse.c (write_dollar_variable): Update. | |
5607 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
5608 | * infcmd.c (registers_info): Update. | |
5609 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
5610 | (builtin_regs_h): Delete macro. | |
5611 | (user_regs_h): Define. | |
5612 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
5613 | (builtin-regs.o): Delete target. | |
5614 | (user-regs.o): Specify dependencies. | |
5615 | (expprint.o): Update dependencies. | |
5616 | (findvar.o): Update dependencies. | |
5617 | (frame.o): Update dependencies. | |
5618 | (std-regs.o): Update dependencies. | |
5619 | ||
9f476a01 CF |
5620 | 2003-07-06 Christopher Faylor <cgf@redhat.com> |
5621 | ||
5622 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
5623 | address stuff. Pass variable rather than address of variable to | |
5624 | safe_symbol_file_add. | |
5625 | ||
a731b831 AS |
5626 | 2003-07-06 Andreas Schwab <schwab@suse.de> |
5627 | ||
5628 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
5629 | ||
9f83329d JB |
5630 | 2003-07-04 Joel Brobecker <brobecker@gnat.com> |
5631 | ||
5632 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
5633 | ||
27e28cc5 KW |
5634 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> |
5635 | ||
5636 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
5637 | ||
5638 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> | |
5639 | ||
5640 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
5641 | * config/i386/nto.mh: New file. | |
5642 | * config/i386/nm-nto.h: New file. | |
5643 | * configure.host: Add i[3456]86-*-nto*. | |
5644 | ||
100f2e98 JB |
5645 | 2003-07-03 Joel Brobecker <brobecker@gnat.com> |
5646 | ||
5647 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
5648 | ||
e23457df AC |
5649 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
5650 | ||
5651 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
5652 | * gdbarch.h, gdbarch.c: Re-generate. | |
5653 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
5654 | (legacy_register_name): Declare. | |
5655 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
5656 | (REGISTER_NAME): Define. | |
5657 | * sparc-tdep.c (legacy_register_name): New function. | |
5658 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
5659 | (REGISTER_NAME): Define. | |
5660 | (hppa64_register_name): Declare. | |
5661 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
5662 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
5663 | (hppa64_register_name): New function. | |
5664 | (hppa_register_name): New function. | |
5665 | * arch-utils.c (legacy_register_name): Delete. | |
5666 | * arch-utils.h (legacy_register_name): Delete. | |
5667 | ||
38caaeec DJ |
5668 | 2003-07-03 Daniel Jacobowitz <drow@mvista.com> |
5669 | ||
5670 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
5671 | cli_uiout's stream to gdb_stdout. | |
5672 | ||
dadd712e AC |
5673 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
5674 | ||
5675 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
5676 | predicate. | |
5677 | * gdbarch.h, gdbarch.c: Re-generate. | |
5678 | * regcache.c (init_regcache_descr): Use legacy code when either | |
5679 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
5680 | ||
c7f1390e DJ |
5681 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
5682 | ||
5683 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
5684 | ||
4bc8c588 JB |
5685 | 2003-07-02 Jim Blandy <jimb@redhat.com> |
5686 | ||
a9dd42f1 JB |
5687 | * s390-tdep.c (struct frame_extra_info): new member: |
5688 | 'stack_bought_valid'. | |
5689 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
5690 | initialize fextra_info->stack_bought. | |
5691 | (s390_frameless_function_invocation): Don't trust the value of | |
5692 | fextra_info_ptr->stack_bought unless | |
5693 | fextra_info->stack_bought_valid is set. | |
5694 | ||
4bc8c588 JB |
5695 | New S390 prologue analyzer. |
5696 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
5697 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
5698 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
5699 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
5700 | compute_x_addr, s390_on_stack, s390_store, | |
5701 | s390_get_signal_frame_info): New functions. | |
5702 | (S390_NUM_SPILL_SLOTS): New macro. | |
5703 | (s390_get_frame_info): Rewritten. | |
5704 | (is_arg_reg): Deleted. | |
5705 | ||
5706 | Break out the decoding of S/390 instructions into separate | |
5707 | functions, to make it more legible, and easier to check | |
5708 | against the spec. | |
5709 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
5710 | is_rx, is_rxe): New functions. | |
5711 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
5712 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
5713 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
5714 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
5715 | enums for opcode values. (Is this an improvement?) | |
5716 | ||
fd13a04a AC |
5717 | 2003-07-02 Andrew Cagney <cagney@redhat.com> |
5718 | ||
5719 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
5720 | below. | |
5721 | ||
3f8091c1 DJ |
5722 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
5723 | ||
5724 | * breakpoint.c (insert_catchpoint): Make static. | |
5725 | ||
8dd5115e AS |
5726 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
5727 | ||
5728 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
5729 | former ia64_push_arguments and ia64_push_return_address, and use | |
5730 | regcache functions instead of read/write_register. | |
5731 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
5732 | deprecated_push_arguments and deprecated_push_return_address. | |
5733 | ||
a2229c23 AJ |
5734 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
5735 | ||
5736 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
5737 | before the call. | |
5738 | Set %rax only to number of SSE registers used. | |
5739 | ||
3b3850e8 AC |
5740 | 2003-07-01 Andrew Cagney <cagney@redhat.com> |
5741 | ||
5742 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
5743 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
5744 | (trad_frame_reg_p): Declare. | |
5745 | (trad_frame_set_value): Rename trad_frame_register_value. | |
5746 | (trad_frame_set_unknown): Declare. | |
5747 | * trad-frame.c (trad_frame_realreg_p): New function. | |
5748 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
5749 | (trad_frame_set_unknown): New function. | |
5750 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
5751 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
5752 | trad_frame_addr_p and trad_frame_value_p. | |
5753 | (trad_frame_set_value): Rename trad_frame_register_value. | |
5754 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
5755 | and trad_frame_set_value. | |
a2229c23 | 5756 | |
4d819d0e JB |
5757 | 2003-06-30 Jim Blandy <jimb@redhat.com> |
5758 | ||
5759 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
5760 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
5761 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
5762 | for 16 registers, and then 32 more bytes. | |
5763 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
5764 | New macros. | |
5765 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
5766 | Move up in the file, since it's now used by is_simple_arg. | |
5767 | (is_simple_arg): Don't assume registers are four bytes long. | |
5768 | Exclude all double arguments. Extended floats are not simple | |
5769 | args. | |
5770 | (is_power_of_two): New function. | |
5771 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
5772 | length fits in a register, rather than listing all the acceptable | |
5773 | sizes. Extended floats are not passed by reference. | |
5774 | (s390_push_arguments): Don't assume registers are four bytes long. | |
5775 | Reserve an argument register to point to the buffer for structures | |
5776 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
5777 | S390_STACK_FRAME_OVERHEAD. | |
5778 | ||
1ad828f1 AS |
5779 | 2003-06-30 Andreas Schwab <schwab@suse.de> |
5780 | ||
5781 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
5782 | format error message. | |
5783 | ||
39b00981 JB |
5784 | 2003-06-30 Joel Brobecker <brobecker@gnat.com> |
5785 | ||
5786 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
5787 | ||
b2a7f303 DC |
5788 | 2003-06-30 David Carlton <carlton@kealia.com> |
5789 | ||
5790 | Band-aid for PR c++/1245. | |
5791 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
5792 | * cp-support.c: Include complaints.h. Add declaration for | |
5793 | find_last_component. | |
5794 | (cp_find_first_component): Separate code into | |
5795 | cp_find_first_component_aux. | |
5796 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
5797 | (demangled_name_complaint): New. | |
5798 | ||
a257b5bb AC |
5799 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
5800 | ||
5801 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
5802 | the payload size. Update comments to reflect. Fixes problem of | |
5803 | GDB not sending small packets as found by Fred Fish. | |
5804 | ||
0a2cfde4 AC |
5805 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
5806 | ||
5807 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
5808 | ||
3fcb8548 AC |
5809 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
5810 | ||
5811 | * remote.c (remote_wait): Call error, and not warning, when the | |
5812 | packet is corrupt. | |
5813 | (remote_async_wait): Ditto. | |
5814 | ||
9f9970a3 DJ |
5815 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
5816 | ||
5817 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
5818 | ||
83a8ccca DJ |
5819 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
5820 | ||
5821 | * cli/cli-logging.c (pop_output_files): Add void to function | |
5822 | definition. | |
5823 | ||
d2cf594a AC |
5824 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
5825 | ||
5826 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
5827 | the buffer contents. | |
5828 | ||
0fac0b41 DJ |
5829 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
5830 | ||
5831 | * cli/cli-logging.c: New file. | |
5832 | * cli-out.c (struct ui_out_data): Add original_stream. | |
5833 | (cli_redirect): New function. | |
5834 | (cli_ui_out_impl): Add cli_redirect. | |
5835 | (cli_out_new): Initialize original_stream. | |
5836 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
5837 | (uo_redirect, ui_out_redirect): New. | |
5838 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
5839 | (redirect_ftype): New. | |
5840 | (ui_out_redirect): Add prototype. | |
5841 | * Makefile.in: Add rules for cli-logging.c. | |
5842 | * NEWS: Mention "set logging". | |
5843 | ||
88a07d7c EZ |
5844 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
5845 | ||
5846 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
5847 | ||
4eb58876 AC |
5848 | 2003-06-27 Andrew Cagney <cagney@redhat.com> |
5849 | ||
5850 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
5851 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
5852 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
5853 | (avr_gdbarch_init): Do not set call_dummy_address. | |
5854 | ||
1549f619 EZ |
5855 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
5856 | ||
5857 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
5858 | Move the checks for the non-mainline case a bit earlier to avoid | |
5859 | doing some useless computations. | |
5860 | ||
3cb3398d EZ |
5861 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
5862 | ||
5863 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
5864 | ||
3799ccc6 EZ |
5865 | 2003-06-26 Elena Zannoni <ezannoni@redhat.com> |
5866 | ||
5867 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
5868 | sections. | |
5869 | ||
ce1f6491 MC |
5870 | 2003-06-26 Michael Chastain <mec@shout.net> |
5871 | ||
5872 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
5873 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
5874 | ||
d958dfd0 AC |
5875 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
5876 | ||
5877 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
5878 | altivec_expression.h and altivec_registers.h. | |
5879 | ||
d31431ed AC |
5880 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
5881 | ||
5882 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
5883 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
5884 | ||
714b1282 AC |
5885 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
5886 | ||
5887 | * utils.c (internal_vproblem): Print the problem to a reason | |
5888 | buffer and then pass to query. Make the msg variable more local. | |
5889 | ||
42efa47a AC |
5890 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
5891 | ||
5892 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
5893 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
5894 | * gdbarch.h, gdbarch.c: Re-generate. | |
5895 | * frame-base.c (default_frame_args_address): Update. Use | |
5896 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
5897 | not available. | |
5898 | (default_frame_locals_address): Ditto for | |
5899 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
5900 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
5901 | (vax_frame_num_args): Update. | |
5902 | (vax_gdbarch_init): Update. | |
5903 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5904 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5905 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5906 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5907 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5908 | * symtab.h (address_class): Update comments. | |
5909 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
5910 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
5911 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
5912 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
5913 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
5914 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
5915 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
5916 | * alpha-mdebug-tdep.c: Update. | |
5917 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
5918 | ||
8ffd9b1b AJ |
5919 | 2003-06-26 Andreas Jaeger <aj@suse.de> |
5920 | ||
5921 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
5922 | of SSE registers so that varargs functions work. Rework handling | |
5923 | of passing arguments on the stack. | |
5924 | (x86_64_store_return_value): Return double and float values in SSE | |
5925 | register. | |
5926 | ||
e8ac10a6 MC |
5927 | 2003-06-24 Michael Chastain <mec@shout.net> |
5928 | ||
5929 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
5930 | the "constructor breakpoints ignored" bug. | |
5931 | ||
986af8e6 DC |
5932 | 2003-06-25 David Carlton <carlton@kealia.com> |
5933 | ||
5934 | * MAINTAINERS: Update e-mail address. | |
5935 | ||
d64558a5 JB |
5936 | 2003-06-24 Jim Blandy <jimb@redhat.com> |
5937 | ||
e538d2d7 JB |
5938 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
5939 | ||
02631ec0 JB |
5940 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
5941 | function. | |
5942 | (ppc_linux_init_abi): Register it as the | |
5943 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
5944 | ||
e716d87a JB |
5945 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
5946 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
5947 | method. | |
5948 | ||
d64558a5 JB |
5949 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
5950 | (ppc64_standard_linkage_target): Use it. | |
5951 | ||
449a5da4 AC |
5952 | 2003-06-23 Andrew Cagney <cagney@redhat.com> |
5953 | ||
5954 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
5955 | for 0 "int0" and 4 "int32" sized registers. | |
5956 | * gdbtypes.c (builtin_type_int0): Define. | |
5957 | (build_gdbtypes): Initialize builtin_type_int0. | |
5958 | * gdbtypes.h (builtin_type_int0): Declare. | |
5959 | ||
b2a02dda SC |
5960 | 2003-06-23 Stephane Carrez <stcarrez@nerim.fr> |
5961 | ||
5962 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
5963 | as characters are unsigned. | |
5964 | ||
fba3138e DJ |
5965 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
5966 | ||
5967 | PR gdb/1179 | |
5968 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
5969 | ||
f6c8180b AC |
5970 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
5971 | ||
5972 | GDB 6.0 branch created. | |
f2c06f52 AC |
5973 | * README: Update. |
5974 | * PROBLEMS: Update. Empty. | |
5975 | * NEWS: Update. | |
f6c8180b | 5976 | |
ae822768 DJ |
5977 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
5978 | ||
5979 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
5980 | Suggested by Nick Hibma <n_hibma@webweaving.org>. | |
5981 | ||
261de166 AC |
5982 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
5983 | ||
5984 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
5985 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
5986 | Velikov. | |
5987 | ||
30e94205 DJ |
5988 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
5989 | ||
5990 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
5991 | compilers. | |
5992 | ||
9e14d721 DJ |
5993 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
5994 | ||
5995 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
5996 | argument of val_print. | |
5997 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
5998 | to the address argument of baseclass_offset or target_read_memory. | |
5999 | Do add it to the argument of cp_print_value_fields. | |
6000 | ||
a4b8ebc8 AC |
6001 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
6002 | ||
6003 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
6004 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
6005 | instead of 0..NUM_REGS. | |
6006 | (mips_register_reggroup_p): New function. | |
6007 | (mips_pseudo_register_write): New function. | |
6008 | (mips_pseudo_register_read): New function. | |
6009 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
6010 | based on the register's type. | |
6011 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
6012 | cooked. | |
6013 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
6014 | pseudo / cooked. | |
6015 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
6016 | (mips_register_type): Replace mips_register_virtual_type. Map | |
6017 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
6018 | when available. | |
6019 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
6020 | that the register is cooked / virtual. | |
6021 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
6022 | Only get the extra info when needed. | |
6023 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
6024 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
6025 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
6026 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
6027 | (mips_print_register): Use gdbarch_register_type, instead of | |
6028 | REGISTER_VIRTUAL_TYPE. | |
6029 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
6030 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
6031 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
6032 | Print the pseudo / cooked registers. | |
6033 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
6034 | Print the pseudo / cooked registers. | |
6035 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
6036 | REG_NUM is pseudo / cooked. | |
6037 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
6038 | (mips_n32n64_xfer_return_value): Ditto. | |
6039 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
6040 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
6041 | (mips_register_sim_regno): New function. | |
6042 | (mips_gdbarch_init): Set deprecated_register_byte, | |
6043 | register_group_p, pseudo_register_write, pseudo_register_read, | |
6044 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
6045 | instead of register_virtual_type. | |
6046 | * Makefile.in (mips-tdep.o): Update dependencies. | |
6047 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
6048 | REGISTER_VIRTUAL_TYPE. | |
6049 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
6050 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
6051 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
6052 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
6053 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
6054 | ||
325ed089 DJ |
6055 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
6056 | ||
6057 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
6058 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
6059 | (shell_escape): Use vfork. | |
6060 | ||
f0e7d0e8 AC |
6061 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
6062 | ||
c57bb9fa AC |
6063 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
6064 | 32 bit floating-point register saves. | |
6065 | ||
6e51443a AC |
6066 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
6067 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
6068 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
6069 | and deprecated_get_next_frame_hack instead of | |
6070 | deprecated_unwind_get_saved_register. | |
6071 | ||
ed183c7c AC |
6072 | * mips-tdep.c (mips_dump_tdep): Do not print |
6073 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
6074 | ||
f0e7d0e8 AC |
6075 | * frame.c (get_frame_register): New function. |
6076 | (frame_unwind_register_signed): New function. | |
6077 | (get_frame_register_signed): New function. | |
6078 | (frame_unwind_register_unsigned): New function. | |
6079 | (get_frame_register_unsigned): New function. | |
6080 | * frame.h: Add comments on naming schema. | |
6081 | (get_frame_register, frame_unwind_register_signed): Declare. | |
6082 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
6083 | (frame_unwind_register_unsigned): Declare. | |
6084 | (get_frame_register_unsigned): Declare. | |
6085 | ||
2224d941 TR |
6086 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
6087 | ||
6088 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
6089 | ||
8619218d TR |
6090 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
6091 | ||
6092 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
6093 | (avr_read_sp): Ditto. | |
6094 | ||
0b1b50c0 DJ |
6095 | 2003-06-20 Daniel Jacobowitz <drow@mvista.com> |
6096 | ||
6097 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
6098 | * config/arm/nm-linux.h: Likewise. | |
6099 | * config/arm/tm-linux.h: Likewise. | |
6100 | * config/ia64/nm-linux.h: Likewise. | |
6101 | * config/ia64/tm-ia64.h: Likewise. | |
6102 | * config/s390/tm-linux.h: Likewise. | |
6103 | * config/s390/tm-s390.h: Likewise. | |
6104 | * s390-nat.c: Likewise. | |
6105 | * s390-tdep.c: Likewise. | |
6106 | ||
6107 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
6108 | * config/ia64/linux.mt: Likewise. | |
6109 | * config/m68k/linux.mh: Likewise. | |
6110 | * config/mips/linux.mt: Likewise. | |
6111 | * config/powerpc/linux.mh: Likewise. | |
6112 | * config/sh/linux.mt: Likewise. | |
6113 | ||
c8c18e65 KW |
6114 | 2003-06-19 Kris Warkentin <kewarken@qnx.com> |
6115 | ||
6116 | * solib.c (solib_open): Change tests for whether to search | |
6117 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
6118 | comments. | |
6119 | ||
dcccef2e TR |
6120 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
6121 | ||
6122 | * avr-tdep.c (avr_frame_address): Delete function. | |
6123 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
6124 | set_gdbarch_frame_args_address. | |
6125 | ||
5861a190 AC |
6126 | 2003-06-19 Andrew Cagney <cagney@redhat.com> |
6127 | ||
6128 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
6129 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
6130 | (mips_register_convert_to_type): Delete declaration. | |
6131 | (mips_register_convert_from_type): Delete declaration. | |
6132 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
6133 | kernel/. | |
6134 | ||
0274a8ce MS |
6135 | 2003-06-19 Michael Snyder <msnyder@redhat.com> |
6136 | ||
6137 | * linux-nat.h: New file. | |
6138 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 6139 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 6140 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 6141 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
6142 | (linux_make_note_section): Iterate over lwps instead of threads. |
6143 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
6144 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 6145 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
6146 | Add dependency on linux_nat_h. |
6147 | ||
adf5f719 TR |
6148 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
6149 | ||
6150 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
6151 | ||
6766a268 DJ |
6152 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
6153 | ||
6154 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
6155 | ||
1171114a DJ |
6156 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
6157 | ||
6158 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
6159 | ||
adcf68a2 TR |
6160 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
6161 | ||
6162 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
6163 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
6164 | ||
ea67f13b DJ |
6165 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
6166 | ||
6167 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
6168 | (generic_prepare_to_proceed): Remove. | |
6169 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
6170 | (generic_prepare_to_proceed): Remove prototype. | |
6171 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
6172 | * gdbarch.c: Regenerate. | |
6173 | * gdbarch.h: Regenerate. | |
6174 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
6175 | * hppah-nat.c (hppa_switched_threads): Remove. | |
6176 | * infrun.c (prepare_to_proceed): New static function, copied from | |
6177 | generic_prepare_to_proceed. Remove select_it argument. | |
6178 | (proceed): Call prepare_to_proceed. | |
6179 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
6180 | variables. | |
6181 | (ptrace_wait): Don't set the removed variables. | |
6182 | (hppa_switched_threads): Remove. | |
6183 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
6184 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
6185 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
6186 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
6187 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
6188 | ||
4add8633 TR |
6189 | 2003-06-18 Theodore A. Roth <troth@openavr.org> |
6190 | ||
6191 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
6192 | trad-frame.h. | |
6193 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
6194 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
6195 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
6196 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
6197 | (struct frame_extra_info): Remove. | |
6198 | (struct avr_unwind_cache): Define. | |
6199 | (avr_write_sp): Delete function. | |
6200 | (avr_read_fp): Ditto. | |
6201 | (avr_init_extra_frame_info): Ditto. | |
6202 | (avr_pop_frame): Ditto. | |
6203 | (avr_frame_saved_pc): Ditto. | |
6204 | (avr_saved_pc_after_call): Ditto. | |
6205 | (avr_push_return_address): Ditto. | |
6206 | (avr_frame_chain): Ditto. | |
6207 | (avr_store_struct_return): Ditto. | |
6208 | (avr_push_arguments): Ditto. | |
6209 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
6210 | cache unwinding. Now returns end of prologue PC. | |
6211 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
6212 | by using avr_scan_prologue. | |
6213 | (avr_scan_arg_moves): New function. | |
6214 | (avr_saved_regs_unwinder): Ditto. | |
6215 | (avr_frame_unwind_cache): Ditto. | |
6216 | (avr_unwind_pc): Ditto. | |
6217 | (avr_frame_this_id): Ditto. | |
6218 | (avr_frame_prev_register): Ditto. | |
6219 | (avr_frame_p): Ditto. | |
6220 | (avr_frame_base_address ): Ditto. | |
6221 | (avr_unwind_dummy_id): Ditto. | |
6222 | (avr_push_dummy_code): Ditto. | |
6223 | (push_stack_item): Ditto. | |
6224 | (pop_stack_item): Ditto. | |
6225 | (avr_push_dummy_call): Ditto. | |
6226 | (struct stack_item): Define. | |
6227 | (avr_frame_unwind): Declare structure. | |
6228 | (avr_frame_base): Ditto. | |
6229 | (avr_gdbarch_init): Remove calls to | |
6230 | set_gdbarch_deprecated_init_frame_pc, | |
6231 | set_gdbarch_deprecated_target_read_fp, | |
6232 | set_gdbarch_deprecated_dummy_write_sp, | |
6233 | set_gdbarch_deprecated_fp_regnum, | |
6234 | set_gdbarch_deprecated_push_arguments, | |
6235 | set_gdbarch_deprecated_push_return_address, | |
6236 | set_gdbarch_deprecated_pop_frame, | |
6237 | set_gdbarch_deprecated_store_struct_return, | |
6238 | set_gdbarch_deprecated_frame_init_saved_regs, | |
6239 | set_gdbarch_deprecated_init_extra_frame_info, | |
6240 | set_gdbarch_deprecated_frame_chain, | |
6241 | set_gdbarch_deprecated_frame_saved_pc, | |
6242 | set_gdbarch_deprecated_saved_pc_after_call. | |
6243 | Add calls to set_gdbarch_push_dummy_call, | |
6244 | set_gdbarch_push_dummy_code, | |
6245 | frame_unwind_append_predicate, | |
6246 | frame_base_set_default, | |
6247 | set_gdbarch_unwind_dummy_id, | |
6248 | set_gdbarch_unwind_pc. | |
6249 | Wrap a long line. | |
6250 | ||
7be04a68 MS |
6251 | 2003-06-18 Corinna Vinschen <vinschen@redhat.com> |
6252 | ||
6253 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
6254 | registers for H8/300S. | |
6255 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 6256 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 6257 | |
ae087d01 DJ |
6258 | 2003-06-18 Daniel Jacobowitz <drow@mvista.com> |
6259 | ||
6260 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
6261 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
6262 | (lin_lwp_wait): Likewise. Update comments. | |
6263 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
6264 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
6265 | ||
07d8f827 SC |
6266 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
6267 | ||
6268 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
6269 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
6270 | declared by ALL_BLOCK_SYMBOLS. | |
6271 | ||
7cb47b14 SC |
6272 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
6273 | ||
6274 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
6275 | ("regcache.h"): Include it. | |
6276 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
6277 | ||
6ad8ae5c DJ |
6278 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6279 | ||
6280 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
6281 | * infcmd.c (disconnect_command): New function. | |
6282 | (_initialize_infcmd): Add ``disconnect'' command. | |
6283 | * remote.c (remote_async_detach): Delete. | |
6284 | (remote_detach): Merge remote_async_detach. | |
6285 | (remote_disconnect): New. | |
6286 | (init_remote_ops): Set to_disconnect. | |
6287 | (init_remote_cisco_ops): Likewise. | |
6288 | (init_remote_async_ops): Likewise. Use remote_detach. | |
6289 | * target.c (cleanup_target): Default to_disconnect. | |
6290 | (update_current_target): Inherit to_disconnect. | |
6291 | (target_disconnect, debug_to_disconnect): New functions. | |
6292 | (setup_target_debug): Set to_disconnect. | |
6293 | * target.h (struct target_ops): Add to_disconnect. | |
6294 | (target_disconnect): Add prototype. | |
6295 | ||
687595f9 DJ |
6296 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6297 | ||
6298 | * breakpoint.c (insert_catchpoint): New function. | |
6299 | (insert_breakpoints): Use catch_exceptions to call | |
6300 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
6301 | ||
29239a8f DJ |
6302 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6303 | ||
6304 | * symfile.c (reread_symbols): Clear sym_private. | |
6305 | ||
2cdf3c63 AC |
6306 | 2003-06-17 Andrew Cagney <cagney@redhat.com> |
6307 | ||
6308 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
6309 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
6310 | declaration. | |
6311 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
6312 | comments. | |
6313 | ||
cf0e1e0d DJ |
6314 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6315 | ||
6316 | * remote.c (remote_prepare_to_store): Replace call to | |
6317 | deprecated_read_register_bytes with multiple regcache_raw_read | |
6318 | calls. | |
6319 | ||
192cdb19 KW |
6320 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
6321 | ||
6322 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
6323 | (nto_find_and_open_solib): Likewise. | |
6324 | (nto_init_solib_absolute_prefix): Likewise. | |
6325 | (_initialize_nto_tdep): Fix indentation. | |
6326 | ||
89929b45 KW |
6327 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
6328 | ||
6329 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
6330 | ||
46019f27 KW |
6331 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
6332 | ||
6333 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
6334 | ||
1a38736e JB |
6335 | 2003-06-17 Jim Blandy <jimb@redhat.com> |
6336 | ||
6337 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
6338 | ||
3605c34a TR |
6339 | 2003-06-16 Theodore A. Roth <troth@openavr.org> |
6340 | ||
6341 | * avr-tdep.c (avr_extract_return_value): New function. | |
6342 | (avr_gdbarch_init): Set extract_return_value method. | |
6343 | ||
870b3035 AC |
6344 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
6345 | ||
6346 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
6347 | * frame.c (legacy_saved_regs_prev_register): Only require | |
6348 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
6349 | there are always saved regs. | |
6350 | (deprecated_generic_get_saved_register): Do not require | |
6351 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
6352 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
6353 | use frame ID unwind instead. | |
6354 | (deprecated_get_next_frame_hack): New function. | |
6355 | ||
63d47a7d CV |
6356 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
6357 | ||
6358 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
6359 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
6360 | (h8300_push_return_address): Remove. | |
6361 | (h8300_gdbarch_init): Remove calls to | |
6362 | set_gdbarch_deprecated_dummy_write_sp, | |
6363 | set_gdbarch_deprecated_push_arguments and | |
6364 | set_gdbarch_deprecated_push_return_address. | |
6365 | Add call to set_gdbarch_push_dummy_call. | |
6366 | ||
4bb1dc5e CV |
6367 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
6368 | ||
6369 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
6370 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
6371 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 6372 | registers into safe registers. |
4bb1dc5e CV |
6373 | (h8300_skip_prologue): Check for stm instruction to push registers |
6374 | used for register variables onto stack. | |
6375 | (gdb_print_insn_h8300): Remove. | |
6376 | (h8300_examine_prologue): Add a comment. | |
6377 | (h8300_register_name): Take pseudo registers into account. | |
6378 | (h8300s_register_name): Ditto. | |
6379 | (h8300sx_register_name): Ditto. | |
6380 | (h8300_print_register): Ditto. | |
6381 | (h8300_print_registers_info): Define "nice" printing order. | |
6382 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
6383 | (h8300_register_type): Ditto. Return type used for remote connection | |
6384 | when requesting real CCR or EXR register, return actual type when | |
6385 | requesting pseudo CCR or EXR. | |
6386 | (h8300_pseudo_register_read): New function. | |
6387 | (h8300_pseudo_register_write): Ditto. | |
6388 | (h8300_dbg_reg_to_regnum): Ditto. | |
6389 | (h8300s_dbg_reg_to_regnum): Ditto. | |
6390 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
6391 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
6392 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
6393 | set_gdbarch_print_insn architecture dependent. | |
6394 | Call set_gdbarch_pseudo_register_read and | |
6395 | set_gdbarch_pseudo_register_write. | |
6396 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
6397 | ||
a59fe496 AC |
6398 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
6399 | ||
6400 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
6401 | * gdbarch.h, gdbarch.c: Re-generate. | |
6402 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6403 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6404 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6405 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6406 | * mips-tdep.c (mips_gdbarch_init): Update. | |
6407 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6408 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6409 | * infcall.c (call_function_by_hand): Update. | |
6410 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
6411 | * frame.c (legacy_get_prev_frame): Do not assume | |
6412 | SAVE_DUMMY_FRAME_TOS_P. | |
6413 | * dummy-frame.c (find_dummy_frame): Update comment. | |
6414 | ||
6f4e5a41 AC |
6415 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
6416 | ||
6417 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
6418 | ||
72fab697 TR |
6419 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
6420 | ||
6421 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
6422 | (avr_scan_prologue): Correct some comments. | |
6423 | ||
e3d8b004 TR |
6424 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
6425 | ||
6426 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
6427 | prologue types. | |
8ffd9b1b | 6428 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
6429 | option. |
6430 | Add code to scan -mcall-prologues for mega devices. | |
6431 | ||
866b76ea TR |
6432 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
6433 | ||
6434 | * avr-tdep.c (avr_register_byte): Delete function. | |
6435 | (avr_register_raw_size): Delete function. | |
6436 | (avr_register_virtual_size): Delete function. | |
6437 | (avr_register_virtual_type): Delete function. | |
6438 | (avr_register_type): New function. | |
6439 | (avr_address_to_pointer): Remove unused code. | |
6440 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
6441 | avr_register_type() usage. | |
6442 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
6443 | Don't set deprecated_register_bytes. | |
6444 | Don't set deprecated_register_byte. | |
6445 | Don't set deprecated_register_raw_size. | |
6446 | Don't set deprecated_max_register_raw_size. | |
6447 | Don't set deprecated_register_virtual_size. | |
6448 | Don't set deprecated_max_register_virtual_size. | |
6449 | Don't set deprecated_register_virtual_type. | |
6450 | Set register_type method. | |
6451 | ||
3993f6b1 DJ |
6452 | 2003-06-15 Daniel Jacobowitz <drow@mvista.com> |
6453 | ||
6454 | * Makefile.in (linux-nat.o): Add rule. | |
6455 | * linux-nat.c: New file. | |
6456 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
6457 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
6458 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
6459 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
6460 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
6461 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
6462 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
6463 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
6464 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
6465 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
6466 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
6467 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
6468 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
6469 | ||
786a90bb MK |
6470 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
6471 | ||
6472 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
6473 | replace out-of-date comment. | |
6474 | ||
3bd3f01e AC |
6475 | 2003-06-15 Andrew Cagney <cagney@redhat.com> |
6476 | ||
6477 | * rdi-share/host.h (Fail): Change to a varargs function. | |
6478 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 6479 | |
de5b9bb9 MK |
6480 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
6481 | ||
6482 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
6483 | (i386_convert_register_p, i386_register_to_value, | |
6484 | i386_register_from_value): Handle types longer than 8 bytes. | |
6485 | ||
d532c08f MK |
6486 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
6487 | ||
6488 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
6489 | Move floating-point code to new function in i387-tdep.c. | |
6490 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
6491 | New functions containing code moved here from i386-tdep.c. | |
6492 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
6493 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
6494 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
6495 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
6496 | value_to_register here. | |
8ffd9b1b | 6497 | |
42c466d7 AC |
6498 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
6499 | ||
6500 | * mips-tdep.c (mips_register_to_value): Make static. | |
6501 | (mips_value_to_register): Make static. | |
6502 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
6503 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
6504 | (ia64_register_virtual_size): Make static. | |
6505 | (ia64_register_byte): Make static. | |
6506 | * i387-tdep.c: Include "i387-tdep.h". | |
6507 | (print_387_control_word): Delete function. | |
6508 | (print_387_status_word): Delete function. | |
6509 | (print_387_status_bits): Delete function. | |
6510 | (print_387_control_bits): Delete function. | |
6511 | * Makefile.in (i387-tdep.o): Update dependencies. | |
6512 | * rdi-share/host.h (Fail): Declare. | |
6513 | * remote-rdi.c (Fail): Update to match declaration. | |
6514 | ||
2a9cda49 AC |
6515 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
6516 | ||
6517 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
6518 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
6519 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
6520 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
6521 | * README: Delete reference to remote-array. | |
6522 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
6523 | (remote-array.o): Delete target. | |
6524 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
6525 | * remote-array.c: Delete file. | |
6526 | ||
ff2e87ac AC |
6527 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
6528 | Mark Kettenis <kettenis@gnu.org> | |
6529 | ||
6530 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
6531 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
6532 | parameter with "frame". | |
6533 | * gdbarch.h, gdbarch.c: Re-generate. | |
6534 | * frame.h (put_frame_register): Declare. | |
6535 | * frame.c (put_frame_register): New function. | |
6536 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
6537 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
6538 | register value. | |
6539 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
6540 | register's location before storing. | |
6541 | * arch-utils.h (legacy_convert_register_p): Update. | |
6542 | (legacy_register_to_value, legacy_value_to_register): Update. | |
6543 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
6544 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
6545 | "frame" to REGISTER_TO_VALUE. | |
6546 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
6547 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
6548 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
6549 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
6550 | I386_EDI_REGNUM): New defines. | |
6551 | (i386_next_regnum, i386_convert_register_p, | |
6552 | i386_register_to_value, i386_value_to_register): New functions. | |
6553 | (i386_register_convertible, i386_register_convert_to_virtual, | |
6554 | i386_convert_to_raw): Remove functions. | |
6555 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
6556 | value_to_register instead of register_convertible, | |
6557 | register_convert_to_virtual and register_convert_to_raw. | |
6558 | * mips-tdep.c (mips_convert_register_p): New function. | |
6559 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
6560 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
6561 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
6562 | register_to_value. | |
6563 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
6564 | (alpha_value_to_register): Update, store the register. | |
6565 | (alpha_register_to_value): Update, fetch the register. | |
6566 | ||
98be1e77 TR |
6567 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
6568 | ||
6569 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
6570 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
6571 | Don't set deprecated_call_dummy_words. | |
6572 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
6573 | Don't set remote_translate_xfer_address. | |
6574 | (avr_io_reg_read_command): Remove commented out debug printf. | |
6575 | Wrap a long line. | |
6576 | ||
57bc6122 TR |
6577 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
6578 | ||
6579 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
6580 | causes gdb to seg fault. | |
6581 | ||
eb01fc62 DJ |
6582 | 2003-06-14 Daniel Jacobowitz <drow@mvista.com> |
6583 | ||
6584 | * sparc-nat.c (fetch_inferior_registers): Correct | |
6585 | a reference to "registers". | |
6586 | ||
3b3e6bee DJ |
6587 | 2003-06-14 Jeroen Dekkers <jeroen@dekkers.cx> |
6588 | ||
6589 | * Makefile.in (exc_request_U_h): Define | |
6590 | (exc_request_S_h): Likewise. | |
6591 | (msg_reply_S_h): Likewise. | |
6592 | (msg_U_h): Likewise. | |
6593 | (notify_S_h): Likewise. | |
6594 | (process_reply_S_h): Likewise. | |
6595 | (gnu-nat.o): Depend on gdb_obstack_h | |
6596 | * gnu-nat.c: Include "gdb_obstack.h". | |
6597 | ||
b8de8283 AC |
6598 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6599 | ||
6600 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
6601 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 6602 | |
f3be58bc AC |
6603 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6604 | ||
6605 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
6606 | when deprecated REGISTER macros can be deleted. | |
6607 | * gdbarch.h, gdbarch.c: Re-generate. | |
6608 | ||
4c0122c8 JB |
6609 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
6610 | ||
6611 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
6612 | Linux entry point symbols for _dl_debug_state, too. | |
6613 | ||
3e210248 AC |
6614 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6615 | ||
6616 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
6617 | available, do not use the FP register, and always save the TOS. | |
6618 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
6619 | SAVE_DUMMY_FRAME_TOS. | |
6620 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
6621 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
6622 | (i386_push_dummy_call): Add 8 to the returned SP. | |
6623 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
6624 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
6625 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
6626 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
6627 | (x86_64_push_dummy_call): Return "sp + 16". | |
6628 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
6629 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
6630 | save_dummy_frame_tos. | |
6631 | ||
0b65af49 JB |
6632 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
6633 | ||
6634 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
6635 | declaration for function deleted in my change of 2003-06-12. | |
6636 | ||
4ea2465e TR |
6637 | 2003-06-13 Theodore A. Roth <troth@openavr.org> |
6638 | ||
6639 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
6640 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
6641 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
6642 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
6643 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
6644 | ||
1581182a MK |
6645 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
6646 | ||
6647 | From Kelley Cook <kelleycook@wideopenwest.com>: | |
6648 | * configure.host: Accept i[34567]86 variants. | |
6649 | * configure.tgt: Likewise. | |
6650 | * nlm/configure.in: Likewise. | |
6651 | * nlm/configure: Regenerated. | |
6652 | ||
7aa1783e RE |
6653 | 2003-06-13 Richard Earnshaw <rearnsha@arm.com> |
6654 | ||
6655 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
6656 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
6657 | * arm-linux-tdep.c: ... here. Make static. | |
6658 | (arm_linux_init_abi): Register it. | |
6659 | (solib-svr4.h): Include it. | |
6660 | * Makefile.in: Update dependencies. | |
6661 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
6662 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
6663 | ||
0261a0d0 CV |
6664 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
6665 | ||
6666 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
6667 | indicate registers used for return values. | |
6668 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
6669 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
6670 | members. | |
6671 | (h8300_init_extra_frame_info): Ditto. | |
6672 | (h8300_frame_locals_address): Removed. | |
6673 | (h8300_frame_args_address): Removed. | |
6674 | (h8300_extract_return_value): Use new regcache structure. Only care | |
6675 | for 16 bit CPUs. | |
6676 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
6677 | (h8300_store_return_value): Use new regcache structure. Only care | |
6678 | for 16 bit CPUs. | |
6679 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
6680 | (h8300_store_struct_return): Removed. | |
6681 | (h8300_extract_struct_value_address): Use new regcache structure. | |
6682 | (h8300h_extract_struct_value_address): Removed. | |
6683 | (h8300_push_dummy_code): New function. | |
6684 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
6685 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
6686 | set_gdbarch_store_return_value architecture dependent. | |
6687 | Call set_gdbarch_push_dummy_code and | |
6688 | set_gdbarch_extract_struct_value_address. | |
6689 | Remove calls to set_gdbarch_frame_args_address, | |
6690 | set_gdbarch_frame_locals_address, | |
6691 | set_gdbarch_deprecated_store_struct_return, | |
6692 | set_gdbarch_deprecated_extract_return_value, | |
6693 | set_gdbarch_deprecated_extract_struct_value_address, | |
6694 | set_gdbarch_deprecated_call_dummy_words and | |
6695 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
6696 | ||
055c394a CV |
6697 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
6698 | ||
6699 | * h8300-tdep.c (h8300_register_byte): Remove. | |
6700 | (h8300h_register_byte): Remove. | |
6701 | (h8300_register_virtual_type): Remove. Substitute by... | |
6702 | (h8300_register_type): New function. | |
6703 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
6704 | (h8300h_extract_struct_value_address): Ditto. | |
6705 | (h8300_gdbarch_init): Drop calls to | |
6706 | set_gdbarch_deprecated_register_byte and | |
6707 | set_gdbarch_deprecated_register_virtual_type. | |
6708 | Add call to set_gdbarch_register_type. | |
6709 | ||
9c04cab7 AC |
6710 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6711 | ||
6712 | * gdbarch.sh: Update comments on registers. | |
6713 | (deprecated_register_byte): Rename register_byte. | |
6714 | (deprecated_register_raw_size): Rename register_raw_size. | |
6715 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
6716 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
6717 | * gdbarch.h, gdbarch.c: Re-generate. | |
6718 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6719 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6720 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6721 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6722 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6723 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6724 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6725 | * ns32k-tdep.c: Update. | |
6726 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6727 | * mips-tdep.c (mips_gdbarch_init): Update. | |
6728 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6729 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6730 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6731 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6732 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6733 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6734 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6735 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6736 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6737 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6738 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6739 | ||
b060cbea AC |
6740 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6741 | ||
6742 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
6743 | mips_o32_use_struct_convention with always_use_struct_convention. | |
6744 | ||
0fc9922a DC |
6745 | 2003-06-12 David Carlton <carlton@kealia.com> |
6746 | ||
6747 | * cp-namespace.c (cp_set_block_scope): Comment out | |
6748 | processing_has_namespace_info branch. | |
6749 | ||
1fd35568 JB |
6750 | 2003-06-12 Jim Blandy <jimb@redhat.com> |
6751 | ||
f470a70a JB |
6752 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
6753 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
6754 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
6755 | functions, macros, and types for working with PPC instructions. | |
6756 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
6757 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
6758 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
6759 | for recognizing and skipping linkage functions. | |
6760 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
6761 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
6762 | ||
49ff75ad JB |
6763 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
6764 | register offsets for both the 32- and 64-bit interfaces. | |
6765 | ||
bd918c83 JB |
6766 | Actually finish the job started by my change of 2003-05-29. |
6767 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
6768 | other #definition of this. | |
6769 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
6770 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
6771 | static. | |
6772 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
6773 | method for GDBARCH. | |
6774 | ||
6775 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
6776 | 'long' on ppc64-*-linux*. | |
6777 | ||
f8c59253 JB |
6778 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
6779 | isn't #defined, assume the register doesn't exist: act as if | |
6780 | tdep->ppc_mq_regnum were -1. | |
6781 | ||
8fbb30b1 JB |
6782 | * configure.host, configure.tgt: Add entries for |
6783 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
6784 | powerpc/linux.mt. | |
6785 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
6786 | New files. | |
6787 | ||
1fd35568 JB |
6788 | * arch-utils.c (always_use_struct_convention): New function. |
6789 | * arch-utils.h (always_use_struct_convention): New prototype. | |
6790 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
6791 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
6792 | instead of alpha_use_struct_convention. | |
6793 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
6794 | (cris_gdbarch_init): Register always_use_struct_convention, | |
6795 | instead of cris_use_struct_convention. | |
6796 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
6797 | (frv_gdbarch_init): Register always_use_struct_convention, | |
6798 | instead of frv_use_struct_convention. | |
6799 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
6800 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
6801 | instead of h8300_use_struct_convention. | |
e3305dd9 | 6802 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
6803 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
6804 | instead of mips_o32_use_struct_convention. | |
6805 | ||
e14e6e9c AC |
6806 | 2003-06-12 Andrew Cagney <cagney@redhat.com> |
6807 | ||
6808 | * wince.c: Include "mips-tdep.h". | |
6809 | * mips-tdep.h (mips_next_pc): Declare. | |
6810 | * mcore-tdep.c: Make more local functions static. | |
6811 | * Makefile.in (wince.o): Update dependencies. | |
6812 | ||
2335f48e DC |
6813 | 2003-06-12 David Carlton <carlton@kealia.com> |
6814 | ||
6815 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
6816 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
6817 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
6818 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
6819 | SYMBOL_NATURAL_NAME. | |
6820 | ||
f70a7d61 AS |
6821 | 2003-06-12 Andreas Schwab <schwab@suse.de> |
6822 | ||
6823 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
6824 | ||
b6429628 DC |
6825 | 2003-06-12 David Carlton <carlton@bactrian.org> |
6826 | ||
6827 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
6828 | Add declaration of lookup_partial_symbol. | |
6829 | * symtab.c (remove_params): Move to cp-support.c. | |
6830 | (overload_list_add_symbol, make_symbol_overload_list) | |
6831 | (sym_return_val_size, sym_return_val_index): Ditto. | |
6832 | (lookup_partial_symbol): Make extern. | |
6833 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
6834 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
6835 | symtab.h, and block.h. | |
6836 | (remove_params): Move here from symtab.c. | |
6837 | (overload_list_add_symbol, make_symbol_overload_list) | |
6838 | (sym_return_val_size, sym_return_val_index): Ditto. | |
6839 | * valops.c: Include cp-support.h. | |
6840 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
6841 | frame_h, and block_h. | |
6842 | (valops.o): Depend on cp_support_h. | |
6843 | ||
084edea5 CV |
6844 | 2003-06-12 Corinna Vinschen <vinschen@redhat.com> |
6845 | ||
6846 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
6847 | substitute by NUM_REGS throughout. | |
6848 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
6849 | (h8300s_register_name): New function for H8S registers. | |
6850 | (h8300sx_register_name): Ditto for H8SX registers. | |
6851 | (h8300_print_register): Revise register printing, avoid depending | |
6852 | on 32 bit long. | |
0261a0d0 | 6853 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
6854 | (h8300h_register_byte): New function for any other architecture. |
6855 | (h8300_register_raw_size): Remove. | |
6856 | (h8300_register_virtual_type): Revise to return actually useful | |
6857 | type. | |
6858 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
6859 | (h8300h_extract_struct_value_address): New function for any other | |
6860 | architecture. | |
6861 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
6862 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
6863 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
6864 | Remove calls to set_gdbarch_deprecated_register_size, | |
6865 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
6866 | set_gdbarch_deprecated_max_register_raw_size, | |
6867 | set_gdbarch_register_virtual_size and | |
6868 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
6869 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
6870 | set_gdbarch_long_double_bit. | |
6871 | ||
06194148 JJ |
6872 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
6873 | ||
8ffd9b1b AJ |
6874 | * doublest.c (convert_doublest_to_floatformat): When dealing |
6875 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
6876 | processing a full 32 bits of mantissa. |
6877 | ||
de4f826b DC |
6878 | 2003-06-11 David Carlton <carlton@bactrian.org> |
6879 | ||
6880 | * dictionary.h: New. | |
6881 | * dictionary.c: New. | |
6882 | * block.h: Add opaque declaration for struct dictionary. | |
6883 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
6884 | 'sym' members. | |
6885 | (BLOCK_DICT): New macro. | |
6886 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
6887 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
6888 | BLOCK_SHOULD_SORT. | |
6889 | (ALL_BLOCK_SYMBOLS): Update definition. | |
6890 | * Makefile.in (SFILES): Add dictionary.c. | |
6891 | (dictionary_h): New. | |
6892 | (COMMON_OBS): Add dictionary.o. | |
6893 | (dictionary.o): New. | |
6894 | (ada-lang.o): Depend on dictionary_h. | |
6895 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
6896 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
6897 | (mi-cmd-stack.o): Ditto. | |
6898 | (gdbtk-cmds.o): Update dependencies. | |
6899 | (gdbtk-stack.o): Ditto. | |
6900 | * ada-lang.c: Include dictionary.h. | |
6901 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
6902 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
6903 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
6904 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
6905 | 'is_sorted'. | |
6906 | * mdebugread.c: Include dictionary.h. | |
6907 | (struct parse_stack): Delete 'maxsyms' member. | |
6908 | (parse_symbol): Update calls to new_block. Delete calls to | |
6909 | shrink_block. Use dictionary methods. | |
6910 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
6911 | Update calls to new_symtab. Don't maintain maxsyms data. | |
6912 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
6913 | (add_symbol): Just call dict_add_symbol. | |
6914 | (new_symtab): Delete 'maxsyms' argument. | |
6915 | (new_symtab): Update calls to new_block. | |
6916 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
6917 | (shrink_block): Delete function. | |
6918 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
6919 | dict_add_symbol. | |
6920 | * jv-lang.c: Include dictionary.h. | |
6921 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
6922 | appropriately. Set class_symtab->free_func. Make sure the | |
6923 | blockvector is big enough to hold two blocks. | |
6924 | (add_class_symtab_symbol): Use dictionary methods. | |
6925 | (free_class_block): New function. | |
6926 | (type_from_class): Replace explicit iteration by | |
6927 | ALL_BLOCK_SYMBOLS. | |
6928 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
6929 | 'free_func'. | |
6930 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
6931 | sort_symtab_syms. | |
6932 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
6933 | sort_symtab_syms. | |
6934 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
6935 | Include dictionary.h. | |
6936 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
6937 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
6938 | sort_symtab_syms. | |
6939 | * objfiles.c: Include dictionary.h. | |
6940 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
6941 | * buildsym.c: Include dictionary.h. | |
6942 | (finish_block): Use dictionary methods. | |
6943 | (end_symtab): Set free_func to NULL, not free_ptr. | |
6944 | * tracepoint.c: Include dictionary.h. | |
6945 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
6946 | (scope_info): Ditto. | |
6947 | * stack.c: Include dictionary.h. | |
6948 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
6949 | (print_block_frame_labels, print_frame_arg_vars) | |
6950 | (print_frame_args): Ditto. | |
6951 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
6952 | (dump_symtab): Ditto. | |
6953 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
6954 | Include dictionary.h. | |
6955 | * symfile.h: Delete declarations of sort_block_syms, | |
6956 | sort_symtab_syms. | |
6957 | * symfile.c (sort_block_syms): Delete. | |
6958 | (sort_symtab_syms): Delete. | |
6959 | * symtab.c: Include dictionary.h. | |
6960 | (lookup_block_symbol): Use dictionary iterators. | |
6961 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
6962 | (search_symbols, make_symbol_completion_list): Ditto. | |
6963 | (make_symbol_overload_list): Ditto. | |
6964 | * valops.c (value_of_local): Use dict_empty. | |
6965 | Include dictionary.h. | |
6966 | ||
a31f978c JB |
6967 | 2003-06-11 J. Brobecker <brobecker@gnat.com> |
6968 | ||
6969 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
6970 | ||
526e70c0 DC |
6971 | 2003-06-11 David Carlton <carlton@bactrian.org> |
6972 | ||
6973 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
6974 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
6975 | blocks. | |
6976 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
6977 | * symfile.c (sort_block_syms): Delete. | |
6978 | (sort_symtab_syms): Ditto. | |
6979 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
6980 | declarations. | |
6981 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
6982 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
6983 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
6984 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
6985 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
6986 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
6987 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
6988 | ||
33c08150 JJ |
6989 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
6990 | ||
8ffd9b1b | 6991 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
6992 | bits to 128. |
6993 | ||
781a750d AC |
6994 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
6995 | ||
6996 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
6997 | REGISTER_CONVERTIBLE. | |
6998 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
6999 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
7000 | * gdbarch.h, gdbarch.c: Re-generate. | |
7001 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
7002 | generic_register_convertible_not. | |
7003 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
7004 | generic_register_convertible. | |
7005 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
7006 | * sh-tdep.c (sh64_push_arguments): Update. | |
7007 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
7008 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
7009 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
7010 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
7011 | * arch-utils.c (legacy_value_to_register): Update. | |
7012 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7013 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
7014 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7015 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
7016 | * infcmd.c (default_print_registers_info): Update. | |
7017 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7018 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
7019 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7020 | (i386_register_convert_to_raw): Update. | |
7021 | ||
cd90e54f AC |
7022 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
7023 | ||
7024 | * remote-fileio.c: Include "remote-fileio.h". | |
7025 | * Makefile.in (remote-fileio.o): Update dependencies. | |
7026 | (remote_fileio_h): Fix typo. | |
7027 | ||
a78f21af AC |
7028 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
7029 | ||
7030 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
7031 | (xstormy16_save_dummy_frame_tos): Make static. | |
7032 | (_initialize_xstormy16_tdep): Add declaration. | |
7033 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
7034 | * v850-tdep.c: Make local functions static. | |
7035 | (_initialize_v850_tdep): Add declaration. | |
7036 | * sparc-tdep.c: Make local functions static. | |
7037 | (_initialize_sparc_tdep): Add declaration. | |
7038 | * sh-tdep.c: Make local functions static. | |
7039 | (_initialize_sh_tdep): Add declaration. | |
7040 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
7041 | * s390-tdep.c: Make local functions static. | |
7042 | (_initialize_s390_tdep): Add declaration. | |
7043 | * dbxread.c (find_stab_function_addr): Make static. | |
7044 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
7045 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
7046 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
7047 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
7048 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
7049 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
7050 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
7051 | * remote-array.c (_initialize_array): Add declaration. | |
7052 | (_initialize_remote_monitors): Add declaration. | |
7053 | * remote-mips.c: Make local functions static. | |
7054 | (_initialize_remote_mips): Add declaration. | |
7055 | * mcore-tdep.c: Make all local functions static. | |
7056 | (_initialize_mcore_tdep): Add declaration. | |
7057 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
7058 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
7059 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
7060 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
7061 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
7062 | * remote-est.c (_initialize_est): Add declaration. | |
7063 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
7064 | (m68hc11_call_dummy_address): Make static. | |
7065 | * ia64-tdep.c: Make local functions static. | |
7066 | (_initialize_ia64_tdep): Add declaration. | |
7067 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
7068 | * monitor.c (monitor_wait_filter): Make static. | |
7069 | (_initialize_remote_monitors): Add declaration. | |
7070 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
7071 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
7072 | (expect_n): Make static. | |
7073 | (_initialize_remote_e7000): Add declaration. | |
7074 | * ser-e7kpc.c: Always include "defs.h". | |
7075 | (_initialize_ser_e7000pc): Add declaration. | |
7076 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
7077 | * cris-tdep.c: Make all but one function static. | |
7078 | (_initialize_cris_tdep): Add declaration. | |
7079 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
7080 | * solib.c (update_solib_list): Make static. | |
7081 | (_initialize_solib): Add declaration. | |
7082 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
7083 | (_initialize_avr_tdep): Add declaration. | |
7084 | * remote-rdi.c (voiddummy): Make static. | |
7085 | (_initialize_remote_rdi): Add declaration. | |
7086 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
7087 | * remote-rdp.c (send_rdp): Make static. | |
7088 | (_initialize_remote_rdp): Add declaration. | |
7089 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
7090 | ||
cbcdb1f5 CV |
7091 | 2003-06-11 Corinna Vinschen <vinschen@redhat.com> |
7092 | ||
7093 | * remote-fileio.c: Make ari happy. | |
7094 | ||
a191ea8d JB |
7095 | 2003-06-10 J. Brobecker <brobecker@gnat.com> |
7096 | ||
7097 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
7098 | fetching the trailing bytes of the buffer we are about to write. | |
7099 | ||
0ef75e11 AC |
7100 | 2003-06-10 Andrew Cagney <cagney@redhat.com> |
7101 | ||
7102 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
7103 | * Makefile.in (remote-fileio.o): Update dependencies. | |
7104 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
7105 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
7106 | (remote_fio_jmp_buf): Delete global variable. | |
7107 | ||
449092f6 | 7108 | 2003-06-10 Corinna Vinschen <vinschen@redhat.com> |
559fa028 | 7109 | Martin M. Hunt <hunt@redhat.com> |
449092f6 | 7110 | |
559fa028 AC |
7111 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
7112 | (SFILES): Add remote-fileio.c. | |
7113 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
7114 | dependencies for building remote.o. | |
449092f6 CV |
7115 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
7116 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 7117 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
7118 | static storage class. |
7119 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
7120 | 'F' packet. | |
7121 | (_initialize_remote): Call initialize_remote_fileio(). | |
7122 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
7123 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
7124 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
7125 | (captured_main): Initialize new ui_files. | |
7126 | * ui-file.c: Add read and fgets input functions. | |
7127 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
7128 | (null_file_read): New function. | |
7129 | (ui_file_read): New function. | |
7130 | (set_ui_file_read): New function. | |
7131 | (stdio_file_read): New function. | |
7132 | * ui-file.h: New type ui_file_read_ftype. | |
7133 | (set_ui_file_read): Declare. | |
7134 | (ui_file_read): Declare. | |
7135 | ||
248de703 AC |
7136 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7137 | ||
7138 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
7139 | generic_unwind_get_saved_register, update comments. | |
7140 | * mips-tdep.c (mips_get_saved_register): Update. | |
7141 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
7142 | ||
0ed8aa57 AC |
7143 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7144 | ||
7145 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
7146 | (vax_gdbarch_init): Do not set frame_locals_address. | |
7147 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
7148 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
7149 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
7150 | (s390_gdbarch_init): Do not set frame_args_address or | |
7151 | frame_locals_address. | |
7152 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
7153 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
7154 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
7155 | (hppa_frame_locals_address): Delete function. | |
7156 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
7157 | frame_locals_address. | |
7158 | * arm-tdep.c (arm_frame_args_address): Delete. | |
7159 | (arm_frame_locals_address): Delete. | |
7160 | (arm_gdbarch_init): Do not set frame_args_address, or | |
7161 | frame_locals_address. | |
7162 | ||
983a287a AC |
7163 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7164 | ||
7165 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
7166 | * gdbarch.h, gdbarch.c: Re-generate. | |
7167 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
7168 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
7169 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
7170 | (frame_info): Use FRAME_NUM_ARGS_P. | |
7171 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
7172 | (arm_gdbarch_init): Do not set frame_num_args. | |
7173 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
7174 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
7175 | (hppa_gdbarch_init): Do not set frame_num_args. | |
7176 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
7177 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7178 | frame_num_args to default frame_num_args_unknown. | |
7179 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7180 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7181 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7182 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7183 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7184 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7185 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7186 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7187 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7188 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7189 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7190 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7191 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7192 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7193 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7194 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7195 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7196 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7197 | ||
8d3b0994 AC |
7198 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7199 | ||
7200 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
7201 | (print_frame_args): Moved to "stack.c". | |
7202 | * stack.c: Include "gdb_assert.h". | |
7203 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
7204 | (print_frame_args): Moved from "printcmd.c". | |
7205 | * frame.h (print_frame_args): Delete declaration. | |
7206 | * Makefile.in (stack.o): Update dependencies. | |
7207 | ||
25e3a86b AC |
7208 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7209 | ||
7210 | * frame.c (get_prev_frame): Remove reference to | |
7211 | frame_args_address_correct in comments. | |
7212 | * frame-base.c (default_frame_args_address): Delete code | |
7213 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
7214 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
7215 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
7216 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
7217 | (vax_frame_args_address_correct): Delete declaration. | |
7218 | ||
a9e5fdc2 AC |
7219 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7220 | ||
7221 | * gdbarch.sh (UNWIND_SP): Add. | |
7222 | * gdbarch.h, gdbarch.c: Re-generate. | |
7223 | * frame.c (frame_sp_unwind): New function. | |
7224 | (get_frame_sp): New function. | |
7225 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
7226 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
7227 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
7228 | value. | |
7229 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
7230 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
7231 | ||
8983bd83 AC |
7232 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7233 | ||
7fec2c59 AC |
7234 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
7235 | REMOTE_BREAKPOINT. | |
7236 | * remote.c: Update. | |
7237 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
7238 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
7239 | * config/m68k/tm-sun3.h: Update. | |
7240 | * config/m68k/tm-m68klynx.h: Update. | |
7241 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
7242 | ||
8983bd83 AC |
7243 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
7244 | trad_frame". Update comments. | |
7245 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
7246 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
7247 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
7248 | ||
b9362cc7 AC |
7249 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7250 | ||
7251 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
7252 | from GCC's acinclude.m4. | |
7253 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 7254 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
7255 | * main.c (error_init): Delete declaration. |
7256 | * defs.h (error_init): Declare. | |
7257 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
7258 | (rs6000_convert_from_func_ptr_addr): Make static. | |
7259 | (_initialize_rs6000_tdep): Add declaration. | |
7260 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
7261 | (show_commands, set_verbose, show_history): Delete declaration. | |
7262 | * top.h (set_verbose): Add declaration. | |
7263 | (show_history, set_history, show_commands): Add declaration. | |
7264 | (do_restore_instream_cleanup): Add declaration. | |
7265 | * objc-lang.c (specialcmp): Make static. | |
7266 | (print_object_command): Make static. | |
7267 | (find_objc_msgsend): Make static. | |
7268 | (find_objc_msgcall_submethod_helper): Make static. | |
7269 | (find_objc_msgcall_submethod): Make static. | |
7270 | (_initialize_objc_language): Add declaration. | |
7271 | (find_implementation_from_class): Make static. | |
7272 | (find_implementation): Make static. | |
7273 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
7274 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
7275 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
7276 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
7277 | (do_restore_user_call_depth): Make static. | |
7278 | (do_restore_instream_cleanup): Delete declaration. | |
7279 | (dont_repeat): Delete declaration. | |
7280 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
7281 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
7282 | * reggroups.c (_initialize_reggroup): Add declaration. | |
7283 | * cp-support.c (_initialize_cp_support): Add declaration. | |
7284 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
7285 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
7286 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
7287 | (_initialize_gnu_v3_abi): Add declaration. | |
7288 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
7289 | (_initialize_gnu_v2_abi): Add declaration. | |
7290 | * frame-base.c (_initialize_frame_base): Add declaration. | |
7291 | * doublest.c (floatformat_from_length): Make static. | |
7292 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
7293 | * frame.c (create_sentinel_frame): Make static. | |
7294 | (_initialize_frame): Add declaration. | |
7295 | * top.c (do_catch_errors): Make static. | |
7296 | (gdb_rl_operate_and_get_next_completion): Make static. | |
7297 | * typeprint.c: Include "typeprint.h". | |
7298 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
7299 | (sentinel_frame_this_id): Make static. | |
7300 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
7301 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
7302 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
7303 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
7304 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
7305 | * maint.c (maintenance_print_architecture): Make static. | |
7306 | * signals/signals.c (_initialize_signals): Add declaration. | |
7307 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
7308 | * jv-exp.y (push_variable): ISO C definition. | |
7309 | (push_qualified_expression_name): Ditto. | |
7310 | * memattr.c (_initialize_mem): Add declaration. | |
7311 | * remote.c (remote_check_watch_resources): Make static. | |
7312 | (remote_stopped_by_watchpoint): Make static. | |
7313 | (remote_stopped_data_address): Make static. | |
7314 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
7315 | (a0_regnum): Make static. | |
7316 | (d10v_frame_unwind_cache): Make static. | |
7317 | (d10v_frame_p): Make static. | |
7318 | * osabi.c (show_osabi): Make static. | |
7319 | (_initialize_gdb_osabi): Add extern declaration. | |
7320 | * gdbtypes.c (make_qualified_type): Make static. | |
7321 | (safe_parse_type): Make static. | |
7322 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
7323 | * macrotab.c (macro_bcache_free): Make static. | |
7324 | * interps.c (interp_set_quiet): Make static. | |
7325 | (interpreter_exec_cmd): Make static. | |
7326 | * stack.h (select_frame_command): New file. | |
7327 | * stack.c: Include "stack.h". | |
7328 | (select_frame_command_wrapper): Delete function. | |
7329 | (select_frame_command): Make global. | |
7330 | * infcall.c: Include "infcall.h". | |
7331 | * linespec.c: Include "linespec.h". | |
7332 | * symfile.c (sections_overlap): Make static. | |
7333 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
7334 | * charset.c (_initialize_charset): Add missing prototype. | |
7335 | * regcache.c (init_legacy_regcache_descr): Make static. | |
7336 | (do_regcache_xfree): Make static. | |
7337 | (regcache_xfer_part): Make static. | |
7338 | (_initialize_regcache): Add missing prototype. | |
7339 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
7340 | (breakpoint_sals_to_pc): Make static. | |
7341 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
7342 | * Makefile.in (stack_h): Define. | |
7343 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
7344 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
7345 | ||
a0f267c7 AC |
7346 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7347 | ||
7348 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7349 | (SFILES): Add trad-frame.c. | |
7350 | (trad_frame_h): Define. | |
7351 | (COMMON_OBS): Add trad-frame.o. | |
7352 | (trad-frame.o): Specify dependencies. | |
7353 | * d10v-tdep.c: Include "trad-frame.h". | |
7354 | (saved_regs_unwinder): Delete function. | |
7355 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
7356 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
7357 | trad_frame", delete "regs" and "prev_sp". | |
7358 | (prologue_find_regs): Use trad-frame. | |
7359 | * trad-frame.h, trad-frame.c: New files. | |
7360 | ||
4538b4f4 MK |
7361 | 2003-06-08 Mark Kettenis <kettenis@gnu.org> |
7362 | ||
7363 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
7364 | ||
a0273b2f AF |
7365 | 2003-06-07 Adam Fedor <fedor@gnu.org> |
7366 | ||
7367 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
7368 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
7369 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
7370 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 7371 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
7372 | Use it. |
7373 | ||
3a6c3343 AC |
7374 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7375 | ||
7376 | * symfile.h: Re-indent, clean up comments. | |
7377 | ||
b46e02f6 AC |
7378 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7379 | ||
7380 | * inferior.h (deprecated_write_sp): Replace | |
7381 | generic_target_write_sp. | |
7382 | * regcache.c (deprecated_write_sp): Replace | |
7383 | generic_target_write_sp. | |
7384 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7385 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7386 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7387 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7388 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7389 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7390 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7391 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7392 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7393 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7394 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7395 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7396 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7397 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7398 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7399 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7400 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
7401 | ||
a42e117c AC |
7402 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7403 | ||
7404 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
7405 | Assert that PC_REGNUM is valid. | |
7406 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
7407 | ||
bd1ce8ba AC |
7408 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7409 | ||
7410 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
7411 | * gdbarch.h, gdbarch.c: Regenerate. | |
7412 | * mn10300-tdep.c: Include "gdb_assert.h". | |
7413 | (mn10300_read_fp): New function. | |
7414 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
7415 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
7416 | * ia64-tdep.c: Include "gdb_assert.h". | |
7417 | (ia64_read_fp): New function. | |
7418 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
7419 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
7420 | * regcache.c (generic_target_read_sp): Delete function. | |
7421 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
7422 | * inferior.h (generic_target_read_sp): Delete declaration. | |
7423 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
7424 | generic_target_read_sp. | |
7425 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7426 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
7427 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7428 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7429 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
7430 | ||
ec5cbaec AC |
7431 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7432 | ||
7433 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
7434 | * gdbarch.h, gdbarch.c: Re-generate. | |
7435 | ||
cde9ea48 AC |
7436 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7437 | ||
7438 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
7439 | * gdbarch.h, gdbarch.c: Re-generate. | |
7440 | * regcache.c: Update comments on read_pc et.al. | |
7441 | (generic_target_read_pc): Delete function. | |
7442 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
7443 | * inferior.h (generic_target_read_pc): Delete declaration. | |
7444 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
7445 | generic_target_read_pc. | |
7446 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7447 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7448 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7449 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 7450 | |
9a90a780 AC |
7451 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7452 | ||
7453 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
7454 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
7455 | Append period to coments. | |
7456 | ||
a39a16c4 MM |
7457 | 2003-06-06 Mark Mitchell <mark@codesourcery.com> |
7458 | ||
7459 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
7460 | (elfstab_offset_sections): Likewise. | |
7461 | * gdb-stabs.h (stab_section_info): Likewise. | |
7462 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
7463 | * objfiles.c (objfile_relocate): Likewise. | |
7464 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
7465 | * remote.c (get_offsets): Likewise. | |
7466 | (remote_cisco_objfile_relocate): Likewise. | |
7467 | * somread.c (som_symfile_offsets): Likewise. | |
7468 | * symfile.c (alloc_section_addr_info): New function. | |
7469 | (build_section_addr_info_from_section_tab): Use it. | |
7470 | (free_section_addr_info): Adjust. | |
7471 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
7472 | (syms_from_objfile): Allocate local_addr dynamically. | |
7473 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
7474 | dynamically. | |
7475 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
7476 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
7477 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
7478 | (alloc_section_addr_info): Declare it. | |
7479 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
7480 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
7481 | dynamically. | |
7482 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 7483 | |
20c6c2f8 AC |
7484 | 2003-06-06 Andrew Cagney <cagney@redhat.com> |
7485 | ||
7486 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
7487 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
7488 | ||
884a26c8 MS |
7489 | 2003-06-06 Michael Snyder <msnyder@redhat.com> |
7490 | ||
7491 | * h8300-tdep.c: Make tidy (long lines). | |
7492 | ||
088ce440 ML |
7493 | 2003-06-06 Michal Ludvig <mludvig@suse.cz> |
7494 | ||
8ffd9b1b | 7495 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
7496 | to regcache_collect(). |
7497 | ||
7d773d96 JB |
7498 | 2003-06-05 J. Brobecker <brobecker@gnat.com> |
7499 | ||
7500 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
7501 | pc_in_sigtramp multiarch method. | |
7502 | (hppa_hpux_som_init_abi): Use it. | |
7503 | (hppa_hpux_elf_init_abi): Likewise. | |
7504 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
7505 | macro has been multiarched. | |
7506 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
7507 | macro here, as hppa64 isn't multiarched yet. | |
7508 | ||
1df6926e AC |
7509 | 2003-06-05 Andrew Cagney <cagney@redhat.com> |
7510 | ||
7511 | * Makefile.in (value_h): Add $(frame_h). | |
7512 | * value.h: Include "frame.h". | |
7513 | (struct value): Replace "frame_addr" with "frame_id". | |
7514 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
7515 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
7516 | (value_copy): Use VALUE_FRAME_ID. | |
7517 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
7518 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
7519 | ||
6b53acc6 ML |
7520 | 2003-06-05 Michal Ludvig <mludvig@suse.cz> |
7521 | ||
7522 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
7523 | in each pass. | |
7524 | ||
4d9850d3 JJ |
7525 | 2003-06-05 Jeff Johnston <jjohnstn@redhat.com> |
7526 | ||
7527 | * thread-db.c (check_event): For create/death event breakpoints, | |
7528 | loop through all messages to ensure that we read the message | |
7529 | corresponding to the breakpoint we are at. | |
7530 | ||
8efca6ba MS |
7531 | 2003-06-04 Michael Snyder <msnyder@redhat.com> |
7532 | ||
7533 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
7534 | ||
0912c7f2 MK |
7535 | 2003-06-04 Mark Kettenis <kettenis@gnu.org> |
7536 | ||
7537 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
7538 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
7539 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
7540 | when handling .eh_frame sections. | |
7541 | ||
4e370325 JB |
7542 | 2003-06-04 J. Brobecker <brobecker@gnat.com> |
7543 | ||
7544 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
7545 | prepare_to_proceed procedure instead of the hppa-specific one. | |
7546 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
7547 | ||
b757528f | 7548 | 2003-06-04 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 7549 | |
b757528f JJ |
7550 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
7551 | * config.in: Regenerated. | |
7552 | * configure.in: Add test for syscall function and check for | |
7553 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
7554 | * configure: Regenerated. | |
7555 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
7556 | <sys/syscall.h>. | |
7557 | (kill_lwp): New function that uses tkill syscall or | |
7558 | uses kill, depending on whether threading model is nptl or not. | |
7559 | All callers of kill() changed to use kill_lwp(). | |
7560 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
7561 | see if all threads have already exited in the nptl model. | |
7562 | (stop_and_resume_callback): New callback function used by the | |
7563 | lin_lwp_wait thread exit handling code. | |
7564 | (stop_wait_callback): Check for threads already having exited and | |
7565 | delete such threads fromt the lwp list when discovered. | |
7566 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 7567 | |
b757528f JJ |
7568 | Roland McGrath <roland@redhat.com> |
7569 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
7570 | nptl libthread_db. | |
7571 | ||
087779b1 RH |
7572 | 2003-06-03 Richard Henderson <rth@redhat.com> |
7573 | ||
b21fd293 RH |
7574 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
7575 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
7576 | (alpha_sigtramp_frame_prev_register): Likewise. | |
7577 | (alpha_heuristic_frame_prev_register): Likewise. | |
7578 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
7579 | ||
8ffd9b1b | 7580 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
7581 | alpha-specific register id names. |
7582 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
7583 | (alpha_mdebug_frame_prev_register): Likewise. | |
7584 | ||
baa490c4 RH |
7585 | 2003-06-03 Richard Henderson <rth@redhat.com> |
7586 | ||
7587 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
7588 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
7589 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
7590 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
7591 | unwind routines. | |
7592 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
7593 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
7594 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
7595 | ||
7596 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
7597 | * Makefile.in (alpha-linux-tdep.o): Update. | |
7598 | ||
7599 | 2003-06-03 Richard Henderson <rth@redhat.com> | |
7600 | ||
7601 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
7602 | (alphabsd_fill_fpreg): Likewise. | |
7603 | ||
f534e522 JB |
7604 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7605 | ||
7606 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
7607 | references to struct frame_info fields by calls to the equivalent | |
7608 | accessors. Necessary now that frame_info is opaque. | |
7609 | ||
4035536b JB |
7610 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7611 | ||
7612 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
7613 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
7614 | structure, field no longer exists. | |
7615 | ||
0bd79c5c JB |
7616 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7617 | ||
7618 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
7619 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
7620 | ||
37bb6d9f JB |
7621 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7622 | ||
7623 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
7624 | references to struct frame_info fields by calls to the equivalent | |
7625 | accessors. Necessary now that frame_info is opaque. | |
7626 | ||
852ee05c JB |
7627 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7628 | ||
7629 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
7630 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
7631 | structure, field no longer exists. | |
7632 | ||
7d58c67d TR |
7633 | 2003-06-03 Theodore A. Roth <troth@openavr.org> |
7634 | ||
8ffd9b1b | 7635 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
7636 | accumulation of the size of all registers instead of blindly using |
7637 | DEPRECATED_REGISTER_BYTES. | |
7638 | ||
0a48e7e8 MS |
7639 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
7640 | ||
7641 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
7642 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
7643 | for h8300sx. | |
7644 | ||
9798ab0d JB |
7645 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7646 | ||
7647 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
7648 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
7649 | ||
00b037e2 AC |
7650 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
7651 | ||
7652 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
7653 | (sparc_convert_to_raw): Delete function. | |
7654 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
7655 | register_convert_to_virtual. | |
7656 | ||
043b2f77 JJ |
7657 | 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> |
7658 | ||
7659 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
7660 | layer if not dealing with a statically-linked threaded program. | |
7661 | ||
f43caff8 KW |
7662 | 2003-06-03 Kris Warkentin <kewarken@qnx.com> |
7663 | ||
7664 | * solib.c (solib_open): Update comment to reflect actual search order. | |
7665 | ||
ae1e7417 AC |
7666 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
7667 | ||
7668 | * frame.c (get_frame_memory_signed): New function. | |
7669 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
7670 | (get_frame_arch): New function. | |
7671 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
7672 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
7673 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
7674 | get_frame_memory_unsigned and get_frame_arch. | |
7675 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
7676 | ||
cb123844 RG |
7677 | 2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk> |
7678 | ||
7679 | * MAINTAINERS (write after approval): Add myself. | |
7680 | ||
1bb792e9 JB |
7681 | 2003-06-03 Jim Blandy <jimb@redhat.com> |
7682 | ||
7683 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
7684 | elements of gregset_t are 64 bits each, but access registers | |
7685 | are still 32 bits, so they're packed two per gregset_t | |
7686 | element. Unpack/pack them properly. | |
7687 | ||
aee8d8ba DC |
7688 | 2003-06-02 David Carlton <carlton@bactrian.org> |
7689 | ||
7690 | * linespec.c (find_methods): Break out code into | |
7691 | add_matching_methods and add_constructors. | |
7692 | (add_matching_methods): New. | |
7693 | (add_constructors): Ditto. | |
7694 | ||
bf7488d2 AC |
7695 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
7696 | ||
bf7488d2 AC |
7697 | * sparc-tdep.c (sparc_print_registers): Delete call to |
7698 | REGISTER_CONVERTIBLE. | |
7699 | (sparc_gdbarch_init): Do not set register_convertible. | |
7700 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7701 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7702 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7703 | ||
adedef68 EZ |
7704 | 2003-06-02 Elena Zannoni <ezannoni@redhat.com> |
7705 | ||
8ffd9b1b | 7706 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
7707 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
7708 | (syms_from_objfile): Ditto. | |
7709 | ||
650fcc91 AS |
7710 | 2003-06-03 Andreas Schwab <schwab@suse.de> |
7711 | ||
7712 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
7713 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
7714 | ||
df4a182b RH |
7715 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7716 | ||
7717 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
7718 | a member of all_reggroup. | |
7719 | ||
c483c494 RH |
7720 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7721 | ||
7722 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
7723 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
7724 | (alpha_lds, alpha_sts): New. | |
7725 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 7726 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
7727 | restructure and fail for type sizes other than 4 or 8. |
7728 | (alpha_value_to_register): Similarly. | |
7729 | (alpha_extract_return_value): Use alpha_sts. | |
7730 | (alpha_store_return_value): Use alpha_lds. | |
7731 | (alpha_gdbarch_init): Update hooks. | |
7732 | ||
b38b6be2 RH |
7733 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7734 | ||
7735 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
7736 | regnum identifiers. | |
7737 | (alpha_sigtramp_register_address): Likewise. | |
7738 | ||
98a8e1e5 RH |
7739 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7740 | ||
7741 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
7742 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
7743 | * alpha-tdep.h: Declare them. | |
7744 | ||
7745 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
7746 | Remove zerobuf. Don't error on UNIQUE. | |
7747 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
7748 | (ALPHA_REGSET_UNIQUE): Provide default. | |
7749 | (supply_gregset): Use alpha_supply_int_regs. | |
7750 | (fill_gregset): Use alpha_fill_int_regs. | |
7751 | (supply_fpregset): Use alpha_supply_fp_regs. | |
7752 | (fill_fpregset): Use alpha_fill_fp_regs. | |
7753 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
7754 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
7755 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
7756 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
7757 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
7758 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
7759 | ||
67dfac52 RH |
7760 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7761 | ||
f75d70cc RH |
7762 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
7763 | ||
67dfac52 RH |
7764 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
7765 | (alpha_store_return_value): Likewise. | |
7766 | ||
0cf566ec DC |
7767 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
7768 | ||
7769 | * block.c (contained_in): Add 'const' to arguments. | |
7770 | (block_function): Ditto. | |
7771 | * block.h: Update declarations for block_function and | |
7772 | contained_in. | |
7773 | ||
cdef89d0 DC |
7774 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
7775 | ||
7776 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
7777 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
7778 | * p-valprint.c (pascal_val_print): Ditto. | |
7779 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
7780 | ||
72667056 RH |
7781 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7782 | ||
98a8e1e5 RH |
7783 | * alpha-tdep.c (alpha_push_dummy_call): Use |
7784 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 7785 | |
8ffd9b1b | 7786 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
7787 | sign-extension of 32-bit values. |
7788 | (alpha_store_return_value): Similarly. | |
0ede8eca | 7789 | |
98a8e1e5 RH |
7790 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
7791 | (alpha_extract_return_value): Likewise. | |
7792 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 7793 | |
98a8e1e5 RH |
7794 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
7795 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 7796 | |
98a8e1e5 RH |
7797 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
7798 | (alpha_extract_struct_value_address): Likewise. | |
7799 | (alpha_store_return_value): Likewise. | |
7800 | (alpha_store_struct_return): Remove. | |
7801 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 7802 | |
98a8e1e5 RH |
7803 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
7804 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
7805 | macros where appropriate. | |
7806 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
7807 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 7808 | |
98a8e1e5 RH |
7809 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
7810 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
7811 | for all others. | |
7812 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 7813 | |
6dd77b81 RH |
7814 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7815 | ||
7816 | * top.h (lim_at_start): Declare. | |
7817 | * main.c (captured_main): Set it. | |
7818 | * top.c (lim_at_start): Define. | |
7819 | (command_loop): Use it instead of &environ. | |
7820 | * event-top.c (command_handler): Likewise. | |
7821 | ||
f4dbdb54 JT |
7822 | 2003-06-01 Jason Thorpe <thorpej@wasabisystems.com> |
7823 | ||
7824 | * mipsnbsd-tdep.c: Update copyright years. | |
7825 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
7826 | ||
8f285956 RH |
7827 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7828 | ||
98a8e1e5 RH |
7829 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
7830 | (alpha-linux-tdep.o): Update dependencies. | |
7831 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
7832 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 7833 | |
615967cb RH |
7834 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7835 | ||
98a8e1e5 RH |
7836 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
7837 | (alpha_gdbarch_init): Register it. | |
615967cb | 7838 | |
b59661bd AC |
7839 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
7840 | ||
7841 | * dwarfread.c: Eliminate "register" | |
7842 | (decode_die_type): Eliminate assignment within "if". | |
7843 | (struct_type, decode_array_element_type): Ditto. | |
7844 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
7845 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
7846 | (decode_modified_type, completedieinfo): Ditto. | |
7847 | * block.c: Eliminate "register". | |
7848 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
7849 | * cp-support.h (struct symbol): Opaque declaration. | |
7850 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
7851 | ||
5ef165c2 RH |
7852 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7853 | ||
98a8e1e5 RH |
7854 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
7855 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 7856 | |
143985b7 AF |
7857 | 2003-06-01 Adam Fedor <fedor@gnu.org> |
7858 | ||
7859 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
7860 | * gdbarch.[ch]: Regenerate. | |
7861 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
7862 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
7863 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
7864 | (i386_gdbarch_init): Set it into gdbarch. | |
7865 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
7866 | (rs6000_gdbarch_init): Set it in gdbarch. | |
7867 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
7868 | (sparc_gdbarch_init): Set it in gdbarch. | |
7869 | ||
ae0167b9 AC |
7870 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
7871 | ||
7c0b4a20 AC |
7872 | * defs.h (extract_address): Delete declaration. |
7873 | * findvar.c (extract_address): Delete function. | |
7874 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
7875 | extract_address with the inline equivalent, | |
7876 | extract_unsigned_integer. | |
7877 | (xstormy16_extract_struct_value_address): Ditto. | |
7878 | (xstormy16_pointer_to_address): Ditto. | |
7879 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
7880 | * v850-tdep.c (v850_push_arguments): Ditto. | |
7881 | (v850_extract_return_value): Ditto. | |
7882 | (v850_extract_struct_value_address): Ditto. | |
7883 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
7884 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
7885 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
7886 | (get_longjmp_target): Ditto. | |
7887 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
7888 | (sh64_extract_struct_value_address): Ditto. | |
7889 | (sh_push_arguments): Ditto. | |
7890 | (sh64_push_arguments): Ditto. | |
7891 | * remote-vxsparc.c (vx_read_register): Ditto. | |
7892 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
7893 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
7894 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
7895 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
7896 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
7897 | * mips-nat.c (get_longjmp_target): Ditto. | |
7898 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
7899 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
7900 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
7901 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
7902 | * irix5-nat.c (get_longjmp_target): Ditto. | |
7903 | * irix4-nat.c (get_longjmp_target): Ditto. | |
7904 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
7905 | (ia64_push_arguments): Ditto. | |
7906 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
7907 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
7908 | (h8300_store_return_value): Ditto. | |
7909 | (h8300_extract_struct_value_address): Ditto. | |
7910 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
7911 | (frv_push_arguments): Ditto. | |
7912 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
7913 | (avr_push_arguments): Ditto. | |
7914 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
7915 | (arm_get_longjmp_target): Ditto. | |
7916 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
7917 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
7918 | (alpha_get_longjmp_target): Ditto. | |
7919 | ||
ae0167b9 AC |
7920 | * solib-irix.c (extract_mips_address): Inline extract_address, |
7921 | replacing it with extract_signed_integer. | |
7922 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
7923 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
7924 | (first_link_map_member, open_symbol_file_object): Ditto. | |
7925 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
7926 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
7927 | (LM_NEXT, LM_NAME): Ditto. | |
7928 | ||
44d88583 RH |
7929 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7930 | ||
98a8e1e5 RH |
7931 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
7932 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
7933 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
7934 | (alpha_cannot_store_register): Likewise. | |
7935 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
7936 | * alpha-nat.c (supply_gregset): Likewise. | |
7937 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 7938 | |
310e9b6a AC |
7939 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
7940 | ||
7941 | * infcall.c (call_function_by_hand): Update comment on | |
7942 | DEPRECATED_DUMMY_WRITE_SP. | |
7943 | ||
7944 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
7945 | deprecated_dummy_write_sp. | |
7946 | (mips_eabi_push_dummy_call): Set the SP register. | |
7947 | (mips_o64_push_dummy_call): Set the SP register. | |
7948 | (mips_o32_push_dummy_call): Set the SP register. | |
7949 | (mips_n32n64_push_dummy_call): Set the SP register. | |
7950 | ||
5ab84872 RH |
7951 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7952 | ||
98a8e1e5 RH |
7953 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
7954 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
7955 | (supply_gregset): Likewise. | |
7956 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
7957 | (alpha_get_longjmp_target): Likewise. | |
7958 | (alpha_register_name): Constify array. | |
7959 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
7960 | deprecated_register_size, deprecated_register_bytes, | |
7961 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
7962 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
7963 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 7964 | |
09cc52fd RH |
7965 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7966 | ||
7967 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
7968 | from arg_reg_buffer to regcache to avoid double conversion. | |
7969 | ||
c7f16359 MK |
7970 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
7971 | ||
7972 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
7973 | SP_REGNUM. | |
7974 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
7975 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
7976 | ||
7131cb6e RH |
7977 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7978 | ||
98a8e1e5 RH |
7979 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
7980 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 7981 | |
f3e0f90b RH |
7982 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7983 | ||
98a8e1e5 RH |
7984 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
7985 | not overlapping PC_REGNUM. | |
f3e0f90b | 7986 | |
c88e30c0 RH |
7987 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7988 | ||
98a8e1e5 RH |
7989 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
7990 | alpha_push_arguments. Don't dump argument register data to | |
7991 | the target stack. Fix float and 128-bit long double semantics. | |
7992 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
7993 | (alpha_fix_call_dummy): Remove. | |
7994 | (alpha_call_dummy_words): Remove. | |
7995 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 7996 | |
f1a559ae RH |
7997 | 2003-06-01 Richard Henderson <rth@redhat.com> |
7998 | ||
7999 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
8000 | ||
5e045346 AC |
8001 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
8002 | ||
95404a3e AC |
8003 | * mips-tdep.c (is_mips16_addr): New function. |
8004 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
8005 | (pc_is_mips16, mips_fetch_instruction): Use. | |
8006 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
8007 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
8008 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
8009 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
8010 | TARGET_MIPS. | |
8011 | * config/mips/tm-mips.h: Update copyright. | |
8012 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
8013 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
8014 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
8015 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
8016 | (TM_PRINT_INSN_MACH): Delete. | |
8017 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
8018 | ||
5e045346 AC |
8019 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
8020 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
8021 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
8022 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
8023 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
8024 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
8025 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
8026 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
8027 | * config/mips/mips64.mt: New file. | |
8028 | * config/mips/mips.mt: New file. | |
8029 | * config/mips/littlemips.mt: Delete file. | |
8030 | * config/mips/decstation.mt: Delete file. | |
8031 | * config/mips/vr4300el.mt: Delete file. | |
8032 | * config/mips/vr5000el.mt: Delete file. | |
8033 | * config/mips/vr5000.mt: Delete file. | |
8034 | * config/mips/vr4100.mt: Delete file. | |
8035 | * config/mips/vr4xxxel.mt: Delete file. | |
8036 | * config/mips/vr4300.mt: Delete file. | |
8037 | * config/mips/vr4xxx.mt: Delete file. | |
8038 | * config/mips/bigmips.mt: Delete file. | |
8039 | * config/mips/bigmips64.mt: Delete file. | |
8040 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
8041 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
8042 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
8043 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
8044 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
8045 | "tm-bigmips.h". | |
8046 | * config/mips/tm-irix3.h: Ditto. | |
8047 | * config/mips/tm-mipsv4.h: Ditto. | |
8048 | * config/mips/tm-embed.h: Ditto. | |
8049 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
8050 | "tm-bigmips64.h". | |
8051 | * config/mips/tm-vr5000el.h: Delete file. | |
8052 | * config/mips/tm-tx39l.h: Delete file. | |
8053 | * config/mips/tm-vr4300el.h: Delete file. | |
8054 | * config/mips/tm-vr4xxxel.h: Delete file. | |
8055 | * config/mips/tm-vr4300.h: Delete file. | |
8056 | * config/mips/tm-vr4100.h: Delete file. | |
8057 | * config/mips/tm-vr4xxx.h: Delete file. | |
8058 | * config/mips/tm-vr5000.h: Delete file. | |
8059 | * config/mips/tm-embedl64.h: Delete file. | |
8060 | * config/mips/tm-embedl.h: Delete file. | |
8061 | * config/mips/tm-embed64.h: Delete file. | |
8062 | * config/mips/tm-bigmips64.h: Delete file. | |
8063 | * config/mips/tm-bigmips.h: Delete file. | |
8064 | ||
2473a4a9 MK |
8065 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
8066 | ||
97a5b208 MK |
8067 | Fix gdb/1216. |
8068 | * shnbsd-nat.c: Include "sh-tdep.h". | |
8069 | ||
2473a4a9 MK |
8070 | From Richard Henderson <rth@redhat.com>: |
8071 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
8072 | ||
e0f7ec59 AC |
8073 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8074 | ||
8075 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
8076 | forward declaration. | |
8077 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
8078 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
8079 | (mips_find_saved_regs): Use set_reg_offset. | |
8080 | (mips_frame_init_saved_regs): Delete function. | |
8081 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
8082 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
8083 | ||
68dcc709 AC |
8084 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8085 | ||
8086 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
8087 | deprecated_max_register_raw_size, register_virtual_size, and | |
8088 | deprecated_max_register_virtual_size. | |
8089 | ||
cfc14b3a MK |
8090 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8091 | ||
6405b0a6 MK |
8092 | * i386-tdep.c: Include "dwarf2-frame.h". |
8093 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
8094 | * Makefile.in (i386-tdep.o): Update dependencies. | |
8095 | ||
cfc14b3a MK |
8096 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
8097 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
8098 | (dwarf2_frame_h): Define. | |
8099 | (COMMON_OBS): Add dwarf2-frame.o. | |
8100 | (dwarf2-frame.o): Add dependencies. | |
8101 | ||
6a2751d2 AJ |
8102 | 2003-05-31 Andreas Jaeger <aj@suse.de> |
8103 | ||
8104 | * x86-64-linux-nat.c: Fix comment. | |
8105 | ||
1c3545ae MK |
8106 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8107 | ||
10f93086 MK |
8108 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
8109 | function signature. | |
8110 | ||
1c3545ae MK |
8111 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
8112 | have a sigcontext_addr handler. | |
8113 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
8114 | sigcontext_addr handler. | |
8115 | ||
e11c53d2 AC |
8116 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8117 | ||
8118 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
8119 | (print_fp_register_row): Replace do_fp_register_row. | |
8120 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
8121 | (mips_print_register): Add "file" and "frame" parameters. | |
8122 | (mips_print_registers_info): Replace mips_do_registers_info. | |
8123 | (mips_gdbarch_init): Set print_registers_info instead of | |
8124 | deprecated_do_registers_info. | |
8125 | (mips_read_fp_register_single): Add "frame" parameter. | |
8126 | (mips_read_fp_register_double): Add "frame" parameter. | |
8127 | ||
a3386186 MK |
8128 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8129 | ||
70913449 MK |
8130 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
8131 | Fixes a bug where GDB would print the wrong register names for | |
8132 | targets without SSE. | |
8133 | ||
2b5e0749 MK |
8134 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
8135 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
8136 | registers. | |
8137 | ||
8138 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
8139 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
8140 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8141 | TDEP->sc_sp_offset. | |
8142 | ||
a3386186 MK |
8143 | From Michal Ludvig <mludvig@suse.cz>: |
8144 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
8145 | and `sc_num_regs'. | |
8146 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
8147 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
8148 | I386_ST0_REGNUM): Move here from... | |
8149 | * i386-tdep.c: ... here. | |
8150 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
8151 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
8152 | registers if possible. | |
8153 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
8154 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
8155 | Remove variables. | |
8156 | (i386bsd_sc_reg_offset): New variable. | |
8157 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
8158 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8159 | TDEP->sc_sp_offset. | |
8160 | (i386fbsd_sc_reg_offset): New variable. | |
8161 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
8162 | TDEP->sc_num_regs. | |
8163 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
8164 | variables. | |
8165 | (i386fbsd4_sc_reg_offset): New variable. | |
8166 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
8167 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8168 | TDEP->sc_sp_offset. | |
8169 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
8170 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
8171 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
8172 | Remove variables. | |
8173 | (i386nbsd_sc_reg_offset): New variable. | |
8174 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
8175 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8176 | TDEP->sc_sp_offset. | |
8177 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
8178 | Remove variables. | |
8179 | (i386obsd_sc_reg_offset): New variable. | |
8180 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
8181 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8182 | TDEP->sc_sp_offset. | |
8183 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
8184 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
8185 | for frame pointer offset in `struct sigcontext'. | |
8186 | ||
25ab4790 AC |
8187 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8188 | ||
8189 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
8190 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
8191 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
8192 | push_dummy_call instead of deprecated_push_arguments. | |
8193 | (mips_store_struct_return): Delete function. | |
8194 | (mips_fix_call_dummy): Delete function. | |
8195 | (mips_push_return_address): Delete function. | |
8196 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
8197 | RA_REGNUM and T9_REGNUM. | |
8198 | (mips_n32n64_push_dummy_call): Ditto for | |
8199 | mips_n32n64_push_arguments. | |
8200 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
8201 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
8202 | ||
6a65450a AC |
8203 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8204 | ||
8205 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
8206 | "dummy_addr" to "bp_addr". | |
8207 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
8208 | gdbarch_push_dummy_call. | |
8209 | * gdbarch.h, gdbarch.c: Re-generate. | |
8210 | * i386-tdep.c (i386_push_dummy_call): Update. | |
8211 | * arm-tdep.c (arm_push_dummy_call): Update. | |
8212 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
8213 | ||
c4f35dd8 MK |
8214 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8215 | ||
8216 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
8217 | variable declarations. | |
8218 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
8219 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
8220 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
8221 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
8222 | x86_64_function_has_prologue): Remove prototypes. | |
8223 | (X86_64_NUM_GREGS): New define. | |
8224 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
8225 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
8226 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
8227 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
8228 | XMM1_REGNUM): Remove defines. | |
8229 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
8230 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
8231 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
8232 | X86_64_XMM1_REGNUM): New defines. | |
8233 | (struct x86_64_register_info): Renamed from `struct | |
8234 | register_info'. Remove `size' member. | |
8235 | (x86_64_register_info_table): Remove variable. | |
8236 | (x86_64_register_info): New variable. | |
8237 | (X86_64_NUM_REGS): New define. | |
8238 | (X86_64_NUM_GREGS): Remove define. | |
8239 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
8240 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
8241 | Remove variables. | |
8242 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
8243 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
8244 | (x86_64_dwarf_reg_to_regnum): New function. | |
8245 | (x86_64_register_name): Rewrite. | |
8246 | (x86_64_register_raw_size): Remove function. | |
8247 | (x86_64_register_byte_table): Remove variable. | |
8248 | (x86_64_register_byte): Remove function. | |
8249 | (x86_64_register_virtual_type): Remove function. | |
8250 | (x86_64_register_type): New function. | |
8251 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
8252 | x86_64_register_convert_to_raw): Remove functions. | |
8253 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
8254 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
8255 | defines. | |
8256 | (x86_64_frame_init_saved_regs): Remove function. | |
8257 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
8258 | as argument. | |
8259 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
8260 | static. Rewrite based on i386 counterparts. | |
8261 | (x86_64_push_dummy_call): New function. | |
8262 | (X86_64_NUM_SAVED_REGS): New define. | |
8263 | (x86_64_register_number): Remove function. | |
8264 | (x86_64_store_struct_return): Remove function. | |
8265 | (x86_64_frameless_function_invocation, | |
8266 | x86_64_function_has_prologue): Remove functions. | |
8267 | (PROLOG_BUFSIZE): Remove define. | |
8268 | (struct x86_64_frame_cache): New structure. | |
8269 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
8270 | x86_64_frame_cache, x86_64_frame_this_id, | |
8271 | x86_64_frame_prev_register, x86_64_frame_p, | |
8272 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
8273 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
8274 | functions. | |
8275 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
8276 | variables. | |
8277 | (x86_64_skip_prologue): Rewrite in terms of | |
8278 | x86_64_analyze_prologue. | |
8279 | (x86_64_frame_base_address): New function. | |
8280 | (x86_64_frame_base): New variable. | |
8281 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
8282 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
8283 | set deprecated_fp_regnum, deprecated_register_size, | |
8284 | deprecated_register_bytes, register_raw_size, register_byte, | |
8285 | register_virtual_type, register_convertiable, | |
8286 | register_convert_to_virtual, convert_to_raw, | |
8287 | deprecated_get_saved_register, deprecated_target_read_fp, | |
8288 | deprecated_push_arguments, deprecated_push_return_address, | |
8289 | deprecated_pop_frame, deprecated_store_struct_return, | |
8290 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
8291 | frameless_function_invocation, deprecated_frame_saved_pc, | |
8292 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
8293 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
8294 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
8295 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
8296 | and x86_64_frame_p. Call frame_base_set_default to register | |
8297 | x86_64_frame_base. | |
8298 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
8299 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
8300 | (_initialize_x86_64_tdep): Remove function. | |
8301 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
8302 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
8303 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
8304 | define. | |
8305 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
8306 | (x86_64_linux_sigcontext_addr): Rewrite. | |
8307 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
8308 | x86_64_linux_frame_saved_pc): Remove functions. | |
8309 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
8310 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
8311 | trampoline. | |
8312 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
8313 | Remove_functions. | |
8314 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
8315 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
8316 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
8317 | (x86_64_regmap): Rename to regmap. | |
8318 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
8319 | x86_64_num_gregs. | |
8320 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
8321 | x86_64_regmap. | |
8322 | (x86_64_fxsave_offset): Remove function. | |
8323 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
8324 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
8325 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
8326 | asignment in if-statement. | |
8327 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
8328 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
8329 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
8330 | (fetch_core_registers): Remove function. | |
8331 | (linux_elf_core_fns): Remove. | |
8332 | (offsetoff): Don't define. | |
8333 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
8334 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
8335 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
8336 | add core-regset.o. | |
8337 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
8338 | protection against multiple includes instead of NM_X86_64_h. Add | |
8339 | various comments. Include "config/nm-linux.h". Don't include | |
8340 | <signal.h>. | |
8341 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
8342 | GET_THREAD_SIGNALS): Remove defines. | |
8343 | (x86_64_register_u_addr, kernel_u_size, | |
8344 | lin_thread_get_thread_signals): Remove prototypes. | |
8345 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
8346 | [HAVE_LINK_H]: Don't include "solib.h". | |
8347 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
8348 | * config/i386/tm-x86-64linux.h: Fix comments. | |
8349 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
8350 | x86-64-tdep.o): Update dependencies. | |
8351 | ||
c25083af AC |
8352 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
8353 | ||
c8f55a7b AC |
8354 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
8355 | Change parameter type to a "struct regcache *". | |
8356 | ||
c25083af AC |
8357 | * gdbarch.sh: Regardless of the multi-arch level, always define |
8358 | the macro when not already defined. | |
8359 | * gdbarch.h, gdbarch.c: Re-generate. | |
8360 | ||
fbe586ae RH |
8361 | 2003-05-30 Richard Henderson <rth@redhat.com> |
8362 | ||
8363 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
8364 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
8365 | (alpha_mdebug_frame_this_id): Likewise. | |
8366 | (alpha_mdebug_frame_prev_register): Likewise. | |
8367 | (alpha_mdebug_frame_base_address): Likewise. | |
8368 | (alpha_mdebug_frame_locals_address): Likewise. | |
8369 | (alpha_mdebug_frame_args_address): Likewise. | |
8370 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
8371 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
8372 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
8373 | loop increment. | |
8374 | (alpha_heuristic_frame_this_id): Make static. | |
8375 | (alpha_heuristic_frame_prev_register): Likewise. | |
8376 | (alpha_heuristic_frame_base_address): Likewise. | |
8377 | * alpha-tdep.h: Update. | |
8378 | ||
acd5c798 MK |
8379 | 2003-05-30 Mark Kettenis <kettenis@gnu.org> |
8380 | ||
8381 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
8382 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
8383 | defenitions. | |
8384 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
8385 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
8386 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
8387 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
8388 | I386_ST0_REGNUM): New defines. | |
8389 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
8390 | codestream_get): Remove define. | |
8391 | (codestream_next_addr, condestream_addr, condestream_buf, | |
8392 | codestream_off, codestream_cnt): Remove variables. | |
8393 | (codestream_fill, codestream_seek, codestream_read): Remove | |
8394 | functions. | |
8395 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
8396 | functionality. | |
8397 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
8398 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
8399 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
8400 | i386_frame_num_args, i386_frame_init_saved_regs, | |
8401 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
8402 | i386_push_arguments): Remove functions. | |
8403 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
8404 | functionality. Use i386_analyze_prologue instead of | |
8405 | i386_get_frame_setup. | |
8406 | (I386_NUM_SAVED_REGS): New define. | |
8407 | (struct i386_frame_cache): New structure. | |
8408 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
8409 | i386_skip_probe, i386_analyze_frame_setup, | |
8410 | i386_analyze_register_saves, i386_analyze_prologue, | |
8411 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
8412 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
8413 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
8414 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
8415 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
8416 | New functions. | |
8417 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
8418 | New variables. | |
8419 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
8420 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
8421 | (i386_extract_return_value, i386_store_return_value): Use | |
8422 | I386_ST0_REGNUM where appropriate. | |
8423 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
8424 | (i386_svr4_pc_in_sigtramp): Add comment. | |
8425 | (i386_svr4_sigcontext_addr): Rewrite. | |
8426 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
8427 | TDEP->sc_sp_offset. | |
8428 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
8429 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
8430 | of new defines. Set push_dummy_call, don't set | |
8431 | deprecated_push_arguments, deprecated_push_return_address, | |
8432 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
8433 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
8434 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
8435 | save_dummy_frame_tos, unwind_pc. Call | |
8436 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
8437 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
8438 | Don't set frameless_function_invocation. Don't set | |
8439 | deprecated_register_bytes, deprecated_register_size, | |
8440 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
8441 | * i386-linux-tdep.c: Fix formatting in some comments. | |
8442 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
8443 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
8444 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
8445 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
8446 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
8447 | redundant parentheses. | |
8448 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
8449 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
8450 | (find_minsym_and_objfile): Change name of second argument. | |
8451 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
8452 | changed. Use frame_pc_unwind instead of | |
8453 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
8454 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
8455 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
8456 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
8457 | unwinder. | |
8458 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
8459 | "dummy-frame.h". | |
8460 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
8461 | (_initialize_i386_cygwin_tdep): New prototype. | |
8462 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
8463 | deprecated_frame_chain_valid. | |
8464 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
8465 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
8466 | Rely on the SVR4 defaults. | |
8467 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
8468 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
8469 | ||
c89b70f1 AC |
8470 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
8471 | ||
8472 | * infcall.c (call_function_by_hand): Always call | |
8473 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
8474 | ||
85b32d22 RH |
8475 | 2003-05-30 Richard Henderson <rth@redhat.com> |
8476 | ||
c89b70f1 AC |
8477 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
8478 | increment. | |
85b32d22 | 8479 | |
bfe51b1e JB |
8480 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
8481 | ||
8482 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
8483 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
8484 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
8485 | show through. | |
8486 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
8487 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
8488 | giving the same effect as the #definitions above. | |
8489 | ||
1abf022c AF |
8490 | 2003-05-29 Adam Fedor <fedor@gnu.org> |
8491 | ||
8492 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
8493 | (find_implementation_from_class): Replace it with the standard | |
8494 | case i.e. do nothing. | |
8495 | ||
d2427a71 RH |
8496 | 2003-05-29 Richard Henderson <rth@redhat.com> |
8497 | ||
8498 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
8499 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
8500 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
8501 | update for new frame model. | |
8502 | * alpha-mdebug-tdep.c: New file. | |
8503 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
8504 | (alpha_osf1_init_abi): Install it. | |
8505 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
8506 | (linked_proc_desc_table): Remove. | |
8507 | (alpha_frame_past_sigtramp_frame): Remove. | |
8508 | (alpha_dynamic_sigtramp_offset): Remove. | |
8509 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
8510 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
8511 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
8512 | (push_sigtramp_desc): Remove. | |
8513 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
8514 | (alpha_cannot_store_register): Likewise. | |
8515 | (alpha_sigcontext_addr): Remove. | |
8516 | (alpha_find_saved_regs): Remove. | |
8517 | (alpha_frame_init_saved_regs): Remove. | |
8518 | (alpha_init_frame_pc_first): Remove. | |
8519 | (read_next_frame_reg): Remove. | |
8520 | (alpha_frame_saved_pc): Remove. | |
8521 | (alpha_saved_pc_after_call): Remove. | |
8522 | (temp_proc_desc, temp_saved_regs): Remove. | |
8523 | (alpha_about_to_return): Remove. | |
8524 | (cached_proc_desc): Remove. | |
8525 | (alpha_frame_chain): Remove. | |
8526 | (alpha_print_extra_frame_info): Remove. | |
8527 | (alpha_init_extra_frame_info): Remove. | |
8528 | (alpha_frame_locals_address): Remove. | |
8529 | (alpha_frame_args_address): Remove. | |
8530 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
8531 | (alpha_push_dummy_frame): Remove. | |
8532 | (alpha_pop_frame): Remove. | |
8533 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
8534 | (alpha_read_insn): New. | |
8535 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
8536 | for different insn encodings. | |
8537 | (alpha_in_lenient_prologue): Remove. | |
8538 | (struct alpha_sigtramp_unwind_cache): New. | |
8539 | (alpha_sigtramp_frame_unwind_cache): New. | |
8540 | (alpha_sigtramp_register_address): New. | |
8541 | (alpha_sigtramp_frame_this_id): New. | |
8542 | (alpha_sigtramp_frame_prev_register): New. | |
8543 | (alpha_sigtramp_frame_unwind): New. | |
8544 | (alpha_sigtramp_frame_p): New. | |
8545 | (struct alpha_heuristic_unwind_cache): New. | |
8546 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
8547 | don't count nop insns that occur between functions. | |
8548 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
8549 | heuristic_proc_desc, but without the mdebug wrapping. | |
8550 | (alpha_heuristic_frame_this_id): New. | |
8551 | (alpha_heuristic_frame_prev_register): New. | |
8552 | (alpha_heuristic_frame_unwind): New. | |
8553 | (alpha_heuristic_frame_p): New. | |
8554 | (alpha_heuristic_frame_base_address): New. | |
8555 | (alpha_heuristic_frame_base): New. | |
8556 | (alpha_unwind_dummy_id): New. | |
8557 | (alpha_unwind_pc): New. | |
8558 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
8559 | frame related deprecated initializations; install replacements. | |
8560 | (alpha_dump_tdep): Remove. | |
8561 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
8562 | (alpha_read_insn, alpha_after_prologue, | |
8563 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
8564 | alpha_heuristic_frame_prev_register, | |
8565 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
8566 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
8567 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
8568 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
8569 | ||
93ec1121 AC |
8570 | 2003-05-29 Andrew Cagney <cagney@redhat.com> |
8571 | ||
8572 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
8573 | dependant on the availability of ASSERT_FUNCTION. | |
8574 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
8575 | ||
98f08d3d KB |
8576 | 2003-05-29 Kevin Buettner <kevinb@redhat.com> |
8577 | ||
8578 | From Jimi X <jimix@watson.ibm.com>: | |
8579 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
8580 | ||
0897f59b JB |
8581 | 2003-05-28 Jim Blandy <jimb@redhat.com> |
8582 | ||
8583 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
8584 | argument to ptrace to int; the system headers should give it the | |
8585 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
8586 | ||
14898363 L |
8587 | 2003-05-28 H.J. Lu <hongjiu.lu@intel.com> |
8588 | ||
8589 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
8590 | DW_TAG_catch_block. | |
8591 | ||
a7a48797 EZ |
8592 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
8593 | ||
8594 | * stabsread.c (dbx_lookup_type): Make static. | |
8595 | (read_type): Ditto. | |
8596 | (add_undefined_type): Ditto. | |
8597 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
8598 | not export. | |
8599 | ||
f5479e9c EZ |
8600 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
8601 | ||
8602 | * hpread.c (hpread_has_name): Make static. | |
8603 | (hpread_psymtab_to_symtab): Ditto. | |
8604 | (file_exists): Ditto. | |
8605 | (hpread_call_pxdb): Ditto. | |
8606 | (hpread_pxdb_needed): Ditto. | |
8607 | (hpread_quick_traverse): Ditto. | |
8608 | (hpread_get_header): Ditto. | |
8609 | (hpread_get_lntt): Ditto. | |
8610 | (hpread_get_slt): Ditto. | |
8611 | (class_of): Ditto. | |
8612 | ||
eb2e12d7 AS |
8613 | 2003-05-25 Andreas Schwab <schwab@suse.de> |
8614 | ||
78bf922a AS |
8615 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
8616 | stack_align and deprecated_extra_stack_alignment_needed. | |
8617 | (m68k_stack_align): Delete. | |
8618 | ||
eb2e12d7 AS |
8619 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
8620 | (m68k_register_virtual_size): Likewise. | |
8621 | (altos_skip_prologue): Remove obsolete function. | |
8622 | (isi_frame_num_args): Likewise. | |
8623 | (news_frame_num_args): Likewise. | |
8624 | (m68k_fix_call_dummy): Make static. | |
8625 | (m68k_push_dummy_frame): Likewise. | |
8626 | (m68k_pop_frame): Likewise. | |
8627 | (m68k_skip_prologue): Likewise. | |
8628 | (m68k_frame_init_saved_regs): Likewise. | |
8629 | (m68k_saved_pc_after_call): Likewise. | |
8630 | (m68k_get_longjmp_target): Make multi-arch. | |
8631 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
8632 | structure. Register m68k_get_longjmp_target if enabled. | |
8633 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
8634 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
8635 | ||
8636 | * Makefile.in (config.status): Also depend on configure.tgt | |
8637 | and configure.host. | |
8638 | (m68klinux-tdep.o): Update dependencies. | |
8639 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
8640 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
8641 | (M68K_LINUX_JB_PC): Define. | |
8642 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
8643 | and take additional parameter. | |
8644 | (m68k_linux_sigtramp_saved_pc): Update. | |
8645 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
8646 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
8647 | find_solib_trampoline_target. | |
8648 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
8649 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
8650 | (JB_ELEMENT_SIZE): Likewise. | |
8651 | (JB_PC): Likewise. | |
8652 | (GET_LONGJMP_TARGET): Likewise. | |
8653 | (IN_SIGTRAMP): Likewise. | |
8654 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
8655 | ||
eb2c22dc MK |
8656 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
8657 | ||
8658 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
8659 | (sparc32_push_arguments): Re-implement by calling | |
8660 | sparc32_do_push_arguments. | |
8661 | ||
44b7b84e MK |
8662 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
8663 | ||
8664 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
8665 | SPARC_O1_REGNUM): New defines. | |
8666 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
8667 | (sparc32_store_return_value): New function. | |
8668 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
8669 | regcache. | |
8670 | (sparc_gdbarch_init): Don't set | |
8671 | deprecated_extract_struct_value_address. Set | |
8672 | extract_struct_value_address instead. Don't set | |
8673 | deprecated_extract_return_value and deprecated_store_return_value | |
8674 | for 32-bit targets. Set extract_return_value and | |
8675 | store_return_value instead. | |
8676 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
7bb11558 | 8677 | DEPRECATED_EXTRACT_RETURN_VALUE, |
44b7b84e MK |
8678 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. |
8679 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
8680 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
8681 | (sparc_store_return_value): Remove prototype. | |
8682 | (sparc32_store_return_value): New prototype. | |
8683 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
8684 | Adjust prototypes. | |
8685 | ||
f6ad61e3 MK |
8686 | 2003-05-24 Mark Kettenis <kettenis@gnu.org> |
8687 | ||
8688 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
8689 | ||
b276f1bb AC |
8690 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
8691 | ||
8692 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
8693 | the inline equivalent extract_unsigned_integer. | |
8694 | * jv-valprint.c (java_value_print): Ditto. | |
8695 | * ada-valprint.c (ada_val_print_1): Ditto. | |
8696 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
8697 | ||
e76c5fcc TR |
8698 | 2003-05-23 Theodore A. Roth <troth@openavr.org> |
8699 | ||
8700 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
8701 | after_prologue variable. | |
8702 | ||
2cdd89cb MK |
8703 | 2003-05-23 Mark Kettenis <kettenis@gnu.org> |
8704 | ||
8705 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
8706 | asignments in if-statements. | |
8707 | ||
182d43bc EZ |
8708 | 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk> |
8709 | ||
8710 | Committed by Elena Zannoni <ezannoni@redhat.com>. | |
8ffd9b1b | 8711 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
8712 | files, don't relocate absolute symbols (and do use mst_abs). |
8713 | ||
e8f3fcdd AC |
8714 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
8715 | ||
8716 | * objc-lang.c: Include "gdb_assert.h". | |
8717 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
8718 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
8719 | (gdb_check, gdb_check_fatal): Delete functions. | |
8720 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
8721 | gdb_assert. | |
8722 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
8723 | * Makefile.in (objc-lang.o): Update dependencies. | |
8724 | ||
3c23e6fb ILT |
8725 | 2003-05-22 Ian Lance Taylor <ian@airs.com> |
8726 | ||
8727 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
8728 | with fprintf_filtered, not fprintf_unfiltered. | |
8729 | ||
af1342ab AC |
8730 | 2003-05-22 Andrew Cagney <cagney@redhat.com> |
8731 | ||
8732 | * stack.c (frame_info): Inline extract_address, replacing it with | |
8733 | extract_unsigned_integer. | |
8734 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
8735 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
8736 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
8737 | * frame.c (frame_pc_unwind): Update comment. | |
8738 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
8739 | ||
47e242ec JJ |
8740 | 2003-05-22 Jeff Johnston <jjohnstn@redhat.com> |
8741 | ||
8742 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
8743 | perror_with_name to issue warning message when errno is non-zero | |
8744 | after calling ptrace detach. | |
8745 | ||
e2ac8128 JB |
8746 | 2003-05-21 J. Brobecker <brobecker@gnat.com> |
8747 | ||
8748 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
8749 | macro definitions from here... | |
8750 | * hppa-tdep.c: ...to there. | |
8751 | ||
92b3541e KB |
8752 | 2003-05-20 Kevin Buettner <kevinb@redhat.com> |
8753 | ||
8754 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
8755 | register_ptrace_addr(). Fix all callers. | |
8756 | ||
55809acb AS |
8757 | 2003-05-21 Andreas Schwab <schwab@suse.de> |
8758 | ||
8759 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
8760 | dependencies. | |
8761 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
8762 | end. | |
8763 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
8764 | (_initialize_m68k_linux_tdep): New function. | |
8765 | (m68k_linux_frame_saved_pc): Make static. | |
8766 | (m68k_linux_extract_return_value): Likewise. | |
8767 | (m68k_linux_store_return_value): Likewise. | |
8768 | (m68k_linux_extract_struct_value_address): Likewise. | |
8769 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
8770 | Remove. | |
8771 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
8772 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
8773 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
8774 | ||
0fbc10f7 KW |
8775 | 2003-05-20 Kris Warkentin <kewarken@qnx.com> |
8776 | ||
8777 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
8778 | regset numbering rather than our own. | |
8779 | ||
58da2eb2 DC |
8780 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8781 | ||
8782 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
8783 | ||
1fcb5155 DC |
8784 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8785 | ||
8786 | Partial fix for PR c++/827. | |
8787 | * cp-support.h: Include symtab.h. | |
8788 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
8789 | * cp-namespace.c: Update contributors. | |
8790 | (cp_lookup_symbol_nonlocal): New. | |
8791 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
8792 | (lookup_symbol_file): Ditto. | |
8793 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
8794 | * block.h: Declare block_scope, block_using, block_global_block. | |
8795 | * block.c (block_scope): New. | |
8796 | (block_using, block_global_block): Ditto. | |
8797 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
8798 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
8799 | ||
5f9a71c3 DC |
8800 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8801 | ||
8802 | * language.h (struct language_defn): Add 'la_value_of_this' | |
8803 | and 'la_lookup_symbol_nonlocal' members. | |
8804 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
8805 | lookup_symbol_static, lookup_symbol_global, | |
8806 | lookup_symbol_aux_block. | |
8807 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
8808 | if we should search fields of this and how to do static/global | |
8809 | lookup. | |
8810 | (lookup_symbol_aux_block): Make extern. | |
8811 | (basic_lookup_symbol_nonlocal): New. | |
8812 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
8813 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
8814 | 'la_lookup_symbol_nonlocal' members. | |
8815 | * c-lang.c (c_language_defn, cplus_language_defn) | |
8816 | (asm_language_defn, minimal_language_defn): Ditto. | |
8817 | * jv-lang.c (java_language_defn): Ditto. | |
8818 | * language.c (unknown_language_defn, auto_language_defn) | |
8819 | (local_language_defn): Ditto. | |
8820 | * m2-lang.c (m2_language_defn): Ditto. | |
8821 | * objc-lang.c (objc_language_defn): Ditto. | |
8822 | * scm-lang.c (scm_language_defn): Ditto. | |
8823 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
8824 | * p-lang.c (pascal_language_defn): Ditto for both. | |
8825 | * Makefile.in (f-lang.o): Depend on value_h. | |
8826 | (p-lang.o): Ditto. | |
8827 | ||
89a9d1b1 DC |
8828 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8829 | ||
8830 | * block.h: Declare block_static_block. | |
8831 | * block.c (block_static_block): New. | |
8832 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
8833 | lookup_symbol_aux_local, calling block_static_block instead. | |
8834 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
8835 | ||
eed3f8ab DC |
8836 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8837 | ||
8838 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
8839 | ||
a09d8bda ML |
8840 | 2003-05-19 Michal Ludvig <mludvig@suse.cz> |
8841 | ||
8842 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
8843 | register numbers mapping. | |
8844 | ||
69636828 AF |
8845 | 2003-05-18 Adam Fedor <fedor@gnu.org> |
8846 | ||
8847 | * symtab.c (completion_list_objc_symbol): New function. | |
8848 | (make_symbol_completion_list): Use it to add ObjC symbols | |
8849 | when looking though the list. | |
8850 | (language_search_unquoted_string): New function. | |
8851 | (make_file_symbol_completion_list): Use it. | |
8852 | ||
55baeb84 AS |
8853 | 2003-05-18 Andreas Schwab <schwab@suse.de> |
8854 | ||
d0b45d99 AS |
8855 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
8856 | dependencies. | |
8857 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
8858 | as m68k_linux_extract_return_value. | |
8859 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
8860 | m68k_linux_store_return_value. | |
8861 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
8862 | m68k_linux_extract_struct_value_address. | |
8863 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
8864 | get_next_frame, get_frame_base, get_frame_pc. | |
8865 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
8866 | (m68k_linux_extract_return_value): New function. | |
8867 | (m68k_linux_store_return_value): New function. | |
8868 | (m68k_linux_extract_struct_value_address): New function. | |
8869 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
8870 | ||
55baeb84 AS |
8871 | * c-exp.y (typebase): Remove duplicate occurence of |
8872 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 8873 | of lookup_signed_typename. |
55baeb84 | 8874 | |
b6b08ebf MK |
8875 | 2003-05-18 Mark Kettenis <kettenis@gnu.org> |
8876 | ||
8877 | * dwarf2loc.c (find_location_expression): Change type of second | |
8878 | argument to `size_t *'. | |
8879 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
8880 | for size variable. | |
8881 | ||
5ad1c190 DC |
8882 | 2003-05-18 David Carlton <carlton@bactrian.org> |
8883 | ||
8884 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
8885 | 'linkage_name'. Add comment. | |
8886 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
8887 | 'linkage_name'. | |
8888 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
8889 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
8890 | (lookup_block_symbol): Ditto. | |
8891 | ||
b8b527c5 AC |
8892 | 2003-05-16 Andrew Cagney <cagney@redhat.com> |
8893 | ||
8894 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
8895 | * gdbarch.h, gdbarch.c: Re-generate. | |
8896 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
8897 | * TODO (REGISTER_BYTES): Delete reference. | |
8898 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8899 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8900 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8901 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8902 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8903 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8904 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8905 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8906 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8907 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
8908 | (ns32k_gdbarch_init_32382): Update. | |
8909 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8910 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8911 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8912 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8913 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8914 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8915 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
8916 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8917 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8918 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8919 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8920 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8921 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8922 | * sparc-tdep.c (sparc_pop_frame): Update. | |
8923 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
8924 | * remote.c (init_remote_state): Update. | |
8925 | (remote_prepare_to_store): Update. | |
8926 | * remote-vx.c (vx_prepare_to_store): Update. | |
8927 | * remote-sds.c (sds_fetch_registers): Update. | |
8928 | (sds_prepare_to_store): Update. | |
8929 | * remote-array.c: Update. | |
8930 | * regcache.c (init_legacy_regcache_descr): Update. | |
8931 | (init_regcache_descr): Update. | |
8932 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
8933 | (mips_o64_extract_return_value): Update. | |
8934 | * irix5-nat.c (fetch_core_registers): Update. | |
8935 | * irix4-nat.c (fetch_core_registers): Update. | |
8936 | * i386-tdep.h: Update. | |
8937 | * hppa-tdep.c (pa_do_registers_info): Update. | |
8938 | (pa_do_strcat_registers_info): Update. | |
8939 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
8940 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
8941 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
8942 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
8943 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
8944 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
8945 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
8946 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
8947 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
8948 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
8949 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
8950 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
8951 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
8952 | (REGISTER_BYTES_OK): Update. | |
8953 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
8954 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
8955 | ||
ee2842e2 ILT |
8956 | 2003-05-16 Ian Lance Taylor <ian@airs.com> |
8957 | ||
8958 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
8959 | (vax_print_insn, print_insn_arg): Remove static functions. | |
8960 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
8961 | print_insn_vax from opcodes library. | |
8962 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
8963 | ||
973177d3 AC |
8964 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
8965 | ||
aaab4dba AC |
8966 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
8967 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
8968 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
8969 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
8970 | * monitor.c (monitor_insert_breakpoint): Use | |
8971 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
8972 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
8973 | * gdbarch.h, gdbarch.c: Re-generate. | |
8974 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
8975 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
8976 | sparc_breakpoint_from_pc. | |
8977 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
8978 | (BREAKPOINT_FROM_PC): Define. | |
8979 | (sparc_breakpoint_from_pc): Declare. | |
8980 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
8981 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
8982 | (BREAKPOINT_FROM_PC): Define. | |
8983 | (BREAKPOINT): Delete macro. | |
8984 | * target.h: Update comment. | |
8985 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
8986 | * remote.c: Update comments. | |
8987 | * remote-mips.c: Update comments. | |
8988 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
8989 | * mem-break.c: Update comment. | |
8990 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
8991 | (ia64_memory_insert_breakpoint): Update. | |
8992 | * config/sparc/tm-sparc.h: Update comment. | |
8993 | * config/pa/tm-hppa64.h: Update comment. | |
8994 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
8995 | (rs6000_breakpoint_from_pc): Update. | |
8996 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
8997 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
8998 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
8999 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
9000 | (mips_breakpoint_from_pc): Update. | |
9001 | (mips_dump_tdep): Update. | |
9002 | ||
e06963ff AC |
9003 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
9004 | * minsyms.c (lookup_minimal_symbol): Inline | |
9005 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
9006 | ||
973177d3 AC |
9007 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
9008 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
9009 | * p-lang.c (pascal_printstr): Ditto. | |
9010 | * objc-lang.c (objc_printstr): Ditto. | |
9011 | * m2-lang.c (m2_printstr): Ditto. | |
9012 | * jv-valprint.c (java_print_value_fields): Ditto. | |
9013 | * f-lang.c (f_printstr): Ditto. | |
9014 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
9015 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
9016 | for repeat_count_threshold. | |
9017 | * Makefile.in (cp-valprint.o): Update dependencies. | |
9018 | ||
5ea2bd7f | 9019 | 2003-05-15 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 9020 | |
5ea2bd7f JJ |
9021 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
9022 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
9023 | they start with mov r2,r12. Support skipping over indirect stores |
9024 | of the input registers. Upon hitting a non-nop branch instruction | |
9025 | or predicated instruction, bail out by setting lim_pc to the current | |
9026 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
9027 | beyond our calculated value and we have trust_limit set, |
9028 | use the lim_pc value. | |
9029 | ||
cc8c88f3 AC |
9030 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
9031 | ||
9032 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
9033 | generic_find_dummy_frame. | |
9034 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
9035 | (deprecated_generic_find_dummy_frame): Update. | |
9036 | (deprecated_read_register_dummy): Update. | |
9037 | * frame.c (deprecated_generic_get_saved_register): Update. | |
9038 | ||
909cd28e TR |
9039 | 2003-05-15 Theodore A. Roth <troth@openavr.org> |
9040 | ||
9041 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
9042 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
9043 | ||
b923b08d AC |
9044 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
9045 | ||
9046 | * regcache.c (build_regcache): Set deprecated_register_valid | |
9047 | directly. | |
9048 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
9049 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
9050 | declaration. | |
9051 | ||
ae2f03ac | 9052 | 2003-05-15 David Carlton <carlton@bactrian.org> |
8ffd9b1b AJ |
9053 | |
9054 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
fbe586ae RH |
9055 | * symtab.c (lookup_symbol_aux): Delete calls to |
9056 | lookup_symbol_aux_minsyms. | |
9057 | (lookup_symbol_aux_minsyms): Comment out function and | |
9058 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 9059 | |
18ec9831 KB |
9060 | 2003-05-14 Kevin Buettner <kevinb@redhat.com> |
9061 | ||
9062 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
9063 | correctly indicate an empty stack and ``stack_allocated'' to the | |
9064 | indicate the number of elements initially allocated. | |
9065 | (dwarf_expr_grow_stack): Simplify method for computing new | |
9066 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
9067 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
9068 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
9069 | be used in conjuction with DW_OP_piece. Revise error message | |
9070 | accordingly. | |
9071 | ||
de18ac1f TR |
9072 | 2003-05-14 Theodore A. Roth <troth@openavr.org> |
9073 | ||
9074 | * MAINTAINERS: Update my email address. | |
9075 | * avr-tdep.c: Ditto. | |
9076 | ||
176620f1 EZ |
9077 | 2003-05-14 Elena Zannoni <ezannoni@redhat.com> |
9078 | ||
9079 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
9080 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
9081 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
9082 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
9083 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
9084 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
9085 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
9086 | (struct symbol, struct partial_symbol): Rename field | |
9087 | 'namespace_enum namespace' to 'domain_enum domain'. | |
9088 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
9089 | Delete old define kludge for namespace. | |
9090 | ||
9091 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
9092 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
9093 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
9094 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
9095 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
9096 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
9097 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
9098 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
9099 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
9100 | occurrences of the above. | |
9101 | ||
b7f31508 ILT |
9102 | 2003-05-14 Ian Lance Taylor <ian@airs.com> |
9103 | ||
9104 | * Makefile.in (install-only): Use $(SHELL) when running | |
9105 | mkinstalldirs. | |
9106 | ||
2fdbdd39 ILT |
9107 | 2003-05-13 Ian Lance Taylor <ian@airs.com> |
9108 | ||
a208d82c ILT |
9109 | * MAINTAINERS (write after approval): Add myself. |
9110 | ||
2fdbdd39 ILT |
9111 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
9112 | second and third arguments. | |
9113 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
9114 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
9115 | ||
fbd9dcd3 AC |
9116 | 2003-05-13 Andrew Cagney <cagney@redhat.com> |
9117 | ||
9118 | * defs.h (store_address): Delete declaration. | |
9119 | findvar.c (store_address): Delete function. | |
9120 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
9121 | store_unsigned_integer. | |
9122 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
9123 | * v850-tdep.c (v850_push_arguments): Ditto. | |
9124 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
9125 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
9126 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
9127 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
9128 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
9129 | (mips_get_saved_register): Ditto. | |
9130 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
9131 | (find_func_descr, ia64_push_arguments): Ditto. | |
9132 | * i386-tdep.c (i386_push_arguments): Ditto. | |
9133 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
9134 | * frv-tdep.c (frv_push_arguments): Ditto. | |
9135 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
9136 | (deprecated_generic_get_saved_register): Ditto. | |
9137 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
9138 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
9139 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
9140 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
9141 | ||
6760f9e6 JB |
9142 | 2003-05-12 J. Brobecker <brobecker@gnat.com> |
9143 | ||
9144 | * NEWS: Mention that the hppa-hpux port has been partially | |
9145 | multiarched (32bit ABIT only, so far). | |
9146 | ||
30e221b4 AC |
9147 | 2003-05-11 Andrew Cagney <cagney@redhat.com> |
9148 | ||
9149 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
9150 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
9151 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
9152 | sim/testsuite/sim/arm/misaligned2.ms, and | |
9153 | sim/testsuite/sim/arm/misaligned3.ms. | |
9154 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
9155 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
9156 | * frame.h (struct ui_file): Ditto. | |
9157 | ||
dea7f9ba MK |
9158 | 2003-05-11 Mark Kettenis <kettenis@gnu.org> |
9159 | ||
9160 | * value.h: Pretty print. | |
9161 | ||
01986c48 MK |
9162 | 2003-05-10 Mark Kettenis <kettenis@gnu.org> |
9163 | ||
9164 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
9165 | ||
123a958e AC |
9166 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9167 | ||
9168 | * regcache.h (max_register_size): Delete declaration. | |
9169 | * regcache.c (max_register_size): Delete function. | |
9170 | (struct regcache_descr): Delete field "max_register_size". | |
9171 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
9172 | registers fit in MAX_REGISTER_SIZE. | |
9173 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
9174 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
9175 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
9176 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
9177 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
9178 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
9179 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
9180 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
9181 | ||
eb294659 DC |
9182 | 2003-05-08 David Carlton <carlton@math.stanford.edu> |
9183 | ||
9184 | * valops.c (push_word): Fix typo. | |
9185 | ||
d9d9c31f AC |
9186 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9187 | ||
9188 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
9189 | * gdbarch.h: Re-generate. | |
9190 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
9191 | (legacy_max_register_raw_size): Delete declaration. | |
9192 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
9193 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
9194 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
9195 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
9196 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
9197 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
9198 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
9199 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
9200 | * findvar.c, dwarf2cfi.c: Ditto. | |
9201 | ||
22540ece AC |
9202 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9203 | ||
9204 | * mips-tdep.c (read_signed_register): New function, moved to here | |
9205 | from "regcache.c". | |
9206 | (read_signed_register_pid): Ditto. | |
9207 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
9208 | "mips-tdep.c". | |
9209 | (read_signed_register): Ditto. | |
9210 | * regcache.h (read_signed_register): Delete declaration. | |
9211 | (read_signed_register_pid): Delete declaration. | |
9212 | ||
0c92afe8 AC |
9213 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9214 | ||
9215 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
9216 | * gdbarch.h: Re-generate. | |
9217 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
9218 | (legacy_max_register_virtual_size): Delete declaration. | |
9219 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
9220 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
9221 | * tracepoint.c (memrange_sortmerge): Ditto. | |
9222 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
9223 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
9224 | ||
6037b830 JB |
9225 | 2002-05-08 J. Brobecker <brobecker@gnat.com> |
9226 | ||
9227 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
9228 | (fork_inferior): Escape '!' characters in quoted arguments | |
9229 | only when needed. | |
9230 | ||
5d62c8b1 JB |
9231 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
9232 | ||
9233 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
9234 | the language of the CU is not currently supported by GDB. | |
9235 | ||
20a0e81d JB |
9236 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
9237 | ||
9238 | * defs.h (language): Add language_minimal enum value. | |
9239 | * c-lang.c (minimal_language_defn): New language definition. | |
9240 | (_initialize_c_language): Add the new minimal language to the list | |
9241 | of languages known to GDB. | |
9242 | ||
710ee10a KB |
9243 | 2003-05-08 Kevin Buettner <kevinb@redhat.com> |
9244 | ||
9245 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
9246 | frame's unwinder for legacy frames. | |
9247 | ||
1750fa04 AC |
9248 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
9249 | ||
9250 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
9251 | and "regcache" parameters. | |
9252 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
9253 | ||
ddf9f258 | 9254 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
9255 | |
9256 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
9257 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
9258 | the current address. |
9259 | ||
87767c29 AC |
9260 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
9261 | ||
9262 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
9263 | code. | |
9264 | ||
5e7b2f39 JB |
9265 | 2003-05-07 Jim Blandy <jimb@redhat.com> |
9266 | ||
9267 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
9268 | 'maint info symtabs' and 'maint info psymtabs'. | |
9269 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
9270 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
9271 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
9272 | Declarations updated. | |
9273 | * maint.c (maintenance_list_command): Delete. | |
9274 | (_initialize_maint_cmds): Update calls to add_cmd. | |
9275 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
9276 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
9277 | (init_cmd_lists): Don't initialize it. | |
9278 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
9279 | ||
f6684c31 AC |
9280 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
9281 | ||
9282 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
9283 | "regcache". | |
9284 | (d10v_print_registers_info): Update. | |
9285 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
9286 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
9287 | and "imap_register". | |
9288 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
9289 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
9290 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
9291 | "regcache" and "gdbarch" parameters. | |
9292 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
9293 | parameter. Change class to multi-arch. | |
9294 | * gdbarch.h, gdbarch.c: Re-generate. | |
9295 | * remote.c (remote_xfer_memory): Use | |
9296 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 9297 | |
e4846b08 JJ |
9298 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
9299 | ||
9300 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
9301 | (proceed): Refresh prev_pc value before resuming. | |
9302 | (stop_stepping): Remove code to refresh prev_pc. | |
9303 | ||
6b71b8ac KW |
9304 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
9305 | ||
9306 | * nto-tdep.c: Removed stray comment. | |
9307 | ||
47979a4b KW |
9308 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
9309 | ||
9310 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
9311 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
9312 | Also change add_show_from_set() call to add_setshow_cmd(). | |
9313 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
9314 | ||
00905d52 AC |
9315 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
9316 | ||
9317 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
9318 | (fprint_dummy_frames): New function. | |
9319 | (maintenance_print_dummy_frames): New function. | |
9320 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
9321 | * frame.c (fprint_frame_id): Make global. | |
9322 | * frame.h (fprint_frame_id): Declare. | |
9323 | * Makefile.in (dummy-frame.o): Update dependencies. | |
9324 | ||
b1e29e33 AC |
9325 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
9326 | ||
9327 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
9328 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
9329 | SIZEOF_CALL_DUMMY_WORDS. | |
9330 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
9331 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
9332 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
9333 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
9334 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
9335 | CALL_DUMMY_START_OFFSET. | |
9336 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
9337 | * gdbarch.h, gdbarch.c: Re-generate. | |
9338 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
9339 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
9340 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
9341 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
9342 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
9343 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
9344 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
9345 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
9346 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
9347 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
9348 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
9349 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
9350 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
9351 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
9352 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
9353 | |
9354 | 2003-05-05 Kris Warkentin <kewarken@qnx.com> | |
9355 | ||
9356 | * configure.tgt: Add i[3456]86-*-nto*. | |
9357 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
9358 | * nto-tdep.c: New file. Neutrino target support routines. | |
9359 | * nto-tdep.h: New file. Neutrino target header. | |
9360 | * config/tm-qnxnto.h: New file. | |
9361 | * config/i386/i386nto.mt: New file. | |
9362 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 9363 | |
0ce3d317 AC |
9364 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
9365 | ||
9366 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
9367 | (load_infrun_state): Ditto. | |
9368 | (struct thread_info): Drop "prev_func_name" field. | |
9369 | * thread.c (load_infrun_state): Update. | |
9370 | (save_infrun_state): Update. | |
9371 | * infrun.c (prev_func_name): Delete variable. | |
9372 | (init_wait_for_inferior): Do not clear prev_func_name. | |
9373 | (stop_stepping, keep_going, context_switch): Do not swap | |
9374 | prev_func_name. | |
9375 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
9376 | instead of PC_IN_SIGTRAMP. | |
9377 | ||
46654a5b AC |
9378 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
9379 | ||
9380 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
9381 | REGISTER_BYTE with register_offset_hack. | |
9382 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
9383 | that REGISTER_BYTE is consistent with the regcache. | |
9384 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
9385 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 9386 | |
14b08c1b MK |
9387 | 2003-05-04 Mark Kettenis <kettenis@gnu.org> |
9388 | ||
04c8243f MK |
9389 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
9390 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
9391 | ||
14b08c1b MK |
9392 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
9393 | ||
c7a11e01 JB |
9394 | 2003-05-03 J. Brobecker <brobecker@gnat.com> |
9395 | ||
9396 | From Thierry Schneider <tpschneider1@yahoo.com> | |
9397 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
9398 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
9399 | (mi-cmd-symbol.o): Add rule. | |
9400 | ||
7043d8dc AC |
9401 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
9402 | ||
9403 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
9404 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
9405 | * gdbarch.h, gdbarch.c: Re-generate. | |
9406 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
9407 | (d10v_gdbarch_init): Set push_dummy_code. | |
9408 | * infcall.c (legacy_push_dummy_code): New function. | |
9409 | (generic_push_dummy_code): New function. | |
9410 | (push_dummy_code): New function. | |
9411 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
9412 | instead of dummy_addr, to push_dummy_call. Move call to | |
9413 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
9414 | switch. | |
9415 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
9416 | ||
92bf2b80 AC |
9417 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
9418 | ||
9419 | * disasm.h (print_insn): Declare. | |
9420 | * disasm.c (init_gdb_disassemble_info): New function. | |
9421 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
9422 | (gdb_print_insn): New function. | |
9423 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
9424 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
9425 | * mcore-tdep.c: Include "disasm.h" | |
9426 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
9427 | * d10v-tdep.c: Include "disasm.h". | |
9428 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
9429 | (print_insn): Delete function. | |
9430 | * printcmd.c: Include "disasm.h". | |
9431 | (print_insn): Delete function. | |
9432 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
9433 | * Makefile.in (printcmd.o): Update dependencies. | |
9434 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 9435 | |
27d94c49 AC |
9436 | 2003-05-02 Andrew Cagney <cagney@redhat.com> |
9437 | ||
82de1e5b AC |
9438 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
9439 | PC_REGNUM, re-indent. | |
9440 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
9441 | PC_REGNUM isn't set. | |
9442 | ||
27d94c49 AC |
9443 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
9444 | * gdbarch.h, gdbarch.c: Re-generate. | |
9445 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
9446 | register_virtual_size, pc_regnum, or register_bytes. | |
9447 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
9448 | (d10v_register_type): Use D10V_PC_REGNUM. | |
9449 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
9450 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
9451 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
9452 | ||
a9c0dc7f DC |
9453 | 2003-05-02 David Carlton <carlton@bactrian.org> |
9454 | ||
9455 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
9456 | the name with mstrsave. | |
9457 | ||
e33d66ec EZ |
9458 | 2003-05-02 Elena Zannoni <ezannoni@redhat.com> |
9459 | ||
9460 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
9461 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
9462 | (host_charset_name, target_charset_name): New vars for use by | |
9463 | set/show commands. | |
9464 | (host_charset_enum, target_charset_enum): New enums for set/show | |
9465 | commands. | |
9466 | (set_charset_sfunc, set_host_charset_sfunc, | |
9467 | set_target_charset_sfunc): New functions. | |
9468 | (set_host_charset, set_target_charset): Make static. | |
9469 | (list_charsets, set_host_charset_command, | |
9470 | set_target_charset_command): Delete functions. | |
9471 | (show_charset_command): Rewrite as.... | |
9472 | (show_charset): Hook this up with the set/show command mechanism. | |
9473 | (_initialize_charset): Change names of charsets to match the | |
9474 | set/show enums. Use host_charset_name and target_charset_name. | |
9475 | Use set/show mechanism for charset, host-charset, target-charset | |
9476 | commands. Do not make 'show host-charset' and 'show | |
9477 | target-charset' be aliases of 'show charset'. | |
9478 | ||
9479 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
9480 | they are not used outside the file. | |
9481 | ||
2b6fd0d8 AC |
9482 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
9483 | ||
9484 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
9485 | (gdb_disassembly): Make "di" non static, always initialize and | |
9486 | cleanup. Always use dis_asm_read_memory. | |
9487 | (gdb_dis_asm_read_memory): Delete function. | |
9488 | ||
6ae2f580 AC |
9489 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
9490 | ||
9491 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
9492 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
9493 | ||
810ecf9f AC |
9494 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
9495 | ||
9496 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
9497 | "tm_print_insn_info". | |
9498 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
9499 | (dis_asm_read_memory): Delete function declaration. | |
9500 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
9501 | (tm_print_insn_info): Delete variable definition. | |
9502 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
9503 | * gdbarch.h, gdbarch.c: Re-generate. | |
9504 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
9505 | "deprecated_tm_print_insn_info". | |
9506 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
9507 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9508 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
9509 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
9510 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
9511 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
9512 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
9513 | * s390-tdep.c (s390_get_frame_info): Instead of | |
9514 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
9515 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
9516 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
9517 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
9518 | * disasm.c: Include "gdbcore.h". | |
9519 | (_initialize_disasm): New function, initialize | |
9520 | "deprecated_tm_print_insn_info". | |
9521 | (deprecated_tm_print_insn_info): New variable. | |
9522 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
9523 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
9524 | * Makefile.in (disasm.o): Update dependencies. | |
9525 | ||
07020390 AC |
9526 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
9527 | ||
9528 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
9529 | ||
a9fa03de AF |
9530 | 2003-04-29 Adam Fedor <fedor@gnu.org> |
9531 | ||
9532 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
9533 | * infcall.c (find_function_addr): Make non-static. | |
9534 | * infcall.h (find_function_addr): Declare. | |
9535 | * Makefile.in (eval.o): Update dependencies. | |
9536 | ||
1bae87b9 AF |
9537 | 2003-04-28 Adam Fedor <fedor@gnu.org> |
9538 | ||
9539 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
9540 | ObjC symbols. | |
9541 | (symbol_init_demangled_name): Init for language_objc as well. | |
9542 | ||
0ba6dca9 AC |
9543 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
9544 | ||
9545 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
9546 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
9547 | * gdbarch.h, gdbarch.c: Re-generate. | |
9548 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
9549 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
9550 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
9551 | (generic_target_read_fp): Delete declaration. | |
9552 | * regcache.c (generic_target_read_fp): Delete function. | |
9553 | (deprecated_read_fp): Replace read_fp, use | |
9554 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
9555 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
9556 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
9557 | ||
9558 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
9559 | deprecated_target_read_fp to generic_target_read_fp. | |
9560 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9561 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9562 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9563 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9564 | ||
9565 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
9566 | deprecated_fp_regnum. | |
9567 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
9568 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9569 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9570 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9571 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9572 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9573 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9574 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9575 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9576 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9577 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9578 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9579 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9580 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9581 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9582 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9583 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9584 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9585 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9586 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9587 | ||
9588 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
9589 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9590 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9591 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9592 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9593 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9594 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9595 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9596 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9597 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9598 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9599 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9600 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9601 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9602 | ||
9603 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
9604 | DEPRECATED_FP_REGNUM. | |
9605 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
9606 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
9607 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
9608 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
9609 | (sparc32_register_virtual_type): Ditto. | |
9610 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
9611 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
9612 | (sh_nofp_frame_init_saved_regs): Ditto. | |
9613 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
9614 | (sh_fp_frame_init_saved_regs): Ditto. | |
9615 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
9616 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
9617 | * procfs.c (procfs_fetch_registers): Ditto. | |
9618 | (procfs_store_registers): Ditto. | |
9619 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
9620 | (store_inferior_registers, fetch_core_registers): Ditto. | |
9621 | (fetch_kcore_registers, clear_regs): Ditto. | |
9622 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
9623 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
9624 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
9625 | * nlm/i386.c (do_status): Ditto. | |
9626 | * mipsv4-nat.c (supply_gregset): Ditto. | |
9627 | * mips-tdep.c: Ditto for comments. | |
9628 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
9629 | (store_inferior_registers, fetch_core_registers): Ditto. | |
9630 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
9631 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
9632 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
9633 | (i386_do_pop_frame, i386_register_type): Ditto. | |
9634 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
9635 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
9636 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
9637 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
9638 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
9639 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
9640 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
9641 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
9642 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
9643 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
9644 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
9645 | * blockframe.c: Ditto for comments. | |
9646 | * arch-utils.h: Ditto for comments. | |
9647 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
9648 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
9649 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
9650 | * alpha-tdep.h: Ditto for comments. | |
9651 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
9652 | (alpha_cannot_store_register): Ditto. | |
9653 | (alpha_push_dummy_frame): Ditto. | |
9654 | * alpha-nat.c (supply_gregset): Ditto. | |
9655 | ||
9656 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
9657 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
9658 | * config/sparc/tm-sparc.h: Update comment. | |
9659 | ||
9660 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
9661 | deprecated_read_fp instead of TARGET_READ_FP. | |
9662 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
9663 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
9664 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
9665 | deprecated_read_fp instead of read_fp. | |
9666 | * s390-tdep.c (s390_push_arguments): Ditto. | |
9667 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9668 | * frame.h: Ditto in comments. | |
9669 | * frame.c (legacy_get_prev_frame): Ditto. | |
9670 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
9671 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
9672 | ||
d7a27068 AC |
9673 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
9674 | ||
9675 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
9676 | * gdbarch.h, gdbarch.c: Re-generate. | |
9677 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
9678 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
9679 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
9680 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
9681 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
9682 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
9683 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
9684 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
9685 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
9686 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
9687 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
9688 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
9689 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
9690 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
9691 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
9692 | (_initialize_cris_tdep): Update. | |
9693 | * arch-utils.c (legacy_print_insn): Update. | |
9694 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
9695 | ||
d2630e69 AF |
9696 | 2003-04-26 Adam Fedor <fedor@gnu.org> |
9697 | ||
9698 | * linespec.c (decode_objc): New function to decode ObjC calls | |
9699 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
9700 | * Makefile (linespec.o): Update dependencies. | |
9701 | ||
3086aeae DJ |
9702 | 2003-04-26 Daniel Jacobowitz <drow@mvista.com> |
9703 | ||
9704 | * breakpoint.h (struct breakpoint_ops): New. | |
9705 | (struct breakpoint): Add ops member. | |
9706 | ||
9707 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
9708 | (mention): Use new breakpoint ops member. | |
9709 | (set_raw_breakpoint): Initialize ops field to NULL. | |
9710 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
9711 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
9712 | (gnu_v3_exception_catchpoint_ops): New. | |
9713 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
9714 | ||
1fbec6c3 AF |
9715 | 2003-04-25 Adam Fedor <fedor@gnu.org> |
9716 | ||
9717 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
9718 | ||
0ef21242 AC |
9719 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
9720 | ||
9721 | * d10v-tdep.c (print_insn): Delete function. | |
9722 | (display_trace): Use TARGET_PRINT_INSN. | |
9723 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
9724 | (d10v_gdbarch_init): Set print_insn. | |
9725 | ||
f75493ed AC |
9726 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
9727 | ||
9728 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
9729 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
9730 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
9731 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
9732 | (nr_dmap_regs, a0_regnum): ... new functions. | |
9733 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
9734 | (d10v_register_byte): Delete function. | |
9735 | (d10v_register_raw_size): Delete function. | |
9736 | (d10v_register_type): Use a0_regnum. | |
9737 | (d10v_print_registers_info): Use a0_regnum. | |
9738 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
9739 | (d10v_gdbarch_init): Do not set register_byte or | |
9740 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
9741 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
9742 | extract_address. | |
9743 | (trace_command): Use XCALLOC. | |
9744 | (print_insn): Delete reference to tm_print_insn. | |
9745 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
9746 | store_address. | |
9747 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
9748 | ||
2202b100 DC |
9749 | 2003-04-25 David Carlton <carlton@bactrian.org> |
9750 | ||
9751 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
9752 | ||
4e45ca2e AF |
9753 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
9754 | ||
9755 | * objc-lang.c: Include "valprint.h" | |
9756 | * Makefile.in (objc-lang.o): Update dependencies. | |
9757 | ||
93de3e7f AF |
9758 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
9759 | ||
8ffd9b1b | 9760 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
9761 | architecture dependant compilation and mark as unimplemented |
9762 | (until they get put in the gdbarch vector). | |
9763 | ||
0f20eeea DC |
9764 | 2003-04-23 David Carlton <carlton@bactrian.org> |
9765 | ||
9766 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
9767 | more locations. | |
9768 | ||
74cfe982 AC |
9769 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9770 | ||
9771 | * infcall.c (call_function_by_hand): Eliminate redundant | |
9772 | indentation. Move "saved_async" and "old_cleanups" to where they | |
9773 | are needed. | |
8ffd9b1b | 9774 | |
52557533 AC |
9775 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9776 | ||
9777 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
9778 | and "buffer". Move the "name" code to where it is needed. | |
9779 | ||
158775de AC |
9780 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9781 | ||
9782 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
9783 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
9784 | code to ON_STACK switch branch. | |
8ffd9b1b | 9785 | |
ebc7896c AC |
9786 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9787 | ||
9788 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
9789 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
9790 | lint. | |
9791 | ||
d727590f AC |
9792 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9793 | ||
9794 | * infcall.c (call_function_by_hand): Delete variable | |
9795 | "n_method_args". Localize "param_type"'s declaration to the loop | |
9796 | that it is used. Reinstate code assigning to said variable - | |
9797 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
9798 | Rationalize code using "param_type". | |
9799 | ||
d585e13a AC |
9800 | 2003-04-22 Andrew Cagney <cagney@redhat.com> |
9801 | ||
9802 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
9803 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
9804 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
9805 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
9806 | ||
051caad9 KB |
9807 | 2003-04-22 Kevin Buettner <kevinb@redhat.com> |
9808 | ||
9809 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
9810 | on the DWARF2 register number prior to fetching a register. | |
9811 | ||
77296879 JB |
9812 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
9813 | ||
9814 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
9815 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 9816 | this macro was always set to 0. |
77296879 JB |
9817 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
9818 | considering the fact that this macro was always set to 0. | |
9819 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
9820 | (hppa_extract_return_value): Likewise. | |
9821 | ||
4252f1df JB |
9822 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
9823 | ||
9824 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
9825 | the hppa-pro target only. | |
9826 | ||
14604c6b JB |
9827 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
9828 | ||
9829 | Ongoing multi-arch conversion effort for HP/UX: | |
9830 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
9831 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
9832 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
9833 | ||
77eb01d1 JB |
9834 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
9835 | ||
9836 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
9837 | for hppa-pro. | |
9838 | ||
61995b3b JB |
9839 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
9840 | ||
9841 | Ongoing multi-arch conversion for HP/UX. | |
9842 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
9843 | if already defined (allows hppa64 to stay non-multiarched for now). | |
9844 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
9845 | ||
4aa79dcc AC |
9846 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
9847 | ||
9848 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
9849 | ||
0f751ff2 AC |
9850 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
9851 | ||
9852 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
9853 | "i386_num_mmx_regs". | |
9854 | ||
04714b91 AC |
9855 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
9856 | ||
9857 | * infcall.c: New file. | |
9858 | * infcall.h: New file. | |
9859 | * valarith.c: Include "infcall.h". | |
9860 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
9861 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
9862 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
9863 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
9864 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
9865 | (SFILES): Add "infcall.c" | |
9866 | (COMMON_OBS): Add "infcall.o". | |
9867 | (infcall.o): Specify dependencies. | |
9868 | * value.h (call_function_by_hand): Delete declaration. | |
9869 | * inferior.h (run_stack_dummy): Delete declaration. | |
9870 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
9871 | (run_stack_dummy): Move to "infcall.c", merged into | |
9872 | call_function_by_hand. | |
9873 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
9874 | (find_function_addr, value_arg_coerce): Ditto. | |
9875 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
9876 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
9877 | "set/show unwindonsignal" commands to "infcall.c". | |
9878 | * v850-tdep.c, target.h: Update comments. | |
9879 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
9880 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
9881 | (sh64_init_extra_frame_info): Update comments. | |
9882 | * mn10300-tdep.c: Update comments. | |
9883 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
9884 | * config/sparc/tm-sparc.h: Update comments. | |
9885 | * breakpoint.h: Update comments. | |
9886 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
9887 | * arm-tdep.c: Update comment. | |
9888 | ||
f9d3c2a8 MK |
9889 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
9890 | ||
c40e1eab MK |
9891 | * i386-tdep.c (i386_num_register_names): New variable. |
9892 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
9893 | (MM0_REGNUM): Remove redundant parentheses in define. | |
9894 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
9895 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
9896 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
9897 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 9898 | |
94ea66b3 MK |
9899 | * i386-tdep.c (i386_extract_return_value, |
9900 | i386_store_return_value): Correct check for availability of | |
9901 | floating-point registers. | |
9902 | ||
54299a1d MK |
9903 | * i386-tdep.c (i386_frame_num_args): Remove function. |
9904 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
9905 | ||
c86c27af MK |
9906 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
9907 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
9908 | ||
f9d3c2a8 MK |
9909 | * i386-tdep.c (i386_get_longjmp_target): Use |
9910 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
9911 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
9912 | extract_address. | |
9913 | ||
94ba74a9 MK |
9914 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
9915 | ||
9916 | * core-regset.c: Update comments to reflect reality. Re-order | |
9917 | includes. | |
9918 | (fetch_core_registers): Use switch instead of if. Remove | |
9919 | redundant prototype. | |
9920 | ||
4074e13c JB |
9921 | 2003-04-18 Jim Blandy <jimb@redhat.com> |
9922 | ||
9923 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 9924 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 9925 | |
e3ab4aba RH |
9926 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9927 | ||
9928 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
9929 | ||
627bf7c1 EZ |
9930 | 2003-04-17 Michael Snyder <msnyder@redhat.com> |
9931 | Karen Bennet <bennet@redhat.com> | |
9932 | ||
9933 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
9934 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 9935 | |
514621a9 EZ |
9936 | 2003-04-17 Elena Zannoni <ezannoni@redhat.com> |
9937 | ||
9938 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 9939 | value if the return type is void. |
514621a9 | 9940 | |
b4acd559 JJ |
9941 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
9942 | ||
9943 | * thread-db.c: Reindented. | |
8ffd9b1b | 9944 | |
530b167e | 9945 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
9946 | |
9947 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
9948 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
9949 | as types. |
9950 | ||
0a48e7e8 MS |
9951 | |
9952 | ||
9953 | ||
9954 | ||
9955 | ||
9956 | ||
9957 | ||
9958 | ||
9959 | ||
9960 | ||
9961 | ||
9962 | ||
9963 | ||
9964 | ||
9965 | ||
9966 | ||
9967 | ||
9968 | ||
9969 | ||
9970 | ||
9971 | ||
9972 | ||
9973 | ||
8ffd9b1b | 9974 | |
ab9fe00e KB |
9975 | 2003-04-16 Kevin Buettner <kevinb@redhat.com> |
9976 | ||
610a3745 | 9977 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
9978 | the size of ``long double'' to 16, instead of 8. |
9979 | ||
e64a344c MK |
9980 | 2003-04-16 Mark Kettenis <kettenis@gnu.org> |
9981 | ||
9982 | * i386-linux-nat.c: Add some whitespace to make things more | |
9983 | readable. | |
9984 | (fetch_register, store_register, fetch_inferior_registers, | |
9985 | store_inferior_registers): Get rid of assignment in if-statement. | |
9986 | (store_register): Fix typo in error message. | |
9987 | ||
25d41031 AC |
9988 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
9989 | ||
9990 | * utils.c (xmmalloc): Always allocate something, matches | |
9991 | libiberty/xmalloc's semantics. | |
9992 | (xmrealloc, xmcalloc): Ditto. | |
9993 | ||
c50901fd AC |
9994 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
9995 | ||
9996 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
9997 | update comments. | |
9998 | (get_frame_type): Initialize unwind and type when needed. | |
9999 | (get_frame_id, frame_register_unwind): Ditto. | |
10000 | ||
f81824a9 AC |
10001 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
10002 | ||
10003 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
10004 | obsolete. | |
10005 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
10006 | * sparcl-stub.c: Obsolete file. | |
10007 | * config/sparc/tm-sparclet.h: Obsolete file. | |
10008 | * sparclet-stub.c: Obsolete file. | |
10009 | * sparclet-rom.c: Obsolete file. | |
10010 | * sparcl-tdep.c: Obsolete file. | |
10011 | * config/sparc/tm-sparclite.h: Obsolete file. | |
10012 | * config/sparc/sparclite.mt: Obsolete file. | |
10013 | * config/sparc/sparclet.mt: Obsolete file. | |
10014 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
10015 | sparc86x-*-* obsolete. | |
10016 | ||
9219021c DC |
10017 | 2003-04-15 David Carlton <carlton@math.stanford.edu> |
10018 | ||
10019 | * Makefile.in (SFILES): Add cp-namespace.c. | |
10020 | (COMMON_OBS): Add cp-namespace.o. | |
10021 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
10022 | (buildsym.o): Depend on cp_support_h. | |
10023 | (cp-namespace.o): New. | |
10024 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
10025 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
10026 | (dwarf2read.o): Depend on cp_support_h. | |
10027 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
10028 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
10029 | processing_current_namespace. | |
10030 | (read_namespace): Update processing_current_namespace; check for | |
10031 | anonymous namespaces. | |
10032 | (dwarf2_name): New function. | |
10033 | (dwarf2_extension): Ditto. | |
10034 | * cp-support.h: Update copyright, contributors. | |
10035 | Add inclusion guards. | |
10036 | Add opaque declaration for structs obstack, block, symbol. | |
10037 | (struct using_direct): New struct. | |
10038 | Add declarations for cp_find_first_component, | |
10039 | cp_entire_prefix_len, processing_has_namespace_info, | |
10040 | processing_current_namespace, cp_is_anonymous, | |
10041 | cp_add_using_directive, cp_initialize_namespace, | |
10042 | cp_finalize_namespace, cp_set_block_scope, | |
10043 | cp_scan_for_anonymous_namespaces. | |
10044 | * cp-namespace.c: New file. | |
10045 | * cp-support.c: Update copyright. | |
10046 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
10047 | New variable maint_cplus_cmd_list. | |
10048 | (cp_find_first_component): New function. | |
10049 | (cp_entire_prefix_len, maint_cplus_command) | |
10050 | (first_component_command, _initialize_cp_support): Ditto. | |
10051 | * buildsym.c: Include cp-support.h. | |
10052 | New variable using_list. | |
10053 | (add_symbol_to_list): Check for anonymous namespaces. | |
10054 | (finish_block): Set block's scope. | |
10055 | (start_symtab): Initialize C++ namespace support. | |
10056 | (end_symtab): Finalize C++ namespace support. | |
10057 | * block.h: Add opaque declarations for structs | |
10058 | block_namespace_info, using_direct, and obstack. | |
10059 | Add declarations for block_set_scope and block_set_using. | |
10060 | (struct block): Add 'language_specific' member. | |
10061 | (BLOCK_NAMESPACE): New macro. | |
10062 | * block.c: Include gdb_obstack.h and cp-support.h. | |
10063 | (struct block_namespace_info): New struct. | |
10064 | (block_set_scope): New function. | |
10065 | (block_set_using, block_initialize_namespace): Ditto. | |
10066 | ||
d5a921c9 KB |
10067 | 2003-04-14 Kevin Buettner <kevinb@redhat.com> |
10068 | ||
10069 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
10070 | (locate_base): Return early if there aren't any link map offsets. | |
10071 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
10072 | is unavailable. | |
10073 | ||
d2a52b27 DC |
10074 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
10075 | ||
10076 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
10077 | in hash table. Fix for PR java/1039. | |
10078 | ||
980cae7a DC |
10079 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
10080 | ||
10081 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
10082 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
10083 | * symtab.h: Change 'name' argument in declaration of | |
10084 | symbol_set_names to 'linkage_name'. | |
10085 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
10086 | ||
e227b13c AC |
10087 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
10088 | ||
10089 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
10090 | return the fully sign-extended register value. | |
10091 | (get_frame_pointer): Ditto. | |
10092 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
10093 | dummy frame. | |
10094 | ||
36712a20 AC |
10095 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
10096 | ||
10097 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
10098 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
10099 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
10100 | (mips_push_register): Delete function. | |
10101 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
10102 | PUSH_FP_REGNUM. | |
10103 | ||
44ea7b70 JB |
10104 | 2003-04-14 Jim Blandy <jimb@redhat.com> |
10105 | ||
10106 | * symmisc.c: #include "gdb_regex.h". | |
10107 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
10108 | functions. | |
10109 | * maint.c (maintenance_list_command): New function. | |
10110 | (_initialize_maint_cmds): Register the above as commands. | |
10111 | * symtab.h (maintenance_list_symtabs, | |
10112 | maintenance_list_psymtabs): New declarations. | |
10113 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
10114 | (init_cmd_lists): Initialize it. | |
10115 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
10116 | * gdbcmd.h (maintenancelistlist): New declaration. | |
10117 | * Makefile.in (symmisc.o): Update dependencies. | |
10118 | ||
2d0c7962 EZ |
10119 | 2003-04-14 Elena Zannoni <ezannoni@redhat.com> |
10120 | ||
10121 | * s390-nat.c: Include asm/types.h for addr_t. | |
10122 | ||
1947a811 CV |
10123 | 2003-04-14 Corinna Vinschen <vinschen@redhat.com> |
10124 | ||
10125 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
10126 | actually incoming type. | |
10127 | ||
adb616d7 AC |
10128 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
10129 | ||
10130 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
10131 | get_next_frame and get_frame_saved_regs. | |
10132 | ||
9b5e151c AC |
10133 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
10134 | ||
10135 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
10136 | of gdbarch_num_regs. | |
10137 | ||
ef6e7e13 AC |
10138 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
10139 | ||
10140 | * frame.h: Mention what replaced what in "struct frame_info". | |
10141 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
10142 | deprecated_update_frame_base_hack and | |
10143 | deprecated_update_frame_pc_hack. | |
10144 | * hppa-tdep.c: Ditto. | |
10145 | ||
61fbb938 DJ |
10146 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
10147 | ||
10148 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
10149 | to read_reg and update its comment. Remove regnum member. | |
10150 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
10151 | Don't call read_reg when setting in_reg. Call read_reg to get | |
10152 | the frame base if it's in a register. Return the register number | |
10153 | on the stack instead of in the context. Remove extra arguments | |
10154 | to read_reg. | |
10155 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
10156 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
10157 | the register number on the expression stack. | |
10158 | (needs_frame_read_reg): Remove extra arguments. | |
10159 | ||
0d53c4c4 DJ |
10160 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
10161 | ||
10162 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
10163 | made non-static. | |
10164 | (execute_stack_op): All callers updated. | |
10165 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
10166 | * dwarf2loc.c (find_location_expression): New function. | |
10167 | (dwarf_expr_frame_base): Call it. | |
10168 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
10169 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
10170 | locexpr_tracepoint_var_ref. | |
10171 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
10172 | Make static. | |
10173 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
10174 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
10175 | functions. | |
10176 | (dwarf2_loclist_funcs): New struct location_funcs. | |
10177 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
10178 | (struct dwarf2_locexpr_baton): Add comments. | |
10179 | (dwarf2_loclist_funcs): New extern. | |
10180 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
10181 | base_address and base_known. | |
10182 | (dwarf_loc_buffer): New variable. | |
10183 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
10184 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
10185 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
10186 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
10187 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
10188 | DWARF_LOC_SIZE. | |
10189 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
10190 | here, from... | |
10191 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
10192 | cu_header. | |
10193 | (dwarf2_symbol_mark_computed): Handle location lists. | |
10194 | ||
6aca59a3 DJ |
10195 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
10196 | ||
10197 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
10198 | if the linkage name demangled successfully. | |
10199 | ||
aca1fcd0 MK |
10200 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
10201 | ||
97095916 MK |
10202 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
10203 | disassmbly_flavour): Removed. | |
10204 | ||
aca1fcd0 MK |
10205 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
10206 | ||
562a961f MK |
10207 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
10208 | ||
10209 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
10210 | ||
bd013d54 AC |
10211 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
10212 | ||
10213 | * frame.h (struct frame_info): Move definition from here ... | |
10214 | * frame.c (struct frame_info): ... to here. | |
10215 | ||
167ef8b1 AC |
10216 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
10217 | ||
10218 | * gdbthread.h (save_infrun_state): Delete parameter | |
10219 | "prev_func_start". | |
10220 | (struct thread_info): Delete field "prev_func_start". | |
10221 | (load_infrun_state): Ditto. | |
10222 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
10223 | * infrun.c (prev_func_start): Delete variable. | |
10224 | (context_switch, init_wait_for_inferior): Update. | |
10225 | (stop_stepping, keep_going): Update. | |
10226 | ||
da3331ec AC |
10227 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
10228 | ||
10229 | * gdbarch.sh: Add missing opaque declarations. | |
10230 | * gdbarch.h: Regnerate. | |
10231 | * symtab.h: Add missing opaque declarations. | |
10232 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
10233 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
10234 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
10235 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
10236 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
10237 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
10238 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
10239 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
10240 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
10241 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
10242 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
10243 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
10244 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
10245 | ||
18adea3f AC |
10246 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
10247 | ||
10248 | * frame.c (get_frame_id): Return this frame's "id". | |
10249 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
10250 | function start. | |
10251 | (legacy_saved_regs_this_id): Replace function body with | |
10252 | internal-error. | |
10253 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
10254 | FRAME_OBSTACK_ZALLOC. | |
10255 | (create_new_frame): Mark the frame ID as valid. | |
10256 | ||
2252e863 AO |
10257 | 2003-04-11 Alexandre Oliva <aoliva@redhat.com> |
10258 | ||
10259 | * Makefile.in (libbfd_h): Added missing setting. | |
10260 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
10261 | according to the selected ABI. | |
10262 | ||
a8245ab8 JJ |
10263 | 2003-04-11 Jeff Johnston <jjohnstn@redhat.com> |
10264 | ||
10265 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
10266 | ||
6913c89a AC |
10267 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
10268 | ||
10269 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
10270 | SAVED_PC_AFTER_CALL. | |
10271 | * gdbarch.h, gdbarch.c: Regenerate. | |
10272 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10273 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10274 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10275 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10276 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10277 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10278 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10279 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10280 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10281 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10282 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10283 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10284 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10285 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10286 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10287 | (ia64_saved_pc_after_call): Update declaration. | |
10288 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
10289 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10290 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10291 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10292 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10293 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10294 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10295 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10296 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10297 | * ns32knbsd-nat.c (frame_num_args): Update. | |
10298 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10299 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10300 | * infrun.c (step_over_function): Update. | |
10301 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
10302 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
10303 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
10304 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10305 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10306 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
10307 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
10308 | * arch-utils.c (init_frame_pc_default): Update. | |
10309 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10310 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
10311 | declaration. | |
8ffd9b1b | 10312 | |
38edeab8 AC |
10313 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
10314 | ||
10315 | * i387-tdep.c: Update copyright. | |
10316 | (i387_to_double): Delete function. | |
10317 | (double_to_i387): Delete function. | |
10318 | ||
81f8a206 AC |
10319 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
10320 | ||
10321 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
10322 | frame's function's address. Simplify. | |
10323 | (d10v_frame_unwind_cache): Check that the frame's function is | |
10324 | non-zero. | |
10325 | ||
6e691f7a JB |
10326 | 2003-04-10 Jim Blandy <jimb@redhat.com> |
10327 | ||
10328 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
10329 | call to set_gdbarch_deprecated_push_arguments. | |
10330 | ||
7f78e237 AC |
10331 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
10332 | ||
10333 | * frame.c (fprint_frame_id): New function. | |
10334 | (fprint_frame_type, fprint_frame): New function. | |
10335 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
10336 | (create_sentinel_frame, get_frame_id): Ditto. | |
10337 | (frame_id_p, frame_id_eq): Ditto. | |
10338 | (frame_id_inner, create_new_frame): Ditto. | |
10339 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
10340 | (deprecated_update_frame_pc_hack): Ditto. | |
10341 | (frame_register_unwind): Ditto. | |
10342 | (deprecated_update_frame_base_hack): Ditto. | |
10343 | ||
f870b49b CV |
10344 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
10345 | ||
10346 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
10347 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
10348 | frame_chain function. | |
10349 | * Makefile.in: Add dependencies due to above change. | |
10350 | ||
7c86889b CV |
10351 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
10352 | ||
10353 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
10354 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
10355 | inside_entry_file. | |
10356 | ||
d0a55772 AC |
10357 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10358 | ||
10359 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
10360 | "stack_addr" and "code_addr". Update comments. | |
10361 | (frame_id_build): Update parameter names and comment. | |
10362 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
10363 | * dummy-frame.c (dummy_frame_this_id): Update. | |
10364 | * breakpoint.c (print_one_breakpoint): Update. | |
10365 | * frame.c (get_frame_id): Update. | |
10366 | (get_frame_base, frame_id_build): Update. | |
10367 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
10368 | (deprecated_update_frame_base_hack): Update. | |
10369 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
10370 | (frame_id_inner): Ditto. | |
10371 | ||
ac16bf07 AC |
10372 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10373 | ||
10374 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
10375 | pointer constant. | |
10376 | * utils.c (gdb_print_host_address): Update. | |
10377 | ||
366cfc9e KB |
10378 | 2003-04-09 Kevin Buettner <kevinb@redhat.com> |
10379 | ||
10380 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
10381 | register number for R0 is 0. | |
10382 | ||
cd983b5c JB |
10383 | 2003-04-09 J. Brobecker <brobecker@gnat.com> |
10384 | ||
10385 | * frame.h (struct gdbarch): Add opaque structure definition | |
10386 | to avoid a compilation warning on LynxOS 4.0. | |
10387 | ||
d1340264 AC |
10388 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10389 | ||
10390 | * frame.h (struct frame_info): Delete field "pc". Replace | |
10391 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
10392 | structure. | |
10393 | * frame.c (frame_pc_unwind): Update. | |
10394 | (create_sentinel_frame): Do not set "pc". | |
10395 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
10396 | (get_frame_pc): Call frame_pc_unwind. | |
10397 | (deprecated_update_frame_pc_hack): Update. | |
10398 | (create_new_frame): Use "pc" not "->pc". | |
10399 | ||
90a6fffb AC |
10400 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10401 | ||
10402 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
10403 | (legacy_get_prev_frame): Ditto. | |
10404 | (get_frame_base): Return id.base directly. | |
10405 | (deprecated_update_frame_base_hack): Update "id.base". | |
10406 | * frame.h (struct frame_info): Delete field "frame". | |
10407 | ||
2fbce691 AC |
10408 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10409 | ||
10410 | * NEWS: Mention that the "Sequent family" is obsolete. | |
10411 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
10412 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
10413 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
10414 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
10415 | * config/i386/tm-ptx4.h: Obsolete file. | |
10416 | * config/i386/tm-ptx.h: Obsolete file. | |
10417 | * symm-tdep.c: Obsolete file. | |
10418 | * config/i386/symmetry.mt: Obsolete file. | |
10419 | * config/i386/tm-symmetry.h: Obsolete file. | |
10420 | * symm-nat.c: Obsolete file. | |
10421 | * config/i386/nm-symmetry.h: Obsolete file. | |
10422 | * config/i386/xm-symmetry.h: Obsolete file. | |
10423 | * config/i386/symmetry.mh: Obsolete file. | |
10424 | * config/i386/nm-ptx4.h: Obsolete file. | |
10425 | * config/i386/ptx4.mh: Obsolete file. | |
10426 | * config/i386/ptx.mt: Obsolete file. | |
10427 | * config/i386/ptx.mh: Obsolete file. | |
10428 | * config/i386/xm-ptx4.h: Obsolete file. | |
10429 | * config/i386/xm-ptx.h: Obsolete file. | |
10430 | ||
78c43945 AC |
10431 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10432 | ||
10433 | Obsolete mips*-*-mach3*. | |
10434 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
10435 | * m3-nat.c: Obsolete file. | |
10436 | * config/nm-m3.h: Obsolete file. | |
10437 | * config/mips/tm-mipsm3.h: Obsolete file. | |
10438 | * config/mips/mipsm3.mt: Obsolete file. | |
10439 | * config/mips/mipsm3.mh: Obsolete file. | |
10440 | * config/mips/xm-mipsm3.h: Obsolete file. | |
10441 | * mipsm3-nat.c: Obsolete file. | |
10442 | * configure.host: Obsolete mips-dec-mach3*. | |
10443 | * configure.tgt: Obsolete mips*-*-mach3*. | |
10444 | ||
f1908289 AC |
10445 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10446 | ||
10447 | * doublest.h: Update copyright. | |
10448 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
10449 | store_floating and extract_floating. Update comments. | |
10450 | * doublest.c: Update copyright. | |
10451 | (extract_floating_by_length): Replace extract_floating. | |
10452 | (store_floating_by_length): Replace store_floating. | |
10453 | (deprecated_extract_floating): New function. | |
10454 | (deprecated_store_floating): New function. | |
10455 | (extract_typed_floating): Call extract_floating_by_length. | |
10456 | (store_typed_floating): Call store_floating_by_length. | |
10457 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
10458 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
10459 | (sh64_extract_return_value): Update. | |
10460 | (sh_sh4_register_convert_to_virtual): Update. | |
10461 | (sh_sh64_register_convert_to_virtual): Update. | |
10462 | (sh_sh4_register_convert_to_raw): Update. | |
10463 | (sh_sh64_register_convert_to_raw): Update. | |
10464 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
10465 | (rs6000_register_convert_to_raw): Update. | |
10466 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
10467 | (ia64_register_convert_to_raw): Update. | |
10468 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
10469 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
10470 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
10471 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
10472 | (alpha_register_convert_to_raw): Update. | |
10473 | ||
4443bd83 AC |
10474 | 2003-04-08 Andrew Cagney <cagney@redhat.com> |
10475 | ||
10476 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
10477 | * gdbarch.h, gdbarch.c: Re-generate. | |
10478 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
10479 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
10480 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
10481 | conditionally, use frame_pc_unwind as an alternative. Add | |
10482 | comments. | |
10483 | * arch-utils.c (init_frame_pc_default): Only call | |
10484 | SAVED_PC_AFTER_CALL when available. | |
10485 | ||
c0236d92 EZ |
10486 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> |
10487 | ||
fbe586ae | 10488 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
10489 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
10490 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
10491 | (start_remote): Ditto. | |
10492 | (handle_inferior_event): Ditto. | |
10493 | (save_inferior_status): Ditto. | |
10494 | (restore_inferior_status): Ditto. | |
10495 | * infcmd.c (attach_command): Ditto. | |
10496 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 10497 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
10498 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
10499 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
10500 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
10501 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
10502 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
10503 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
10504 | * remote-vx.c (vx_create_inferior): Ditto. | |
10505 | ||
10506 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> | |
10507 | ||
10508 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
10509 | override the default behavior of handle_inferior_event. | |
10510 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
10511 | reflect that it is now an enum. | |
10512 | (start_remote): Ditto. | |
10513 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
10514 | is set to handle the new GNU/Linux kernel behavior for | |
10515 | attach/sigstop. Update uses of stop_soon_quietly. | |
10516 | * inferior.h (enum stop_kind): New enum. | |
10517 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
10518 | Reset normal handle_inferior_event behavior, afterwards. | |
10519 | * fork-child.c (startup_inferior): Update. | |
10520 | * alpha-tdep.c (heuristic_proc_start): Update. | |
10521 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
10522 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
10523 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
10524 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
10525 | * remote-vx.c (vx_create_inferior): Update. | |
10526 | * mips-tdep.c (heuristic_proc_start): Update. | |
10527 | ||
1211bce3 EZ |
10528 | 2003-04-07 Elena Zannoni <ezannoni@redhat.com> |
10529 | ||
10530 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 10531 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 10532 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 10533 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 10534 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 10535 | with the "core" target. |
1211bce3 | 10536 | |
f0ef6b29 KB |
10537 | 2003-04-07 Kevin Buettner <kevinb@redhat.com> |
10538 | ||
10539 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
10540 | do_fp_register_row(). Registers are now (also) printed as hex. | |
10541 | Only one register is printed per row. | |
10542 | (mips_print_register, do_fp_register_row): Print floating point | |
10543 | registers with mips_print_fp_register(). | |
10544 | ||
8cf71652 AC |
10545 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
10546 | ||
5e488a7b AC |
10547 | * valprint.h (inspect_it): Add extern declaration. |
10548 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
10549 | (selectors_info, classes_info): Ditto. | |
10550 | (find_objc_msgcall): Fix indentation. | |
10551 | (objc_printstr): Delete extern declarations. | |
10552 | ||
8cf71652 AC |
10553 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
10554 | ||
e6ba3bc9 AC |
10555 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
10556 | ||
10557 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
10558 | Update comment. | |
10559 | * frame.c (legacy_saved_regs_this_id): Update. | |
10560 | (legacy_get_prev_frame): Update. | |
10561 | * xstormy16-tdep.c: Update comment. | |
10562 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
10563 | * blockframe.c (legacy_frame_chain_valid): Update. | |
10564 | ||
55e1d7e7 AC |
10565 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
10566 | ||
996179ee AC |
10567 | * valprint.c (val_print_type_code_int): Delete #ifdef |
10568 | PRINT_TYPELESS_INTEGER code. | |
10569 | ||
55e1d7e7 AC |
10570 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
10571 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
10572 | multi-arch definition. | |
10573 | * gdbarch.h: Re-generate. | |
10574 | ||
43bd9a9e AC |
10575 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10576 | ||
10577 | Eliminate FRAME_FIND_SAVED_REGS. | |
10578 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
10579 | Change FSR parameter to a pointer. | |
10580 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
10581 | Assume FSR parameter is a pointer. | |
10582 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
10583 | Make fsr a pointer. | |
10584 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
10585 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
10586 | saved_regs a pointer. | |
10587 | (hppa_frame_saved_pc): Ditto. | |
10588 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
10589 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
10590 | pointer. | |
10591 | (restore_pc_queue): Make fsr a pointer. | |
10592 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
10593 | (hppa_frame_chain): Make saved_regs a pointer, call | |
10594 | hppa_frame_init_saved_regs. | |
10595 | * sparc-tdep.c: Include "gdb_assert.h". | |
10596 | (sparc_frame_find_saved_regs): Replace internal_error with | |
10597 | gdb_assert. | |
10598 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
10599 | FRAME_FIND_SAVED_REGS. | |
10600 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
10601 | * gdbarch.h: Regenerate. | |
10602 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
10603 | (deprecated_get_frame_saved_regs): Delete declaration. | |
10604 | (struct frame_saved_regs): Delete definition. | |
10605 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
10606 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
10607 | (hppa_frame_find_saved_regs): Delete declaration. | |
10608 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
10609 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
10610 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
10611 | FRAME_FIND_SAVED_REGS in comment. | |
10612 | ||
be41e9f4 AC |
10613 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10614 | ||
10615 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
10616 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
10617 | (struct frame_info): Add field "prev_func" for caching the | |
10618 | previous frame's function address. | |
10619 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
10620 | get_pc_function_start and get_frame_pc into get_frame_func. | |
10621 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
10622 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
10623 | * s390-tdep.c (s390_function_start): Ditto. | |
10624 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
10625 | (rs6000_frameless_function_invocation): Ditto. | |
10626 | (rs6000_frame_saved_pc): Ditto. | |
10627 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
10628 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
10629 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
10630 | (i386_frame_init_saved_regs): Ditto. | |
10631 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
10632 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
10633 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
10634 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
10635 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
10636 | ||
a01dd7cc AC |
10637 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10638 | ||
10639 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
10640 | function start. Update comments. | |
10641 | ||
5e5592e6 AC |
10642 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10643 | ||
10644 | * frame.c (get_frame_id): Update comment. | |
10645 | (legacy_get_prev_frame): Update comment. | |
10646 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
10647 | * gdbarch.h: Regenerate. | |
10648 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
10649 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
10650 | ||
6fba5002 AC |
10651 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10652 | ||
10653 | * stack.c (print_frame_info): Use get_frame_pc. | |
10654 | ||
7df05f2b AC |
10655 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
10656 | ||
10657 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
10658 | the frame's type from the unwinder. | |
10659 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
10660 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
10661 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
10662 | (get_frame_base_address): Use get_frame_type. | |
10663 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
10664 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
10665 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
10666 | (struct frame_info): Add comment explaining why the frame contains | |
10667 | a "type" field. | |
10668 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
10669 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
10670 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
10671 | NORMAL_FRAME. | |
10672 | * frame-unwind.h: Include "frame.h". | |
10673 | (struct frame_unwind): Add "type" field. | |
10674 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 10675 | |
11889732 AC |
10676 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
10677 | ||
10678 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
10679 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
10680 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
10681 | get_frame_base. | |
10682 | (d10v_unwind_dummy_id): Use frame_id_build. | |
10683 | * frame.c (find_frame_sal): Use get_frame_pc. | |
10684 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
10685 | deprecated_update_frame_base_hack. | |
10686 | (create_sentinel_frame): Add comment about ->pc going away. | |
10687 | (get_prev_frame): Add comment about ->pc going away. | |
10688 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
10689 | frame_id_build, deprecated_update_frame_pc_hack and | |
10690 | deprecated_update_frame_base_hack. | |
10691 | (select_frame): Use get_frame_pc. | |
10692 | (legacy_saved_regs_this_id): Use frame_id_build. | |
10693 | ||
50c46a0d EZ |
10694 | 2003-04-04 Elena Zannoni <ezannoni@redhat.com> |
10695 | ||
fbe586ae RH |
10696 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
10697 | signed integer case. | |
10698 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 10699 | |
50bbdbd9 AC |
10700 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
10701 | ||
10702 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
10703 | ID to NULL. | |
10704 | ||
36018d2e AF |
10705 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
10706 | ||
10707 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
10708 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
10709 | SYMBOL_NATURAL_NAME. | |
10710 | (classes_info, find_methods): Likewise. | |
10711 | ||
35cec841 KB |
10712 | 2003-04-03 Kevin Buettner <kevinb@redhat.com> |
10713 | ||
10714 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
10715 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
10716 | ||
43136899 BR |
10717 | 2003-04-02 Bob Rossi <bob_rossi@cox.net> |
10718 | ||
10719 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
10720 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
10721 | (mi-cmd-file.o): Update dependencies. | |
10722 | ||
040b99fd KB |
10723 | 2003-04-01 Kevin Buettner <kevinb@redhat.com> |
10724 | ||
10725 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
10726 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
10727 | ||
9a3d7dfd AF |
10728 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
10729 | ||
10730 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
10731 | * language.h (struct language_defn): Add la_demangle. | |
10732 | (language_demangle): Declare. | |
10733 | * language.c (language_demangle): New function. | |
10734 | (unk_lang_demangle): Likewise. | |
10735 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 10736 | Add ukn_lang_demangle. |
9a3d7dfd | 10737 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 10738 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
10739 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
10740 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
10741 | * jv-lang.c (java_demangle): New function | |
10742 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
10743 | * objc-lang.c (objc_demangle): Add options argument |
10744 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
10745 | * maint.c (maintenance_demangle): Replace switch with |
10746 | call to language_demangle. | |
10747 | * utils.c (fprintf_symbol_filtered): Likewise. | |
10748 | ||
5e074003 AC |
10749 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10750 | ||
10751 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
10752 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
10753 | PRINT_TYPELESS_INTEGER. | |
10754 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
10755 | PUSH_RETURN_ADDRESS. | |
10756 | ||
270cb5d6 AC |
10757 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10758 | ||
10759 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
10760 | * d10v-tdep.c: Include "frame-base.h". | |
10761 | (d10v_frame_unwind): Make constant. | |
10762 | (d10v_frame_base_address): New function. | |
10763 | (d10v_frame_base): New variable. | |
10764 | (d10v_gdbarch_init): Set frame_base default. | |
10765 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
10766 | comment for base. | |
10767 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
10768 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
10769 | address and this frame's func address for the frame ID. Use | |
10770 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 10771 | |
6bfb3e36 AC |
10772 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10773 | ||
10774 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
10775 | Refer to the base address, instead of the address of the first | |
10776 | local or parameter. | |
8ffd9b1b | 10777 | |
da62e633 AC |
10778 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10779 | ||
10780 | Add frame debug info addresses: | |
10781 | * frame-base.c: New file. | |
10782 | * frame-base.h: New file. | |
10783 | * frame.h (struct frame_base): Add opaque declaration. | |
10784 | (get_frame_base): Update comment. | |
10785 | (get_frame_base_address): Declare. | |
10786 | (get_frame_locals_address): Declare. | |
10787 | (get_frame_args_address): Declare. | |
10788 | (struct frame_info): Add "base" and "base_cache". Update | |
10789 | comments on the unwinder. | |
10790 | * frame.c: Include "frame-base.h". | |
10791 | (get_frame_locals_address): New function. | |
10792 | (get_frame_base_address): New function. | |
10793 | (get_frame_args_address): New function. | |
10794 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
10795 | get_frame_args_address. | |
10796 | * stack.c (frame_info): Use get_frame_locals_address and | |
10797 | get_frame_args_address. | |
10798 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
10799 | moved to "frame-base.c". | |
10800 | * printcmd.c (print_frame_nameless_args): Ditto. | |
10801 | * symtab.h (address_class): Update comments. | |
10802 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
10803 | get_frame_base_address. | |
10804 | * dwarf2expr.c (execute_stack_op): Ditto. | |
10805 | * Makefile.in (frame_base_h): Define. | |
10806 | (frame.o): Update dependencies. | |
10807 | (frame-base.o): Add dependencies. | |
10808 | (SFILES): Add frame-base.c. | |
10809 | (COMMON_OBS): Add frame-base.o. | |
10810 | ||
3d30e9c2 AC |
10811 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10812 | ||
10813 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
10814 | CALL_DUMMY_LENGTH): Ditto. | |
10815 | * gdbarch.c: Re-generate. | |
10816 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
10817 | (CALL_DUMMY_LENGTH): Delete macro. | |
10818 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
10819 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10820 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10821 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10822 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
10823 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10824 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10825 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
10826 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
10827 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10828 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10829 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10830 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10831 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10832 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10833 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10834 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10835 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10836 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10837 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
10838 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
10839 | ||
ce0c7262 CV |
10840 | 2003-04-01 Corinna Vinschen <vinschen@redhat.com> |
10841 | ||
10842 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
10843 | ||
73dd234f AC |
10844 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10845 | ||
10846 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
10847 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
10848 | * gdbarch.h, gdbarch.c: Re-generate. | |
10849 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
10850 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
10851 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
10852 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
10853 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
10854 | * infcmd.c (run_stack_dummy): Simplify assuming | |
10855 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
10856 | * infrun.c (handle_inferior_event): Ditto. | |
10857 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
10858 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
10859 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10860 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10861 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10862 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
10863 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10864 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10865 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
10866 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10867 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10868 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
10869 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10870 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10871 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10872 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
10873 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10874 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10875 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10876 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10877 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10878 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
10879 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
10880 | ||
97606a13 DJ |
10881 | 2003-04-01 Daniel Jacobowitz <drow@mvista.com> |
10882 | ||
10883 | * symfile.c (symfile_relocate_debug_section): Update call to | |
10884 | bfd_simple_get_relocated_section_contents. | |
10885 | ||
e8ab51f7 AC |
10886 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
10887 | ||
10888 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
10889 | * gdbarch.h, gdbarch.c: Regenerate. | |
10890 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
10891 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
10892 | available. | |
10893 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
10894 | * dummy-frame.h: Update comment. | |
10895 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
10896 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
10897 | fix_call_dummy. | |
10898 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10899 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10900 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10901 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10902 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10903 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10904 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
10905 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10906 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10907 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
10908 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10909 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10910 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10911 | ||
018d1b48 JB |
10912 | 2003-03-31 J. Brobecker <brobecker@gnat.com> |
10913 | ||
10914 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
10915 | (INIT_FRAME_AP): Likewise. | |
10916 | (EXTRA_FRAME_INFO): Likewise. | |
10917 | ||
e9a2674e AC |
10918 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
10919 | ||
10920 | * gdbarch.sh: Include "symfile.h". | |
10921 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
10922 | * gdbarch.h, gdbarch.c: Re-generate. | |
10923 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
10924 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
10925 | call_dummy_address, the default is at entry_point_address. | |
10926 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10927 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10928 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10929 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10930 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10931 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10932 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10933 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10934 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
10935 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10936 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10937 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
10938 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10939 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10940 | ||
e8a8712a AC |
10941 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
10942 | ||
10943 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
10944 | * gdbarch.h, gdbarch.c: Re-generate. | |
10945 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
10946 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10947 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10948 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10949 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10950 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10951 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10952 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10953 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10954 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10955 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10956 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10957 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10958 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10959 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10960 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10961 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10962 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10963 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
10964 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10965 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
10966 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10967 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10968 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10969 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
10970 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
10971 | * frame.c (legacy_get_prev_frame): Ditto. | |
10972 | * valops.c (call_function_by_hand): Delete function. | |
10973 | (hand_function_call): Rename to call_function_by_hand | |
10974 | ||
ed234cf8 AC |
10975 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
10976 | ||
10977 | 2002-11-10 Klee Dienes <kdienes@apple.com> | |
fbe586ae | 10978 | * value.h (struct value): Update comment. |
ed234cf8 | 10979 | |
06c77151 AC |
10980 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
10981 | ||
6c2b5168 AC |
10982 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
10983 | D10V_FP_REGNUM. | |
10984 | (d10v_gdbarch_init): Do not set fp_regnum. | |
10985 | ||
06c77151 AC |
10986 | * frame.c (get_frame_base): Force ID initialization. |
10987 | (get_prev_frame): Move computation of the frame ID from here ... | |
10988 | (get_frame_id): ... to here. | |
10989 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
10990 | * frame.h (struct frame_info): Add field "id_p". | |
10991 | ||
97a1a11c MK |
10992 | 2003-03-30 Mark Kettenis <kettenis@gnu.org> |
10993 | ||
10994 | * i386-tdep.c (i386_store_struct_return): Removed. | |
10995 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
10996 | ||
6c0e89ed AC |
10997 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
10998 | ||
10999 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
11000 | * gdbarch.h, gdbarch.c: Regenerate. | |
11001 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
11002 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
11003 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11004 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11005 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11006 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11007 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11008 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
11009 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11010 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
11011 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11012 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
11013 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
11014 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
11015 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
11016 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11017 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11018 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11019 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11020 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11021 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11022 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11023 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11024 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
11025 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
11026 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 11027 | |
f7dd6af2 AC |
11028 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11029 | ||
11030 | * infttrace.c: Include "gdbthread.h". | |
11031 | (parent_attach_all): Fix function signature. | |
11032 | (call_ptrace): Update call. | |
11033 | * Makefile.in (infttrace.o): Update dependencies. | |
11034 | ||
28f617b3 AC |
11035 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11036 | ||
11037 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
11038 | PUSH_RETURN_ADDRESS. | |
11039 | * gdbarch.h, gdbarch.c: Regenerate. | |
11040 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11041 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11042 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11043 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11044 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11045 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11046 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11047 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11048 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11049 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11050 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11051 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11052 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11053 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11054 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11055 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11056 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11057 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11058 | * valops.c (hand_function_call): Update. | |
11059 | ||
4d628cd7 AC |
11060 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
11061 | ||
11062 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
11063 | sizeof_call_dummy_words. | |
11064 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
11065 | define. | |
11066 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 11067 | |
65e82032 AC |
11068 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
11069 | ||
11070 | * infttrace.h: New file. | |
11071 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
11072 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
11073 | (hpread_read_doc_function_type): Detect an initialized type1. | |
11074 | (hpread_quick_traverse): Initialize mod_name_string. | |
11075 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
11076 | (som_solib_get_solib_by_pc): Declare. | |
11077 | (so_lib_thread_start_addr): Declare. | |
11078 | (no_shared_libraries): Declare. | |
11079 | * somread.c (init_import_symbols): Make static. Add forward | |
11080 | declaration. | |
11081 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
11082 | parent_attach_all. | |
11083 | (hppa_insert_hw_watchpoint): Declare. | |
11084 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
11085 | * hppah-nat.c: Include "gdb_string.h". | |
11086 | (parent_attach_all): Delete extern declaration, moved to | |
11087 | "infttrace.h". | |
11088 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
11089 | int. | |
11090 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
11091 | * Makefile.in (infttrace_h): Define. | |
11092 | (hpread.o): Update dependencies. | |
11093 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
11094 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
11095 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
11096 | * infrun.c (handle_inferior_event): Always initialize | |
11097 | stepped_after_stopped_by_watchpoint. Add default and remove | |
11098 | fallthrough in switch statement. | |
11099 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
11100 | parameter to int. | |
11101 | (hppa_remove_hw_watchpoint): Ditto. | |
11102 | ||
2c3bbe77 AC |
11103 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
11104 | ||
11105 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
11106 | offset. | |
11107 | ||
2dd604e7 RE |
11108 | 2003-03-29 Richard Earnshaw <rearnsha@arm.com> |
11109 | ||
11110 | * arm-tdep.c (arm_push_arguments): Delete. | |
11111 | (struct stack_item): New type. | |
11112 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
11113 | (arm_store_struct_return): Delte. | |
11114 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
11115 | arm_push_arguments or arm_store_struct_return. | |
11116 | ||
e8933a55 AC |
11117 | 2003-03-28 Andrew Cagney <cagney@redhat.com> |
11118 | ||
11119 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
11120 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
11121 | * d10v-tdep.c: Include "remote.h". | |
11122 | (target_resume_hook): Delete extern declaration. | |
11123 | (target_wait_loop_hook): Ditto. | |
11124 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
11125 | (d10v_ts2_register_sim_regno): Eliminate call to | |
11126 | legacy_register_sim_regno. | |
11127 | (d10v_ts3_register_sim_regno): Ditto. | |
11128 | ||
6949171e JJ |
11129 | 2003-03-28 Jeff Johnston <jjohnstn@redhat.com> |
11130 | ||
11131 | * thread.c: Reindented. | |
11132 | * lin-lwp.c: Ditto. | |
11133 | * linux-proc.c: Ditto. | |
11134 | ||
98c7071f BR |
11135 | 2003-03-28 Bob Rossi <bob_rossi@cox.net> |
11136 | ||
fbe586ae | 11137 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 11138 | |
5edc9ca6 TR |
11139 | 2003-03-27 Theodore A. Roth <troth@openavr.org> |
11140 | ||
11141 | * objc-exp.y: Add missing semi-colons. | |
11142 | ||
378bfd1b AC |
11143 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
11144 | ||
11145 | * regcache.c (write_sp): Delete function and references. | |
11146 | * inferior.h (write_sp): Delete declaration. | |
11147 | * valops.c (hand_function_call): Replace write_sp with | |
11148 | TARGET_WRITE_SP. | |
11149 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
11150 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 11151 | |
56056df7 AC |
11152 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
11153 | ||
11154 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
11155 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
11156 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
11157 | * config/pa/xm-pa.h: Obsolete file. | |
11158 | * config/pa/xm-hppab.h: Obsolete file. | |
11159 | * config/pa/nm-hppab.h: Obsolete file. | |
11160 | * config/pa/tm-hppab.h: Obsolete file. | |
11161 | * config/pa/tm-hppao.h: Obsolete file. | |
11162 | * config/pa/nm-hppao.h: Obsolete file. | |
11163 | * config/pa/tm-pro.h: Obsolete file. | |
11164 | * config/pa/hppaosf.mt: Obsolete file. | |
11165 | * config/pa/hppaosf.mh: Obsolete file. | |
11166 | * config/pa/hppapro.mt: Obsolete file. | |
11167 | * config/pa/hppabsd.mt: Obsolete file. | |
11168 | * config/pa/hppabsd.mh: Obsolete file. | |
11169 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
11170 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
11171 | hppa*-*-osf*. | |
11172 | ||
5873a88d AC |
11173 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
11174 | ||
11175 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
11176 | push_arguments. Don't set push_return_address or write_sp. | |
11177 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
11178 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
11179 | handled by push_dummy_call. | |
11180 | ||
b81774d8 AC |
11181 | 2003-03-26 Andrew Cagney <cagney@redhat.com> |
11182 | ||
11183 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
11184 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
11185 | regcache and dummy_addr parameters. | |
11186 | * gdbarch.h, gdbarch.c: Re-generate. | |
11187 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
11188 | available; assume it will handle stack alignment and return | |
11189 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
11190 | legacy_push_arguments. | |
11191 | (legacy_push_arguments): Rename default_push_arguments. | |
11192 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
11193 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
11194 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
11195 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
11196 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
11197 | * config/i386/tm-symmetry.h: Update. | |
11198 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11199 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11200 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11201 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11202 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11203 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11204 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11205 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11206 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11207 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11208 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11209 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11210 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11211 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11212 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11213 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11214 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
11215 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11216 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11217 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11218 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
11219 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11220 | ||
f541410f DJ |
11221 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11222 | ||
11223 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
11224 | signal range test. | |
11225 | ||
69f567ae DJ |
11226 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11227 | ||
11228 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
11229 | (struct sal_chain, map_catch_names): Remove. | |
11230 | (catch_exception_command_1): Don't call | |
11231 | handle_gnu_4_16_catch_command. | |
11232 | ||
d5d14a5a DJ |
11233 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11234 | ||
11235 | From Mark Dettinger <dettinge@de.ibm.com>: | |
11236 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
11237 | ||
bdd73e22 DJ |
11238 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11239 | ||
11240 | * signals/signals.c: Fix typos in last change. | |
11241 | ||
960cb555 DJ |
11242 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11243 | ||
11244 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
11245 | not already defined. Use __SIGRTMIN if available. | |
11246 | (target_signal_from_host): Remove SIGRTMIN block. | |
11247 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
11248 | the signal is within the realtime range. | |
11249 | ||
f636b87d AF |
11250 | 2003-03-25 Adam Fedor <fedor@gnu.org> |
11251 | ||
11252 | * Makefile.in (infrun.o): Add $(language_h) | |
11253 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
11254 | for language specific trampolines. | |
11255 | * language.h (struct language_defn): Add skip_trampoline. | |
11256 | (skip_language_trampoline): Declare. | |
11257 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
11258 | New functions. | |
11259 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
11260 | Add ukn_lang_trampoline. | |
11261 | * ada-lang.c (ada_language_defn): Add NULL for language | |
11262 | specific skip_trampoline. | |
11263 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
11264 | scm-lang.c: Likewise. | |
11265 | * objc-lang.c (objc_skip_trampoline): New function. | |
11266 | (objc_language_defn): Add objc_skip_trampoline. | |
11267 | ||
28f617b3 | 11268 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
270c3b1d AC |
11269 | |
11270 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
11271 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
11272 | the previous frame. | |
11273 | ||
f933a9c5 AC |
11274 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
11275 | ||
11276 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
11277 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
11278 | * gdbarch.h, gdbarch.c: Re-generate. | |
11279 | * config/sparc/tm-sparc.h | |
11280 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
11281 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
11282 | deprecated_extra_stack_alignment_needed. | |
11283 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
11284 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
11285 | extra_stack_alignment_needed. | |
11286 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11287 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
11288 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11289 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11290 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11291 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11292 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 11293 | |
4183d812 AC |
11294 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
11295 | ||
11296 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
11297 | STORE_STRUCT_RETURN. | |
11298 | * gdbarch.h, gdbarch.c: Regenerate. | |
11299 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
11300 | (d10v_push_arguments): Set the struct return register. | |
11301 | (d10v_gdbarch_init): Update. | |
11302 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11303 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11304 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11305 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11306 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11307 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11308 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11309 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11310 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11311 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11312 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11313 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11314 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11315 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11316 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11317 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11318 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11319 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11320 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11321 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11322 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11323 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11324 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 11325 | |
1bf6d5cc AC |
11326 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
11327 | ||
11328 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
11329 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
11330 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
11331 | * gdbarch.h, gdbarch.c: Regenerate. | |
11332 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
11333 | call_dummy_stack_adjust_p. | |
11334 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
11335 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11336 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11337 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11338 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11339 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
11340 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11341 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
11342 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11343 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11344 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11345 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11346 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11347 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11348 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11349 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11350 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11351 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11352 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
11353 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
11354 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
11355 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
11356 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
11357 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
11358 | call_dummy_stack_adjust_p. | |
11359 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
11360 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
11361 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
11362 | * valops.c (hand_function_call): Update. | |
11363 | ||
71c08af0 CV |
11364 | 2003-03-25 Corinna Vinschen <vinschen@redhat.com> |
11365 | ||
11366 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
11367 | set_gdbarch_char_signed. | |
11368 | ||
30757f90 RE |
11369 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
11370 | ||
11371 | PR cli/548 | |
11372 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
11373 | ||
03d48a7d RE |
11374 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
11375 | ||
11376 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
11377 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
11378 | ||
2cf6873c AF |
11379 | 2003-03-24 Adam Fedor <fedor@gnu.org> |
11380 | ||
11381 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
11382 | * objc-lang.h: Add multiple inclusion protection. | |
11383 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
11384 | ||
17c0759e RE |
11385 | 2003-03-24 Richard Earnshaw <rearnsha@arm.com> |
11386 | ||
11387 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
11388 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
11389 | ||
618ce49f AC |
11390 | 2003-03-23 Andrew Cagney <cagney@redhat.com> |
11391 | ||
11392 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
11393 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
11394 | * gdbarch.h, gdbarch.c: Regenerate. | |
11395 | * valops.c (hand_function_call): Update. | |
11396 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
11397 | * frame.c (legacy_saved_regs_this_id): Update. | |
11398 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
11399 | * dummy-frame.h: Update. | |
11400 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
11401 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
11402 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
11403 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
11404 | * config/m68k/tm-sun3.h: Update. | |
11405 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
11406 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11407 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11408 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11409 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11410 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
11411 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11412 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11413 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
11414 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
11415 | (frame_get_saved_regs): Update. | |
11416 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
11417 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11418 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11419 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11420 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11421 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11422 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11423 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11424 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
11425 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
11426 | (i386_interix_back_one_frame): Update. | |
11427 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11428 | (hppa_init_extra_frame_info): Update. | |
11429 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11430 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11431 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11432 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11433 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11434 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11435 | ||
fd50bc42 RE |
11436 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11437 | ||
11438 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
11439 | (arm_get_fp_model): Declare. | |
11440 | * arm-tdep.c (fp_model_strings): New string array. | |
11441 | (arm_fp_model, current_fp_model): New variables. | |
11442 | (arm_get_fp_model): New function. | |
11443 | (arm_set_fp): New function. | |
11444 | (set_fp_model_sfunc): New function. | |
11445 | (show_fp_model): New function. | |
11446 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
11447 | (arm_extract_return_value): Use arm_get_fp_model. | |
11448 | (arm_store_return_value): Likewise. | |
11449 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
11450 | to initialize the floating-point data types. | |
11451 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
11452 | model is FPA. | |
11453 | ||
26304000 RE |
11454 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11455 | ||
11456 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
11457 | the current setting of each value. | |
11458 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 11459 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
11460 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
11461 | commands and add new version as subcommands of "set/show arm". | |
11462 | ||
afd7eef0 RE |
11463 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11464 | ||
11465 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
11466 | (set_arm_command, show_arm_command): New functions. | |
11467 | (_initialize_arm_tdep): Add them. | |
11468 | (num_disassembly_options): Renamed from num_flavor_options. | |
11469 | (valid_disassembly_styles): Renamed from valid_flavors. | |
11470 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 11471 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
11472 | set_disassembly_flavor_sfunc. |
11473 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
11474 | (arm_othernames): Updated. | |
11475 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
11476 | command. Add "set/show arm disassembly" commands. Deprecate | |
11477 | "othernames" command. | |
11478 | ||
299a7944 RE |
11479 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11480 | ||
11481 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
11482 | (arm-tdep.o): Depend on elf_arm_h. | |
11483 | ||
c1dac9e6 RE |
11484 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11485 | ||
11486 | * Makefile.in (coff_internal_h): Define. | |
11487 | (arm-tdep.o): Update dependencies. | |
11488 | ||
2702d96c RE |
11489 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11490 | ||
11491 | * arm-tdep.c (prologue_cache): Delete. | |
11492 | (check_prologue_cache, save_prologue_cache): Delete. | |
11493 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
11494 | (arm_gdb_arch_init): Don't initialize it. | |
11495 | (_initialize_arm_tdep): Likewise. | |
11496 | ||
27d5d74b SC |
11497 | 2003-03-21 Stephane Carrez <stcarrez@nerim.fr> |
11498 | ||
11499 | * MAINTAINERS (tui): Maintainer of tui code. | |
11500 | ||
1762d96d CV |
11501 | 2003-03-21 Corinna Vinschen <vinschen@redhat.com> |
11502 | ||
11503 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
11504 | (i386-cygwin-tdep.o): Add dependencies. | |
11505 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
11506 | * i386-cygwin-tdep.c: New file. | |
11507 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
11508 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
11509 | ||
4c2e2391 AC |
11510 | 2003-03-20 Andrew Cagney <cagney@redhat.com> |
11511 | ||
f20d38b7 AC |
11512 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
11513 | (handle_inferior_event): Remove code calling | |
11514 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
11515 | ||
0022b738 AC |
11516 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
11517 | already has a full path. | |
11518 | ||
864dbc90 AC |
11519 | * main.c (gdb_main): Return 1. |
11520 | (captured_main): Call error to report an invalid interpreter. | |
11521 | ||
4c2e2391 AC |
11522 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
11523 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
11524 | ||
5ef7553b JB |
11525 | 2003-03-19 J. Brobecker <brobecker@gnat.com> |
11526 | ||
11527 | Continuing work to convert the hppa targets to multiarch partial. | |
11528 | ||
11529 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
11530 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
11531 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
11532 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
11533 | for the switch to multiarch partial. | |
11534 | ||
7bde8967 KB |
11535 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
11536 | ||
11537 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
11538 | when iss is issNull. | |
11539 | ||
b006a9e9 KB |
11540 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
11541 | ||
11542 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
11543 | NUM_REGS bounds check. | |
11544 | ||
5e2e9765 KB |
11545 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
11546 | ||
11547 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
11548 | * mips-tdep.c (gdb_assert.h): Include. | |
11549 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
11550 | (mips_register_name): Handle integer registers explicitly. Add | |
11551 | bounds checking. | |
11552 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
11553 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
11554 | handled by mips_register_name() now. | |
11555 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
11556 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
11557 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
11558 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
11559 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
11560 | ||
a2867626 AC |
11561 | 2003-03-18 Andrew Cagney <cagney@redhat.com> |
11562 | ||
11563 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
11564 | a void pointer. | |
11565 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
11566 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
11567 | ||
06600e06 JB |
11568 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11569 | ||
11570 | * infrun.c (observer.h): Add #include. | |
11571 | (normal_stop): Add call to observer_notify_normal_stop. | |
11572 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
11573 | ||
7daf4f5b JB |
11574 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11575 | ||
11576 | Continuing work to convert the hppa targets to multiarch partial. | |
11577 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
11578 | parameter. Reformat comment. | |
11579 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
11580 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
11581 | to match new profile. | |
11582 | ||
3371ccc0 JB |
11583 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11584 | ||
11585 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
11586 | appear to be working in any case. | |
11587 | ||
4fbe891e JB |
11588 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11589 | ||
11590 | * observer.c (observer_test_first_observer): New static variable. | |
11591 | (observer_test_second_observer): Likewise. | |
11592 | (observer_test_third_observer): Likewise. | |
11593 | (observer_test_first_notification_function): New static function. | |
11594 | (observer_test_second_notification_function): Likewise. | |
11595 | (observer_test_third_notification_function): Likewise. | |
11596 | ||
a7ff40e7 JB |
11597 | 2003-03-17 J. Brobecker <brobecker@gnat.com> |
11598 | ||
11599 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
11600 | * somsolib.c (gdb_assert.h): Likewise. | |
11601 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
11602 | (somsolib.o): Likewise. | |
11603 | ||
26ca4152 AC |
11604 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
11605 | ||
11606 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
11607 | BFD. Simplify setting of di.endian. | |
11608 | ||
0a613259 AC |
11609 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
11610 | ||
11611 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
11612 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
11613 | ||
11614 | From Elena Zannoni <ezannoni@redhat.com> | |
11615 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
11616 | vector and floating-point parameters. | |
11617 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
11618 | convention. | |
11619 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
11620 | ||
1132738f FN |
11621 | 2003-03-17 Fernando Nasser <fnasser@redhat.com> |
11622 | ||
11623 | * MAINTAINERS: Remove my name from several maintainership roles. | |
11624 | ||
6dc42492 AC |
11625 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
11626 | ||
11627 | Fix frame off-by-one bug. | |
11628 | * frame-unwind.h (frame_this_id_ftype): Replace | |
11629 | frame_unwind_id_ftype. | |
11630 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
11631 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
11632 | with "prev_register". | |
11633 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
11634 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
11635 | comment. | |
11636 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
11637 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
11638 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
11639 | (dummy_frame_unwind): Update. | |
11640 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
11641 | sentinel_frame_register_unwind. | |
11642 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
11643 | (sentinel_frame_unwinder): Update. | |
11644 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
11645 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
11646 | * frame.c (create_sentinel_frame): Update. Initialize | |
11647 | "prologue_cache" instead of "unwind_cache". | |
11648 | (frame_register_unwind): Call this frame's prev_register with the | |
11649 | next frame and this frame's prologue cache. | |
11650 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
11651 | this frame and prev frame's prologue cache. Document that this | |
11652 | call is shifted one to the left when compared to the | |
11653 | frame_register_unwind call. | |
11654 | (legacy_saved_regs_prev_register): Replace | |
11655 | frame_saved_regs_register_unwind. | |
11656 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
11657 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
11658 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
11659 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
11660 | (d10v_frame_unwind): Update. | |
11661 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
11662 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
11663 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
11664 | "saved_regs" with "this_saved_regs". | |
11665 | ||
efd710d6 AC |
11666 | 2003-03-16 Andrew Cagney <cagney@redhat.com> |
11667 | ||
11668 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
11669 | problem reported by Mark Kettenis. | |
11670 | ||
4e259f09 MK |
11671 | 2003-03-16 Mark Kettenis <kettenis@gnu.org> |
11672 | ||
11673 | * i386-tdep.c (i386_register_type): Renamed from | |
11674 | i386_register_virtual_type. Adjust function signature. | |
11675 | (i386_gdbarch_init): Set register_type instead of | |
11676 | deprecated_max_register_raw_size, | |
11677 | deprecated_max_register_virtual_size and register_virtual_type. | |
11678 | ||
055bb976 AC |
11679 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
11680 | ||
11681 | * frame.c (get_prev_frame): When a legacy frame, always call | |
11682 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
11683 | the unwinder is new. | |
11684 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
11685 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
11686 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
11687 | ||
ac2adee5 AC |
11688 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
11689 | ||
11690 | * frame.c (get_saved_register): Delete function. | |
11691 | * frame.h (get_saved_register): Delete declaration. | |
11692 | * xstormy16-tdep.c: Update comment. | |
11693 | * regcache.h: Update comments. | |
11694 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
11695 | get_saved_register and extract_address, use | |
11696 | frame_read_unsigned_register. | |
11697 | (sparc_frame_saved_pc): Ditto. | |
11698 | (sparc_get_saved_register): Instead of get_saved_register, use | |
11699 | frame_register. | |
11700 | (sparc_pop_frame): Ditto. | |
11701 | * findvar.c: Update comments. | |
11702 | (value_of_register): Call frame_register instead of | |
11703 | get_saved_register. | |
11704 | (value_from_register): Ditto. | |
11705 | * config/sparc/tm-sparc.h: Update comment. | |
11706 | * breakpoint.c: Update comment. | |
11707 | ||
129c1cd6 AC |
11708 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
11709 | ||
11710 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
11711 | GET_SAVED_REGISTER. | |
11712 | * gdbarch.h, gdbarch.c: Re-generate. | |
11713 | * frame.h: Update comments. | |
11714 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11715 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11716 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11717 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11718 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11719 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11720 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11721 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11722 | * frame.c (frame_register): Update. | |
11723 | (get_saved_register): Update. | |
11724 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 11725 | |
749b82f6 AC |
11726 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
11727 | ||
11728 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
11729 | * gdbarch.h, gdbarch.c: Regenerate. | |
11730 | * valops.c (hand_function_call): Update comment. | |
11731 | * stack.c (return_command): Update comment. | |
11732 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
11733 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
11734 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11735 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11736 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11737 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11738 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11739 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11740 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11741 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11742 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11743 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11744 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11745 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11746 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11747 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11748 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11749 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11750 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11751 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11752 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11753 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11754 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11755 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11756 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11757 | ||
1594fa56 AC |
11758 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
11759 | ||
11760 | * frame.c (legacy_frame_p): New function. | |
11761 | (get_prev_frame): Use legacy_frame_p. | |
11762 | * frame.h (legacy_frame_p): Declare. | |
11763 | ||
7717fda3 V |
11764 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
11765 | ||
fbe586ae | 11766 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
11767 | listing corrected. |
11768 | ||
0c67cbe9 V |
11769 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
11770 | ||
fbe586ae | 11771 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 11772 | |
03febf99 AC |
11773 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11774 | ||
11775 | * frame.c (get_prev_frame): Rename the frame parameter to | |
11776 | "this_frame". | |
11777 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
11778 | ||
0a1e1ca1 AC |
11779 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11780 | ||
11781 | * frame.c (get_current_frame): Check target_has_registers before | |
11782 | checking target_has_stack. | |
11783 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
11784 | instead of deprecated_selected_frame. | |
11785 | * findvar.c (value_of_register): Pass "frame", not | |
11786 | deprecated_selected_frame, to value_of_builtin_reg. | |
11787 | ||
a66a9c23 AC |
11788 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11789 | ||
11790 | * regcache.c (regcache_cooked_write_signed): New function. | |
11791 | (regcache_cooked_write_unsigned): New function. | |
11792 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
11793 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
11794 | * regcache.h (regcache_cooked_write_signed): Declare. | |
11795 | (regcache_cooked_write_unsigned): Declare. | |
11796 | ||
8bedc050 AC |
11797 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11798 | ||
11799 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
11800 | * gdbarch.h, gdbarch.c: Re-generate. | |
11801 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11802 | * x86-64-tdep.h: Update. | |
11803 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11804 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11805 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11806 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11807 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11808 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11809 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
11810 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11811 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11812 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11813 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11814 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11815 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11816 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11817 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11818 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
11819 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11820 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11821 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11822 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11823 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11824 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11825 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11826 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
11827 | (sh64_init_extra_frame_info): Update. | |
11828 | * ns32knbsd-nat.c (frame_num_args): Update. | |
11829 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
11830 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
11831 | (xstormy16_frame_chain_valid): Update. | |
11832 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
11833 | * v850-tdep.c (v850_frame_chain): Update. | |
11834 | (v850_pop_frame): Update. | |
11835 | (v850_init_extra_frame_info): Update. | |
11836 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
11837 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
11838 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
11839 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
11840 | (mn10300_pop_frame_regular): Update. | |
11841 | (mn10300_init_extra_frame_info): Update. | |
11842 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
11843 | (mips_frame_chain): Update. | |
11844 | (mips_pop_frame): Update. | |
11845 | * mcore-tdep.c (mcore_frame_chain): Update. | |
11846 | (mcore_pop_frame): Update. | |
11847 | (mcore_init_extra_frame_info): Update. | |
11848 | * arch-utils.c (init_frame_pc_default): Update. | |
11849 | * m68k-tdep.c (isi_frame_num_args): Update. | |
11850 | (delta68_frame_num_args): Update. | |
11851 | (news_frame_num_args): Update. | |
11852 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
11853 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
11854 | (alpha_frame_chain): Update. | |
11855 | (alpha_pop_frame): Update. | |
11856 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
11857 | (hppa_init_extra_frame_info): Update. | |
11858 | (hppa_frame_chain): Update. | |
11859 | (hppa_frame_chain_valid): Update. | |
11860 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
11861 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
11862 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
11863 | (arm_init_extra_frame_info): Update. | |
11864 | (arm_pop_frame): Update. | |
11865 | * frame.c (frame_pc_unwind): Update. | |
11866 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
11867 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
11868 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
11869 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
11870 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
11871 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 11872 | |
7a25a7c1 AC |
11873 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11874 | ||
11875 | Eliminate the need for POP_FRAME. | |
11876 | * frame.c (do_frame_unwind_register): New function. | |
11877 | (frame_pop): When no POP_FRAME, pop the frame using register | |
11878 | unwind and a scratch regcache. | |
11879 | (frame_saved_regs_pop): Delete function. | |
11880 | (trad_frame_unwinder): Update. | |
11881 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
11882 | (d10v_frame_unwind): Update. | |
11883 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
11884 | (sentinel_frame_unwinder): Update. | |
11885 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
11886 | (dummy_frame_unwind): Update. | |
11887 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
11888 | (struct frame_unwind): Update. | |
11889 | ||
2f38ef89 KB |
11890 | 2003-03-11 Kevin Buettner <kevinb@redhat.com> |
11891 | ||
11892 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
11893 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
11894 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
11895 | Do range checks on register number obtained from debugging info. | |
11896 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
11897 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
11898 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
11899 | mapping function. | |
11900 | (do_fp_register_row): Fix typo which caused double type to be | |
11901 | used when attempting to unpack a float. | |
11902 | ||
552f4abf JB |
11903 | 2003-03-11 J. Brobecker <brobecker@gnat.com> |
11904 | ||
11905 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
11906 | ||
e0d2ae16 AC |
11907 | 2003-03-11 Andrew Cagney <cagney@redhat.com> |
11908 | ||
11909 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
11910 | frame. Problem found by Corinna Vinschen. | |
11911 | ||
ddbfdd06 PM |
11912 | 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr> |
11913 | ||
11914 | * doublest.c (floatformat_from_length): Accept also | |
11915 | the real size of 'long double' type. | |
11916 | ||
088b2ddc | 11917 | 2003-03-10 Daniel Jacobowitz <drow@mvista.com> |
31cc81e9 | 11918 | |
088b2ddc | 11919 | From Klee Dienes <kdienes@apple.com>: |
31cc81e9 DJ |
11920 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
11921 | as the old value, to match what is freed in bpstat_clear. | |
11922 | ||
f56f77c1 DC |
11923 | 2003-03-10 David Carlton <carlton@math.stanford.edu> |
11924 | ||
11925 | * minsyms.c (add_minsym_to_hash_table): Replace | |
11926 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
11927 | (compare_minimal_symbols, compact_minimal_symbols) | |
11928 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
11929 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
11930 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
11931 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
11932 | ||
5602984a AC |
11933 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
11934 | ||
11935 | * regcache.h (regcache_cooked_read_ftype): Define. | |
11936 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
11937 | * regcache.c (regcache_save, regcache_restore): Update. | |
11938 | (do_cooked_read): New function. | |
11939 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
11940 | regcache_restore. | |
11941 | ||
8bedc050 AC |
11942 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
11943 | ||
11944 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
11945 | * gdbarch.h, gdbarch.c: Re-generate. | |
11946 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11947 | * x86-64-tdep.h: Update. | |
11948 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11949 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11950 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11951 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11952 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11953 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11954 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
11955 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11956 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11957 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11958 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11959 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11960 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11961 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11962 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11963 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
11964 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11965 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11966 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11967 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11968 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11969 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11970 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11971 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
11972 | (sh64_init_extra_frame_info): Update. | |
11973 | * ns32knbsd-nat.c (frame_num_args): Update. | |
11974 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
11975 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
11976 | (xstormy16_frame_chain_valid): Update. | |
11977 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
11978 | * v850-tdep.c (v850_frame_chain): Update. | |
11979 | (v850_pop_frame): Update. | |
11980 | (v850_init_extra_frame_info): Update. | |
11981 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
11982 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
11983 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
11984 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
11985 | (mn10300_pop_frame_regular): Update. | |
11986 | (mn10300_init_extra_frame_info): Update. | |
11987 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
11988 | (mips_frame_chain): Update. | |
11989 | (mips_pop_frame): Update. | |
11990 | * mcore-tdep.c (mcore_frame_chain): Update. | |
11991 | (mcore_pop_frame): Update. | |
11992 | (mcore_init_extra_frame_info): Update. | |
11993 | * arch-utils.c (init_frame_pc_default): Update. | |
11994 | * m68k-tdep.c (isi_frame_num_args): Update. | |
11995 | (delta68_frame_num_args): Update. | |
11996 | (news_frame_num_args): Update. | |
11997 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
11998 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
11999 | (alpha_frame_chain): Update. | |
12000 | (alpha_pop_frame): Update. | |
12001 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
12002 | (hppa_init_extra_frame_info): Update. | |
12003 | (hppa_frame_chain): Update. | |
12004 | (hppa_frame_chain_valid): Update. | |
12005 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
12006 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
12007 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
12008 | (arm_init_extra_frame_info): Update. | |
12009 | (arm_pop_frame): Update. | |
12010 | * frame.c (frame_pc_unwind): Update. | |
12011 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12012 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
12013 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
12014 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12015 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12016 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 12017 | |
12cc2063 AC |
12018 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
12019 | ||
12020 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
12021 | * gdbarch.h, gdbarch.c: Regenerate. | |
12022 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
12023 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
12024 | (frame_saved_regs_pc_unwind): Delete function. | |
12025 | (trad_frame_unwinder): Update. | |
12026 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
12027 | (struct frame_unwind): Update. | |
12028 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
12029 | (dummy_frame_unwind): Update. | |
12030 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
12031 | (sentinel_frame_unwinder): Update. | |
12032 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
12033 | (d10v_frame_unwind): Update. | |
12034 | (d10v_unwind_pc): New function. | |
12035 | (d10v_gdbarch_init): Set unwind_pc. | |
12036 | ||
ef840a37 AC |
12037 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
12038 | ||
a2ce2e56 AC |
12039 | * gdbarch.h: Re-generate. |
12040 | ||
ef840a37 AC |
12041 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
12042 | PC. | |
12043 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
12044 | the PC register. | |
12045 | ||
08f3424b MK |
12046 | 2003-03-08 Mark Kettenis <kettenis@gnu.org> |
12047 | ||
12048 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
12049 | ||
1248ede2 AC |
12050 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
12051 | ||
12052 | * cli-out.c: Update copyright. | |
12053 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
12054 | ||
f49bacc8 AC |
12055 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
12056 | ||
12057 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
12058 | the result. | |
12059 | ||
9b05f993 AC |
12060 | 2003-03-07 Andrew Cagney <cagney@redhat.com> |
12061 | ||
12062 | * gdbarch.sh: Don't generate two macro definitions when an | |
12063 | undefined macro taking no arguments. | |
12064 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 12065 | |
166f4c7b ML |
12066 | 2002-03-07 Michal Ludvig <mludvig@suse.cz> |
12067 | ||
12068 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
12069 | (x86_64_unwind_dummy_id): New functions. | |
12070 | (x86_64_init_abi): Register these two new functions. | |
12071 | ||
6d686a84 ML |
12072 | 2003-03-07 Michal Ludvig <mludvig@suse.cz> |
12073 | ||
12074 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 12075 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
12076 | separate function. |
12077 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
12078 | ||
6314f104 AC |
12079 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12080 | ||
12081 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
12082 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
12083 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
12084 | to use unwind_dummy_id when a dummy frame. | |
12085 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
12086 | predicate. | |
12087 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 12088 | |
ceea5145 AC |
12089 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12090 | ||
12091 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
12092 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
12093 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
12094 | values. | |
12095 | ||
0d843116 AC |
12096 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12097 | ||
12098 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
12099 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
12100 | "next_addr" with "sp_offset". Add "r11_offset". | |
12101 | (d10v_frame_unwind_cache): Update. | |
12102 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
12103 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
12104 | RN was saved in r11_offset. | |
12105 | ||
b2579786 AC |
12106 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12107 | ||
12108 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
12109 | cached PC value in the next frame. | |
12110 | ||
218e5956 AC |
12111 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12112 | ||
12113 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
12114 | "id_unwind_cache" with "id". | |
12115 | (frame_id_unwind): Delete declaration. | |
12116 | * frame.c (frame_id_unwind): Delete function. | |
12117 | (get_prev_frame): Call the frame id unwind method directly. Store | |
12118 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
12119 | is a problem with the wrong unwind ID being called with the wrong | |
12120 | unwind cache. | |
12121 | ||
ed363b1b DJ |
12122 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
12123 | ||
12124 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
12125 | ||
fe1f4a5e DJ |
12126 | 2003-03-05 James Ingham <jingham@apple.com> |
12127 | Daniel Jacobowitz <drow@mvista.com> | |
12128 | ||
12129 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
12130 | (auto_cp_abi): New variable. | |
12131 | (current_cp_abi, num_cp_abis): Make static. | |
12132 | (CP_ABI_MAX): Define. | |
12133 | (cp_abis): Turn into an array. | |
12134 | (value_virtual_fn_field): Fix formatting. | |
12135 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
12136 | takes a pointer. | |
12137 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
12138 | (list_cp_abis, _initialize_cp_abi): New functions. | |
12139 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
12140 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
12141 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
12142 | * Makefile.in (cp-abi.o): Update dependencies. | |
12143 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
12144 | instead of switch_to_cp_abi. | |
12145 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
12146 | register_cp_abi. | |
12147 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
12148 | register_cp_abi. | |
12149 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
12150 | ||
e4adbba9 DJ |
12151 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
12152 | ||
12153 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
12154 | * dwarf2loc.c: Include "regcache.h". | |
12155 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
12156 | register_size. | |
12157 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
12158 | ||
91ccbfc1 TR |
12159 | 2003-03-04 Theodore A. Roth <troth@openavr.org> |
12160 | ||
12161 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
12162 | number of io registers reported by remote target is not a multiple of | |
12163 | step. | |
12164 | ||
3d4e8fd2 DC |
12165 | 2003-03-04 David Carlton <carlton@math.stanford.edu> |
12166 | ||
12167 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
12168 | (lookup_symbol_aux_psymtabs): Update call to | |
12169 | lookup_partial_symbol. | |
12170 | (lookup_transparent_type, find_main_psymtab) | |
12171 | (make_symbol_overload_list): Ditto. | |
12172 | ||
ed42d87b KH |
12173 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
12174 | ||
12175 | * MAINTAINERS (Write after approval): Update my email address. | |
12176 | ||
a0ed5532 AC |
12177 | 2003-03-03 Andrew Cagney <cagney@redhat.com> |
12178 | ||
12179 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
12180 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
12181 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
12182 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
12183 | MAX_REGISTER_VIRTUAL_SIZE. | |
12184 | * regcache.c (legacy_max_register_raw_size): New function. | |
12185 | (legacy_max_register_virtual_size): New function. | |
12186 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
12187 | (MAX_REGISTER_RAW_SIZE): Define. | |
12188 | (legacy_max_register_raw_size): Declare. | |
12189 | (legacy_max_register_virtual_size): Declare. | |
12190 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
12191 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
12192 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
12193 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
12194 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
12195 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
12196 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
12197 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
12198 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
12199 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
12200 | * vax-tdep.c (vax_gdbarch_init): Update. | |
12201 | * v850-tdep.c (v850_gdbarch_init): Update. | |
12202 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12203 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12204 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12205 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
12206 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12207 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
12208 | * mips-tdep.c (mips_gdbarch_init): Update. | |
12209 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
12210 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12211 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
12212 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12213 | * i386-tdep.c (i386_gdbarch_init): Update. | |
12214 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12215 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
12216 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12217 | * cris-tdep.c (cris_gdbarch_init): Update. | |
12218 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12219 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12220 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12221 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
12222 | max_register_raw_size or max_register_virtual_size. | |
12223 | ||
8e437497 DC |
12224 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
12225 | ||
12226 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
12227 | SYMBOL_MATCHES_NAME, add comment. | |
12228 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
12229 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
12230 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
12231 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
12232 | * symtab.c (lookup_partial_symbol): Use | |
12233 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
12234 | unhelpful comment. | |
12235 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
12236 | SYMBOL_MATCHES_NAME. | |
12237 | Fix for PR c++/33. | |
12238 | ||
25120b0d DC |
12239 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
12240 | ||
12241 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
12242 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
12243 | by regexp matching against SYMBOL_NATURAL_NAME. | |
12244 | ||
78a11fb4 DC |
12245 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
12246 | ||
12247 | * linespec.c (find_method): Extract code into collect_methods. | |
12248 | (collect_methods): New. | |
12249 | ||
645dd519 MK |
12250 | 2003-03-02 Mark Kettenis <kettenis@gnu.org> |
12251 | ||
b4700d91 MK |
12252 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
12253 | get_frame_base. | |
12254 | ||
645dd519 MK |
12255 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
12256 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
12257 | ||
0aa7e1aa SC |
12258 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
12259 | ||
8ffd9b1b | 12260 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
12261 | and not regnum when summing the size of all registers up to regnum. |
12262 | ||
f30ee0bc AC |
12263 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12264 | ||
12265 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
12266 | FRAME_INIT_SAVED_REGS. | |
12267 | * gdbarch.h, gdbarch.c: Regenerate. | |
12268 | * stack.c (frame_info): Update. | |
12269 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
12270 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
12271 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
12272 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
12273 | * mips-tdep.c (mips_pop_frame): Update. | |
12274 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
12275 | * ia64-tdep.c (ia64_frame_chain): Update. | |
12276 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
12277 | (ia64_frameless_function_invocation): Update. | |
12278 | (ia64_init_extra_frame_info): Update. | |
12279 | (ia64_pop_frame_regular): Update. | |
12280 | * frame.h (struct frame_info): Update comment. | |
12281 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
12282 | * frame.c (frame_saved_regs_register_unwind): Update. | |
12283 | (frame_saved_regs_register_unwind): Update. | |
12284 | (deprecated_generic_get_saved_register): Update. | |
12285 | * cris-tdep.c: Update comment. | |
12286 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
12287 | Rename macro. | |
12288 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
12289 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
12290 | * vax-tdep.c (vax_gdbarch_init): Update. | |
12291 | * v850-tdep.c (v850_gdbarch_init): Update. | |
12292 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12293 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12294 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12295 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
12296 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
12297 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12298 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
12299 | * mips-tdep.c (mips_gdbarch_init): Update. | |
12300 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
12301 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12302 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
12303 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12304 | * i386-tdep.c (i386_gdbarch_init): Update. | |
12305 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12306 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12307 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12308 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 12309 | |
42fa7c0f AC |
12310 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12311 | ||
12312 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
12313 | option enum and switch. When no windows, set the interpreter to | |
12314 | INTERP_CONSOLE. | |
8ffd9b1b | 12315 | |
49c7e338 AC |
12316 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12317 | ||
12318 | * main.c (captured_main): Replace magic option characters with an | |
12319 | enum. | |
12320 | ||
e9582e71 AC |
12321 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12322 | ||
12323 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
12324 | INIT_EXTRA_FRAME_INFO. | |
12325 | * gdbarch.h, gdbarch.c: Regenerate. | |
12326 | * arm-tdep.c: Update comments. | |
12327 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
12328 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
12329 | * frame.h, avr-tdep.c: Ditto. | |
12330 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
12331 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
12332 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
12333 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
12334 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
12335 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
12336 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
12337 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
12338 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
12339 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
12340 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
12341 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
12342 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
12343 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
12344 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
12345 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
12346 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
12347 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
12348 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
12349 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
12350 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
12351 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
12352 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
12353 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
12354 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
12355 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
12356 | ||
35cac7cf AC |
12357 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12358 | ||
12359 | * gdbarch.sh (register_type): New function with predicate. | |
12360 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
12361 | * gdbarch.h, gdbarch.c: Re-generate. | |
12362 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
12363 | (generic_register_size): When available, use | |
12364 | gdbarch_register_type. | |
12365 | * regcache.c (init_regcache_descr): When available, initialize the | |
12366 | register type array using gdbarch_register_type. If the | |
12367 | architecture supplies gdbarch_register_type, do not use the legacy | |
12368 | regcache layout. | |
12369 | * d10v-tdep.c (d10v_register_type): Replace | |
12370 | d10v_register_virtual_type. | |
12371 | (d10v_gdbarch_init): Set register_type instead of | |
12372 | register_virtual_type. | |
12373 | ||
7b83296f AC |
12374 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12375 | ||
12376 | * Makefile.in (ax-gdb.o): Update dependencies. | |
12377 | * ax-gdb.c: Include "regcache.h". | |
12378 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
12379 | * findvar.c (value_of_register): Ditto. | |
12380 | * infcmd.c (default_print_registers_info): Ditto. | |
12381 | ||
eadc1c87 MK |
12382 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
12383 | ||
12384 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
12385 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
12386 | ||
14143612 MK |
12387 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
12388 | ||
12389 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
12390 | of STREQ. | |
12391 | ||
a55cc764 DJ |
12392 | 2003-02-28 Daniel Jacobowitz <drow@mvista.com> |
12393 | ||
12394 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
12395 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
12396 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
12397 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
12398 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
12399 | (locexpr_tracepoint_var_ref): New function. | |
12400 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
12401 | ||
08a617da AC |
12402 | 2003-02-28 Andrew Cagney <cagney@redhat.com> |
12403 | ||
12404 | * regcache.c (register_size): New function. | |
12405 | * regcache.h (register_size): Declare | |
12406 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
12407 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
12408 | ||
4224873a DC |
12409 | 2003-02-28 David Carlton <carlton@math.stanford.edu> |
12410 | ||
12411 | * linespec.c (decode_compound): Extract code into find_method. | |
12412 | (find_method): New. | |
12413 | ||
ccdc5d7f JB |
12414 | 2003-02-28 J. Brobecker <brobecker@gnat.com> |
12415 | ||
12416 | * Makefile.in: Add rules to build and link in observer.o. | |
12417 | ||
974e8ced JB |
12418 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
12419 | ||
12420 | * observer.c: Minor comments edits. | |
12421 | ||
7a28f973 JB |
12422 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
12423 | ||
12424 | * observer.h, observer.c: New file. | |
12425 | ||
27cddce2 AC |
12426 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
12427 | ||
12428 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
12429 | ||
b94a41a1 SC |
12430 | 2003-02-27 Stephane Carrez <stcarrez@nerim.fr> |
12431 | ||
12432 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
12433 | (M6812_OP_STS_EXT): Likewise. | |
12434 | (m6811_prologue): Use the above to recognize prologue. | |
12435 | (m6812_prologue): Likewise. | |
12436 | ||
c8be8951 DC |
12437 | 2003-02-27 David Carlton <carlton@math.stanford.edu> |
12438 | ||
12439 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
12440 | SYMBOL_PRINT_NAME. | |
12441 | (compare_psymbols): Ditto. | |
12442 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
12443 | ||
d05bb1fc MS |
12444 | 2003-02-27 Michael Snyder <msnyder@redhat.com> |
12445 | ||
4e845cd3 MS |
12446 | * f-lang.c (build_fortran_types): New function. |
12447 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
12448 | * doublest.c (extract_floating): Fix warning text. |
12449 | ||
f3824013 AC |
12450 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
12451 | ||
12452 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
12453 | predicate. Replaces PUSH_DUMMY_FRAME. | |
12454 | * gdbarch.h, gdbarch.c: Regnerate. | |
12455 | * valops.c (hand_function_call): Update. Call | |
12456 | generic_push_dummy_frame directly. | |
12457 | * vax-tdep.c (vax_gdbarch_init): Update. | |
12458 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12459 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12460 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12461 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12462 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12463 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
12464 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
12465 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
12466 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
12467 | push_dummy_frame to generic_push_dummy_frame. | |
12468 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
12469 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
12470 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
12471 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
12472 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
12473 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
12474 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
12475 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
12476 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
12477 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
12478 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
12479 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
12480 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
12481 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
12482 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
12483 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 12484 | |
ad188201 KB |
12485 | 2003-02-26 Kevin Buettner <kevinb@redhat.com> |
12486 | ||
12487 | * mips-tdep.c (show_mips_abi): New function. | |
12488 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
12489 | command ``show mips abi''. | |
12490 | ||
6b37567a | 12491 | 2003-02-26 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 12492 | |
6b37567a | 12493 | From Elena Zannoni <ezannoni@redhat.com> |
8ffd9b1b | 12494 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
12495 | more sline entries have been seen for the function. |
12496 | ||
d3e0a5bf MC |
12497 | 2003-02-26 Michael Chastain <mec@shout.net> |
12498 | ||
12499 | * configure: Regenerate with autoconf 000227. | |
12500 | ||
18972eea MC |
12501 | 2003-02-26 Michael Chastain <mec@shout.net> |
12502 | ||
12503 | Close PR build/660. | |
12504 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
12505 | for old libc5/glibc. | |
12506 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
12507 | ||
0bbde931 KW |
12508 | 2003-02-26 Kris Warkentin <kewarken@qnx.com> |
12509 | ||
12510 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
12511 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
12512 | ||
27ca5dad MC |
12513 | 2003-02-26 Michael Chastain <mec@shout.net> |
12514 | ||
12515 | * configure.in: New variable HAVE_UINTPTR_T. | |
12516 | * configure, config.in: Regenerated. | |
12517 | ||
6f88d630 DJ |
12518 | 2003-02-26 Daniel Jacobowitz <drow@mvista.com> |
12519 | ||
12520 | Fix PR build/1097. | |
12521 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
12522 | ||
b14185ce AC |
12523 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
12524 | ||
12525 | * frame.c (get_prev_frame): Add comment on check for | |
12526 | inside_entry_func. Only check for inside_entry_file when not a | |
12527 | dummy and not a sentinel. Check that the new frame is not inner | |
12528 | to the old frame. | |
12529 | ||
ac2bd0a9 AC |
12530 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
12531 | ||
12532 | * frame.c (frame_debug): New variable. | |
12533 | (_initialize_frame): Add "set/show debug frame" command. | |
12534 | (get_prev_frame): When frame_debug, print reason why unwind | |
12535 | failed. | |
12536 | ||
b18a0fd2 MC |
12537 | 2003-02-25 Michael Chastain <mec@shout.net> |
12538 | ||
12539 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
12540 | to avoid uintptr_t definition problems. | |
12541 | ||
22abf04a DC |
12542 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
12543 | ||
12544 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
12545 | (SYMBOL_LINKAGE_NAME): Ditto. | |
12546 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
12547 | SYMBOL_LINKAGE_NAME. | |
12548 | (struct general_symbol_info): Expand comment. | |
12549 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
12550 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
12551 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
12552 | * symtab.c (symbol_natural_name): New function. | |
12553 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
12554 | DEPRECATED_SYMBOL_NAME. | |
12555 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
12556 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
12557 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
12558 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
12559 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
12560 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
12561 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
12562 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
12563 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
12564 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
12565 | * ada-exp.y: Ditto. | |
12566 | * ada-exp.y: Update copyright. | |
12567 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
12568 | * cp-valprint.c: Ditto. | |
12569 | ||
1a5848f6 JJ |
12570 | 2003-02-25 Jeff Johnston <jjohnstn@redhat.com> |
12571 | ||
12572 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
12573 | and errno is set to ESRCH. | |
12574 | ||
7343d46a AC |
12575 | 2003-02-24 Andrew Cagney <cagney@redhat.com> |
12576 | ||
12577 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
12578 | paddr when printing udot_off's value. | |
12579 | ||
49fa1dc2 DC |
12580 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
12581 | ||
12582 | * symtab.c (make_symbol_overload_list): Only read in partial | |
12583 | symtabs containing a matching partial symbol. | |
12584 | ||
0fe19209 DC |
12585 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
12586 | ||
12587 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
12588 | do the comparison, not strcmp. | |
12589 | * symfile.c (compare_psymbols): Ditto. | |
12590 | * defs.h: Declare strcmp_iw_ordered. | |
12591 | * utils.c (strcmp_iw_ordered): New function. | |
12592 | ||
8e3ee7b5 JB |
12593 | 2003-02-24 Jim Blandy <jimb@redhat.com> |
12594 | ||
12595 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
12596 | support, shared libs): Remove my name from here, to better reflect | |
12597 | reality. | |
12598 | ||
7df1a324 KW |
12599 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
12600 | ||
12601 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
12602 | (target_ops): Add to_have_continuable_watchpoint. | |
12603 | * target.c (update_current_target): Add INHERIT line for | |
12604 | to_have_continuable_watchpoint. | |
12605 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
12606 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
12607 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
12608 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
12609 | ||
d1c76907 EZ |
12610 | 2003-02-24 Elena Zannoni <ezannoni@redhat.com> |
12611 | ||
12612 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
12613 | maintainership. | |
12614 | ||
2610b0bf KW |
12615 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
12616 | ||
f46169db KW |
12617 | * solib.c (solib_open): Call target defined search function after |
12618 | failing with solib-search-path. | |
12619 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
12620 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 12621 | |
9a3c34fe KW |
12622 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
12623 | ||
f46169db | 12624 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 12625 | |
2417dd25 SC |
12626 | 2003-02-23 Stephane Carrez <stcarrez@nerim.fr> |
12627 | ||
12628 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
12629 | ||
b631436b SC |
12630 | 2003-02-22 Stephane Carrez <stcarrez@nerim.fr> |
12631 | ||
12632 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
12633 | (m68hc11_add_reggroups): New function. | |
12634 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
12635 | (m68hc11_gdbarch_init): Install the reggroups. | |
12636 | (_initialize_m68hc11_tdep): Initialize them. | |
12637 | ||
0aa8c1e4 JW |
12638 | 2003-02-21 James E Wilson <wilson@tuliptree.org> |
12639 | ||
12640 | * MAINTAINERS: Update my email address. | |
12641 | ||
50ceaba5 DC |
12642 | 2003-02-21 David Carlton <carlton@math.stanford.edu> |
12643 | ||
12644 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
12645 | ||
4c2df51b DJ |
12646 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
12647 | ||
12648 | Based on a patch from Daniel Berlin (dberlin@dberlin.org). | |
12649 | * symtab.h: Add opaque declarations of struct axs_value and | |
12650 | struct agent_expr. | |
12651 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
12652 | (struct location_funcs): New type. | |
12653 | (struct symbol): Add "loc" to aux_value. | |
12654 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
12655 | * dwarf2read.c: Include "dwarf2expr.h". | |
12656 | (dwarf2_symbol_mark_computed): New function. | |
12657 | (read_func_scope): Use it. | |
12658 | (var_decode_location): New function. | |
12659 | (new_symbol): Use it. | |
12660 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
12661 | ||
12662 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
12663 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
12664 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
12665 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
12666 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
12667 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
12668 | LOC_COMPUTED_ARG. | |
12669 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
12670 | * m2-exp.y (yylex): Likewise. | |
12671 | * printcmd.c (address_info, print_frame_args): Likewise. | |
12672 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
12673 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
12674 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
12675 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
12676 | * symtab.c (lookup_block_symbol): Likewise. | |
12677 | ||
5784d15e AF |
12678 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
12679 | ||
12680 | * symtab.h: Remove objc_specific struct | |
12681 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
12682 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
12683 | Have language_objc use cplus_specific struct. | |
12684 | ||
d4cad8db TT |
12685 | 2003-02-20 Tom Tromey <tromey@redhat.com> |
12686 | ||
12687 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
12688 | TYPE_NAME, when printing a String value. PR java/1075. | |
12689 | ||
2f9a90b4 AF |
12690 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
12691 | ||
d38074a8 | 12692 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 12693 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 12694 | |
6f17862b CF |
12695 | 2003-02-20 Christopher Faylor <cgf@redhat.com> |
12696 | ||
12697 | * win32-nat.c (get_image_name): Check return value from | |
12698 | ReadProcessMemory. | |
12699 | (child_xfer_memory): Ditto. | |
12700 | ||
715d1656 AO |
12701 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
12702 | ||
12703 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
12704 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
12705 | '${exec_prefix}' (in addition to the expansion thereof) as | |
12706 | relocatable. | |
12707 | * configure: Rebuilt. | |
12708 | ||
b1262a02 DC |
12709 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
12710 | ||
12711 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
12712 | 2002-12-23 patch. Add comment. | |
12713 | ||
7134143f DJ |
12714 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
12715 | ||
12716 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
12717 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
12718 | install_minimal_symbols. | |
12719 | (stabsect_build_psymtabs): Likewise. | |
12720 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
12721 | earlier. | |
12722 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
12723 | and do_cleanups earlier. | |
12724 | * nlmread.c (nlm_symfile_read): Likewise. | |
12725 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
12726 | install_minimal_symbols and make appropriate cleanups. | |
12727 | ||
cf466558 KB |
12728 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
12729 | ||
12730 | * solib.c (reload_shared_libraries): New function. | |
12731 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
12732 | and ``set solib-absolute-prefix''. | |
12733 | ||
de5ad195 DC |
12734 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
12735 | ||
12736 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
12737 | expand comment. | |
12738 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
12739 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
12740 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
12741 | * ax-gdb.c (gen_var_ref): Ditto. | |
12742 | * breakpoint.c (print_one_breakpoint): Ditto. | |
12743 | * buildsym.c (finish_block): Ditto. | |
12744 | * c-valprint.c (c_val_print): Ditto. | |
12745 | * expprint.c (print_subexp): Ditto. | |
12746 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
12747 | * infcmd.c (jump_command): Ditto. |
12748 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
12749 | * maint.c (maintenance_translate_address): Ditto. | |
12750 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
12751 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
12752 | Ditto. | |
8ffd9b1b AJ |
12753 | * p-valprint.c (pascal_val_print): Ditto. |
12754 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 12755 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
12756 | (print_frame_arg_vars, return_command): Ditto. |
12757 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
12758 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
12759 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
12760 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
12761 | (rbreak_command): Ditto. |
12762 | * tracepoint.c (tracepoints_info): Ditto. | |
12763 | * typeprint.c (typedef_print): Ditto. | |
12764 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
12765 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
12766 | * ada-typeprint.c: Update Copyright. | |
12767 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
12768 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
12769 | ||
f796e4be KB |
12770 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
12771 | ||
12772 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
12773 | * frame.h (generic_unwind_get_saved_register): Declare. | |
12774 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
12775 | current regcache when frame is NULL. | |
12776 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
12777 | that must be NULL. | |
12778 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
12779 | instead of frame_register_unwind(). | |
12780 | ||
836cc9f4 AC |
12781 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
12782 | ||
12783 | * remote-sim.c (gdbsim_insert_breakpoint) | |
12784 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
12785 | code. | |
12786 | ||
501eef12 AC |
12787 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
12788 | ||
12789 | * remote.c (_initialize_remote): Add commands "set/show remote | |
12790 | hardware-watchpoint-limit" and "set/show remote | |
12791 | hardware-breakpoint-limit". | |
12792 | (remote_hw_watchpoint_limit): Initialize to -1. | |
12793 | (remote_hw_breakpoint_limit): Ditto. | |
12794 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
12795 | ||
1b6bc7e0 CF |
12796 | 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk> |
12797 | ||
12798 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
12799 | portable executable using the export table. | |
12800 | * coff-pe-read.h: New file. | |
12801 | * coffread.c: Include coff-pe-read.h. | |
12802 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
12803 | debugging symbols found. | |
12804 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
12805 | (coff_pe_read_h): Define. | |
12806 | (COMMON_OBS): Add coff-pe-read.o. | |
12807 | (coffread.o): Add coff_pe_read_h dependency. | |
12808 | (coff-pe-read.o): New target. | |
12809 | ||
fe898f56 DC |
12810 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
12811 | ||
12812 | * Makefile.in (SFILES): Add block.c. | |
12813 | (block_h): New. | |
12814 | (COMMON_OBS): Add block.o. | |
12815 | (block.o): New. | |
12816 | (x86-64-tdep.o): Add $(block_h). | |
12817 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
12818 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
12819 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
12820 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
12821 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
12822 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
12823 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
12824 | * value.h: Add opaque declaration for struct block. | |
12825 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
12826 | * ada-lang.h: Ditto. | |
12827 | * x86-64-tdep.c: #include "block.h" | |
12828 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
12829 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
12830 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
12831 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
12832 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
12833 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
12834 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
12835 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
12836 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
12837 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
12838 | * symtab.c (block_function): Ditto. | |
12839 | (contained_in): Ditto. | |
12840 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
12841 | block.h. Add opaque declaration for struct block. | |
12842 | * symtab.h: Move block_function and contained_in declarations to | |
12843 | block.h. Add opaque declarations for struct block, struct | |
12844 | blockvector. | |
12845 | (struct block): Move to block.h. | |
12846 | (struct blockvector): Ditto. | |
12847 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
12848 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
12849 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
12850 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
12851 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
12852 | Ditto. | |
12853 | * block.c: New file. | |
12854 | * block.h: New file. | |
12855 | ||
173345b5 TR |
12856 | 2003-02-19 Theodore A. Roth <troth@openavr.org> |
12857 | ||
12858 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
12859 | (avr_store_return_value): Remove function. | |
12860 | (avr_extract_struct_value_address): Remove function. | |
12861 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
12862 | ||
338ef23d AC |
12863 | 2003-02-19 Andrew Cagney <ac131313@redhat.com> |
12864 | ||
12865 | * rs6000-tdep.c: Include "gdb_assert.h". | |
12866 | (registers_e500): Add "acc" and "spefscr". | |
12867 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
12868 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
12869 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
12870 | really is "r0". | |
12871 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
12872 | ||
5412f5f3 KS |
12873 | 2003-02-18 Keith Seitz <keiths@redhat.com> |
12874 | ||
12875 | * Makefile.in: Add gdbtk-interps.c. | |
12876 | ||
881324eb KB |
12877 | 2003-02-18 Kevin Buettner <kevinb@redhat.com> |
12878 | ||
12879 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
12880 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
12881 | ||
6a2f5abf AC |
12882 | 2003-02-18 Andrew Cagney <cagney@redhat.com> |
12883 | ||
12884 | * symtab.h (struct objfile): Add opaque declaration. | |
12885 | ||
54c7009d EZ |
12886 | 2003-02-18 Elena Zannoni <ezannoni@redhat.com> |
12887 | ||
12888 | From Jim Ingham <jingham@apple.com>: | |
fbe586ae RH |
12889 | * dbxread.c (process_one_symbol): Use last_function_start rather |
12890 | than function_start_offset to find the real beginning of the | |
12891 | current function. The latter is just the text section offset on | |
12892 | some systems, the former is always the real function start. | |
54c7009d | 12893 | |
7ee6d7eb AC |
12894 | 2003-02-17 Andrew Cagney <cagney@redhat.com> |
12895 | ||
12896 | * configure.in: Revert ${target} != ${host}. | |
12897 | ||
2846da9b AC |
12898 | 2003-02-17 Andrew Cagney <ac131313@redhat.com> |
12899 | ||
12900 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
12901 | instead of the absence of the "nm.h" file, to determine of the | |
12902 | configuration non-native. | |
12903 | * configure: Regenerate. | |
8ffd9b1b | 12904 | |
3b27aeea EZ |
12905 | 2003-02-14 Elena Zannoni <ezannoni@redhat.com> |
12906 | ||
fbe586ae | 12907 | From Brian Ford <ford@vss.fsi.com> |
3b27aeea EZ |
12908 | |
12909 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
12910 | conditionalize tui_active test. | |
12911 | (lookup_cmd_1): Ditto. | |
12912 | ||
b0b1c2c0 MK |
12913 | 2003-02-14 Mark Kettenis <kettenis@gnu.org> |
12914 | ||
12915 | * configure.in: Add check for _etext. | |
12916 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
12917 | available. | |
12918 | * config.in, configure: regenerated. | |
12919 | ||
8f05cde5 DJ |
12920 | 2003-02-14 Daniel Jacobowitz <drow@mvista.com> |
12921 | ||
12922 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
12923 | ||
021e7609 AC |
12924 | 2003-02-14 Andrew Cagney <ac131313@redhat.com> |
12925 | ||
12926 | * main.c (tui_version): Delete variable. | |
12927 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
12928 | enabling tui_version. | |
12929 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
12930 | tui_version. | |
12931 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
12932 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
12933 | * defs.h (tui_version): Delete declaration. | |
12934 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
12935 | (tui-interp.o): Add rules. | |
12936 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
12937 | ||
e325dcec CF |
12938 | 2003-02-14 Christopher Faylor <cgf@redhat.com> |
12939 | ||
36ffb041 | 12940 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
12941 | just-loaded dll. |
12942 | ||
c4f90d87 JM |
12943 | 2003-02-12 Jason Molenda (jmolenda@apple.com) |
12944 | ||
fbe586ae RH |
12945 | * symmisc.c (print_objfile_statistics): Include information about |
12946 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 12947 | |
e46e5ccd KS |
12948 | 2003-02-13 Keith R Seitz <keiths@redhat.com> |
12949 | ||
12950 | * main.h (struct captured_main_args): Add interpreter_p. | |
12951 | * main.c (captured_main): Initialize interpreter_p from context. | |
12952 | * gdb.c (main): Set interpreter_p argument. | |
12953 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
12954 | ||
fe97fe9c AC |
12955 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
12956 | ||
12957 | * event-top.c (cli_command_loop): Delete declaration. | |
12958 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
12959 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
12960 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
12961 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
12962 | cli_command_loop. | |
12963 | ||
1cdac4ef AC |
12964 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
12965 | ||
12966 | * interps.h (interp_command_loop_ftype): Change return type to | |
12967 | void. | |
12968 | ||
48037ead ML |
12969 | 2003-02-12 Michal Ludvig <mludvig@suse.cz> |
12970 | ||
12971 | * x86-64-tdep.c (x86_64_extract_return_value) | |
12972 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
12973 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
12974 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
12975 | ||
033afc63 AC |
12976 | 2003-02-11 Andrew Cagney <ac131313@redhat.com> |
12977 | ||
12978 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
12979 | * aclocal.m4: Regenerate. | |
12980 | * configure: Regenerate. | |
12981 | ||
12982 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
12983 | TCL_LD_SEARCH_FLAGS. | |
12984 | ||
40d02bca ML |
12985 | 2003-02-10 Michal Ludvig <mludvig@suse.cz> |
12986 | ||
12987 | * dwarf2cfi.c: Reindented. | |
12988 | ||
11308a41 AC |
12989 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
12990 | ||
12991 | * interps.c (clear_interpreter_hooks): Convert function definition | |
12992 | to ISO C. | |
12993 | ||
e1c1c0f6 DC |
12994 | 2003-02-07 David Carlton <carlton@math.stanford.edu> |
12995 | ||
12996 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
12997 | ||
ab5d3da6 KB |
12998 | 2003-02-07 Kevin Buettner <kevinb@redhat.com> |
12999 | ||
13000 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
13001 | (struct type): ...to here. | |
13002 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
13003 | field. | |
13004 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
13005 | (replace_type): Set length on all type variants for a given type. | |
13006 | ||
b8a92b82 AC |
13007 | 2003-02-07 Andrew Cagney <ac131313@redhat.com> |
13008 | ||
13009 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
13010 | <sys/stat.h>. | |
13011 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 13012 | |
5cb316ef AC |
13013 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
13014 | ||
2555fe1a AC |
13015 | * Makefile.in (symm-nat.o): Update dependencies. |
13016 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
13017 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
13018 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
13019 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
13020 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
13021 | ||
44270758 AC |
13022 | * Makefile.in (inflow_h): Define. |
13023 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
13024 | * inftarg.c (child_stop): Delete extern declaration of | |
13025 | inferior_process_group. Include "inflow.h". | |
13026 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
13027 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
13028 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
13029 | (our_process_group, inferior_process_group): Extern declarations. | |
13030 | ||
df8f7274 AC |
13031 | * procfs.c: Include "gdb_assert.h". |
13032 | ||
5cb316ef AC |
13033 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
13034 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
13035 | * jv-typeprint.c (java_type_print_base): Ditto. | |
13036 | * typeprint.c (typedef_print): Eliminate STREQ. | |
13037 | * cli/cli-script.c (define_command, define_command): Ditto. | |
13038 | * main.c (captured_main): Ditto. | |
13039 | * values.c (lookup_internalvar): Ditto. | |
13040 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
13041 | within `if' conditional. | |
13042 | * linespec.c (decode_line_2): Ditto. | |
13043 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
13044 | (bfd_openw_with_cleanup): Ditto. | |
13045 | ||
2a28ccea MK |
13046 | 2003-02-07 Mark Kettenis <kettenis@gnu.org> |
13047 | ||
13048 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
13049 | legacy_extract_return_value and store_return_value to | |
13050 | legacy_return_value. | |
13051 | ||
786b8124 CF |
13052 | 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk> |
13053 | ||
13054 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
13055 | section load addresses for symbol handling in relocated DLLs. | |
13056 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
13057 | ||
b871e4ec FF |
13058 | 2003-02-05 Fred Fish <fnf@intrinsity.com> |
13059 | ||
13060 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
13061 | '=' and '!='. | |
13062 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
13063 | with '&' and '=='. | |
13064 | (angel_RDI_info): Ditto. | |
13065 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
13066 | with '&' and '!='. | |
13067 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 13068 | |
4389a95a | 13069 | 2003-02-05 Jim Ingham <jingham@apple.com> |
fbe586ae RH |
13070 | Keith Seitz <keiths@redhat.com> |
13071 | Elena Zannoni <ezannoni@redhat.com> | |
13072 | Andrew Cagney <ac131313@redhat.com> | |
4389a95a AC |
13073 | |
13074 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
13075 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
13076 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
13077 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
13078 | (SFILES): Add "interps.c". | |
13079 | (COMMON_OBS): Add "interps.o". | |
13080 | (interps_h, mi_main_h): Define. | |
13081 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
13082 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
13083 | * cli/cli-interp.c: New file. | |
13084 | * interps.h, interps.c: New files. | |
13085 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
13086 | by captured_main. | |
13087 | * main.c: Include "interps.h". | |
13088 | (interpreter_p): Note that it should malloc'ed. | |
13089 | (captured_command_loop): Call current_interp_command_loop. | |
13090 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
13091 | xfree and xstrdup when updating interpreter_p. Install the | |
13092 | default interpreter. Add hack to stop mi1's copyright notice | |
13093 | being encoded. | |
13094 | * event-top.h (gdb_setup_readline): Declare. | |
13095 | (gdb_disable_readline): Declare. | |
13096 | * event-top.c: Include "interps.h". | |
13097 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
13098 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
13099 | gdb_stdlog, and gdb_stdtarg. | |
13100 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
13101 | * cli-out.c (cli_out_set_stream): New function. | |
13102 | * cli-out.h (cli_out_set_stream): Declare. | |
13103 | ||
ff3b5810 MK |
13104 | 2003-02-06 Mark Kettenis <kettenis@gnu.org> |
13105 | ||
13106 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
13107 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
13108 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
13109 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
13110 | config/i386/i386v42mp.mt: Removed. | |
13111 | ||
5b729aa5 MK |
13112 | 2003-02-05 Mark Kettenis <kettenis@gnu.org> |
13113 | ||
13114 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
13115 | GDB_OSABI_SOLARIS. | |
13116 | ||
8cc15142 MC |
13117 | 2003-02-05 Michael Chastain <mec@shout.net> |
13118 | ||
13119 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
13120 | 2.12.1 and earlier versions. | |
13121 | ||
5aa5d4b9 AC |
13122 | 2003-02-05 Andrew Cagney <ac131313@redhat.com> |
13123 | ||
13124 | Remove orphaned hosts, targets and files. | |
13125 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
13126 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
13127 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
13128 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
13129 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
13130 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
13131 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
13132 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
13133 | * config/sparc/tm-sp64sim.h: Delete. | |
13134 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
13135 | hosts. | |
13136 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
13137 | mips*-dec-mach3* targets. | |
13138 | ||
b68767c1 MC |
13139 | 2003-02-04 Michael Chastain <mec@shout.net> |
13140 | ||
13141 | * NEWS: Fix typo: sepcifying -> specifying. | |
13142 | ||
5ae7ca1d MC |
13143 | 2003-02-04 Michael Chastain <mec@shout.net> |
13144 | ||
13145 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
13146 | looking towards obsoletion. | |
13147 | ||
d08a4280 MC |
13148 | 2003-02-03 Michael Chastain <mec@shout.net> |
13149 | ||
13150 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
13151 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
13152 | ||
e9be73e4 AC |
13153 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13154 | ||
13155 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
13156 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
13157 | ||
13158 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
13159 | * main.c (captured_main): Delete #ifdef MPW. | |
13160 | ||
05d57f6f AC |
13161 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13162 | ||
8ffd9b1b | 13163 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
13164 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
13165 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
13166 | * MAINTAINERS: Mark m32k as obsolete. | |
13167 | * m32r-rom.c: Obsolete file. | |
13168 | * config/m32r/m32r.mt: Obsolete file. | |
13169 | * config/m32r/tm-m32r.h: Obsolete file. | |
13170 | * m32r-stub.c: Obsolete file. | |
13171 | * m32r-tdep.c: Obsolete file. | |
13172 | ||
8b0e5691 AC |
13173 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13174 | ||
13175 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
13176 | * MAINTAINERS: Mark z8k as obsolete. | |
13177 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
13178 | * config/z8k/z8k.mt: Obsolete file. | |
13179 | * config/z8k/tm-z8k.h: Obsolete file. | |
13180 | * z8k-tdep.c: Obsolete file. | |
13181 | ||
67f16606 AC |
13182 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13183 | ||
13184 | * NEWS: Mention that the mn10200-elf is obsolete. | |
13185 | * configure.tgt: Obsolete mn10200-*-* target. | |
13186 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
13187 | mention that the mn10200 is obsolete. | |
13188 | * breakpoint.h: Ditto. | |
13189 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
13190 | * config/mn10200/mn10200.mt: Obsolete file. | |
13191 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
13192 | * mn10200-tdep.c: Obsolete file. | |
13193 | ||
fd2299bd AC |
13194 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13195 | ||
13196 | * MAINTAINERS: Mark h8500 as obsolete. | |
13197 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
13198 | * findvar.c (value_from_register): Ditto. | |
13199 | * h8500-tdep.c: Mark file as obsolete. | |
13200 | * config/h8500/h8500.mt: Ditto. | |
13201 | * config/h8500/tm-h8500.h: Ditto. | |
13202 | * NEWS: Mention that h8500 is obsolete. | |
13203 | ||
eb9a305d DC |
13204 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13205 | ||
13206 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
13207 | start of function. | |
13208 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
13209 | ||
406fc7fb DC |
13210 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13211 | ||
13212 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
13213 | * printcmd.c (build_address_symbolic): Replace uses of | |
13214 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
13215 | SYMBOL_NAME, and asm_demangle. | |
13216 | Update copyright. | |
13217 | ||
93d91629 DC |
13218 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13219 | ||
13220 | * linespec.c (decode_compound): Extract code into | |
13221 | lookup_prefix_sym. | |
13222 | (lookup_prefix_sym): New function. | |
13223 | ||
1c5cb38e DC |
13224 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13225 | ||
13226 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
13227 | FLOAT_COERCION_BADNESS. | |
13228 | * gdbtypes.c (rank_one_type): Replace all uses of | |
13229 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
13230 | ||
0cf824c9 JB |
13231 | 2003-02-04 Jim Blandy <jimb@redhat.com> |
13232 | ||
13233 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
13234 | section, let dwarf_macinfo_section point to it, not | |
13235 | dwarf_loc_section. | |
13236 | ||
a2d356b0 DJ |
13237 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
13238 | ||
13239 | Pointed out by Anton Blanchard <anton@samba.org>. | |
13240 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
13241 | (ppc_linux_at_sigtramp_return_path): Use it. | |
13242 | ||
2de7ced7 DJ |
13243 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
13244 | ||
13245 | * defs.h (streq): Add prototype. | |
13246 | * utils.c (streq): New function. | |
13247 | ||
13248 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
13249 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
13250 | * mdebugread.c (new_symbol): Likewise. | |
13251 | * stabsread.c (define_symbol): Likewise. | |
13252 | * coffread.c (process_coff_symbol): Likewise. | |
13253 | * dwarfread.c (new_symbol): Likewise. | |
13254 | ||
13255 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
13256 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
13257 | here. | |
13258 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
13259 | SYMBOL_INIT_DEMANGLED_NAME. | |
13260 | * objfiles.c: Include "hashtab.h". | |
13261 | (allocate_objfile): Call htab_set_functions_ex for the | |
13262 | demangled_names_hash. | |
13263 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
13264 | * objfiles.h (struct htab): Add declaration. | |
13265 | (struct objfile): Add demangled_names_hash. | |
13266 | * symfile.c: Include "hashtab.h". | |
13267 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
13268 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
13269 | SYMBOL_NAME in the bcache. | |
13270 | * symtab.c: Include "hashtab.h". Update comments. | |
13271 | (create_demangled_names_hash, symbol_set_names): New functions. | |
13272 | (symbol_find_demangled_name): New function, broken out from | |
13273 | symbol_init_demangled_names. | |
13274 | (symbol_init_demangled_names): Use it. | |
13275 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
13276 | (SYMBOL_SET_NAMES): New macro. | |
13277 | (symbol_set_names): Add prototype. | |
13278 | ||
15831452 JB |
13279 | 2003-02-03 Jim Blandy <jimb@redhat.com> |
13280 | ||
13281 | Use a single, consistent representation for an empty minimal | |
13282 | symbol table in an objfile. | |
13283 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
13284 | (allocate_objfile): Call it. | |
13285 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
13286 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 13287 | non-NULL. |
15831452 JB |
13288 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
13289 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
13290 | instead of comparing msymbols with NULL. | |
13291 | * objfiles.c (have_minimal_symbols): Same. | |
13292 | * solib-sunos.c (solib_add_common_symbols): Call | |
13293 | terminate_minimal_symbol_table. | |
13294 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 13295 | |
ffc65945 KB |
13296 | 2003-02-03 Kevin Buettner <kevinb@redhat.com> |
13297 | ||
13298 | * s390-tdep.c (s390_address_class_type_flags) | |
13299 | (s390_address_class_type_flags_to_name) | |
13300 | (s390_address_class_name_to_type_flags): New functions. | |
13301 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
13302 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
13303 | ||
f211c6d4 MS |
13304 | 2003-02-03 Michael Snyder <msnyder@redhat.com> |
13305 | ||
13306 | * arm-tdep.c: Fix spell-o in comment. | |
13307 | ||
659b0389 ML |
13308 | 2003-02-03 Michal Ludvig <mludvig@suse.cz> |
13309 | ||
13310 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
13311 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 13312 | error messages to contain BFD filename. |
659b0389 | 13313 | |
3b31d625 EZ |
13314 | 2003-02-02 Elena Zannoni <ezannoni@redhat.com> |
13315 | ||
997b089a | 13316 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
13317 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
13318 | (do_mixed_source_and_assembly): Use | |
13319 | make_cleanup_ui_out_tuple_begin_end and | |
13320 | make_cleanup_ui_out_tuple_begin_end. | |
13321 | (do_mixed_source_and_assembly): Ditto. | |
13322 | * thread.c (do_captured_list_thread_ids): Ditto. | |
13323 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
13324 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
13325 | ui_out_tuple_end): Delete prototypes. | |
13326 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
13327 | ui_out_list_end, ui_out_tuple_end): Delete. | |
13328 | ||
13329 | From Kevin Buettner <kevinb@redhat.com>: | |
13330 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
13331 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
13332 | (do_cleanup_table_end): New functions. | |
13333 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
13334 | Use cleanups to invoke_ui_out_tuple_end(). | |
13335 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
13336 | * cli/cli-setshow.c (cmd_show_list): Use |
13337 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 13338 | |
5b181d62 AC |
13339 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
13340 | ||
13341 | * frame.c (frame_unwind_register): New function. | |
13342 | (frame_unwind_unsigned_register): Use. | |
13343 | (frame_unwind_signed_register): Use. | |
13344 | (frame_read_register): New function. | |
13345 | * frame.h (frame_unwind_register): Declare. | |
13346 | (frame_read_register): Declare. | |
13347 | ||
13348 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
13349 | and frame_unwind_register instead of read_memory, write_register | |
13350 | and deprecated_write_register_bytes. | |
13351 | ||
5f601589 AC |
13352 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
13353 | ||
13354 | * frame.h: Note that namelen can be negative. | |
13355 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
13356 | NAME's length. | |
13357 | ||
13358 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
13359 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
13360 | (d10v_print_registers_info): New function. | |
13361 | (show_regs): Call d10v_print_registers_info. | |
13362 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
13363 | ||
6a3fe0a4 MK |
13364 | 2003-02-02 Mark Kettenis <kettenis@gnu.org> |
13365 | ||
13366 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
13367 | lost in the previous patch. | |
13368 | ||
075559bc AC |
13369 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13370 | ||
13371 | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) | |
fbe586ae RH |
13372 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
13373 | for synthesized frames. | |
075559bc | 13374 | |
6789195b AC |
13375 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
13376 | ||
13377 | * mips-nat.c (zerobuf): Delete. | |
13378 | (fetch_inferior_registers): Alloc local zerobuf. | |
13379 | (fetch_core_registers): Alloc local zerobuf. | |
13380 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
13381 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
13382 | * thread-db.c (thread_db_store_registers): Ditto. | |
13383 | * sh-tdep.c (sh_do_register): Ditto. | |
13384 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
13385 | * remote-sim.c (gdbsim_store_register): Ditto. | |
13386 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
13387 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
13388 | * monitor.c (monitor_supply_register): Ditto. | |
13389 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
13390 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
13391 | * m68klinux-nat.c (fetch_register): Ditto. | |
13392 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
13393 | (fetch_inferior_registers): Ditto. | |
13394 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
13395 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
13396 | (hpux_thread_store_registers): Ditto. | |
13397 | * hppah-nat.c (fetch_register): Ditto. | |
13398 | * hppab-nat.c (fetch_register): Ditto. | |
13399 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
13400 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
13401 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
13402 | ||
e669114a AC |
13403 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13404 | ||
13405 | * gdbarch.sh: Explictly specify all method levels. When a | |
13406 | variable with an empty level, provide a non-multi-arch default. | |
13407 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
13408 | * gdbarch.h: Re-generate. | |
13409 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
13410 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
13411 | ||
9a043c1d AC |
13412 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13413 | ||
13414 | * defs.h (host_pointer_to_address): Delete declaration. | |
13415 | (address_to_host_pointer): Delete declaration. | |
13416 | * utils.c (host_pointer_to_address): Delete function. | |
13417 | (address_to_host_pointer): Delete function. | |
13418 | * procfs.c (procfs_address_to_host_pointer): New function. | |
13419 | * procfs.c (proc_set_watchpoint): Use. | |
13420 | (procfs_can_use_hw_breakpoint): Update comments. | |
13421 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
13422 | (som_solib_add): Use. | |
13423 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
13424 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 13425 | |
7ca9f392 AC |
13426 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13427 | ||
94bbfd30 AC |
13428 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
13429 | strlen d_name. | |
13430 | ||
7ca9f392 AC |
13431 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
13432 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
13433 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
13434 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
13435 | (define_symbol): Update. | |
13436 | * symfile.c (generic_load): Remove references to nindy. | |
13437 | * symtab.c: Remove references to nindy. | |
13438 | ||
31a85ea2 AC |
13439 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13440 | ||
13441 | * infcmd.c (print_float_info): Delete code conditional on | |
13442 | FLOAT_INFO. | |
13443 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
13444 | * config/m68k/nm-apollo68b.h: Ditto. | |
13445 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
13446 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
13447 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
13448 | ||
f6e85fc8 MK |
13449 | 2003-02-01 Mark Kettenis <kettenis@gnu.org> |
13450 | ||
6015b6a0 MK |
13451 | * config/i386/tm-i386os9k.h: Removed. |
13452 | ||
f7a30bdf MK |
13453 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
13454 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
13455 | they're identical to i[3456]86-*-sysv* now. | |
13456 | * config/i386/i386v32.mh: Removed. | |
13457 | * config/i386/xm-i386v32.h: Removed. | |
13458 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
13459 | ||
28d52111 MK |
13460 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
13461 | ||
4d3f6bce MK |
13462 | * config/i386/i386dgux.mh: Removed. |
13463 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
13464 | ||
f6e85fc8 MK |
13465 | * configure.in: Fix typo. |
13466 | * configure: Regenerated. | |
13467 | ||
53955967 DC |
13468 | 2003-01-31 David Carlton <carlton@math.stanford.edu> |
13469 | ||
13470 | * dwarf2read.c (dwarf2_locate_sections): Set | |
13471 | dwarf_ranges_section. | |
13472 | ||
b1364885 AC |
13473 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
13474 | ||
8dbb1c65 AC |
13475 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
13476 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 13477 | |
8731e58e AC |
13478 | * utils.c: Re-indent. |
13479 | ||
b1364885 AC |
13480 | * config/djgpp/fnchange.lst: Delete nindy files. |
13481 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
13482 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
13483 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
13484 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
13485 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
13486 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
13487 | * Makefile.in (init.c): Remove nindy references. | |
13488 | (saber_gdb): Delete rule. | |
13489 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
13490 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
13491 | and a68v-nat.c. | |
13492 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
13493 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
13494 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
13495 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
13496 | nindy-share/stop.h. | |
13497 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
13498 | * saber.suppress: Delete file. | |
13499 | ||
086df311 DJ |
13500 | 2003-01-31 Daniel Jacobowitz <drow@mvista.com> |
13501 | ||
13502 | * dbxread.c (stabs_data): New static variable. | |
13503 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
13504 | (stabs_seek): New function. | |
13505 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
13506 | (read_ofile_symtab): Use stabs_seek. | |
13507 | (elfstab_build_psymtabs): Take an asection* instead of | |
13508 | an offset and size. Relocate the stabs data if necessary. | |
13509 | Save the section* for dbx_psymtab_to_symtab. | |
13510 | * dwarf2read.c: Add section variables for each debug section. | |
13511 | (dwarf2_locate_sections): Fill them in. | |
13512 | (dwarf2_read_section): Take an asection* argument. | |
13513 | Relocate the section contents if necessary. | |
13514 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
13515 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
13516 | it to dwarf2_read_section. | |
13517 | (dwarf2_build_frame_info): Update callers. | |
13518 | * elfread.c (elf_symfile_read): Update call to | |
13519 | elfstab_build_psymtabs. | |
13520 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
13521 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 13522 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
13523 | * symfile.c (symfile_dummy_outputs): New function. |
13524 | (symfile_relocate_debug_section): New function. | |
13525 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
13526 | ||
87d1b352 RH |
13527 | 2003-01-31 Richard Henderson <rth@redhat.com> |
13528 | ||
13529 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
13530 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
13531 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
13532 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
13533 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
13534 | (ALPHA_UNIQUE_REGNUM): New. | |
13535 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
13536 | ||
c48861fb AC |
13537 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
13538 | ||
13539 | * README: Remove reference to Ericsson 1800 monitor. | |
13540 | * Makefile.in (remote-es.o): Delete rule. | |
13541 | (ALLDEPFILES): Delete remote-es.c. | |
13542 | * remote-es.c: Delete file. | |
13543 | * config/m68k/es1800.mt: Delete file. | |
13544 | * config/djgpp/fnchange.lst: Update. | |
13545 | * configure.tgt: Delete m68*-ericsson-* target. | |
13546 | ||
d764a824 AF |
13547 | 2003-01-31 Adam Fedor <fedor@gnu.org> |
13548 | ||
13549 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
13550 | Remove duplicate/shadowing variable of same name. | |
13551 | ||
fe36c4f4 JB |
13552 | 2003-01-30 Jim Blandy <jimb@redhat.com> |
13553 | ||
13554 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
13555 | directory name we compute ends with a slash, and then assume that | |
13556 | that's so everywhere we use it. | |
13557 | ||
cb741690 DJ |
13558 | 2003-01-30 Daniel Jacobowitz <drow@mvista.com> |
13559 | ||
13560 | * valops.c (value_assign): Flush frame cache after stores to memory | |
13561 | also. | |
13562 | ||
96ee5227 AC |
13563 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
13564 | ||
13565 | * Makefile.in (mon960-rom.o): Delete rule. | |
13566 | * mon960-rom.c: Delete file. | |
13567 | ||
7f6104a9 AC |
13568 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
13569 | ||
13570 | * d10v-tdep.c: Include "frame-unwind.h". | |
13571 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
13572 | list. | |
13573 | (next_addr, uses_frame): Delete. | |
13574 | (struct d10v_unwind_cache): Define. | |
13575 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
13576 | Use info instead of next_addr and uses_frame globals. | |
13577 | (d10v_frame_init_saved_regs): Delete function. | |
13578 | (d10v_init_extra_frame_info): Delete function. | |
13579 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
13580 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
13581 | init_frame_pc or frame_saved_pc. | |
13582 | (d10v_pop_frame): Delete function. | |
13583 | (do_d10v_pop_frame): Delete function. | |
13584 | (d10v_frame_chain): Delete function. | |
13585 | (d10v_frame_chain_valid): Delete function. | |
13586 | (d10v_frame_pc_unwind): New function. | |
13587 | (d10v_frame_id_unwind): New function. | |
13588 | (saved_regs_unwinder): New function. | |
13589 | (d10v_frame_register_unwind): New function. | |
13590 | (d10v_frame_pop): New function. | |
13591 | (d10v_frame_unwind): New variable. | |
13592 | (d10v_frame_p): New function. | |
13593 | (d10v_frame_saved_pc): Delete function. | |
13594 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
13595 | ||
cad2e848 JB |
13596 | 2003-01-30 J. Brobecker <brobecker@gnat.com> |
13597 | ||
13598 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
13599 | causing some regressions due to a change in the default value | |
13600 | for this macro. | |
13601 | ||
af34e669 DJ |
13602 | 2003-01-29 Richard Henderson <rth@redhat.com> |
13603 | Elena Zannoni <ezannoni@redhat.com> | |
13604 | Daniel Jacobowitz <drow@mvista.com> | |
13605 | ||
13606 | Fix PR gdb/961. | |
8ffd9b1b | 13607 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
13608 | variables. |
13609 | (RANGES_SECTION): New. | |
13610 | (dwarf_ranges_buffer): New variable. | |
13611 | (struct comp_unit_head): Add member "die". | |
13612 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
13613 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
13614 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
13615 | (dwarf2_locate_sections): Likewise. | |
13616 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
13617 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
13618 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
13619 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
13620 | Look for DW_AT_ranges and return the bounding box. | |
13621 | ||
baa93fa6 CF |
13622 | 2003-01-29 Brian Ford <ford@vss.fsi.com> |
13623 | ||
13624 | * win32-nat.c (cygwin_pid): Removed as unused. | |
13625 | (child_attach): Try fall back to Cygwin pid. | |
13626 | ||
c63f977f JB |
13627 | 2003-01-29 Jim Blandy <jimb@redhat.com> |
13628 | ||
13629 | * objfiles.h (struct objfile): Doc fix. | |
13630 | ||
d62d1979 AC |
13631 | 2003-01-29 Andrew Cagney <ac131313@redhat.com> |
13632 | ||
13633 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
13634 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
13635 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
13636 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
13637 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
13638 | (FRAME_SAVED_PC): Change to a function with predicate. | |
13639 | * gdbarch.h, gdbarch.c: Re-generate. | |
13640 | ||
1ae18a04 AC |
13641 | 2003-01-28 Andrew Cagney <ac131313@redhat.com> |
13642 | ||
52287340 AC |
13643 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
13644 | ||
1ae18a04 AC |
13645 | * complaints.c (complain): Delete function. |
13646 | * complaints.h (struct deprecated_complaint): Delete definition. | |
13647 | (complain): Delete declaration. | |
13648 | ||
f2c16bd6 KB |
13649 | 2003-01-28 Kevin Buettner <kevinb@redhat.com> |
13650 | ||
13651 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
13652 | dummy frames. | |
13653 | ||
a94dd1fd AC |
13654 | 2003-01-27 Andrew Cagney <ac131313@redhat.com> |
13655 | ||
13656 | * sentinel-frame.h, sentinel-frame.c: New files. | |
13657 | * Makefile.in (frame.o): Update dependencies. | |
13658 | (SFILES): Add sentinel-frame.c. | |
13659 | (sentinel_frame_h): Define. | |
13660 | (COMMON_OBS): Add sentinel-frame.o. | |
13661 | (sentinel-frame.o): Specify dependencies. | |
13662 | * frame.c: Include "sentinel-frame.h". | |
13663 | (frame_register_unwind): Rewrite assuming that there is always a a | |
13664 | ->next frame. | |
13665 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
13666 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
13667 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
13668 | (get_current_frame): Rewrite using create_sentinel_frame and | |
13669 | unwind_to_current_frame. When possible, always create a frame. | |
13670 | (create_new_frame): Set next to the sentinel frame. | |
13671 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
13672 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
13673 | ID cache when necessary. | |
13674 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
13675 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
13676 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
13677 | get_next_frame. | |
13678 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
13679 | frame_register. | |
13680 | ||
5378adc4 DJ |
13681 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
13682 | ||
13683 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
13684 | ||
51ee2ddc DJ |
13685 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
13686 | ||
13687 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
13688 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
13689 | ||
d9feb4e7 DJ |
13690 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
13691 | ||
13692 | * configure.in: Check that -pg works if using --enable-profiling. | |
13693 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
13694 | * maint.c: Check for monstartup and _mcleanup before using them. | |
13695 | * config.in: Regenerated. | |
13696 | * configure: Regenerated. | |
13697 | ||
2d188dd3 NC |
13698 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
13699 | ||
13700 | * Add sh2e support: | |
13701 | ||
13702 | 2002-04-02 Elena Zannoni <ezannoni@redhat.com> | |
13703 | ||
13704 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
13705 | (sh2e_show_regs): New. | |
13706 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
13707 | * config/sh/tm-sh.h: Added sh2e to comments. | |
13708 | ||
cb3c37b2 JB |
13709 | 2003-01-23 Jim Blandy <jimb@redhat.com> |
13710 | ||
13711 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
13712 | symbols found)" message here; we haven't checked for a separate | |
13713 | debug info file yet, so we don't know yet. | |
13714 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
13715 | we've looked everywhere. Also, there's no need to print a special | |
13716 | message when we're loading the separate debug info file: the one | |
13717 | symbol_file_add prints is fine. | |
13718 | ||
5b5d99cf JB |
13719 | 2003-01-23 Alexander Larsson <alexl@redhat.com> |
13720 | Jim Blandy <jimb@redhat.com> | |
13721 | ||
13722 | Add support for executables whose debug info has been separated | |
13723 | out into a separate file, leaving only a link behind. | |
13724 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
13725 | and separate_debug_objfile_backlink. | |
13726 | (put_objfile_before): New declaration. | |
13727 | * symfile.c: #include "filenames.h". | |
13728 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
13729 | debug info in a separate file, read that, too. Save the addrs | |
13730 | argument, so we can use it again to read the separated debug info; | |
13731 | syms_from_objfile modifies the table we pass it. | |
13732 | (reread_symbols): After re-reading an objfile, call | |
13733 | reread_separate_symbols to refresh its separate debug info | |
13734 | objfile, if it has one. | |
13735 | (reread_separate_symbols, find_separate_debug_file, | |
13736 | get_debug_link_info, separate_debug_file_exists): New functions. | |
13737 | (debug_file_directory): New global var. | |
13738 | (_initialize_symfile): Initialize debug_file_directory, and | |
13739 | provide the new `set debug-file-directory' command to let the user | |
13740 | change it. | |
13741 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
13742 | a separate objfile, free that one too. If this is itself a | |
13743 | separate debug info objfile, clear our parent's backlink. | |
13744 | (put_objfile_before): New function. | |
13745 | * utils.c (gnu_debuglink_crc32): New function. | |
13746 | * defs.h (gnu_debuglink_crc32): New declaration. | |
13747 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
13748 | * configure.in: Handle --with-separate-debug-dir config option. | |
13749 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
13750 | * acconfig.h (DEBUGDIR): New macro. | |
13751 | * configure, aclocal.m4, config.in: Regenerated. | |
13752 | ||
7e8580c1 JB |
13753 | 2003-01-22 Jim Blandy <jimb@redhat.com> |
13754 | ||
7904e09f JB |
13755 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
13756 | like the old symbol_file_add, but taking new arguments: you can | |
13757 | now pass in either a `struct section_addr_info' list to say where | |
13758 | each section is loaded, or a `struct section_offsets' table. Pass | |
13759 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 13760 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
13761 | with the appropriate quiescent values for the new arguments. |
13762 | ||
7e8580c1 JB |
13763 | * symfile.c: #include "gdb_assert.h". |
13764 | (syms_from_objfile): Add the ability to pass in a section offset | |
13765 | table directly, as an alternative to the section_addr_info table. | |
13766 | Document arguments better. | |
13767 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
13768 | * symfile.h (syms_from_objfile): Update declaration. | |
13769 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
13770 | syms_from_objfile. | |
13771 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
13772 | ||
d28f9cdf DJ |
13773 | 2003-01-22 Daniel Jacobowitz <drow@mvista.com> |
13774 | ||
13775 | Original patch by Tom Tromey <tromey@cygnus.com> and | |
13776 | Jason Molenda <jmolenda@apple.com>. | |
13777 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
13778 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
13779 | * NEWS: Mention profiling. | |
13780 | * configure.in (--enable-gdbtk): Fix typo. | |
13781 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
13782 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
13783 | Fill in function. | |
13784 | (profiling_state): New variable. | |
13785 | (mcleanup_wrapper): New function. | |
13786 | (_initialize_maint): Remove NOTYET, fix call to | |
13787 | add_setshow_boolean_cmd for "maint set profile". | |
13788 | * configure: Regenerated. | |
13789 | ||
df21e465 MH |
13790 | 2003-01-21 Martin M. Hunt <hunt@redhat.com> |
13791 | ||
13792 | * Makefile.in (install-gdbtk): Install PNG images too. | |
13793 | ||
73c1f219 AC |
13794 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
13795 | ||
13796 | * exec.c (text_start): Delete global variable. | |
13797 | (exec_file_attach): Make text_start local to the function. | |
13798 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
13799 | * valops.c (hand_function_call): Delete code that handles | |
13800 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
13801 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
13802 | of CALL_DUMMY_LOCATION. | |
13803 | * gdbarch.c: Regenerate. | |
13804 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
13805 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
13806 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
13807 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
13808 | (text_end): Delete extern declaration. | |
13809 | ||
eb4f72c5 AC |
13810 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
13811 | ||
13812 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
13813 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
13814 | (frame_chain_valid): Delete check for backtrace_below_main. | |
13815 | (_initialize_blockframe): Delete initialization, move ``set | |
13816 | backtrace-below-main'' command to "frame.c". | |
13817 | (do_flush_frames_sfunc): Delete function. | |
13818 | * frame.c: Include "command.h" and "gdbcmd.h". | |
13819 | (frame_type_from_pc): New function. | |
13820 | (create_new_frame): Use frame_type_from_pc. | |
13821 | (legacy_get_prev_frame): New function. | |
13822 | (get_prev_frame): Rewrite. When an old style frame, call | |
13823 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
13824 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
13825 | * Makefile.in (frame.o): Update dependencies. | |
13826 | ||
778ce8cc AC |
13827 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
13828 | ||
13829 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
13830 | DEPRECATED_REGISTERS_INFO. | |
13831 | ||
01c193c8 AC |
13832 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
13833 | ||
13834 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
13835 | Maintainers'. Update `Various Maintainers'. | |
13836 | ||
dedc2a2b AC |
13837 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
13838 | ||
13839 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
13840 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
13841 | Suppress actual parameters when `-'. | |
13842 | * gdbarch.h, gdbarch.c: Regenerate. | |
13843 | ||
b7261c70 AC |
13844 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
13845 | ||
13846 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
13847 | code handling dummy frames. | |
13848 | ||
dbe9fe58 AC |
13849 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
13850 | ||
13851 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
13852 | (struct frame_unwind): Add field pop. | |
13853 | * frame.h (frame_pop): Declare. | |
13854 | * frame.c (frame_saved_regs_pop): New function. | |
13855 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
13856 | (frame_pop): New function. | |
13857 | * dummy-frame.c (dummy_frame_pop): New function. | |
13858 | (discard_innermost_dummy): New function. | |
13859 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
13860 | (dummy_frame_unwind): Add dummy_frame_pop. | |
13861 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
13862 | * valops.c (hand_function_call): Ditto. | |
13863 | * stack.c (return_command): Ditto. | |
13864 | ||
570b8f7c AC |
13865 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
13866 | ||
13867 | * cris-tdep.c: Fix function declaration indentation. | |
13868 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
13869 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
13870 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
13871 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
13872 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
13873 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
13874 | ||
13875 | 2003-01-18 Michael Chastain <mec@shout.net> | |
eaec4d85 MC |
13876 | |
13877 | * README (Unpacking and Installation -- quick overview): | |
13878 | Warn against ".../gdb-5.3/gdb/configure". | |
13879 | ||
494cca16 AC |
13880 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
13881 | ||
13882 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
13883 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
13884 | (struct frame_unwind): Declare opaque. | |
13885 | (dummy_frame_p): Declare function. | |
13886 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
13887 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
13888 | * dummy-frame.c: Include "frame-unwind.h". | |
13889 | (dummy_frame_p): New function. | |
13890 | (dummy_frame_unwind): New variable. | |
13891 | * frame.c: Include "frame-unwind.h". | |
13892 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
13893 | to use the new unwind field. | |
13894 | (set_unwind_by_pc): Delete function. | |
13895 | (create_new_frame, get_prev_frame): Set unwind field using | |
13896 | frame_unwind_find_by_pc. | |
13897 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
13898 | * frame.h (trad_frame_unwind): Declare variable. | |
13899 | (frame_id_unwind_ftype): Delete declaration. | |
13900 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
13901 | (struct frame_unwind): Declare opaque. | |
13902 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
13903 | register_unwind with a single unwind pointer. | |
13904 | * frame-unwind.h, frame-unwind.c: New files. | |
13905 | * Makefile.in (SFILES): Add frame-unwind.c. | |
13906 | (frame_unwind_h): Define. | |
13907 | (COMMON_OBS): Add frame-unwind.o. | |
13908 | (frame-unwind.o): Specify dependencies. | |
13909 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 13910 | |
4efb68b1 AC |
13911 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
13912 | ||
13913 | * ada-valprint.c: Eliminate PTR. | |
13914 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
13915 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
13916 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
13917 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
13918 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
13919 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
13920 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 13921 | |
a84d24ee AC |
13922 | 2003-01-17 Andrew Cagney <ac131313@redhat.com> |
13923 | ||
762f08a3 AC |
13924 | * main.c (captured_main): Don't use PTR. |
13925 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
13926 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
13927 | (lookup_struct_elt_type): Ditto. | |
13928 | * f-valprint.c (info_common_command): Ditto. | |
13929 | (list_all_visible_commons): Ditto. | |
13930 | * jv-typeprint.c (java_type_print_base): Ditto. | |
13931 | ||
a84d24ee AC |
13932 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
13933 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
13934 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
13935 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
13936 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
13937 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
13938 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
13939 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
13940 | * main.c (captured_main): Use xfree, not free. | |
13941 | ||
c170fb60 AC |
13942 | 2003-01-16 Andrew Cagney <ac131313@redhat.com> |
13943 | ||
13944 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
13945 | ID back using a parameter. | |
13946 | * frame.c (frame_id_unwind): Update call. | |
13947 | (frame_saved_regs_id_unwind): Update. | |
13948 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
13949 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
13950 | (dummy_frame_id_unwind): Update declaration. | |
13951 | ||
867f3898 AC |
13952 | 2003-01-15 Andrew Cagney <ac131313@redhat.com> |
13953 | ||
13954 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
13955 | ||
40622be8 | 13956 | 2003-01-15 Stephen P. Smith <ischis2@cox.net> |
de3a8c23 | 13957 | |
40622be8 | 13958 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 13959 | |
ae66c1fc EZ |
13960 | 2003-01-14 Elena Zannoni <ezannoni@redhat.com> |
13961 | ||
997b089a | 13962 | Fix PR gdb/898 |
ae66c1fc EZ |
13963 | * breakpoint.c (until_break_command): Add new argument. Use it to |
13964 | decide whether to stop only at the current frame or not. | |
13965 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 13966 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
13967 | call. |
13968 | (advance_command): New function. | |
13969 | (_initialize_infcmd): Update help string for 'until' command. | |
13970 | Add new 'advance' command. | |
13971 | ||
a04257e6 DC |
13972 | 2003-01-14 David Carlton <carlton@math.stanford.edu> |
13973 | ||
13974 | * linespec.c (decode_line_1): Normalize comments. | |
13975 | (set_flags): Ditto. | |
13976 | (locate_first_half): Ditto. | |
13977 | (decode_compound): Ditto. | |
13978 | (symtab_from_filename): Ditto. | |
13979 | (decode_all_digits): Ditto. | |
13980 | (decode_dollar): Ditto. | |
13981 | (find_methods): Ditto. | |
13982 | (find_toplevel_char): Ditto. | |
13983 | ||
1bac305b AC |
13984 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
13985 | ||
13986 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
13987 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
13988 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
13989 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
13990 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
13991 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
13992 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
13993 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
13994 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
13995 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
13996 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
13997 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
13998 | ||
25caa7a8 EZ |
13999 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
14000 | ||
14001 | * stabsread.h (process_later, resolve_cfront_continuation): | |
14002 | Obsolete. | |
14003 | Update copyright years. | |
14004 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
14005 | Update copyright year. | |
14006 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 14007 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
14008 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
14009 | Update copyright year. | |
14010 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
14011 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
14012 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
14013 | (parse_partial_symbols): Obsolete cfront support. | |
14014 | * stabsread.c | |
14015 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
14016 | macros. | |
14017 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
14018 | read_cfront_baseclasses, read_cfront_member_functions, | |
14019 | resolve_cfront_continuation,read_cfront_static_fields, | |
14020 | copy_cfront_struct_fields): Obsolete functions. | |
14021 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
14022 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
14023 | Update Copyright year. | |
14024 | ||
7789c6f5 EZ |
14025 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
14026 | ||
14027 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
14028 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
14029 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
14030 | print_only_stack_frame): Delete functions. | |
14031 | (print_stack_frame_stub): Call print_frame_info instead of | |
14032 | print_frame_info_base. | |
14033 | (print_frame_info_base): Rename to print_frame_info. | |
14034 | (backtrace_command_1): Call print_frame_info, instead of | |
14035 | print_frame_info_base. | |
14036 | (current_frame_command): Call print_stack_frame, instead of | |
14037 | print_only_stack_frame. | |
14038 | (frame_command): Call print_stack_frame, instead of | |
14039 | show_and_print_stack_frame. | |
14040 | (up_command): Ditto. | |
14041 | (down_command): Ditto. | |
14042 | * frame.h (print_only_stack_frame): Delete prototype. | |
14043 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
14044 | show_and_print_stack_frame. | |
14045 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
14046 | of print_only_stack_frame. | |
14047 | ||
3f5a3016 AC |
14048 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
14049 | ||
d99ba314 AC |
14050 | * README (Graphical interface to GDB): Update URL. Point at |
14051 | gdb/links/. | |
14052 | ||
3f5a3016 AC |
14053 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
14054 | version match. | |
14055 | ||
083ae935 DJ |
14056 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14057 | ||
14058 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
14059 | lines. | |
14060 | ||
5365276c DJ |
14061 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14062 | ||
14063 | * thread-db.c (attach_thread): Prototype. | |
14064 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
14065 | thread information (ti), and valid flags (th_valid, ti_valid). | |
14066 | (attach_thread): Move target_pid_to_str call to after the thread | |
14067 | is added to GDB's list. Initialize the cache. | |
14068 | (thread_get_info_callback, thread_db_map_id2thr) | |
14069 | (thread_db_get_info): New functions. | |
14070 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
14071 | (thread_db_store_registers, thread_db_thread_alive) | |
14072 | (thread_db_get_thread_local_address): Use them. | |
14073 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
14074 | of calling error() for threads in unknown state. | |
14075 | ||
14076 | (clear_lwpid_callback): New function. | |
14077 | (thread_db_resume): Use it to clear the cache. | |
14078 | ||
9fc30b6b DJ |
14079 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14080 | ||
14081 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
14082 | (resume_callback): Remove dead code. | |
14083 | ||
8f871025 AC |
14084 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
14085 | ||
14086 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
14087 | predicate. | |
14088 | * gdbarch.h, gdbarch.c: Regenerate. | |
14089 | * stack.c (frame_info): Only initialize the saved registers when | |
14090 | FRAME_INIT_SAVED_REGS_P. | |
14091 | * frame.c (frame_saved_regs_register_unwind): Assert | |
14092 | FRAME_INIT_SAVED_REGS_P. | |
14093 | (deprecated_generic_get_saved_register): Ditto. | |
14094 | ||
3f565f1e DJ |
14095 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14096 | ||
14097 | * source.c (openp): Squelch warning about "filename". | |
14098 | ||
072b1022 DJ |
14099 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14100 | ||
14101 | * source.c (openp): If the file does not exist don't necessarily | |
14102 | search the path. | |
14103 | ||
973ccf8b DJ |
14104 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14105 | ||
14106 | Fix PR gdb/872. | |
14107 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
14108 | (integer_types_same_name_p): New function. | |
14109 | (rank_one_type): Use it. | |
14110 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
14111 | ||
030292b7 DJ |
14112 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14113 | ||
14114 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
14115 | variables. | |
14116 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
14117 | * configure.in: Add --with-sysroot. | |
14118 | * configure: Regenerated. | |
14119 | * main.c (gdb_sysroot): New variable. | |
14120 | (captured_main): Initialize gdb_sysroot. | |
14121 | * defs.h (gdb_sysroot): New extern declaration. | |
14122 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
14123 | ||
afb5d334 MC |
14124 | 2003-01-12 Michael Chastain <mec@shout.net> |
14125 | ||
14126 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
14127 | ||
751ceeb4 MC |
14128 | 2003-01-12 Michael Chastain <mec@shout.net> |
14129 | ||
14130 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
14131 | ||
94cd26f8 DC |
14132 | 2003-01-12 David Carlton <carlton@bactrian.org> |
14133 | ||
14134 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
14135 | 'file_symtab'. | |
14136 | ||
1ce79225 AC |
14137 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
14138 | ||
14139 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
14140 | dummy frame. | |
14141 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
14142 | ||
fa1fd571 AC |
14143 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
14144 | ||
14145 | * d10v-tdep.c: Include "gdb_assert.h". | |
14146 | (d10v_store_return_value): Rewrite to match current interface. | |
14147 | (d10v_extract_struct_value_address): Ditto. | |
14148 | (d10v_extract_return_value): Ditto. | |
14149 | (d10v_gdbarch_init): Set store_restore_value, | |
14150 | extract_struct_value_address and extract_return_value. | |
14151 | ||
68b8d23e JB |
14152 | 2003-01-12 J. Brobecker <brobecker@gnat.com> |
14153 | ||
14154 | * hpread.c (set_namestring): New procedure replacing the | |
14155 | SET_NAMESTRING macro. | |
14156 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
14157 | by calls to set_namestring. | |
14158 | ||
14159 | 2003-01-11 J. Brobecker <brobecker@gnat.com> | |
1fb309ea JB |
14160 | |
14161 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
14162 | a compilation warning. | |
14163 | (hpread_process_one_debug_symbol): Likewise. | |
14164 | ||
88d262ca DC |
14165 | 2003-01-10 David Carlton <carlton@math.stanford.edu> |
14166 | ||
14167 | * linespec.c (decode_line_1): Rename variable 's' to | |
14168 | 'file_symtab'. | |
14169 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
14170 | (decode_dollar): Ditto. | |
14171 | (decode_variable): Ditto. | |
14172 | (symbol_found): Ditto. | |
14173 | ||
86669319 MC |
14174 | 2003-01-09 Michael Chastain <mec@shout.net> |
14175 | ||
14176 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
14177 | ||
616a9dc4 CV |
14178 | 2003-01-07 Corinna Vinschen <vinschen@redhat.com> |
14179 | ||
14180 | * win32-nat.c (set_process_privilege): New function. | |
14181 | (child_attach): Call set_process_privilege() to enable the | |
14182 | SE_DEBUG_NAME user privilege if available in process token. | |
14183 | ||
3269bcfa JB |
14184 | 2003-01-10 J. Brobecker <brobecker@gnat.com> |
14185 | ||
14186 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
14187 | compilation error in the previous revision. | |
14188 | ||
2b0ee454 DC |
14189 | 2003-01-09 David Carlton <carlton@math.stanford.edu> |
14190 | ||
14191 | * linespec.c: Update copyright. | |
14192 | ||
b3ba1b44 DJ |
14193 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
14194 | ||
14195 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
14196 | than inferior_ptid. | |
14197 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
14198 | ||
4ef3f3be AC |
14199 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
14200 | ||
479ab5a0 AC |
14201 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
14202 | Update comments. | |
14203 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
14204 | (frame_saved_regs_zalloc): Update. | |
14205 | (frame_saved_regs_register_unwind): Update. | |
14206 | (create_new_frame): Update. | |
14207 | (get_prev_frame): Update. | |
14208 | (frame_extra_info_zalloc): Update. | |
14209 | (deprecated_get_frame_saved_regs): Update. | |
14210 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
14211 | * cris-tdep.c: Update comment. | |
14212 | ||
bde58177 AC |
14213 | * somsolib.h: Fix function indentation. |
14214 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
14215 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
14216 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
14217 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
14218 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
14219 | ||
4ef3f3be AC |
14220 | * infrun.c (follow_fork): Use ISO C definition. |
14221 | * expprint.c (print_subexp): Use xfree instead of free. | |
14222 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
14223 | (register_iconv_charsets): Use ISO C definition. | |
14224 | (host_charset, target_charset): Ditto. | |
14225 | * Makefile.in (charset.o): Update dependencies. | |
14226 | (mi-cmd-env.o): Update dependencies. | |
14227 | ||
1c615f7a AC |
14228 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14229 | ||
14230 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
14231 | get_frame_base. | |
14232 | ||
c9a1dc08 AC |
14233 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
14234 | ||
14235 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
14236 | build directories. Save edited gdb output in Mbuild.log. If a | |
14237 | build fails, remove any final GDB executable. | |
14238 | ||
dbad9d94 AC |
14239 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
14240 | ||
14241 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
14242 | replacing hex constants with function names and stripping leading | |
14243 | file name directory prefixes. | |
14244 | ||
8d357cca AC |
14245 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14246 | ||
14247 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
14248 | get_frame_base. | |
14249 | ||
bca02a8a DC |
14250 | 2003-01-08 David Carlton <carlton@math.stanford.edu> |
14251 | ||
14252 | * linespec.c (decode_line_1): Move code into decode_variable. | |
14253 | (decode_variable): New function. | |
14254 | ||
7f8ab3a0 AC |
14255 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
14256 | ||
14257 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
14258 | ||
7b5849cc AC |
14259 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14260 | ||
14261 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
14262 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
14263 | saved_regs buffer. | |
14264 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
14265 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
14266 | (sh_fp_frame_init_saved_regs): Ditto. | |
14267 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
14268 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
14269 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
14270 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
14271 | ||
72a5efb3 DJ |
14272 | 2003-01-08 Daniel Jacobowitz <drow@mvista.com> |
14273 | ||
14274 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
14275 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
14276 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
14277 | ||
11c02a10 AC |
14278 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14279 | ||
aab3ea25 AC |
14280 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
14281 | frame_relative_level. | |
14282 | ||
da50a4b7 AC |
14283 | * alpha-tdep.c: Use get_frame_extra_info. |
14284 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14285 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
14286 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
14287 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
14288 | ||
11c02a10 AC |
14289 | * alpha-tdep.c: Use get_next_frame. |
14290 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14291 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
14292 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
14293 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
14294 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
14295 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
14296 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 14297 | |
1e2330ba AC |
14298 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14299 | ||
14300 | * alpha-tdep.c: Use get_frame_base. | |
14301 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14302 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
14303 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
14304 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
14305 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
14306 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
14307 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
14308 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 14309 | |
2d75187b AC |
14310 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14311 | ||
14312 | * frame.c (deprecated_get_frame_context): New function. | |
14313 | (deprecated_set_frame_context): New function. | |
14314 | * frame.h (deprecated_get_frame_context): Declare. | |
14315 | (deprecated_set_frame_context): Declare. | |
14316 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
14317 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 14318 | |
483d36b2 AC |
14319 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14320 | ||
14321 | * frame.c (deprecated_set_frame_next_hack): New function. | |
14322 | (deprecated_set_frame_prev_hack): New function. | |
14323 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
14324 | (deprecated_set_frame_prev_hack): Declare. | |
14325 | * mcore-tdep.c (analyze_dummy_frame): Use | |
14326 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
14327 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
14328 | ||
14e91ac5 DC |
14329 | 2003-01-07 David Carlton <carlton@math.stanford.edu> |
14330 | ||
14331 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
14332 | (decode_dollar): New function. | |
14333 | ||
b0c6b05c AC |
14334 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14335 | ||
14336 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
14337 | deprecated_update_frame_base_hack. | |
14338 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
14339 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
14340 | (fix_frame_pointer): Ditto. | |
14341 | (mn10300_analyze_prologue): Ditto. | |
14342 | ||
a00a19e9 AC |
14343 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14344 | ||
14345 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
14346 | extra_info using frame_extra_info_zalloc. | |
14347 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
14348 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
14349 | (sh64_init_extra_frame_info): Ditto. | |
14350 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
14351 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
14352 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
14353 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
14354 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
14355 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
14356 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
14357 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
14358 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
14359 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
14360 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
14361 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
14362 | ||
14363 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
14364 | deprecated_set_frame_extra_info_hack. | |
14365 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
14366 | ||
1fb4c65b JB |
14367 | 2003-01-07 J. Brobecker <brobecker@gnat.com> |
14368 | ||
14369 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
14370 | class is not scText. These do not define "real" procedures. | |
14371 | (parse_partial_symbols): Likewise. | |
14372 | ||
9fe7d6bf MS |
14373 | 2003-01-06 Michael Snyder <msnyder@redhat.com> |
14374 | ||
14375 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
14376 | ||
f6c609c4 AC |
14377 | 2003-01-06 Andrew Cagney <ac131313@redhat.com> |
14378 | ||
14379 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
14380 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
14381 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
14382 | deprecated_frame_xmalloc_with_cleanup. | |
14383 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
14384 | deprecated_frame_xmalloc. | |
14385 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
14386 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
14387 | ||
d995ff4b AC |
14388 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
14389 | ||
84dc46cb AC |
14390 | * x86-64-linux-tdep.c: Include "osabi.h". |
14391 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
14392 | ||
d995ff4b AC |
14393 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
14394 | ||
66140c26 AC |
14395 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
14396 | ||
14397 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
14398 | arm-elf. Can be built with -Werror, has been multiarched. | |
14399 | ||
14400 | * value.h (unpack_long): Make buffer parameter constant. | |
14401 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
14402 | * scm-lang.h (scm_parse): Ditto. | |
14403 | * defs.h (extract_typed_address, extract_address): Ditto. | |
14404 | (extract_long_unsigned_integer): Ditto. | |
14405 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
14406 | (signed_pointer_to_address): Ditto. | |
14407 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
14408 | * gdbarch.h, gdbarch.c: Regenerate. | |
14409 | * findvar.c (extract_long_unsigned_integer): Update. | |
14410 | (extract_address): Update. | |
14411 | (extract_typed_address): Update. | |
14412 | (unsigned_pointer_to_address): Update. | |
14413 | * values.c (unpack_long): Update. | |
14414 | (unpack_double): Update. | |
14415 | (unpack_pointer): Update. | |
14416 | (unpack_field_as_long): Update. | |
14417 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
14418 | * avr-tdep.c (avr_pointer_to_address): Update. | |
14419 | * scm-lang.c (scm_unpack): Update. | |
14420 | * findvar.c (signed_pointer_to_address): Update. | |
14421 | ||
b089b3da ML |
14422 | 2003-01-06 Michal Ludvig <mludvig@suse.cz> |
14423 | ||
8ffd9b1b | 14424 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
14425 | since it is in i386-tdep.c. |
14426 | ||
aff87235 JB |
14427 | 2003-01-06 J. Brobecker <brobecker@gnat.com> |
14428 | ||
14429 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
14430 | failure introduced in the previous change. | |
14431 | ||
34f5e845 MC |
14432 | 2003-01-05 Michael Chastain <mec@shout.net> |
14433 | ||
14434 | * README: Remove references to deleted remote-*.c files: | |
14435 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
14436 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
14437 | ||
28bcfd30 MK |
14438 | 2003-01-05 Mark Kettenis <kettenis@gnu.org> |
14439 | ||
14440 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
14441 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
14442 | i386_get_longjmp_target. | |
14443 | ||
15a5b3ee AC |
14444 | 2003-01-05 Andrew Cagney <ac131313@redhat.com> |
14445 | ||
14446 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
14447 | (_initialize_arm_tdep): Allocate prologue_cache. | |
14448 | (check_prologue_cache): Update. | |
14449 | (save_prologue_cache): Update. | |
14450 | (arm_gdbarch_init): Update. | |
14451 | ||
c263362b DJ |
14452 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14453 | ||
14454 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
14455 | instead of error. | |
14456 | ||
51603483 DJ |
14457 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14458 | ||
14459 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
14460 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
14461 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
14462 | ||
14463 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
14464 | (backtrace_below_main): New variable. | |
14465 | (file_frame_chain_valid, func_frame_chain_valid) | |
14466 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
14467 | (generic_func_frame_chain_valid): Remove functions. | |
14468 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
14469 | (_initialize_blockframe): New function. | |
14470 | * Makefile.in (blockframe.o): Update dependencies. | |
14471 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
14472 | comment. Call frame_chain_valid (). | |
14473 | * frame.h: Remove old prototypes. Add prototype for | |
14474 | frame_chain_valid and update comments to match. | |
14475 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
14476 | Remove old comment. | |
14477 | * gdbarch.h: Regenerated. | |
14478 | * gdbarch.c: Regenerated. | |
14479 | ||
14480 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
14481 | set_gdbarch_frame_chain_valid. | |
14482 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
14483 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
14484 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
14485 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
14486 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
14487 | (i386_nw_init_abi): Likewise. | |
14488 | (i386_gdbarch_init): Likewise. | |
14489 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
14490 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
14491 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
14492 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
14493 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
14494 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
14495 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
14496 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
14497 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
14498 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
14499 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
14500 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
14501 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
14502 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
14503 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
14504 | ||
14505 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
14506 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
14507 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
14508 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
14509 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
14510 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
14511 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
14512 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
14513 | ||
b00a8037 DJ |
14514 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
14515 | ||
14516 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
14517 | (config_h): Define. | |
14518 | (osabi.o): Update dependencies. | |
14519 | * configure.tgt: Set gdb_osabi based on target triplet. | |
14520 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
14521 | * configure: Regenerated. | |
14522 | * config.in: Regenerated. | |
14523 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
14524 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
14525 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
14526 | (set_osabi_string): New variables. | |
14527 | (gdbarch_register_osabi): Add new OS ABI to | |
14528 | gdb_osabi_available_names. | |
14529 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
14530 | (set_osabi, show_osabi): New functions. | |
14531 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
14532 | ||
4be87837 DJ |
14533 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14534 | ||
14535 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
14536 | GDB_OSABI_UNINITIALIZED. | |
14537 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
14538 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
14539 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
14540 | * gdbarch.c: Regenerated. | |
14541 | * gdbarch.h: Regenerated. | |
14542 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
14543 | there's no BFD. | |
14544 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
14545 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
14546 | (gdbarch_init_osabi): Update prototype. | |
14547 | * defs.h (enum gdb_osabi): Moved here. | |
14548 | * Makefile.in: Update dependencies. | |
14549 | ||
14550 | * alpha-tdep.h: Don't include "osabi.h". | |
14551 | (struct gdbarch_tdep): Remove osabi member. | |
14552 | * alpha-tdep.c: Include "osabi.h". | |
14553 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14554 | iterate over arches. Update call to gdbarch_init_osabi. | |
14555 | (alpha_dump_tdep): Don't dump osabi. | |
14556 | * alpha-linux-tdep.c: Include "osabi.h". | |
14557 | * alpha-osf1-tdep.c: Include "osabi.h". | |
14558 | * alphafbsd-tdep.c: Include "osabi.h". | |
14559 | * alphanbsd-tdep.c: Include "osabi.h". | |
14560 | ||
14561 | * arm-tdep.h: Don't include "osabi.h". | |
14562 | (struct gdbarch_tdep): Remove osabi member. | |
14563 | * arm-tdep.c: Include "osabi.h". | |
14564 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14565 | iterate over arches. Update call to gdbarch_init_osabi. | |
14566 | (arm_dump_tdep): Don't dump osabi. | |
14567 | * arm-linux-tdep.c: Include "osabi.h". | |
14568 | * armnbsd-tdep.c: Include "osabi.h". | |
14569 | ||
14570 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
14571 | Update call to gdbarch_init_osabi. | |
14572 | ||
14573 | * i386-tdep.h: Don't include "osabi.h". | |
14574 | (struct gdbarch_tdep): Remove osabi member. | |
14575 | * i386-tdep.c: Include "osabi.h". | |
14576 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14577 | iterate over arches. Update call to gdbarch_init_osabi. | |
14578 | (i386_dump_tdep): Don't dump osabi. | |
14579 | * i386-linux-tdep.c: Include "osabi.h". | |
14580 | * i386-sol2-tdep.c: Include "osabi.h". | |
14581 | * i386bsd-tdep.c: Include "osabi.h". | |
14582 | * i386gnu-tdep.c: Include "osabi.h". | |
14583 | * i386ly-tdep.c: Include "osabi.h". | |
14584 | * i386nbsd-tdep.c: Include "osabi.h". | |
14585 | * i386obsd-tdep.c: Include "osabi.h". | |
14586 | ||
14587 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
14588 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14589 | check osabi when iterating over arches. Update call to | |
14590 | gdbarch_init_osabi. | |
14591 | (mips_dump_tdep): Don't dump osabi. | |
14592 | ||
14593 | * ns32k-tdep.h: Don't include "osabi.h". | |
14594 | (struct gdbarch_tdep): Remove. | |
14595 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
14596 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
14597 | allocate tdep. Update call to gdbarch_init_osabi. | |
14598 | (ns32k_dump_tdep): Remove. | |
14599 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
14600 | * ns32knbsd-tdep.c: Include "osabi.h". | |
14601 | ||
14602 | * ppc-tdep.h: Don't include "osabi.h". | |
14603 | (struct gdbarch_tdep): Remove osabi member. | |
14604 | * rs6000-tdep.c: Include "osabi.h". | |
14605 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
14606 | osabi when iterating over arches. Update call to | |
14607 | gdbarch_init_osabi. | |
14608 | (rs6000_dump_tdep): Don't dump osabi. | |
14609 | * ppc-linux-tdep.c: Include "osabi.h". | |
14610 | * ppcnbsd-tdep.c: Include "osabi.h". | |
14611 | ||
14612 | * sh-tdep.h: Don't include "osabi.h". | |
14613 | (struct gdbarch_tdep): Remove osabi member. | |
14614 | * sh-tdep.c: Include "osabi.h". | |
14615 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14616 | iterate over arches. Update call to gdbarch_init_osabi. | |
14617 | (sh_dump_tdep): Don't dump osabi. | |
14618 | * shnbsd-tdep.c: Include "osabi.h". | |
14619 | ||
14620 | * sparc-tdep.c: Include "osabi.h". | |
14621 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14622 | iterate over arches. Update call to gdbarch_init_osabi. | |
14623 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
14624 | tdep structure. | |
14625 | ||
14626 | * vax-tdep.h: Don't include "osabi.h". | |
14627 | (struct gdbarch_tdep): Remove. | |
14628 | * vax-tdep.c: Include "osabi.h". | |
14629 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14630 | iterate over arches. Don't allocate tdep. Update call | |
14631 | to gdbarch_init_osabi. | |
14632 | (vax_dump_tdep): Remove. | |
14633 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
14634 | ||
a881cf8e DJ |
14635 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14636 | ||
14637 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
14638 | entirely. | |
14639 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
14640 | watchpoint. | |
14641 | ||
1e698235 DJ |
14642 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14643 | ||
14644 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
14645 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
14646 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14647 | * gdbarch.c: Regenerate. | |
14648 | * gdbarch.h: Regenerate. | |
14649 | * Makefile.in: Remove value_h from gdbarch_h. | |
14650 | * valops.c (coerce_float_to_double): New variable. | |
14651 | (default_coerce_float_to_double): Remove. | |
14652 | (standard_coerce_float_to_double): Remove. | |
14653 | (value_arg_coerce): Use coerce_float_to_double. | |
14654 | (_initialize_valops): Add "set coerce-float-to-double". | |
14655 | * value.h (default_coerce_float_to_double): Remove prototype. | |
14656 | (standard_coerce_float_to_double): Remove prototype. | |
14657 | ||
14658 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
14659 | prototyped. | |
14660 | * mdebugread.c (parse_symbol): Likewise. | |
14661 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
14662 | ||
14663 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
14664 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
14665 | set_gdbarch_coerce_float_to_double. | |
14666 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
14667 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
14668 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
14669 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
14670 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
14671 | (mips_coerce_float_to_double): Remove. | |
14672 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
14673 | (rs6000_coerce_float_to_double): Remove. | |
14674 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
14675 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
14676 | (sh_coerce_float_to_double): Remove. | |
14677 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
14678 | (sparc_coerce_float_to_double): Remove. | |
14679 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
14680 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
14681 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14682 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14683 | (hppa_coerce_float_to_double): Remove prototype. | |
14684 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14685 | ||
f436a26a DJ |
14686 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14687 | ||
14688 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
14689 | ||
248f8055 DJ |
14690 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14691 | ||
14692 | Suggested by Stewart Brown <sb24@avaya.com>: | |
14693 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
14694 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
14695 | (c_type_print_varspec_suffix): Likewise. | |
14696 | ||
72cfdc76 MK |
14697 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
14698 | ||
bfd260bb MK |
14699 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
14700 | * configure: Regenerated. | |
14701 | ||
72cfdc76 MK |
14702 | * configure.in: Remove code dealing with shared libraries. |
14703 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
14704 | * configure: Regenerated. | |
14705 | ||
c8b8a898 AC |
14706 | 2003-01-04 Andrew Cagney <ac131313@redhat.com> |
14707 | ||
14708 | * frame.c (deprecated_frame_xmalloc): New function. | |
14709 | (deprecated_set_frame_saved_regs_hack): New function. | |
14710 | (deprecated_set_frame_extra_info_hack): New function. | |
14711 | * frame.h (deprecated_frame_xmalloc): Declare. | |
14712 | (deprecated_set_frame_saved_regs_hack): Declare. | |
14713 | (deprecated_set_frame_extra_info_hack): Declare. | |
14714 | ||
14abd0fb MK |
14715 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
14716 | ||
8ee53726 MK |
14717 | * configure.in: Move code that provides the --enable-gdbtk option |
14718 | right after the code that handles the --enable-tui option, and | |
14719 | polish it somewhat. | |
14720 | * configure: Regenerated. | |
14721 | ||
14abd0fb MK |
14722 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
14723 | AC_CHECK_FUNCS and remove the old check for pread64. | |
14724 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
14725 | * acconfig.h (_GNU_SOURCE): Add. | |
14726 | (HAVE_PREAD64): Remove. | |
14727 | * configure, aclocal.m4, config.in: Regenerated. | |
14728 | ||
b2fb4676 AC |
14729 | 2003-01-03 Andrew Cagney <ac131313@redhat.com> |
14730 | ||
14731 | * alpha-tdep.c: Use get_frame_saved_regs. | |
14732 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14733 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
14734 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
14735 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
14736 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
14737 | ||
8dcde887 MK |
14738 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
14739 | ||
14740 | * configure.in: Remove all use of the SUBDIRS variable; add | |
14741 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
14742 | code providing the --enable-multi-ice option, and move it right in | |
14743 | front of the code that checks whether gdbserver is supported. | |
14744 | Polish that too. | |
14745 | * configure: Regenerated. | |
14746 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
14747 | @SUBDIRS@. | |
14748 | ||
8ccd593b AC |
14749 | 2003-01-03 Andrew Cagney <cagney@redhat.com> |
14750 | ||
14751 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
14752 | * avr-tdep.c, cris-tdep.c: Ditto. | |
14753 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
14754 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 14755 | |
91151a06 MK |
14756 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
14757 | ||
14758 | * configure.in: Remove --enable-netrom option. | |
14759 | * configure: Regenerated. | |
14760 | ||
8fe84d01 MK |
14761 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
14762 | ||
14763 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
14764 | declaration for `struct re_pattern_buffer' instead. | |
14765 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
14766 | ||
f0394be6 JB |
14767 | 2003-01-03 J. Brobecker <brobecker@gnat.com> |
14768 | ||
14769 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
14770 | the structure name. | |
14771 | ||
27e9bf90 MK |
14772 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
14773 | ||
93d331ba MK |
14774 | * configure.in: Remove --with-cpu option. |
14775 | subscripts. Remove evil changequotes here. | |
14776 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
14777 | * config.in, configure: Regenerated. | |
8ffd9b1b | 14778 | |
27e9bf90 MK |
14779 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
14780 | * configure.in: Cleanup section that sources GDB and BFD configure | |
14781 | subscripts. Remove evil changequotes here. | |
14782 | * config.in, configure: Regenerated. | |
14783 | ||
50abf9e5 AC |
14784 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
14785 | ||
14786 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
14787 | frame accessor methods. | |
14788 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14789 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
14790 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
14791 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
14792 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
14793 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
14794 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 14795 | |
287c1a40 MK |
14796 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
14797 | ||
f5dbc56d MK |
14798 | * configure.in: Remove UI_OUT configuration code. |
14799 | * ada-lang.c: Update assuming UI_OUT is always true. | |
14800 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
14801 | * configure: Regenerated. | |
14802 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
14803 | ||
627af7ea MK |
14804 | * configure.in: Move code that provides the --enable-gdbcli, |
14805 | --enable-gdbmi options right before the code that handles the | |
14806 | --enable-tui option. Polish a bit. | |
14807 | * configure: Regenerated. | |
14808 | ||
06825bd1 MK |
14809 | * configure.in: Rewrite check for GNU regex and the |
14810 | --without-included regex option, and move it into the "Checks for | |
14811 | library functions" section. This makes us use the system regex | |
14812 | again by default on systems with version 2 of the GNU C library. | |
14813 | This was apparently broken. | |
14814 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
14815 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
14816 | * config.in, configure: Regenerated. | |
14817 | ||
287c1a40 MK |
14818 | * configure.in: Move code that provides the --enable-tui option |
14819 | before the "Checks for libraries" section. Polish the code | |
14820 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
14821 | code that looks for a library providing termcap functionality to | |
14822 | match more closely what's done in the Readline library, and move | |
14823 | it into to the "Checks for libraries" section. | |
14824 | * configure: Regenerated. | |
14825 | * Makefile.in (TERMCAP): Remove variable. | |
14826 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
14827 | ||
684e56bf AC |
14828 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
14829 | ||
14830 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
14831 | * gdb_mbuild.sh: Rewrite. | |
14832 | ||
e1ea1d75 MK |
14833 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
14834 | ||
14835 | * configure.in: Fix typo in last change. | |
14836 | * config.in, configure: Regenerated. | |
14837 | ||
1b831c93 AC |
14838 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
14839 | ||
14840 | * valarith.c (value_binop): Delete obsolete code and comments. | |
14841 | * configure.host: Ditto. | |
14842 | * buildsym.h (make_blockvector): Ditto. | |
14843 | * buildsym.c (make_blockvector): Ditto. | |
14844 | * defs.h (enum language): Ditto. | |
14845 | (chill_demangle): Ditto. | |
14846 | * elfread.c (elf_symtab_read): Ditto. | |
14847 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
14848 | (set_cu_language): Ditto. | |
14849 | (handle_producer): Ditto. | |
14850 | * expprint.c (print_subexp): Ditto. | |
14851 | * gdbtypes.c (chill_varying_type): Ditto. | |
14852 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
14853 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
14854 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
14855 | (chill_varying_type): Ditto. | |
14856 | * language.h (_LANG_chill): Ditto. | |
14857 | * language.c (binop_result_type, integral_type): Ditto. | |
14858 | (character_type, string_type, structured_type): Ditto. | |
14859 | (lang_bool_type, binop_type_check): Ditto. | |
14860 | * stabsread.h (os9k_stabs): Ditto. | |
14861 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
14862 | (define_symbol, read_type, read_struct_fields): Ditto. | |
14863 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
14864 | (read_range_type, start_stabs): Ditto. | |
14865 | * symfile.c (init_filename_language_table): Ditto. | |
14866 | (add_psymbol_with_dem_name_to_list): Ditto. | |
14867 | * symtab.c (symbol_init_language_specific): Ditto. | |
14868 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
14869 | * symtab.h (struct general_symbol_info): Ditto. | |
14870 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
14871 | * typeprint.c (typedef_print): Ditto. | |
14872 | * utils.c (fprintf_symbol_filtered): Ditto. | |
14873 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
14874 | obsolete code. | |
14875 | (varying_to_slice): Delete function. | |
14876 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
14877 | (varying_to_slice): Delete declaration. | |
14878 | * MAINTAINERS: Update. | |
14879 | ||
8bb2c122 MK |
14880 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
14881 | ||
97bf5e38 MK |
14882 | * configure.in: Reorganize "Checks for library functions section" |
14883 | a bit. Remove check for `btowc' and `isascii' functions. | |
14884 | * configure: Regenerated. | |
14885 | ||
5ee754fc MK |
14886 | * acconfig.h (_MSE_INT_H): Remove. |
14887 | * configure.in: Create "Checks for header files" section, and move | |
14888 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
14889 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
14890 | misdetection fix. Also add "Checks for types", "Checks for | |
14891 | compiler characteristics" and "Checks for library functions" | |
14892 | sections. | |
14893 | * config.in, configure: Regenerated. | |
14894 | ||
8bb2c122 MK |
14895 | * configure.in: Create "Checks for programs" section, and move |
14896 | appropriate tests there. | |
14897 | ||
9a156167 MK |
14898 | 2003-01-01 Mark Kettenis <kettenis@gnu.org> |
14899 | ||
14900 | * configure.in: Create "Checks for libraries" section, and move | |
14901 | appropriate tests there. Cleanup check for wctype in libw. Use | |
14902 | AC_SEARCH_LIBS to see whether we need libsocket. | |
14903 | * configure: Regenerated. | |
14904 | ||
a80e2bcb | 14905 | For older changes see ChangeLog-2002 |
c906108c SS |
14906 | \f |
14907 | Local Variables: | |
14908 | mode: change-log | |
14909 | left-margin: 8 | |
14910 | fill-column: 74 | |
14911 | version-control: never | |
14912 | End: |