Commit | Line | Data |
---|---|---|
251a3ae3 KB |
1 | 2003-12-02 Kevin Buettner <kevinb@redhat.com> |
2 | ||
3 | * frv-tdep.c (frv_gdbarch_init): Add case for fr550. | |
4 | ||
188dd5d6 DJ |
5 | 2003-12-02 Daniel Jacobowitz <drow@mvista.com> |
6 | ||
7 | * dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset) | |
8 | (dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset) | |
9 | (dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset) | |
10 | (dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset): | |
11 | Delete. | |
12 | (dwarf2_read_section): Remove offset and size arguments. Use | |
13 | bfd_get_section_size_before_reloc and sectp->filepos. | |
14 | (dwarf2_has_info): Clear section variables instead of offsets. | |
15 | (dwarf2_locate_sections): Don't initialize the deleted variables. | |
16 | (dwarf2_build_psymtabs): Update calls to dwarf2_read_section. | |
17 | (dwarf2_build_psymtabs_easy): Likewise. | |
18 | * dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size) | |
19 | (dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern | |
20 | declarations. | |
21 | (dwarf2_read_section): Update prototype. | |
22 | (dwarf2_build_frame_info): Update calls to dwarf2_read_section. | |
23 | Use bfd_get_section_size_before_reloc instead of global size | |
24 | variables. | |
25 | ||
013be872 MC |
26 | 2003-12-01 Michael Chastain <mec.gnu@mindspring.com> |
27 | ||
28 | * dwarfread.c: Update documentation on the state of dwarf-1. | |
29 | ||
5994185b AC |
30 | 2003-12-01 Andrew Cagney <cagney@redhat.com> |
31 | ||
0748d941 AC |
32 | Obsolete old MIPS SVr3 and SVr4 systems. |
33 | * NEWS: Mention obsoleted systems. | |
34 | * configure.tgt: Mark mips*-*-sysv4* as obsolete. | |
35 | * configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*, | |
36 | mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as | |
37 | obsolete. | |
38 | * config/mips/decstation.mh: Mark as obsolete. | |
39 | * config/mips/littlemips.mh: Mark as obsolete. | |
40 | * config/mips/nm-mips.h: Mark as obsolete. | |
41 | * config/mips/xm-mips.h: Mark as obsolete. | |
42 | * config/mips/news-mips.mh: Mark as obsolete. | |
43 | * config/mips/nm-news-mips.h: Mark as obsolete. | |
44 | * config/mips/riscos.mh: Mark as obsolete. | |
45 | * config/mips/nm-riscos.h: Mark as obsolete. | |
46 | * config/mips/xm-riscos.h: Mark as obsolete. | |
47 | * config/mips/mipsv4.mt: Mark as obsolete. | |
48 | * config/mips/tm-mipsv4.h: Mark as obsolete. | |
49 | * config/mips/xm-mipsv4.h: Mark as obsolete. | |
50 | ||
5994185b AC |
51 | Obsolete old m68k systems. |
52 | * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*, | |
53 | m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*, | |
54 | m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and | |
55 | m680[01]0-sun-sunos3* as obsolete. | |
56 | * configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*, | |
57 | m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*, | |
58 | m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete. | |
59 | * config/m68k/sun3os4.mh: Mark file obsolete. | |
60 | * config/m68k/xm-sun3os4.h: Mark file obsolete. | |
61 | * config/m68k/sun3os3.mh: Mark file obsolete. | |
62 | * config/m68k/nm-sun3.h: Mark file obsolete. | |
63 | * config/m68k/xm-sun3.h: Mark file obsolete. | |
64 | * config/m68k/sun2os4.mh: Mark file obsolete. | |
65 | * config/m68k/sun2os3.mh: Mark file obsolete. | |
66 | * config/m68k/nm-sun2.h: Mark file obsolete. | |
67 | * config/m68k/xm-sun2.h: Mark file obsolete. | |
68 | * config/m68k/m68kv4.mh: Mark file obsolete. | |
69 | * config/m68k/nm-sysv4.h: Mark file obsolete. | |
70 | * config/m68k/xm-m68kv4.h: Mark file obsolete. | |
71 | * config/m68k/m68klynx.mh: Mark file obsolete. | |
72 | * config/m68k/nm-m68klynx.h: Mark file obsolete. | |
73 | * config/m68k/dpx2.mh: Mark file obsolete. | |
74 | * config/m68k/xm-dpx2.h: Mark file obsolete. | |
75 | * config/m68k/nm-dpx2.h: Mark file obsolete. | |
76 | * config/m68k/delta68.mh: Mark file obsolete. | |
77 | * config/m68k/xm-delta68.h: Mark file obsolete. | |
78 | * config/m68k/nm-delta68.h: Mark file obsolete. | |
79 | * config/m68k/3b1.mh: Mark file obsolete. | |
80 | * config/m68k/xm-3b1.h: Mark file obsolete. | |
81 | * config/m68k/sun3os4.mt: Mark file obsolete. | |
82 | * config/m68k/tm-sun3os4.h: Mark file obsolete. | |
83 | * config/m68k/sun3os3.mt: Mark file obsolete. | |
84 | * config/m68k/tm-sun3.h: Mark file obsolete. | |
85 | * config/m68k/sun2os4.mt: Mark file obsolete. | |
86 | * config/m68k/tm-sun2os4.h: Mark file obsolete. | |
87 | * config/m68k/sun2os3.mt: Mark file obsolete. | |
88 | * config/m68k/tm-sun2.h: Mark file obsolete. | |
89 | * config/m68k/m68kv4.mt: Mark file obsolete. | |
90 | * config/m68k/tm-m68kv4.h: Mark file obsolete. | |
91 | * config/m68k/m68klynx.mt: Mark file obsolete. | |
92 | * config/m68k/tm-m68klynx.h: Mark file obsolete. | |
93 | * config/m68k/dpx2.mt: Mark file obsolete. | |
94 | * config/m68k/tm-dpx2.h: Mark file obsolete. | |
95 | * config/m68k/delta68.mt: Mark file obsolete. | |
96 | * config/m68k/tm-delta68.h: Mark file obsolete. | |
97 | * config/m68k/3b1.mt: Mark file obsolete. | |
98 | * config/m68k/tm-3b1.h: Mark file obsolete. | |
99 | ||
720aa428 MK |
100 | 2003-11-29 Mark Kettenis <kettenis@gnu.org> |
101 | ||
102 | * x86-64-tdep.c (MAX_CLASSES): Remove macro. | |
103 | (x86_64_reg_class): Remove enum. | |
104 | (merge_classes, classify_argument, examine_argument): Remove | |
105 | functions. | |
106 | (INT_REGS, SSE_REGS): Remove macros. | |
107 | (x86_64_push_arguments): Remove function. | |
108 | (amd64_push_arguments): New function. | |
109 | (x86_64_push_dummy_call): Call amd64_push_arguments instead of | |
110 | x86_64_push_arguments. | |
111 | ||
35883a3f MK |
112 | 2003-11-28 Mark Kettenis <kettenis@gnu.org> |
113 | ||
114 | * x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is | |
115 | zero. Reorganize code a bit. | |
116 | ||
597684c5 MK |
117 | 2003-11-27 Mark Kettenis <kettenis@gnu.org> |
118 | ||
3e74aeed MK |
119 | * dwarf2-frame.c: Fix another comment. |
120 | ||
efb1c01c MK |
121 | * x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines. |
122 | (x86_64_use_struct_convention, x86_64_extract_return_value, | |
123 | x86_64_store_return_value): Remove. | |
124 | (amd64_reg_class): New enum. | |
125 | (amd64_merge_classes, amd64_classify_aggregate, amd64_classify, | |
126 | amd64_return_value): New functions. | |
127 | (x86_64_init_abi): Don't set extract_return_value, | |
128 | store_return_value and use_struct_convention. Set return_value to | |
129 | amd64_return_value. | |
130 | * i387-tdep.h (i387_return_value): New prototype. | |
131 | * i387-tdep.c (i387_return_value): New function. | |
132 | ||
e4e9607c MK |
133 | * dwarf2-frame.c: Fix some comments and whitespace problems. |
134 | ||
13739f4d MK |
135 | * i386nbsd-tdep.c: Don't include "gdbtypes.h". Include |
136 | "gdb_assert.h" and "gdb_string.h". | |
137 | (i386nbsd_r_reg_offset): Rename from regmap. | |
138 | (SIZEOF_STRUCT_REG): Remove. | |
139 | (i386nbsd_supply_reg, fetch_core_registers, | |
140 | fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns): | |
141 | Remove. | |
142 | (i386nbsd_aout_supply_regset, | |
143 | i386nbsd_aout_regset_from_core_section): New functions. | |
144 | (i386nbsd_sc_reg_offset): Don't explicitly specify size of array. | |
145 | (i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset, | |
146 | TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to | |
147 | initialize TDEP->sc_num_regs. | |
148 | (i386nbsdaout_init_abi): New function. | |
149 | (i386nbsdelf_init_abi): Remove initialization of | |
150 | TDEP->num_xmm_regs. Don't set num_regs here. | |
151 | (_initialize_i386nbsd_tdep): Don't call add_core_fns. Use | |
152 | i386nbsd_aout_init to register NetBSD a.out OS/ABI. | |
153 | ||
597684c5 MK |
154 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use |
155 | .note.netbsdcore.procinfo section to recognize NetBSD core files. | |
156 | ||
37e79b6b MC |
157 | 2003-11-26 Michael Chastain <mec.gnu@mindspring.com> |
158 | ||
159 | * cp-abi.c: Update copyright years. | |
160 | ||
24557e30 AC |
161 | 2003-11-25 Andrew Cagney <cagney@redhat.com> |
162 | ||
163 | * thread-db.c (enable_thread_event): New function. Ensure that BP | |
164 | is a code address. | |
165 | (enable_thread_event_reporting): Use enable_thread_event. | |
166 | ||
78c63a3b MS |
167 | 2003-11-25 Michael Snyder <msnyder@redhat.com> |
168 | ||
169 | * mips-tdep.c (mips_o64_extract_return_value): Correct for | |
170 | NUM_REGS (see changes 2003-06-21). | |
171 | (mips_eabi_extract_return_value): Ditto. | |
172 | ||
aff6338a AC |
173 | 2003-11-25 Andrew Cagney <cagney@redhat.com> |
174 | ||
175 | * infrun.c: Don't include "exec.h". | |
176 | (handle_inferior_event): Pass current_target, instead of exec_ops, | |
177 | to SOLIB_ADD. Add comments. | |
178 | * Makefile.in (infrun.o): Update dependencies. | |
179 | ||
9e08b29b DJ |
180 | 2003-11-24 Daniel Jacobowitz <drow@mvista.com> |
181 | ||
182 | * NEWS: Mention improved location expression support. | |
183 | ||
603942cc AC |
184 | 2003-11-23 Andrew Cagney <cagney@redhat.com> |
185 | ||
186 | * Makefile.in (infrun.o): Update dependencies. | |
187 | * infrun.c: Include "exec.h". | |
188 | (handle_inferior_event): Pass exec_ops to SOLIB_ADD. | |
189 | ||
66c57289 AC |
190 | 2003-11-23 Andrew Cagney <cagney@redhat.com> |
191 | ||
dd3ecc14 AC |
192 | * frame.c (frame_unwind_signed_register): Delete function. |
193 | * frame.h (frame_unwind_register_signed): Delete declaration. | |
194 | * mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed. | |
195 | ||
eec1a560 AC |
196 | * arch-utils.h (generic_cannot_extract_struct_value_address): |
197 | Delete declaration. | |
198 | ||
cb137aa5 AC |
199 | * defs.h (DEPRECATED_STREQN): Rename STREQN. |
200 | (DEPRECATED_STREQ): Rename STREQ. | |
201 | * ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update. | |
202 | * config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update. | |
203 | * config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update. | |
204 | * dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update. | |
205 | * eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update. | |
206 | * jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update. | |
207 | * mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update. | |
208 | * p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update. | |
209 | * source.c, sparc-tdep.c, stack.c, target.c: Update. | |
66c57289 | 210 | |
cb137aa5 | 211 | * symfile.c (symbol_file_command): Replace STREQ with strcmp. |
66c57289 AC |
212 | * elfread.c (elf_symtab_read): Delete STREQ from comment. |
213 | ||
29dfb2ac AC |
214 | 2003-11-22 Andrew Cagney <cagney@redhat.com> |
215 | ||
213cc0ad AC |
216 | * frame.c (deprecated_frame_xmalloc): Delete function. |
217 | (deprecated_set_frame_extra_info_hack): Delete function. | |
218 | (deprecated_set_frame_saved_regs_hack): Delete function. | |
219 | * frame.h (deprecated_frame_xmalloc): Delete declaration. | |
220 | (deprecated_set_frame_extra_info_hack): Delete declaration. | |
221 | (deprecated_set_frame_saved_regs_hack): Delete declaration. | |
222 | * mcore-tdep.c (analyze_dummy_frame): Instead of | |
223 | deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack, | |
224 | and deprecated_set_frame_extra_info_hack use | |
225 | deprecated_frame_xmalloc_with_cleanup. | |
226 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
227 | * mips-tdep.c (mips_init_extra_frame_info): Delete call to | |
228 | deprecated_set_frame_saved_regs_hack. | |
229 | ||
35bb18ac AC |
230 | * mips-tdep.c (mips_frame_chain): Delete call to |
231 | deprecated_inside_entry_file. | |
232 | ||
38a7ce4b AC |
233 | * frame.h (deprecated_set_frame_next_hack): Delete declaration. |
234 | (deprecated_set_frame_prev_hack): Delete declaration. | |
235 | * frame.c (deprecated_set_frame_next_hack): Delete function. | |
236 | (deprecated_set_frame_prev_hack): Delete function. | |
237 | * mcore-tdep.c (analyze_dummy_frame): Delete calls to | |
238 | "deprecated_set_frame_next_hack" and | |
239 | "deprecated_set_frame_prev_hack". | |
240 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
241 | ||
47ebcfbe AC |
242 | * mips-tdep.c (mips_register_convertible): Delete function. |
243 | (mips_register_convert_to_virtual): Delete function. | |
244 | (mips_register_convert_to_raw): Delete function. | |
245 | (mips_gdbarch_init): Do not set "deprecated_register_convertible", | |
246 | "deprecated_register_convert_to_virtual", or | |
247 | "deprecated_register_convert_to_raw". | |
248 | (mips_pseudo_register_write, mips_pseudo_register_read): Handle | |
249 | 32/64 cooked to raw register conversions. | |
250 | ||
2a9264f1 | 251 | * frame.c (deprecated_get_frame_context): Delete function. |
38a7ce4b | 252 | (deprecated_set_frame_context): Delete function. |
2a9264f1 AC |
253 | (struct frame_info): Delete member "context". |
254 | * frame.h (deprecated_get_frame_context): Delete declaration. | |
255 | (deprecated_set_frame_context): Delete declaration. | |
256 | ||
7af6341f AC |
257 | * procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment. |
258 | * config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro. | |
259 | * config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro. | |
260 | * config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro. | |
261 | ||
10a08821 AC |
262 | * mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro. |
263 | (mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with | |
264 | mips_regsize. | |
265 | (mips_dump_tdep): Do not print SIGFRAME_REG_SIZE. | |
266 | * config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro. | |
267 | * config/mips/tm-irix5.h: Update copyright. | |
268 | (SIGFRAME_REG_SIZE): Delete macro. | |
269 | ||
00d33403 AC |
270 | * hppa-tdep.c (hppa_value_returned_from_stack): Delete function. |
271 | * config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete | |
272 | declaration. | |
273 | (DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro. | |
274 | * infcall.c (call_function_by_hand): Delete #ifdef | |
275 | DEPRECATED_VALUE_RETURNED_FROM_STACK code. | |
276 | * infcmd.c (print_return_value): Ditto. | |
277 | ||
74da7425 AC |
278 | * mips-tdep.c (skip_prologue_using_sal): New function. |
279 | (mips32_skip_prologue, mips16_skip_prologue): Use | |
280 | skip_prologue_using_sal to get an upper bound on the search. | |
281 | ||
369864a4 AC |
282 | * config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete |
283 | #if 0'ed macro. | |
284 | * infrun.c (step_into_function): Delete #ifdef | |
285 | PROLOGUE_FIRSTLINE_OVERLAP code. | |
286 | * symtab.c (find_function_start_sal): Ditto. | |
287 | ||
a5a12285 AC |
288 | * remote-rdp.c: Update copyright. |
289 | (rdp_init): #if 0 references to "target_byte_order". | |
290 | ||
29dfb2ac AC |
291 | * mips-tdep.c (mips_o32_store_return_value): Delete function. |
292 | (mips_o32_return_value): Replace mips_o32_xfer_return_value. | |
293 | (mips_o32_extract_return_value): Delete function. | |
294 | (mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value. | |
295 | (mips_n32n64_extract_return_value): Delete function. | |
296 | (mips_n32n64_store_return_value): Delete function. | |
297 | (mips_gdbarch_init): For o32 and n32n64, set "return_value" | |
298 | instead of "store_return_value", "extract_return_value", and | |
299 | "use_struct_convention". | |
300 | (mips_n32n64_use_struct_convention): Delete function. | |
301 | ||
3a3da38c KB |
302 | 2003-11-21 Kevin Buettner <kevinb@redhat.com> |
303 | ||
304 | * frv-tdep.c (frv_frame_this_id): Eliminate call to | |
305 | inside_entry_func(). | |
306 | ||
c5e656c1 MK |
307 | 2003-11-20 Mark Kettenis <kettenis@gnu.org> |
308 | ||
309 | * i386-tdep.c (i386_extract_return_value, | |
310 | i386_store_return_value): Add gdbarch argument. Use it instead of | |
311 | determining it from REGCACHE. Remove recursive call for | |
312 | structures with a single member. | |
313 | (i386_use_struct_convention): Remove. | |
314 | (i386_reg_struct_return_p): New function. | |
315 | (i386_return_value): New function. | |
316 | (i386_gdbarch_init): Set return_value, don't set | |
317 | extract_return_value, store_return_value and | |
318 | use_struct_convention. | |
319 | * x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL. | |
320 | ||
515cc92e JB |
321 | 2003-11-20 Jim Blandy <jimb@redhat.com> |
322 | ||
323 | * osabi.c (_initialize_gdb_osabi): Don't return before registering | |
324 | the 'set osabi' and 'show osabi' commands. | |
325 | ||
3f1d7f16 MK |
326 | 2003-11-19 Mark Kettenis <kettenis@gnu.org> |
327 | ||
328 | * frame.c (get_prev_frame): Use result from | |
329 | get_frame_address_in_block instead of get_frame_pc as argument to | |
330 | inside_main_func. Fixes PR backtrace/1435. | |
331 | ||
667e784f AC |
332 | 2003-11-19 Andrew Cagney <cagney@redhat.com> |
333 | ||
334 | * stack.c (return_command): Handle "void", "legacy" and "unknown | |
335 | location" return values separatly. | |
336 | * values.c (using_struct_return): Return 0 for a "void" return | |
337 | type. Mention "register_value_being_returned". | |
338 | (register_value_being_returned): Mention "using_struct_return". | |
339 | ||
4cecd739 DJ |
340 | 2003-11-19 Daniel Jacobowitz <drow@mvista.com> |
341 | ||
342 | * dwarf2read.c (offreg, basereg, isderef, frame_base_reg) | |
343 | (frame_base_offset): Delete. | |
344 | (read_func_scope): Delete call to decode_locdesc. | |
345 | (decode_locdesc): Update comments. Don't set the removed variables. | |
346 | Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and | |
347 | DW_OP_fbreg support. | |
348 | ||
6b992462 DJ |
349 | 2003-11-18 Daniel Jacobowitz <drow@mvista.com> |
350 | ||
351 | * dwarf2read.c (optimized_out, islocal): Remove. | |
352 | (decode_locdesc): Update comments. Don't set optimized_out | |
353 | or islocal. | |
354 | ||
968d1cb4 JJ |
355 | 2003-11-17 Jeff Johnston <jjohnstn@redhat.com> |
356 | David Mosberger <davidm@hpl.hp.com> | |
357 | ||
358 | * ia64-tdep.c: Include elf.h. | |
359 | [HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and | |
360 | libunwind-ia64.h. | |
361 | (ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support. | |
362 | (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto. | |
363 | (ia64_is_fpreg, ia64_access_reg): Ditto. | |
364 | (ia64_access_fpreg, ia64_access_mem): Ditto. | |
365 | (get_kernel_table): Ditto. | |
366 | (ia64_find_unwind_table): Ditto. | |
367 | (ia64_find_proc_info_x, ia64_put_unwind_info): Ditto. | |
368 | (ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto. | |
369 | (ia64_libunwind_frame_prev_register): Ditto. | |
370 | (ia64_libunwind_frame_sniffer): Ditto. | |
371 | (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame | |
372 | sniffer. Register libunwind functions needed by generic | |
373 | libunwind frame code using libunwind_frame_set_descr(). | |
374 | ||
d29caefc DJ |
375 | 2003-11-16 Daniel Jacobowitz <drow@mvista.com> |
376 | ||
377 | * breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable a | |
378 | bp_shlib_disabled breakpoint if there is a shared library mapped | |
379 | at its expected address. | |
380 | ||
691c0433 AC |
381 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
382 | ||
96cb1c2f AC |
383 | * configure.tgt: Delete mips*tx39*-elf*. |
384 | * config/mips/tm-tx39.h: Delete file. | |
385 | * config/mips/tx39.mt: Delete file. | |
386 | * config/mips/tx39.mt: Delete file. | |
387 | ||
691c0433 AC |
388 | * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Declare. |
389 | * remote-mips.c (common_open): Instead of | |
390 | "mips_read_register_type" and "mips_set_processor_type_command" | |
391 | call "deprecated_mips_set_processor_regs_hack". | |
392 | * config/mips/tm-mips.h (mips_read_processor_type): Delete | |
393 | declaration. | |
394 | (mips_set_processor_type_command): Delete declaration. | |
395 | * mips-tdep.c (mips_gdbarch_init): Update comment. | |
396 | (mips_dump_tdep): Do not print MIPS_REGISTER_NAMES. | |
397 | (mips_set_processor_type): Delete function. | |
398 | (NUM_MIPS_PROCESSOR_REGS): Define. | |
399 | (mips_show_processor_type_command): Delete function. | |
400 | (mips_set_processor_type_command): Delete function. | |
401 | (tmp_mips_processor_type): Delete. | |
402 | (mips_processor_type): Delete. | |
403 | (mips_processor_type_table): Delete. | |
404 | (mips_r3051_reg_names): Delete. | |
405 | (mips_r3081_reg_names): Delete. | |
406 | (mips_lsi33k_reg_names): Delete. | |
407 | (mips_processor_reg_names): Delete. | |
408 | (mips_read_processor_type): Delete function. | |
409 | (deprecated_mips_set_processor_regs_hack): New function. | |
410 | (struct gdbarch_tdep): Add member "mips_processor_reg_names". | |
411 | (mips_register_name): Get the processor names from the tdep. | |
412 | (mips_tx39_reg_names): New array. | |
413 | (mips_generic_reg_names): Wire to a standard set of names. | |
414 | (mips_gdbarch_init): Set "mips_processor_reg_names". | |
415 | * config/mips/tm-irix5.h (MIPS_REGISTER_NAMES): Delete macro. | |
416 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Delete macro. | |
417 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Delete macro. | |
418 | ||
56cea623 AC |
419 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
420 | ||
421 | * mips-tdep.c (struct gdbarch_tdep): Add field "regnum". | |
422 | (mips_fpa0_regnum, mips_regnum): New function. | |
423 | (mips_gdbarch_init): Fill in the "regnum" fields. | |
424 | * mips-tdep.h (struct mips_regnum): Define. | |
425 | (mips_regnum): Declare. | |
426 | * config/mips/tm-mips.h (BADVADDR_REGNUM): Delete macro. | |
427 | (LO_REGNUM, HI_REGNUM, BADVADDR_REGNUM): Ditto. | |
428 | (CAUSE_REGNUM, PC_REGNUM, FP0_REGNUM): Ditto. | |
429 | (FCRCS_REGNUM, FCRIR_REGNUM, FPA0_REGNUM): Ditto. | |
430 | * config/mips/tm-irix6.h (FP0_REGNUM): Delete macro. | |
431 | (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto. | |
432 | (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto. | |
433 | * config/mips/tm-irix5.h (FP0_REGNUM): Delete macro. | |
434 | (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto. | |
435 | (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto. | |
436 | * remote-mips.c: Include "mips-tdep.h". Update. | |
437 | * mipsnbsd-tdep.c: Update. | |
438 | * mipsv4-nat.c: Update. | |
439 | * mips-tdep.c: Update. | |
440 | * mips-nat.c: Update. | |
441 | * mips-linux-tdep.c: Update. | |
442 | * mips-linux-nat.c: Update. | |
443 | * irix5-nat.c: Update. | |
444 | * dve3900-rom.c: Include "mips-tdep.h". Update. | |
445 | (ignore_packet): Supress GCC warning. | |
446 | * config/mips/nm-riscos.h: Update. | |
447 | ||
719ec221 AC |
448 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
449 | ||
450 | * mips-tdep.c: Replace DEPRECATED_REGISTER_RAW_SIZE with | |
451 | register_size. | |
452 | (mips_register_raw_size): Delete function. | |
453 | (mips_register_type): Handle "mips64_transfers_32bit_regs_p". | |
454 | (mips_gdbarch_init): Do not set "deprecated_register_raw_size". | |
455 | Check and set "mips64_transfers_32bit_regs_p". | |
456 | (struct gdbarch_tdep): Add "mips64_transfers_32bit_regs_p". | |
457 | (mips_register_convertible): Check the architecture's | |
458 | "mips64_transfers_32bit_regs_p". | |
459 | (set_mips64_transfers_32bit_regs): New function. | |
460 | (_initialize_mips_tdep): Use "add_setshow_cmd" when adding the | |
461 | "set remote-mips64-transfers-32bit-regs" command. Specify | |
462 | set_mips64_transfers_32bit_regs as the set function. | |
56cea623 | 463 | * Makefile.in (dve3900-rom.o, remote-mips.o): Update dependencies. |
719ec221 | 464 | |
20187ed5 MK |
465 | 2003-11-16 Mark Kettenis <kettenis@gnu.org> |
466 | ||
467 | * i386-tdep.h (i386_supply_gregset): Provide prototype. | |
468 | * i386-tdep.c (i386_supply_gregset): Make public. | |
469 | ||
6771c427 AC |
470 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
471 | ||
472 | * mips-tdep.c (mips_register_byte): Delete function. | |
473 | (mips_gdbarch_init): Do not set "deprecated_register_byte". | |
474 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Delete macro. | |
475 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Delete macro. | |
476 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Delete macro. | |
477 | ||
c8048956 MK |
478 | 2003-11-16 Mark Kettenis <kettenis@gnu.org> |
479 | ||
480 | * i386-tdep.c (i386_extract_return_value): Don't use bfd_byte. | |
481 | ||
cc8a868a AC |
482 | 2003-11-16 Andrew Cagney <cagney@redhat.com> |
483 | ||
484 | * config/mips/linux64.mt: Delete file. | |
485 | * config/mips/tm-linux64.h: Delete file. | |
486 | * config/mips/tm-mips64.h: Delete file. | |
487 | * config/mips/embed64.mt: Delete file. | |
488 | * config/djgpp/fnchange.lst: Update. | |
489 | * configure.tgt: Delete explicit patterns for mipsisa64*-*-linux*, | |
490 | mips64*-*-linux*, mips64*-*-*, and mipsisa64*-*-*. | |
491 | * config/mips/tm-irix6.h: Update copyright. Include | |
492 | "mips/tm-mips.h" instead of "mips/tm-mips64.h". | |
493 | * mips-tdep.c (mips_dump_tdep): Do not print "OP_LDFPR" or | |
494 | "OP_LDGPR". | |
495 | ||
5ef80fb0 AC |
496 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
497 | ||
498 | * mips-tdep.c (mips_register_type): Simplify. Eliminate reference | |
499 | to MIPS_REGISTER_TYPE. Make integer registers signed. Make IRIX | |
500 | n32 registers 64 bit. | |
501 | (mips_register_raw_size, mips_register_byte): For pseudo | |
502 | registers, use the register's pseudo size and not the | |
503 | corresponding raw register's size. | |
504 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Delete macro. | |
505 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Delete macro. | |
506 | * config/mips/tm-irix6.h: Don't #undef MIPS_REGISTER_TYPE. | |
507 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Delete macro. | |
508 | ||
4246e332 AC |
509 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
510 | ||
8fa9cfa1 AC |
511 | * mips-tdep.c (struct gdbarch_tdep): Delete member |
512 | gdb_target_is_mips64. | |
513 | (GDB_TARGET_IS_MIPS64): Delete macro. | |
514 | (mips_gdbarch_init): Do not set tdep's gdb_target_is_mips64. | |
515 | (mips_dump_tdep): Do not print GDB_TARGET_IS_MIPS64. | |
516 | (mips_addr_bits_remove): Simplify. | |
517 | ||
c73e8f27 AC |
518 | * mips-tdep.c: Replace DEPRECATED_REGISTER_VIRTUAL_SIZE with |
519 | register_size. | |
520 | ||
4246e332 AC |
521 | Replace MIPS_REGSIZE with mips_regsize. |
522 | * mips-tdep.c (mips_regsize): New function. | |
523 | * mips-tdep.h (mips_regsize): Declare. | |
524 | * mipsnbsd-tdep.h (SIZEOF_STRUCT_FPREG): Update. | |
525 | (SIZEOF_STRUCT_REG): Update. | |
526 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg): Update. | |
527 | (mipsnbsd_fill_reg): Update. | |
528 | (mipsnbsd_supply_fpreg): Update. | |
529 | (mipsnbsd_fill_fpreg): Update. | |
530 | (NBSD_MIPS_JB_ELEMENT_SIZE): Update. | |
531 | * mips-tdep.c (mips_register_raw_size): Update. | |
532 | (mips_register_type): Update. | |
533 | (SIGFRAME_BASE): Update. | |
534 | (SIGFRAME_PC_OFF): Update. | |
535 | (SIGFRAME_REGSAVE_OFF): Update. | |
536 | (SIGFRAME_FPREGSAVE_OFF): Update. | |
537 | (SIGFRAME_REG_SIZE): Update. | |
538 | (mips32_heuristic_proc_desc): Update. | |
539 | (print_gp_register_row): Update. | |
540 | (mips_dump_tdep): Do not print MIPS_REGSIZE. | |
541 | * irix5-nat.c (supply_gregset): Update. | |
542 | (fetch_core_registers): Update. | |
543 | * config/mips/tm-mips64.h (MIPS_REGSIZE): Delete macro. | |
544 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Update. | |
545 | * config/mips/tm-mips.h (MIPS_REGSIZE): Delete macro. | |
546 | (MIPS_REGISTER_BYTE): Update. | |
547 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Update. | |
548 | ||
5e044b1e AC |
549 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
550 | ||
551 | * config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename | |
552 | USE_REGISTER_NOT_ARG. | |
553 | * stabsread.c (define_symbol): Update. | |
554 | ||
3a16a68c AC |
555 | 2003-11-15 Andrew Cagney <cagney@redhat.com> |
556 | ||
557 | * bcache.h (deprecated_bcache): Declare. | |
558 | (bcache): Make returned buffer constant. | |
559 | * bcache.c (deprecated_bcache): New function. | |
560 | (bcache_data): New function. | |
561 | (bcache): Call bcache data. | |
562 | * symfile.c (add_psymbol_to_list): Use deprecated_bcache. | |
563 | (add_psymbol_with_dem_name_to_list): Ditto. | |
564 | ||
bb41a796 MK |
565 | 2003-11-15 Mark Kettenis <kettenis@gnu.org> |
566 | ||
567 | * glibc-tdep.h (struct gdbarch): Declare opaque. | |
568 | (glibc_skip_solib_resolver): Adjust prototype. | |
569 | * glibc-tdep.c (glibc_skip_solib_resolver): Adjust. | |
570 | * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove. | |
571 | (arm_linux_init_abi): Set skip_solib_resolver. | |
572 | * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove. | |
573 | (i386_linux_init_abi): Set skip_solib_resolver. | |
574 | * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. | |
575 | (arm_linux_skip_solib_resolver): Remove prototype. | |
576 | * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. | |
577 | (i386_linux_skip_solib_resolver): Remove prototype. | |
578 | ||
4c8c40e6 MK |
579 | 2003-11-14 Mark Kettenis <kettenis@gnu.org> |
580 | ||
581 | * gdbarch.sh (skip_solib_resolver): Change into a multi-arch | |
582 | function. | |
583 | * gdbarch.c, gdbarch.h: Regenerate. | |
584 | * infrun.c (handle_inferior_event): Call | |
585 | gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER. | |
586 | * arch-utils.c (generic_in_solib_call_trampoline): Adjust function | |
587 | definition. | |
588 | * arch-utils.h (generic_in_solib_call_trampoline): Adjust function | |
589 | prototype. | |
590 | ||
0e5d83e3 JJ |
591 | 2003-11-14 Jeff Johnston <jjohnstn@redhat.com> |
592 | ||
593 | * libunwind-frame.c: New file. | |
594 | * libunwind-frame.h: New file. | |
595 | * acconfig.h (HAVE_LIBUNWIND): #undef reference added. | |
596 | * configure.in: Add --with-libunwind option support. Define | |
597 | HAVE_LIBUNWIND if libunwind support selected / defaulted. | |
598 | Also check for libunwind.h and libunwind-ia64.h headers. | |
599 | * configure: Regenerated. | |
600 | * Makefile.in: Add support for libunwind-frame.o. | |
601 | * config.in: Regenerated. | |
602 | ||
287a334e JJ |
603 | 2003-11-14 Jeff Johnston <jjohnstn@redhat.com> |
604 | ||
605 | * config/ia64/nm-linux.h (NATIVE_XFER_UNWIND_TABLE): New macro to | |
606 | set up the ia64 linux native target method for getting the kernel | |
607 | unwind table. | |
608 | * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): New function. | |
609 | * inftarg.c (child_xfer_partial): Enable section of code to | |
610 | handle TARGET_OBJECT_UNWIND_TABLE. | |
611 | * target.h (target_object): Add new TARGET_OBJECT_UNWIND_TABLE macro. | |
612 | ||
140be7b8 ILT |
613 | 2003-11-14 Ian Lance Taylor <ian@wasabisystems.com> |
614 | ||
615 | * config/arm/nbsd.mt (TM_FILE): Define. | |
616 | * config/arm/tm-nbsd.h: New file. | |
617 | ||
0a90bcdd AC |
618 | 2003-11-14 Andrew Cagney <cagney@redhat.com> |
619 | ||
620 | * Makefile.in (ppc-sysv-tdep.o): Update dependencies. | |
621 | * ppc-sysv-tdep.c: Include "objfiles.h". | |
622 | (ppc64_sysv_abi_push_dummy_call): Provide the | |
623 | the FN's objfile when looking for the descriptor. | |
9ea97f2a AC |
624 | |
625 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's | |
626 | "name_of_malloc" to ".malloc". | |
627 | ||
087f1027 MK |
628 | 2003-11-13 Mark Kettenis <kettenis@gnu.org> |
629 | ||
630 | * config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o. | |
631 | ||
3882f37a DC |
632 | 2003-11-13 David Carlton <carlton@kealia.com> |
633 | ||
634 | * cp-namespace.c (lookup_namespace_scope): Fix typo in comment. | |
635 | ||
a8cf2722 AC |
636 | 2003-11-13 Andrew Cagney <cagney@redhat.com> |
637 | ||
638 | * arch-utils.h (selected_architecture_name): Declare. | |
639 | (selected_byte_order): Declare. | |
640 | * arch-utils.c (selected_byte_order): New function. | |
641 | (selected_architecture_name): New function. | |
642 | (target_architecture_auto): Make static. | |
643 | (set_architecture_string): Make static. | |
644 | (target_byte_order): Make static. | |
645 | (target_byte_order_auto): Make static. | |
646 | * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete | |
647 | non-multi-arch definition. | |
648 | (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete. | |
649 | (target_byte_order, target_architecture): Delete declaration. | |
650 | (target_byte_order_auto, target_architecture_auto): Ditto. | |
651 | * gdbarch.h: Re-generate. | |
652 | * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and | |
653 | "selected_byte_order". | |
654 | ||
475b6ddd AC |
655 | 2003-11-13 Andrew Cagney <cagney@redhat.com> |
656 | ||
657 | * ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order. | |
658 | ||
a22286a9 JB |
659 | 2003-11-13 Jim Blandy <jimb@redhat.com> |
660 | ||
661 | * cp-namespace.c: Doc fix. | |
662 | ||
7bb11558 MS |
663 | 2003-11-12 Michael Snyder <msnyder@redhat.com> |
664 | ||
39add00a MS |
665 | * sh64_tdep.c: Regularize some names. |
666 | (sh_sh64_register_name): Rename to sh64_register_name. | |
667 | (sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc. | |
668 | (sh_sh64_register_byte): Rename to sh64_register_byte. | |
669 | (sh_sh64_build_float_register_type): | |
670 | Rename to sh64_build_float_register_type. | |
671 | (sh_sh64_register_convert_to_virtual): | |
672 | Rename to sh64_register_convert_to_virtual. | |
673 | (sh_sh64_register_convert_to_raw): | |
674 | Rename to sh64_register_convert_to_raw. | |
675 | ||
2a314ed5 MS |
676 | * sh64-tdep.c (translate_insn_rn, is_media_pseudo, |
677 | sh64_media_reg_base_num, sh64_compact_reg_base_num, | |
678 | sh64_nofp_frame_init_saved_regs, sh64_push_arguments, | |
679 | sh64_extract_return_value, sh64_show_media_regs, | |
680 | sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type, | |
681 | sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw, | |
682 | sh64_pseudo_register_read, sh64_pseudo_register_write, | |
683 | sh64_do_pseudo_register, sh_compact_print_registers_info): | |
684 | Delete unused variable 'tdep'. | |
685 | ||
7bb11558 MS |
686 | * sh64-tdep.c: Coding standard and spelling comment fixes. |
687 | (sh64_extract_return_value): Replace deprecated_store_floating | |
688 | with store_typed_floating. | |
689 | (sh_sh64_register_convert_to_raw): Replace | |
690 | deprecated_store_floating with store_typed_floating. | |
691 | (sh_sh64_register_virtual_type): Convert to sh64_register_type. | |
692 | (sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register, | |
693 | sh64_nofp_frame_init_saved_regs, sh64_push_arguments, | |
694 | sh64_extract_struct_value_address, sh64_pop_frame, | |
695 | sh64_extract_return_value, sh64_store_return_value, | |
696 | sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read, | |
697 | sh_sh64_register_convert_to_raw, sh_pseudo_register_write): | |
698 | Replace DEPRECATED_REGISTER_RAW_SIZE with register_size. | |
699 | Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type. | |
700 | (sh64_gdbarch_init): Don't set deprecated_register_bytes, | |
701 | deprecated_register_virtual_type, deprecated_register_raw_size, | |
702 | deprecated_max_register_raw_size, or | |
703 | deprecated_max_register_virtual_size. Instead, just set | |
704 | gdbarch_register_type. | |
39add00a MS |
705 | (sh_sh64_register_raw_size): Delete. |
706 | (sh_sh64_register_virtual_size): Delete. | |
7bb11558 | 707 | |
e7c27a73 DJ |
708 | 2003-11-12 Daniel Jacobowitz <drow@mvista.com> |
709 | ||
710 | * dwarf2read.c (struct dwarf2_cu): New type. | |
711 | ||
712 | (dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a | |
713 | dwarf2_cu structure to pass down. | |
714 | ||
715 | (scan_partial_symbols, add_partial_symbol, add_partial_namespace) | |
716 | (add_partial_enumeration, locate_pdi_sibling, process_die) | |
717 | (read_file_scope, read_func_scope) | |
718 | (read_lexical_block_scope, dwarf2_get_pc_bounds) | |
719 | (dwarf2_add_field, dwarf2_attach_fields_to_type) | |
720 | (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type) | |
721 | (read_structure_scope, read_enumeration, read_array_type) | |
722 | (read_common_block, read_namespace, read_tag_pointer_type) | |
723 | (read_tag_ptr_to_member_type, read_tag_reference_type) | |
724 | (read_tag_const_type, read_tag_volatile_type, read_tag_string_type) | |
725 | (read_subroutine_type, read_typedef, read_base_type, read_comp_unit) | |
726 | (read_die_and_children, read_die_and_siblings, dwarf2_read_section) | |
727 | (dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die) | |
728 | (read_full_die. read_attribute_value, read_attribute) | |
729 | (read_address, dwarf_decode_line_header, dwarf_decode_lines) | |
730 | (var_decode_location, new_symbol, dwarf2_const_value, die_type) | |
731 | (die_containing_type, type_at_offset, tag_type_to_type) | |
732 | (read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros) | |
733 | (dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object. | |
734 | ||
1640b821 DJ |
735 | 2003-11-12 Daniel Jacobowitz <drow@mvista.com> |
736 | ||
737 | PR breakpoints/1450 | |
738 | * breakpoint.c (insert_bp_location): Fix a logic error by returning | |
739 | 0 after a catchpoint fails. | |
740 | ||
d7891507 MC |
741 | 2003-11-11 Michael Chastain <mec.gnu@mindspring.com> |
742 | ||
743 | * mips-tdep.c (msymbol_size): Delete. | |
744 | ||
f594e5e9 MC |
745 | 2003-11-07 Michael Chastain <mec@shout.net> |
746 | ||
747 | * symtab.h (struct minimal_symbol): Add size. | |
748 | * dbxread.c: Use it. | |
749 | * elfread.c: (record_minimal_symbol_and_info): Do not use info. | |
750 | Rename to record_minimal_symbol. | |
751 | (elf_symtab_read): Set MSYMBOL_SIZE explicitly. | |
752 | * minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE. | |
753 | (install_minimal_symbols): Ditto. | |
754 | * objfiles.c (terminate_minimal_symbol_table): Ditto. | |
755 | * arm-tdep.c: Delete unused MSYMBOL_SIZE. | |
756 | * m68hc11-tdep.c: Ditto. | |
757 | * mips-tdep.c: Ditto. | |
758 | * sh64-tdep.c: Ditto. | |
759 | ||
68e39e73 MC |
760 | 2003-11-10 Michael Chastain <mec.gnu@mindspring.com> |
761 | ||
762 | * MAINTAINERS: Change my e-mail address. | |
763 | ||
b60eb90d AC |
764 | 2003-11-10 Andrew Cagney <cagney@redhat.com> |
765 | ||
963e2bb7 AC |
766 | * gdbarch.sh (return_value): Replace "inval" and "outval" with |
767 | "readbuf" and "writebuf". | |
768 | * ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto. | |
769 | * d10v-tdep.c (d10v_return_value): Ditto. | |
770 | * ppc-tdep.h (ppc_sysv_abi_return_value): Ditto. | |
771 | (ppc_sysv_abi_broken_return_value): Ditto. | |
772 | (ppc64_sysv_abi_return_value): Ditto. | |
773 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto. | |
774 | (ppc_sysv_abi_return_value): Ditto. | |
775 | (ppc_sysv_abi_broken_return_value): Ditto. | |
776 | (ppc64_sysv_abi_return_value): Ditto. | |
777 | * values.c (register_value_being_returned): Update call. | |
778 | * stack.c (return_command): Update call. | |
779 | * gdbarch.h, gdbarch.c: Re-generate. | |
780 | ||
8aa91c1e AC |
781 | * target.h (struct target_ops): Order xfer buffer parameters "read |
782 | write" not "write read". | |
783 | * bfd-target.c (target_bfd_xfer_partial): Update. | |
784 | * remote.c (remote_xfer_partial): Update. | |
785 | * inftarg.c (child_xfer_partial): Update. | |
786 | * target.c (default_xfer_partial): Update. | |
787 | (target_read_partial, target_write_partial): Update. | |
788 | (debug_to_xfer_partial): Update. | |
789 | ||
100bcc3f AC |
790 | * arch-utils.h, arch-utils.c: Fix typo in comment. |
791 | ||
b60eb90d AC |
792 | * arch-utils.c (deprecated_select_gdbarch_hack): Delete function. |
793 | (gdbarch_from_bfd): Call gdbarch_find_by_info. | |
1b3164d8 AC |
794 | (set_gdbarch_from_file): Call |
795 | "deprecated_current_gdbarch_select_hack". | |
b60eb90d | 796 | |
bf922ad9 AC |
797 | 2003-11-09 Andrew Cagney <cagney@redhat.com> |
798 | ||
ebdba546 AC |
799 | * arch-utils.c (gdbarch_update_p): New function. |
800 | * gdbarch.sh (gdbarch_update_p): Delete function. | |
801 | (find_arch_by_info, gdbarch_find_by_info): New functions. | |
3f030793 | 802 | (deprecated_current_gdbarch_select_hack): New function. |
ebdba546 AC |
803 | * gdbarch.c: Re-generate. |
804 | ||
7de2341d AC |
805 | * gdbarch.sh (clear_gdbarch_swap): Delete function. |
806 | (swapout_gdbarch_swap): Delete function. | |
807 | (swapin_gdbarch_swap): Delete function. | |
808 | (init_gdbarch_swap): Delete function. | |
809 | (initialize_non_multiarch): Delete function. | |
810 | (current_gdbarch_swap_in_hack): New function. | |
811 | (current_gdbarch_swap_out_hack): New function. | |
812 | (current_gdbarch_swap_init_hack): New function. | |
813 | * gdbarch.c: Re-generate. | |
814 | ||
db446970 AC |
815 | * gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch" |
816 | parameter to "current_gdbarch". Add comment explaining why. | |
817 | (TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format. | |
818 | (TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto. | |
819 | * gdbarch.c: Re-generate. | |
820 | ||
341e3d11 AC |
821 | * config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros. |
822 | * config/s390/nm-linux.h (KERNEL_U_ADDR): Define. | |
823 | * config/s390/xm-linux.h: Delete file. | |
824 | * config/m88k/xm-delta88v4.h: Delete stray. | |
825 | ||
bf922ad9 AC |
826 | * Makefile.in (arch-utils.o): Update dependencies. |
827 | * arch-utils.c: Include "osabi.h". | |
828 | (gdbarch_info_fill): New function. | |
829 | * arch-utils.h (gdbarch_info_fill): Declare. | |
830 | * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill". | |
831 | * gdbarch.c: Re-generate. | |
832 | ||
a3640c75 MK |
833 | 2003-11-09 Mark Kettenis <kettenis@gnu.org> |
834 | David S. Miller <davem@redhat.com> | |
835 | ||
836 | * glibc-tdep.c, glibc-tdep.h: New files. | |
837 | * config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o | |
838 | * config/i386/linux.mt (TDEPFILES): Likewise. | |
839 | * i386-linux-tdep.c (glibc-tdep.h): Include. | |
840 | (find_minsym_and_objfile, skip_hurd_resolver): Delete. | |
841 | (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. | |
842 | * arm-linux-tdep.c (glibc-tdep.h): Include. | |
843 | (find_minsym_and_objfile, skip_hurd_resolver): Delete. | |
844 | (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. | |
845 | * Makefile.in (ALLDEPFILES): Add glibc-tdep.c | |
846 | (glibc_tdep_h): Define. | |
847 | (glibc-tdep.o): Add dependencies. | |
848 | (arm-linux-tdep.o): Update dependencies. | |
849 | (i386-linux-tdep.o): Likewise. | |
850 | ||
e60e0ab2 AC |
851 | 2003-11-09 Andrew Cagney <cagney@redhat.com> |
852 | ||
853 | * config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h". | |
854 | * config/mips/nm-irix6.h: Delete file. | |
855 | * config/mips/nm-linux.h: Update copyright. | |
856 | (MIPS_GNULINUX_TARGET): Delete macro. | |
857 | * config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h". | |
858 | * config/mips/xm-irix6.h: Delete file. | |
859 | * config/mips/linux.mh (XM_FILE): Delete definition. | |
860 | * config/mips/xm-linux.h: Delete file. | |
861 | ||
181555e9 AC |
862 | 2003-11-09 Andrew Cagney <cagney@redhat.com> |
863 | ||
864 | * d10v-tdep.c (d10v_return_value): New function. | |
865 | (d10v_use_struct_convention): Delete function. | |
866 | (d10v_store_return_value): Delete function. | |
867 | (d10v_extract_struct_value_address): Delete function. | |
868 | (d10v_gdbarch_init): Set "return_value" instead of | |
869 | "extract_return_value", "store_return_value", | |
870 | "extract_struct_value_address", and "use_struct_convention". | |
871 | (RET1_REGNUM): Delete const. | |
872 | ||
dea0c52f MK |
873 | 2003-11-09 Mark Kettenis <kettenis@gnu.org> |
874 | ||
875 | From David S. Miller <davem@redhat.com>: | |
876 | * gdbarch.sh (SKIP_SOLIB_RESOLVER): New method. | |
877 | * gdbarch.c, gdbarch.h: Regenerated. | |
878 | * arch-utils.c (generic_skip_solib_resolver): New function. | |
879 | * arch-utils.h (generic_skip_solib_resolver): New prototype. | |
880 | * infrun.c (SKIP_SOLIB_RESOLVER): Don't define. | |
881 | ||
6314a349 AC |
882 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
883 | ||
884 | * top.c (print_gdb_version): Replace STREQ with strcmp. | |
885 | * valops.c (value_struct_elt_for_reference): Ditto. | |
886 | (value_struct_elt_for_reference): Ditto. | |
887 | * symtab.c (gdb_mangle_name): Ditto. | |
888 | (find_line_symtab): Ditto. | |
889 | * symmisc.c (maintenance_print_symbols): Ditto. | |
890 | * symfile.c (symbol_file_command): Ditto. | |
891 | * stabsread.c (define_symbol, read_type): Ditto. | |
892 | (cleanup_undefined_types, scan_file_globals): Ditto. | |
893 | * solib.c (solib_map_sections): Ditto. | |
894 | * solib-svr4.c (bfd_lookup_symbol): Ditto. | |
895 | * rs6000-tdep.c (skip_prologue): Ditto. | |
896 | * p-valprint.c (pascal_value_print): Ditto. | |
897 | (pascal_object_is_vtbl_ptr_type): Ditto. | |
898 | * objfiles.c (in_plt_section): Ditto. | |
899 | * minsyms.c (lookup_minimal_symbol): Ditto. | |
900 | (compact_minimal_symbols): Ditto. | |
901 | (find_solib_trampoline_target): Ditto. | |
902 | * mdebugread.c (parse_type): Ditto. | |
903 | * language.c (set_language_command): Ditto. | |
904 | (set_type_command, set_range_command): Ditto. | |
905 | * f-lang.c (add_common_block): Ditto. | |
906 | (add_common_block): Ditto. | |
907 | (find_first_common_named): Ditto. | |
908 | (patch_all_commons_by_name): Ditto. | |
909 | * elfread.c (elf_locate_sections): Ditto. | |
910 | (elf_locate_sections): Ditto. | |
911 | (elfstab_offset_sections): Ditto. | |
912 | * dwarf2read.c (dwarf2_locate_sections): Ditto. | |
913 | * dbxread.c (add_old_header_file): Ditto. | |
914 | (find_corresponding_bincl_psymtab): Ditto. | |
915 | (read_dbx_symtab, process_one_symbol): Ditto. | |
916 | * coffread.c (patch_opaque_types): Ditto. | |
917 | * cli/cli-decode.c (delete_cmd): Ditto. | |
918 | * cli/cli-cmds.c (pwd_command, list_command): Ditto. | |
919 | * c-typeprint.c (c_type_print_base): Ditto. | |
920 | * breakpoint.c (bpstat_stop_status): Ditto. | |
921 | (clear_command, breakpoint_re_set_one): Ditto. | |
922 | ||
49df298f AC |
923 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
924 | ||
925 | * bcache.h: Update copyright. Add comments on bcache VS hashtab. | |
926 | * bcache.c (struct bstring): Make "length" an unsigned short, add | |
927 | "half_hash". | |
928 | (struct bcache): Add "half_hash_error_count". | |
929 | (bcache): Compute and save the "half_hash". Compare the | |
930 | "half_hash" before comparing the length. Update | |
931 | half_hash_error_count. | |
932 | ||
f168dd80 AC |
933 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
934 | ||
935 | * inftarg.c (child_xfer_partial): New function | |
936 | (init_child_ops): Set "to_xfer_partial". | |
937 | ||
05580c65 AC |
938 | 2003-11-07 Andrew Cagney <cagney@redhat.com> |
939 | ||
940 | * ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux, | |
941 | set "return_value" instead of "use_struct_convention". | |
942 | (ppc_linux_use_struct_convention): Delete function. | |
943 | (ppc_linux_return_value): New function. | |
944 | * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function. | |
945 | (ppc_sysv_abi_broken_return_value): New function. | |
946 | (do_ppc_sysv_return_value): Add "gdbarch" parameter. | |
947 | (ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop | |
948 | static. | |
949 | (ppc_sysv_abi_extract_return_value): Delete function. | |
950 | (ppc_sysv_abi_broken_extract_return_value): Delete function. | |
951 | (ppc_sysv_abi_store_return_value): Delete function. | |
952 | (ppc_sysv_abi_broken_store_return_value): Delete function. | |
953 | (ppc_sysv_abi_use_struct_convention): Delete function. | |
954 | (ppc64_sysv_abi_use_struct_convention): Delete function. | |
955 | (ppc64_sysv_abi_extract_return_value): Delete function. | |
956 | (ppc64_sysv_abi_store_return_value): Delete function. | |
957 | * ppcnbsd-tdep.c (ppcnbsd_return_value): New function. | |
958 | (ppcnbsd_init_abi): Set "return_value", instead of | |
959 | "use_struct_convention", "extract_return_value", and | |
960 | "store_return_value". | |
961 | (ppcnbsd_use_struct_convention): Delete function. | |
962 | * ppc-tdep.h (ppc64_sysv_abi_return_value): Declare. | |
963 | (ppc_sysv_abi_return_value): Declare. | |
964 | (ppc_sysv_abi_broken_return_value): Declare. | |
965 | (ppc_sysv_abi_use_struct_convention): Delete. | |
966 | (ppc_sysv_abi_store_return_value): Delete. | |
967 | (ppc_sysv_abi_extract_return_value): Delete. | |
968 | (ppc_sysv_abi_broken_store_return_value): Delete. | |
969 | (ppc_sysv_abi_broken_extract_return_value): Delete. | |
970 | (ppc64_sysv_abi_use_struct_convention): Delete. | |
971 | (ppc64_sysv_abi_extract_return_value): Delete. | |
972 | (ppc64_sysv_abi_store_return_value): Delete. | |
973 | * rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV, | |
974 | set "return_value" instead of "extract_return_value", | |
975 | "store_return_value", and "use_struct_convention". | |
976 | ||
1763fba4 MK |
977 | 2003-11-07 Mark Kettenis <kettenis@gnu.org> |
978 | ||
22c7ba1a MK |
979 | * dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment. |
980 | ||
1763fba4 MK |
981 | * fbsd-proc.c (read_mapping): Use sscanf and fgets instead of |
982 | fscanf. | |
983 | ||
fc07cc2d MK |
984 | 2003-11-07 Mark Kettenis <kettenis@gnu.org> |
985 | ||
986 | * fbsd-proc.c: Fix formatting. | |
987 | ||
6a748db6 KB |
988 | 2003-11-06 Kevin Buettner <kevinb@redhat.com> |
989 | ||
990 | * frv-tdep.c (first_pseudo_regnum, iacc0_regnum, frv_num_pseudo_regs): | |
991 | Define. | |
992 | (new_variant): Set name for iacc0_regnum. | |
993 | (frv_register_name): Accommodate pseudo-registers. | |
994 | (frv_register_type): Add case for iacc0_regnum. | |
995 | (frv_pseudo_register_read, frv_pseudo_register_write): New functions. | |
996 | (frv_gdbarch_init): Set number of pseudo registers. Establish | |
997 | pseudo-register read/write methods. | |
998 | ||
bf896cb0 AC |
999 | 2003-11-06 Andrew Cagney <cagney@redhat.com> |
1000 | ||
1001 | * valops.c (destructor_name_p): Replace STREQN with strncmp. | |
1002 | * top.c (command_line_input): Ditto. | |
1003 | * objc-exp.y (yylex): Ditto. | |
1004 | * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. | |
1005 | * jv-exp.y (yylex): Ditto. | |
1006 | * f-exp.y (yylex): Ditto. | |
1007 | * event-top.c (command_line_handler): Ditto. | |
1008 | * environ.c (get_in_environ): Ditto. | |
1009 | (set_in_environ): Ditto. | |
1010 | * dwarfread.c (handle_producer): Ditto. | |
1011 | * dbxread.c (process_one_symbol): Ditto. | |
1012 | * c-typeprint.c (c_type_print_base): Ditto. | |
1013 | * c-exp.y (yylex): Ditto. | |
1014 | ||
0b603eba AC |
1015 | 2003-11-06 Andrew Cagney <cagney@redhat.com> |
1016 | Jeff Johnston <jjohnstn@redhat.com> | |
1017 | ||
1018 | * target.c (add_target): Only set "to_xfer_partial" when NULL. | |
1019 | (init_dummy_target): Set "to_xfer_partial". | |
1020 | ||
9cedbfec AC |
1021 | 2003-11-06 Andrew Cagney <cagney@redhat.com> |
1022 | ||
1023 | * stack.c (return_command): Warn when STRUCT_CONVENTION, and not | |
1024 | REGISTER_CONVENTION. | |
1025 | ||
26bb91f3 DJ |
1026 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1027 | ||
1028 | * breakpoint.c (insert_bp_location, allocate_bp_location): Make | |
1029 | static. | |
1030 | ||
0bde7532 DJ |
1031 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1032 | ||
1033 | * breakpoint.c (remove_breakpoint): Take an bp_location | |
1034 | instead of a breakpoint argument. Check the bp_location's type. | |
1035 | Fix a reversed condition for hardware breakpoints. | |
1036 | ||
1037 | (insert_bp_location): Update call to remove_breakpoint. | |
1038 | (remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS. | |
1039 | (remove_hw_watchpoints): Likewise. | |
1040 | (reattach_breakpoints): Likewise. | |
1041 | (detach_breakpoints): Likewise. | |
1042 | (delete_breakpoint): Likewise. | |
1043 | ||
075f6582 DJ |
1044 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1045 | ||
1046 | * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS. | |
1047 | (beakpoint_init_inferior): Likewise. | |
1048 | (breakpoint_here_p): Likewise. Only check addresses for software | |
1049 | or hardware breakpoints. | |
1050 | (breakpoint_inserted_here_p): Likewise. | |
1051 | (breakpoint_thread_match): Likewise. Correct comment. | |
1052 | (bpstat_have_active_hw_watchpoints): Likewise. | |
1053 | (check_duplicates): Likewise. | |
1054 | ||
879bfdc2 DJ |
1055 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1056 | ||
1057 | * breakpoints.c (insert_bp_location): New function, broken out | |
1058 | from insert_breakpoints. Work on an bp_location instead of a | |
1059 | breakpoint. | |
1060 | (insert_breakpoints): Use it. | |
1061 | ||
cf3a9e5b DJ |
1062 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1063 | ||
1064 | * breakpoint.h (struct bp_location): Add section. | |
1065 | (struct breakpoint): Remove section. | |
1066 | * breakpoint.c (insert_breakpoints, remove_breakpoint) | |
1067 | (breakpoint_here_p, breakpoint_inserted_here_p) | |
1068 | (breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint) | |
1069 | (describe_other_breakpoints, check_duplicates, set_raw_breakpoint) | |
1070 | (clear_command, delete_breakpoint, breakpoint_re_set_one): Access | |
1071 | section through loc. | |
1072 | ||
ffce0d52 DJ |
1073 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1074 | ||
1075 | * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS | |
1076 | instead of ALL_BREAKPOINTS. Check for software breakpoints only. | |
1077 | ||
e049a4b5 DJ |
1078 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1079 | ||
1080 | * breakpoint.c (allocate_bp_location): Take bpt and bp_type | |
1081 | arguments. Initialize owner and type for the new breakpoint | |
1082 | location item. | |
1083 | (set_raw_breakpoint): Update call to allocate_bp_location. | |
1084 | ||
7cc221ef DJ |
1085 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1086 | ||
1087 | * breakpoint.h (struct bp_location): Add a chain pointer. | |
1088 | * breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New | |
1089 | macros. | |
1090 | (bp_location_chain): New variable. | |
1091 | (allocate_bp_location): New function. | |
1092 | (set_raw_breakpoint): Use it. | |
1093 | (delete_breakpoint): Remove ->loc from the bp_location_chain. | |
1094 | ||
5cab636d DJ |
1095 | 2003-11-06 Daniel Jacobowitz <drow@mvista.com> |
1096 | ||
1097 | * breakpoint.h (enum bp_loc_type, struct bp_location): New. | |
1098 | (struct breakpoint): Remove address, shadow_contents, inserted, | |
adeee247 | 1099 | requested_address, and duplicate. Add a struct bp_location. |
5cab636d DJ |
1100 | * breakpoint.c (condition_command, read_memory_nobpt) |
1101 | (insert_breakpoints, remove_breakpoints, remove_hw_watchpoints) | |
1102 | (reattach_breakpoints, update_breakpoints_after_exec) | |
1103 | (detach_breakpoints, remove_breakpoint, mark_breakpoints_out) | |
1104 | (breakpoint_init_inferior, breakpoint_here_p) | |
1105 | (breakpoint_inserted_here_p, deprecated_frame_in_dummy) | |
1106 | (breakpoint_thread_match, bpstat_stop_status) | |
1107 | (bpstat_have_active_hw_watchpoints, print_one_breakpoint) | |
1108 | (describe_other_breakpoints, check_duplicates) | |
1109 | (make_breakpoint_permanent, create_thread_event_breakpoint) | |
1110 | (disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs) | |
1111 | (set_longjmp_resume_breakpoint, mention, create_breakpoints) | |
1112 | (watch_command_1, print_one_exception_catchpoint) | |
1113 | (clear_command, breakpoint_re_set_one): Adjust member accesses to | |
1114 | use the breakpoint's ->loc. | |
1115 | (set_raw_breakpoint): Likewise. Initialize ->loc. | |
1116 | (delete_breakpoint): Likewise. Free ->loc. | |
1117 | ||
7be0c536 AC |
1118 | 2003-11-05 Andrew Cagney <cagney@redhat.com> |
1119 | ||
4c7d882e AC |
1120 | * config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete |
1121 | macro. | |
1122 | * config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro. | |
1123 | * config/i386/tm-cygwin.h | |
1124 | (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro. | |
1125 | * config/powerpc/tm-linux.h | |
1126 | (AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro. | |
1127 | (at_subroutine_call_instruction_target): Delete declaration. | |
1128 | * config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro. | |
1129 | * config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro. | |
1130 | * config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro. | |
1131 | ||
7be0c536 AC |
1132 | * xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with |
1133 | "struct bfd_section" and "struct bfd". | |
1134 | * target.h (struct section_table): Ditto. | |
1135 | * rs6000-nat.c (xcoff_relocate_core): Ditto. | |
1136 | * solib-svr4.c (elf_locate_base): Ditto. | |
1137 | * pa64solib.c (dld_cache_t): Ditto. | |
1138 | * objfiles.h (struct obj_section): Ditto. | |
1139 | * objfiles.c (add_to_objfile_sections): Ditto. | |
1140 | * exec.c (bfdsec_to_vmap): Ditto. | |
1141 | (add_to_section_table): Ditto. | |
1142 | (build_section_table): Ditto. | |
1143 | * corelow.c (get_core_register_section): Ditto. | |
1144 | * coffread.c (find_linenos): Ditto. | |
1145 | * elfread.c (elf_interpreter): Delete #if0'd function. | |
1146 | ||
1147 | * mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS. | |
1148 | * config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro. | |
1149 | * config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro. | |
1150 | * config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro. | |
1151 | ||
1152 | * arch-utils.h (generic_cannot_extract_struct_value_address): | |
1153 | Delete declaration. | |
1154 | * wince.c (_initialize_wince): Fix multi-line string. | |
1155 | * ia64-tdep.c (floatformat_valid): Convert to ISO C. | |
1156 | ||
d8fe84e3 EZ |
1157 | 2003-11-05 Elena Zannoni <ezannoni@redhat.com> |
1158 | ||
1159 | * top.c (execute_command): Fix broken logic for command execution | |
1160 | while inferior is running in async mode. | |
1161 | ||
cbdfc7c0 MK |
1162 | 2003-11-06 Mark Kettenis <kettenis@gnu.org> |
1163 | ||
1164 | * dwarf2-frame.c (execute_cfa_program): Mark register as | |
1165 | REG_SAVED_REG for DW_CFA_register opcode. | |
1166 | ||
dac94105 MK |
1167 | 2003-11-05 Mark Kettenis <kettenis@gnu.org> |
1168 | ||
1169 | * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of | |
1170 | %rsp, %rip and %eflags to match ABI-change. | |
1171 | ||
85bf2b91 JJ |
1172 | 2003-11-05 Jeff Johnston <jjohnstn@redhat.com> |
1173 | ||
1174 | * ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field. | |
1175 | (ia64_gdbarch_init): Don't bother calculating the os. | |
1176 | Instead use the gdbarch_info struct and look at the osabi field. | |
1177 | Also use gdbarch_list_lookup_by_info() to look for a | |
1178 | candidate gdbarch. | |
1179 | ||
cd31fb03 KB |
1180 | 2003-11-05 Kevin Buettner <kevinb@redhat.com> |
1181 | ||
1182 | * frv-tdep.c (frv_register_byte): Delete. | |
1183 | (frv_extract_return_value, frv_store_return_value) | |
1184 | (frv_extract_struct_value_address): Don't call frv_register_byte(). | |
1185 | Convert to non-deprecated form. | |
1186 | (frv_gdbarch_init): Don't call set_gdbarch_deprecated_register_byte(). | |
1187 | Convert calls to set_gdbarch_deprecated_extract_return_value(), | |
1188 | set_gdbarch_deprecated_store_return_value(), and | |
1189 | set_gdbarch_deprecated_extract_struct_value_address() into | |
1190 | non-deprecated forms. | |
1191 | ||
0a056982 AC |
1192 | 2003-11-05 Andrew Cagney <cagney@redhat.com> |
1193 | ||
1194 | * mips-tdep.c (mips_dump_tdep): Do not print | |
1195 | PRINT_EXTRA_FRAME_INFO. | |
1196 | * config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO): | |
1197 | Rename PRINT_EXTRA_FRAME_INFO. | |
1198 | * mips-tdep.c (mips_print_extra_frame_info): Delete function. | |
1199 | * config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro. | |
1200 | (mips_print_extra_frame_info): Delete declaration. | |
1201 | * stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO. | |
1202 | ||
29e0a062 EZ |
1203 | 2003-11-05 Elena Zannoni <ezannoni@redhat.com> |
1204 | ||
1205 | * coffread.c (coff_symtab_read): Remove passing of info parameter | |
1206 | to prim_record_minimal_symbol_and_info. | |
1207 | ||
8af580fc EZ |
1208 | 2003-11-05 Elena Zannoni <ezannoni@redhat.com> |
1209 | ||
1210 | * coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use. | |
1211 | (decode_base_type): Delete ifdeffed out code. | |
1212 | ||
507836c0 AC |
1213 | 2003-11-04 Andrew Cagney <cagney@redhat.com> |
1214 | ||
1215 | * symtab.c (find_active_alias): Delete function. | |
1216 | (lookup_block_symbol): Delete alias code. | |
1217 | * stabsread.c (resolve_live_range): Delete function. | |
1218 | (add_live_range): Delete function. | |
1219 | (resolve_symbol_reference): Delete function. | |
1220 | (define_symbol): Delete live range and alias code. | |
1221 | (scan_file_globals): Delete alias code. | |
1222 | * symtab.h (SYMBOL_RANGES): Delete macro. | |
1223 | (struct range_list): Delete structure. | |
1224 | (struct symbol): Delete field "ranges". | |
1225 | (SYMBOL_ALIASES): Delete macro. | |
1226 | (struct alias_list): Delete structure. | |
1227 | (struct symbol): Delete field "aliases". | |
1228 | ||
1083b3bc MS |
1229 | 2003-11-04 Michael Snyder <msnyder@redhat.com> |
1230 | ||
1231 | * MAINTAINERS: Remove myself as owner of breakpoints and | |
1232 | of sparc/solaris. | |
1233 | ||
474e5826 CV |
1234 | 2003-11-03 Corinna Vinschen <vinschen@redhat.com> |
1235 | ||
1236 | * sh-tdep.c (sh_sh4_nofpu_register_name): New function. | |
1237 | (sh_sh4al_dsp_register_name): Ditto. | |
1238 | (sh4_nofpu_show_regs): Ditto. | |
1239 | (sh_gdbarch_init): Add cases for bfd_mach_sh4al_dsp, bfd_mach_sh4a, | |
1240 | bfd_mach_sh4_nofpu and bfd_mach_sh4a_nofpu. | |
1241 | ||
2160782c AC |
1242 | 2003-11-03 Andrew Cagney <cagney@redhat.com> |
1243 | ||
1244 | * bcache.c: Include "gdb_assert.h". | |
1245 | (struct bcache): Add fields "expand_count" and | |
1246 | "expand_hash_count". | |
1247 | (expand_hash_table): Update the expand counts. | |
1248 | (print_bcache_statistics): Use XCALLOC, not alloca. Print stats | |
1249 | on object sizes and hashes. | |
1250 | * Makefile.in (bcache.o): Update dependencies. | |
1251 | ||
85302095 AC |
1252 | 2003-11-03 Andrew Cagney <cagney@redhat.com> |
1253 | ||
1254 | * exec.c (xfer_memory): Eliminate xfer_fn. | |
1255 | ||
526eef89 KB |
1256 | 2003-10-31 Kevin Buettner <kevinb@redhat.com> |
1257 | ||
1258 | * frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h) | |
1259 | (opcodes/frv-desc.h): Include. | |
1260 | (iacc0h_regnum, iacc0l_regnum): Define. | |
1261 | (last_spr_regnum, frv_num_regs): Update. | |
1262 | (new_variant): Don't supply default names for holes in the SPRs. | |
1263 | Supply names for iacc0h_regnum and iacc0l_regnum. | |
1264 | (frv_register_type): Use symbolic constants first_fpr_regnum and | |
1265 | last_fpr_regnum instead of hardcoded constants 64 and 127. Use | |
1266 | builtin_type_int instead of builtin_type_int32. | |
1267 | (frv_register_sim_regno): New function. | |
1268 | (frv_gdbarch_init): Call set_gdbarch_register_sim_regno(). | |
1269 | * Makefile.in (gdb_sim_frv_h): Define. | |
1270 | (frv-tdep.o): Update dependencies. | |
1271 | ||
9e815ec2 AC |
1272 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1273 | ||
1274 | * avr-tdep.c (avr_frame_this_id): Do not call | |
1275 | deprecated_inside_entry_file. | |
1276 | * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. | |
1277 | * m32r-tdep.c (m32r_frame_this_id): Ditto. | |
1278 | * d10v-tdep.c (d10v_frame_this_id): Ditto. | |
1279 | * arm-tdep.c (arm_prologue_this_id): Ditto. | |
1280 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto. | |
1281 | ||
e372db49 JB |
1282 | 2003-10-31 Jim Blandy <jimb@redhat.com> |
1283 | ||
1284 | * elfread.c (elf_symtab_read): Allocate correct number of tail | |
1285 | elements to sectinfo structure. (Fix from Woody LaRue.) | |
1286 | ||
e8bcf01f AC |
1287 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1288 | ||
1289 | * stack.c (return_command): Use get_frame_type, instead of | |
1290 | CALL_DUMMY_HAS_COMPLETED. | |
1291 | * inferior.h (CALL_DUMMY_HAS_COMPLETED): Delete definition. | |
1292 | * config/pa/tm-hppa.h (CALL_DUMMY_HAS_COMPLETED): Delete macro. | |
1293 | ||
4c05fe53 MK |
1294 | 2003-10-31 Mark Kettenis <kettenis@gnu.org> |
1295 | ||
1296 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): Don't | |
1297 | explicitly specify size of array. | |
1298 | (x86_64_linux_init_abi): Use ARRAY_SIZE to initialize | |
1299 | TDEP->sc_num_regs. | |
1300 | ||
c8b91b89 AC |
1301 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1302 | ||
1303 | * s390-tdep.c (s390_cannot_extract_struct_value_address): New | |
1304 | function. | |
1305 | (s390_gdbarch_init): Set extract_struct_value_address. | |
1306 | * arch-utils.c (generic_cannot_extract_struct_value_address): | |
1307 | Delete function. | |
1308 | * arch-utils.h (generic_cannot_extract_struct_value_address): | |
1309 | Delete definition. | |
1310 | ||
fdfb6fc8 MK |
1311 | 2003-10-31 Mark Kettenis <kettenis@gnu.org> |
1312 | ||
1313 | * i386-linux-nat.c (fetch_core_registers): Remove. | |
1314 | (linux_elf_core_fns): Remove. | |
1315 | (_initialize_i386_linux_nat): Remove. | |
1316 | ||
2f4950cd AC |
1317 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1318 | ||
1319 | * solib-svr4.c: Update copyright. Include "bfd-target.h" and | |
1320 | "exec.h". | |
1321 | (exec_entry_point): New function. | |
1322 | (enable_break): Create a "tmp_bfd_target", use that and | |
1323 | entry_point_address when computing the relocation offset. | |
1324 | (svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops. | |
1325 | * Makefile.in (solib-svr4.o): Update dependencies. | |
1326 | ||
bba2d28d AC |
1327 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1328 | ||
1329 | * defs.h (XZALLOC): Define. | |
1330 | * target.h (struct target_ops): Add "to_data"; | |
1331 | * bfd-target.h, bfd-target.c: New files. | |
1332 | * Makefile.in (SFILES): Add "bfd-target.c". | |
1333 | (COMMON_OBS): Add "bfd-target.o". | |
1334 | (bfd-target.o): Specify dependencies. | |
1335 | (bfd_target_h): Define. | |
1336 | * defs.h (XZALLOC): Define. | |
1337 | ||
6066c3de AC |
1338 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1339 | ||
1340 | * rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set | |
1341 | adjust_breakpoint_address. | |
1342 | * Makefile.in (ppc-sysv-tdep.o): Add $(target_h). | |
1343 | * ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare. | |
1344 | * ppc-sysv-tdep.c: Include "target.h". Update copyright. | |
1345 | (ppc64_sysv_abi_adjust_breakpoint_address): New function. | |
1346 | ||
4b8a223f AC |
1347 | 2003-10-31 Andrew Cagney <cagney@redhat.com> |
1348 | ||
1349 | * target.h (struct target_ops): Replace "to_read_partial" and | |
1350 | "to_write_partial" with "to_xfer_partial". Update comments. | |
1351 | * target.c (debug_to_write_partial): Delete function. | |
1352 | (debug_to_xfer_partial): Replace debug_to_read_partial. | |
1353 | (add_target, update_current_target, setup_target_debug): Set | |
1354 | "to_xfer_partial" instead of "to_read_partial" and | |
1355 | "to_write_partial". | |
1356 | (default_xfer_partial): Replace "default_write_partial". | |
1357 | (default_read_partial): Delete. | |
1358 | (target_read_partial, target_write_partial): Call | |
1359 | "to_xfer_partial". | |
1360 | * remote.c (init_remote_ops): Set "to_xfer_partial". | |
1361 | (init_remote_async_ops): Ditto. | |
1362 | (remote_xfer_partial): Replace "remote_read_partial". | |
1363 | ||
66a72d25 MK |
1364 | 2003-10-31 Mark Kettenis <kettenis@gnu.org> |
1365 | ||
1366 | * i386-tdep.c (i386_supply_fpregset): Support floating-point | |
1367 | registers in `fxsave' format. | |
1368 | (i386_regset_from_core_section): Deal with ".reg-xfp" sections. | |
1369 | ||
9a12a2a0 MK |
1370 | 2003-10-30 Mark Kettenis <kettenis@gnu.org> |
1371 | ||
e9f1aad5 MK |
1372 | * i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable. |
1373 | (i386_linux_init_abi): Initialize TDEP->gregset_reg_offset, | |
1374 | TDEP->gregset_num_regs and tdep->sizeof_gregset. | |
1375 | ||
bb489b3c MK |
1376 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitly |
1377 | specify size of array. | |
1378 | (i386_linux_init_abi): Remove initialization of | |
1379 | TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of | |
1380 | registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs. | |
1381 | ||
da285bc4 MK |
1382 | * config/i386/fbsd64.mt (TDEPFILES): Add corelow.o. |
1383 | * config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and | |
1384 | core-regset.o. | |
1385 | ||
9a12a2a0 MK |
1386 | * fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in |
1387 | the ELF header. | |
1388 | ||
0e24ac5d MK |
1389 | 2003-10-29 Mark Kettenis <kettenis@gnu.org> |
1390 | ||
6d6d8e9c MK |
1391 | * config/i386/fbsd.mt (TDEPFILES): Add corelow.o. |
1392 | * config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and | |
1393 | core-regset.o. | |
1394 | ||
25e60c9b MK |
1395 | * fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts. |
1396 | ||
0e24ac5d MK |
1397 | * corelow.c: Include "arch-utils.h", "regset.h" and |
1398 | "gdb_assert.h". | |
1399 | (core_gdbarch): New variable. | |
1400 | (sniff_core_bfd): Don't sniff if we have support for register sets | |
1401 | in CORE_GDBARCH. | |
1402 | (core_close): Reset CORE_GDBARCH. | |
1403 | (core_open): Initialize CORE_GDBARCH. | |
1404 | (get_core_register_section): Use register sets if they are | |
1405 | supported by CORE_GDBARCH. | |
1406 | (get_core_registers): Don't print error message if we have support | |
1407 | for register sets in CORE_GDBARCH. | |
1408 | ||
0a0a4ac3 AC |
1409 | 2003-10-29 Andrew Cagney <cagney@redhat.com> |
1410 | ||
1411 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the | |
1412 | default PPC machine, register 32-bit and 64-bit PPC, and rs6k. | |
1413 | ||
7b097ae3 MK |
1414 | 2003-10-29 Mark Kettenis <kettenis@gnu.org> |
1415 | ||
1416 | * objfiles.h (clear_objfile_data): New prototype. | |
1417 | * objfiles.c (clear_objfile_data): New function. | |
1418 | * symfile.c (reread_symbols): Clear per-objfile data. | |
1419 | ||
46f45a4a JJ |
1420 | 2003-10-28 Jeff Johnston <jjohnstn@redhat.com> |
1421 | ||
1422 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use | |
1423 | printf_unfiltered instead of printf_filtered for output messages. | |
1424 | (add_symbol_file_command): Ditto. | |
1425 | (reread_symbols): Ditto. | |
1426 | (overlay_auto_command): Ditto. | |
1427 | (overlay_manual_command): Ditto. | |
1428 | (overlay_off_command): Ditto. | |
1429 | ||
2b026650 MK |
1430 | 2003-10-27 Mark Kettenis <kettenis@gnu.org> |
1431 | ||
1432 | * arch-utils.c (deprecated_select_gdbarch_hack): New function. | |
1433 | (gdbarch_from_bfd): New function. | |
1434 | (set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and | |
1435 | deprecated_select_gdbarch_hack. | |
1436 | * arch-utils.h (gdbarch_from_bfd): New prototype. | |
1437 | ||
0bcad584 | 1438 | 2003-10-27 Andrew Cagney <cagney@redhat.com> |
931758af AC |
1439 | |
1440 | * osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of | |
1441 | arch_info. Use warning instead of fprintf_filtered. Do not use | |
1442 | deprecated bfd_printable_arch_mach. | |
1443 | ||
7f398216 KB |
1444 | 2003-10-26 Kevin Buettner <kevinb@redhat.com> |
1445 | ||
1446 | * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size): | |
1447 | Delete. | |
1448 | (frv_register_type): Rename from frv_register_virtual_type. Add | |
1449 | ``struct gdbarch *'' parameter. | |
1450 | (frv_gdbarch_init): Delete calls to the following functions: | |
1451 | set_gdbarch_deprecated_size(), | |
1452 | set_gdbarch_deprecated_register_bytes(), | |
1453 | set_gdbarch_deprecated_register_raw_size(), | |
1454 | set_gdbarch_deprecated_max_register_raw_size(), | |
1455 | set_gdbarch_deprecated_register_virtual_size(), | |
1456 | set_gdbarch_deprecated_max_register_virtual_size(), | |
1457 | set_gdbarch_deprecated_register_virtual_size(), | |
1458 | set_gdbarch_deprecated_register_virtual_type(). | |
1459 | Add call to function set_gdbarch_register_type(). | |
1460 | ||
bcf48cc7 MK |
1461 | 2003-10-26 Mark Kettenis <kettenis@gnu.org> |
1462 | ||
6c7de422 MK |
1463 | * i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, |
1464 | FDOFF_REGNUM): Remove defines. | |
1465 | * win32-nat.c (do_child_fetch_inferior_registers): Include | |
1466 | "i387-tdep.h". | |
3e685d41 | 1467 | (do_child_fetch_inferior_registers): Use I387_FISEG_REGNUM and |
6c7de422 MK |
1468 | I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM. Define and |
1469 | undefine I387_ST0_REGNUM. | |
1470 | ||
f783586b MK |
1471 | * i386-tdep.h (FPU_REG_RAW_SIZE): Remove define. |
1472 | * x86-64-tdep.c (x86_64_store_return_value): Use | |
1473 | I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE. | |
1474 | ||
bcf48cc7 MK |
1475 | Change register numbers to enumartion values. |
1476 | * i386-tdep.h (enum i386_regnum): New. | |
1477 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
1478 | I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM, | |
1479 | I386_ST0_REGNUM): Remove defines. | |
1480 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
1481 | I386_EDI_REGNUM): Remove defines. | |
1482 | ||
b6591e8b AC |
1483 | 2003-10-24 Andrew Cagney <cagney@redhat.com> |
1484 | ||
1485 | * target.c: Include "gdbcore.h". | |
1486 | (get_target_memory, get_target_memory_unsigned): New functions. | |
1487 | * target.h (get_target_memory, get_target_memory_unsigned): Declare. | |
1488 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): | |
1489 | Use get_target_memory_unsigned. | |
1490 | * Makefile.in (target.o): Update dependencies. | |
1491 | ||
5f724446 AC |
1492 | 2003-10-24 Andrew Cagney <cagney@redhat.com> |
1493 | ||
ce2826aa AC |
1494 | * osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic]. |
1495 | * PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto. | |
1496 | * complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto. | |
1497 | * frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto. | |
1498 | * kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto. | |
1499 | ||
5f724446 AC |
1500 | * osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit. |
1501 | (can_run_code_for): Use the OO term "singleton". | |
1502 | ||
fc70c2a0 AC |
1503 | 2003-10-23 Andrew Cagney <cagney@redhat.com> |
1504 | ||
1505 | * Makefile.in (stack.o): Add $(regcache_h). | |
1506 | * stack.c: Include "regcache.h" | |
1507 | (return_command): Rewrite. Use get_frame_id and | |
1508 | get_selected_frame. Eliminate "deprecated_selected_frame". Warn | |
1509 | about unhandled return-values. | |
1510 | * value.h (set_return_value): Delete declaration. | |
1511 | * values.c (set_return_value): Delete function. | |
1512 | ||
4afcc598 JJ |
1513 | 2003-10-23 Jeff Johnston <jjohnstn@redhat.com> |
1514 | ||
1515 | * ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field. | |
1516 | (pseudo_regs): Add comment regarding register stack registers. | |
1517 | (ia64_alloc_frame_cache): Initialize new prev_cfm field to 0. | |
1518 | (floatformat_valid): New static routine. | |
1519 | (floatformat_ia64_ext): Add name field and set up is_valid routine | |
1520 | to floatformat_valid(). | |
1521 | (examine_prologue): For the previous cfm, use | |
1522 | frame_unwind_register() | |
1523 | if the cfm is not stored in a register-stack register. Save the | |
1524 | previous cfm value in the prev_cfm field. Add debug output. | |
1525 | (ia64_frame_this_id): Use frame_id_build_special() to also register | |
1526 | the bsp. Add debug output. | |
1527 | (ia64_sigtramp_frame_this_id): Ditto. | |
1528 | (ia64_frame_prev_register): Look at cache saved_regs for a few more | |
1529 | registers and also add some checks for framelessness before accepting | |
1530 | current register values for fields such as return address. For cfm, | |
1531 | use the cached prev_cfm field if available. Add comment to explain | |
1532 | PSR logic. Add debug output. | |
1533 | (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses | |
1534 | as part of initialization. | |
1535 | (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be | |
1536 | calculated. Cache the bsp and cfm values. | |
1537 | (ia64_sigtramp_frame_prev_register): Add logic to this routine out | |
1538 | instead of using ia64_frame_prev_register() which doesn't expect most | |
1539 | registers to be saved. The saved values for bsp and sp | |
1540 | can be taken from the cache. Add debug output. | |
1541 | (ia64_push_dummy_call): Use frame_id_build_special() to also register | |
1542 | the bsp. | |
1543 | ||
6cfae0bc JB |
1544 | 2003-10-23 Jim Blandy <jimb@redhat.com> |
1545 | ||
1546 | * osabi.c (gdbarch_init_osabi): A handler is okay if it's for an | |
1547 | architecture the current arch can run code for --- but not if it's | |
1548 | a superset. | |
1549 | (can_run_code_for): New function. | |
1550 | ||
fcd182f9 JW |
1551 | 2003-10-22 James E Wilson <wilson@specifixinc.com> |
1552 | ||
1553 | * MAINTAINERS: Move myself from paper trail section back to write | |
1554 | after approval section. | |
1555 | ||
4646aa9d AC |
1556 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1557 | ||
1558 | * exec.h: New file. | |
1559 | * win32-nat.c: Include "exec.h". | |
1560 | * solib.c: Include "exec.h". | |
1561 | * target.h (build_section_table): Delete declaration. | |
1562 | * somsolib.c: Include "exec.h". | |
1563 | (exec_ops): Delete extern declaration. | |
1564 | * rs6000-nat.c: Update copyright. Include "exec.h". | |
1565 | (exec_ops): Delete extern declaration. | |
1566 | * pa64solib.c: Update copyright. Include "exec.h". | |
1567 | (exec_ops): Delete extern declaration. | |
1568 | * exec.c: Update copyright. Include "exec.h". | |
1569 | * corelow.c: Update dependencies. Include "exec.h". | |
1570 | * Makefile.in (exec_h): Define. | |
1571 | (exec.o, somsolib.o): Update dependencies. | |
1572 | (pa64solib.o, corelow.o): Update dependencies. | |
1573 | ||
0088c768 AC |
1574 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1575 | ||
1576 | * target.c: Include "gdb_assert.h" (target_read): Call | |
1577 | "target_read_partial", not "target_write_partial". | |
1578 | (default_read_partial, default_write_partial): New function. | |
1579 | (target_read_partial, target_write_partial): Simplify, assume that | |
1580 | there is always a read/write method. | |
1581 | (update_current_target, add_target): Always set "to_read_partial" | |
1582 | and "to_write_partial". | |
1583 | (target_write, target_read): Fail on a zero byte transfer. | |
1584 | * Makefile.in (target.o): Update dependencies. | |
1585 | * target.h: Update copyright date. | |
1586 | (target_object): Fix typo. | |
1587 | ||
e2d0e7eb AC |
1588 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1589 | ||
1590 | * gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure | |
1591 | multi-arch method, add "targ" parameter. | |
1592 | (struct target_ops): Declare. | |
1593 | * gdbarch.h, gdbarch.c: Re-generate. | |
1594 | * Makefile.in (c-valprint.o): Update dependencies. | |
1595 | * arch-utils.h: Update copyright. | |
1596 | (convert_from_func_ptr_addr_identity): Declare. | |
1597 | * arch-utils.c (convert_from_func_ptr_addr_identity): New function. | |
1598 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
1599 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate. | |
1600 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update. | |
1601 | * infcall.c (find_function_addr, call_function_by_hand): Update. | |
1602 | * c-valprint.c: Include "target.h". | |
1603 | (print_function_pointer_address): Update. | |
1604 | ||
f1c07ab0 AC |
1605 | 2003-10-22 Andrew Cagney <cagney@redhat.com> |
1606 | ||
1607 | * target.c (target_close): New function. | |
1608 | (debug_to_close): Use "target_close". | |
1609 | (push_target): Use "target_close". | |
1610 | (unpush_target): Use "target_close". | |
1611 | (pop_target): Use "target_close". | |
1612 | * target.h (struct target_ops): Add "to_xclose". | |
1613 | (target_open): Delete macro. Move comment to "to_open". | |
1614 | (target_close): Replace macro with function that takes a target. | |
1615 | * top.c (quit_target): Pass "current_target" to "target_close". | |
1616 | ||
5520a790 EZ |
1617 | 2003-10-21 Elena Zannoni <ezannoni@redhat.com> |
1618 | ||
1619 | * minsyms.c (lookup_minimal_symbol_text): Remove unused parameter. | |
1620 | Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
1621 | * symtab.h (lookup_minimal_symbol_text): Update. | |
1622 | * breakpoint.c (create_overlay_event_breakpoint, | |
1623 | create_longjmp_breakpoint): Update callers. | |
1624 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller. | |
1625 | * symtab.c (find_pc_sect_line): Ditto. | |
1626 | ||
caa92b73 AC |
1627 | 2003-10-21 Andrew Cagney <cagney@redhat.com> |
1628 | ||
1629 | * target.c (errno): Delete extern declaration. | |
1630 | ||
aa2a9a3c JJ |
1631 | 2003-10-20 Jeff Johnston <jjohnstn@redhat.com> |
1632 | ||
1633 | * ia64-tdep.c: Change all occurrences of | |
1634 | DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead. | |
1635 | (ia64_frame_prev_register): Minor whitespace change. | |
1636 | ||
4beec2b7 MC |
1637 | 2003-10-20 Michael Chastain <mec@shout.net> |
1638 | ||
1639 | * config/djgpp/fnchange.lst: Add lines for: | |
1640 | sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs, | |
1641 | sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs, | |
1642 | sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs, | |
1643 | sim/testsuite/sim/frv/interrupts/compound-fr550.cgs, | |
1644 | sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs, | |
1645 | sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs, | |
1646 | sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs. | |
1647 | ||
92ad9cd9 AC |
1648 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
1649 | ||
1650 | * values.c (register_value_being_returned): Update comments. Use | |
1651 | "gdbarch_return_value" when available. | |
1652 | (using_struct_return): Ditto. | |
1653 | (set_return_value): Ditto. Use "gdbarch_return_value" when | |
1654 | available.. Print a warning, and not an error, when an unhandled | |
1655 | return type is encountered. | |
1656 | * infcmd.c: Include "gdb_assert.h". | |
1657 | (print_return_value): When gdbarch_return_value_p, and using | |
1658 | struct return, assume that the value is not available. | |
1659 | * defs.h (return_value_convention): Define. | |
1660 | * gdbarch.sh (gdbarch_return_value): New predicate method. | |
1661 | * gdbarch.h, gdbarch.c: Re-generate | |
1662 | * ppc-sysv-tdep.c (return_value_convention): Delete definition. | |
1663 | ||
198beae2 AC |
1664 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
1665 | ||
1666 | * symtab.c: Replace "struct sec" with "struct bfd_section". | |
1667 | * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. | |
1668 | ||
24d693a6 | 1669 | 2003-10-19 Michael Chastain <mec@shout.net> |
e7cb278a MC |
1670 | |
1671 | * config/djgpp/fnchange.lst: Add lines for: | |
1672 | gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c, | |
1673 | gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c, | |
1674 | gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c. | |
1675 | ||
21ad8dc3 MK |
1676 | 2003-10-19 Mark Kettenis <kettenis@gnu.org> |
1677 | ||
1678 | * amd64fbsd-nat.c (fetch_inferior_registers, | |
1679 | store_inferior_registers): Remove functions. | |
1680 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o. | |
1681 | ||
cced5e27 MK |
1682 | 2003-10-18 Mark Kettenis <kettenis@gnu.org> |
1683 | ||
1684 | Add NetBSD/amd64 native configuration: | |
1685 | * x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. | |
1686 | * amd64nbsd-tdep.c: New file. | |
1687 | * amd64nbsd-nat.c: New file. | |
1688 | * amd64bsd-nat.c: New file. | |
1689 | * config/i386/nbsd64.mh: New file. | |
1690 | * config/i386/nbsd64.mt: New file. | |
1691 | * configure.host: Add x86_64-*-netbsd*. | |
1692 | * configure.tgt: Add x86_64-*-netbsd*. | |
1693 | * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): | |
1694 | New targets. | |
1695 | * NEWS (New native configurations): Mention NetBSD/amd64. | |
1696 | ||
666de3fd MC |
1697 | 2003-10-17 Michael Chastain <mec@shout.net> |
1698 | ||
1699 | * config/djgpp/fnchange.lst: Remove dead lines for: | |
1700 | bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c, | |
1701 | bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c, | |
1702 | bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c, | |
1703 | gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h, | |
1704 | gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h, | |
1705 | gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h, | |
1706 | gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h, | |
1707 | gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h, | |
1708 | gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h, | |
1709 | gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h, | |
1710 | gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h, | |
1711 | gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h, | |
1712 | gdb/config/sparc/tm-sparclite.h, | |
1713 | gdb/gdbtk/generic/ChangeLog-2001, | |
1714 | gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c, | |
1715 | gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c, | |
1716 | gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c, | |
1717 | gdb/sparclet-rom.c, gdb/sparclet-stub.c, | |
1718 | gdb/testsuite/gdb.mi/mi0-var-block.exp, | |
1719 | gdb/testsuite/gdb.mi/mi0-var-child.exp, | |
1720 | gdb/testsuite/gdb.mi/mi0-var-cmd.exp, | |
1721 | gdb/testsuite/gdb.mi/mi0-var-display.exp, | |
1722 | itcl/iwidgets3.0.0/demos/extfileselectionbox, | |
1723 | itcl/iwidgets3.0.0/demos/extfileselectiondialog, | |
1724 | itcl/iwidgets3.0.0/demos/fileselectionbox, | |
1725 | itcl/iwidgets3.0.0/demos/fileselectiondialog, | |
1726 | itcl/iwidgets3.0.0/demos/html/buttonbox.n.html, | |
1727 | itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html, | |
1728 | itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html, | |
1729 | itcl/iwidgets3.0.0/demos/html/combobox.n.html, | |
1730 | itcl/iwidgets3.0.0/demos/html/dialog.n.html, | |
1731 | itcl/iwidgets3.0.0/demos/html/dialogshell.n.html, | |
1732 | itcl/iwidgets3.0.0/demos/html/entryfield.n.html, | |
1733 | itcl/iwidgets3.0.0/demos/html/feedback.n.html, | |
1734 | itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html, | |
1735 | itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html, | |
1736 | itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html, | |
1737 | itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html, | |
1738 | itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html, | |
1739 | itcl/iwidgets3.0.0/demos/html/menubar.n.html, | |
1740 | itcl/iwidgets3.0.0/demos/html/messagedialog.n.html, | |
1741 | itcl/iwidgets3.0.0/demos/html/notebook.n.html, | |
1742 | itcl/iwidgets3.0.0/demos/html/optionmenu.n.html, | |
1743 | itcl/iwidgets3.0.0/demos/html/panedwindow.n.html, | |
1744 | itcl/iwidgets3.0.0/demos/html/promptdialog.n.html, | |
1745 | itcl/iwidgets3.0.0/demos/html/pushbutton.n.html, | |
1746 | itcl/iwidgets3.0.0/demos/html/radiobox.n.html, | |
1747 | itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html, | |
1748 | itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html, | |
1749 | itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html, | |
1750 | itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html, | |
1751 | itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html, | |
1752 | itcl/iwidgets3.0.0/demos/html/selectionbox.n.html, | |
1753 | itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html, | |
1754 | itcl/iwidgets3.0.0/demos/html/shell.n.html, | |
1755 | itcl/iwidgets3.0.0/demos/html/spindate.n.html, | |
1756 | itcl/iwidgets3.0.0/demos/html/spinint.n.html, | |
1757 | itcl/iwidgets3.0.0/demos/html/spinner.n.html, | |
1758 | itcl/iwidgets3.0.0/demos/html/spintime.n.html, | |
1759 | itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html, | |
1760 | itcl/iwidgets3.0.0/demos/html/tabset.n.html, | |
1761 | itcl/iwidgets3.0.0/demos/html/toolbar.n.html, | |
1762 | itcl/iwidgets3.0.0/demos/scrolledcanvas, | |
1763 | itcl/iwidgets3.0.0/demos/scrolledframe, | |
1764 | itcl/iwidgets3.0.0/demos/scrolledhtml, | |
1765 | itcl/iwidgets3.0.0/demos/scrolledlistbox, | |
1766 | itcl/iwidgets3.0.0/demos/scrolledtext, | |
1767 | itcl/iwidgets3.0.0/demos/selectionbox, | |
1768 | itcl/iwidgets3.0.0/demos/selectiondialog, | |
1769 | itcl/iwidgets3.0.0/doc/canvasprintbox.n, | |
1770 | itcl/iwidgets3.0.0/doc/canvasprintdialog.n, | |
1771 | itcl/iwidgets3.0.0/doc/extfileselectionbox.n, | |
1772 | itcl/iwidgets3.0.0/doc/extfileselectiondialog.n, | |
1773 | itcl/iwidgets3.0.0/doc/fileselectionbox.n, | |
1774 | itcl/iwidgets3.0.0/doc/fileselectiondialog.n, | |
1775 | itcl/iwidgets3.0.0/doc/scopedobject.n.backup, | |
1776 | itcl/iwidgets3.0.0/doc/scrolledcanvas.n, | |
1777 | itcl/iwidgets3.0.0/doc/scrolledframe.n, | |
1778 | itcl/iwidgets3.0.0/doc/scrolledhtml.n, | |
1779 | itcl/iwidgets3.0.0/doc/scrolledlistbox.n, | |
1780 | itcl/iwidgets3.0.0/doc/scrolledtext.n, | |
1781 | itcl/iwidgets3.0.0/doc/selectionbox.n, | |
1782 | itcl/iwidgets3.0.0/doc/selectiondialog.n, | |
1783 | itcl/iwidgets3.0.0/generic/canvasprintbox.itk, | |
1784 | itcl/iwidgets3.0.0/generic/canvasprintdialog.itk, | |
1785 | itcl/iwidgets3.0.0/generic/extfileselectionbox.itk, | |
1786 | itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk, | |
1787 | itcl/iwidgets3.0.0/generic/fileselectionbox.itk, | |
1788 | itcl/iwidgets3.0.0/generic/fileselectiondialog.itk, | |
1789 | itcl/iwidgets3.0.0/generic/scrolledcanvas.itk, | |
1790 | itcl/iwidgets3.0.0/generic/scrolledframe.itk, | |
1791 | itcl/iwidgets3.0.0/generic/scrolledhtml.itk, | |
1792 | itcl/iwidgets3.0.0/generic/scrolledlistbox.itk, | |
1793 | itcl/iwidgets3.0.0/generic/scrolledtext.itk, | |
1794 | itcl/iwidgets3.0.0/generic/scrolledwidget.itk, | |
1795 | itcl/iwidgets3.0.0/generic/selectionbox.itk, | |
1796 | itcl/iwidgets3.0.0/generic/selectiondialog.itk, | |
1797 | itcl/iwidgets3.0.0/tests/canvasprintbox.test, | |
1798 | itcl/iwidgets3.0.0/tests/canvasprintdialog.test, | |
1799 | itcl/iwidgets3.0.0/tests/extfileselectionbox.test, | |
1800 | itcl/iwidgets3.0.0/tests/extfileselectiondialog.test, | |
1801 | itcl/iwidgets3.0.0/tests/fileselectionbox.test, | |
1802 | itcl/iwidgets3.0.0/tests/fileselectiondialog.test, | |
1803 | itcl/iwidgets3.0.0/tests/scrolledcanvas.test, | |
1804 | itcl/iwidgets3.0.0/tests/scrolledframe.test, | |
1805 | itcl/iwidgets3.0.0/tests/scrolledhtml.test, | |
1806 | itcl/iwidgets3.0.0/tests/scrolledlistbox.test, | |
1807 | itcl/iwidgets3.0.0/tests/scrolledtext.test, | |
1808 | itcl/iwidgets3.0.0/tests/selectionbox.test, | |
1809 | itcl/iwidgets3.0.0/tests/selectiondialog.test, | |
1810 | itcl/iwidgets3.0.0/unix/iwidgets.tcl.in, | |
1811 | itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in, | |
1812 | tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt, | |
1813 | tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt, | |
1814 | tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt, | |
1815 | tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt, | |
1816 | tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt, | |
1817 | tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in, | |
1818 | tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in, | |
1819 | tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c, | |
1820 | tix/win/tkConsole42.c, tix/win/tkConsole80a1.c, | |
1821 | tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps, | |
1822 | tk/mac/tkMacProjects.sit.hqx. | |
1823 | ||
1e3ff5ad AC |
1824 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
1825 | ||
8db32d44 AC |
1826 | * target.c (target_section_by_addr): New function. |
1827 | (do_xfer_memory): Use "target_section_by_addr". | |
1828 | * target.h (target_section_by_addr): Declare. | |
1829 | ||
1e3ff5ad AC |
1830 | * target.h (struct target_ops): Add "to_read_partial" and |
1831 | "to_write_partial", delete "to_query". | |
1832 | (target_read_partial, target_write_partial): Declare. | |
1833 | (target_read, target_write): Declare. | |
1834 | (target_query): Delete macro. | |
1835 | * target.c (target_read_partial): New function. | |
1836 | (target_write_partial, target_read, target_write): New function. | |
1837 | (update_current_target): Delete inheritance of "to_query". Add | |
1838 | comments about "to_read_partial" and "to_write_partial". | |
1839 | (debug_to_partial_read, debug_to_partial_write): New functions. | |
1840 | (debug_to_query): Delete function. | |
1841 | (setup_target_debug): Set "to_read_partial" and "to_write_partial" | |
1842 | instead of "to_query". | |
1843 | * remote.c (remote_read_partial): Replace "remote_query". | |
1844 | (init_remote_ops): Set "to_read_partial" instead of "to_query". | |
1845 | (init_remote_async_ops): Ditto. | |
1846 | * kod.c (gdb_kod_query): Make "bufsize" a LONGEST. Use | |
1847 | "target_read_partial" instead of "target_query". | |
1848 | * avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST. | |
1849 | Use "target_read_partial" instead of "target_query". | |
1850 | ||
48c66725 JJ |
1851 | 2003-10-17 Jeff Johnston <jjohnstn@redhat.com> |
1852 | ||
1853 | * frame.h (struct frame_id): Add new field: special_addr. | |
1854 | (frame_id_build_special): New prototype. | |
1855 | * frame.c (frame_id_build_special): New function. | |
1856 | (frame_id_build): Change to call frame_id_build_special(). | |
1857 | (frame_id_eq): Change to also test special_addr field. | |
1858 | (frame_id_inner): Update comment. | |
1859 | ||
7998dfc3 AC |
1860 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
1861 | ||
1862 | * target.c (update_current_target): Perform the target cleanup. | |
1863 | Put the target stack beneath the squashed "current_target". | |
1864 | (add_target): Delete disabled call to "cleanup_target". | |
1865 | (cleanup_target): Delete function. | |
1866 | (push_target, unpush_target): Do not call "cleanup_target". | |
1867 | ||
9c04404e | 1868 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
258b763a AC |
1869 | |
1870 | * target.c (target_stack): Change to a static target_ops. | |
1871 | (update_current_target): Walk the "struct target_ops" stack. | |
1872 | (pop_target, do_xfer_memory, target_info): Ditto. | |
1873 | (find_target_beneath): Ditto. | |
1874 | (push_target): Rewrite to use the "struct target_ops" stack. | |
1875 | (unpush_target): Ditto. | |
1876 | * target.h (struct target_stack_item): Delete definition. | |
1877 | (target_stack): Delete declaration. | |
1878 | (struct target_ops): Add field "beneath". | |
1879 | ||
c98a2b49 | 1880 | 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com> |
ac1764c7 AC |
1881 | |
1882 | * gdb/config/h8300/tm-h8300.h (h8300_normal_mode): Add external | |
1883 | declaration. | |
1884 | * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode | |
c98a2b49 SA |
1885 | (h8300_examine_prologue): Use h8300_normal_mode flag |
1886 | (h8300_gdbarch_init): Set architecture info for normal mode | |
1887 | ||
506fb367 DJ |
1888 | 2003-10-16 Daniel Jacobowitz <drow@mvista.com> |
1889 | ||
1890 | * remote.c (remote_protocol_vcont): New variable. | |
1891 | (set_remote_protocol_vcont_packet_cmd): New function. | |
1892 | (show_remote_protocol_vcont_packet_cmd): New function. | |
1893 | (init_all_packet_configs): Handle remote_protocol_vcont. | |
1894 | (remote_vcont_probe): New function. | |
1895 | (remote_vcont_resume): New function. | |
1896 | (remote_resume): Use it. | |
1897 | (remote_async_resume): Call remote_resume. | |
1898 | (_initialize_remote): Add verbose-resume packet commands. | |
1899 | ||
65815ea1 AC |
1900 | 2003-10-16 Andrew Cagney <cagney@redhat.com> |
1901 | ||
1902 | * infrun.c (handle_inferior_event): Add comment about | |
1903 | "frame_id_inner" being too weak. | |
1904 | ||
40324f1b EZ |
1905 | 2003-10-16 Elena Zannoni <ezannoni@redhat.com> |
1906 | ||
1907 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
1908 | second parameter, which is always null. Remove | |
1909 | SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
1910 | * symtab.h (lookup_minimal_symbol_solib_trampoline): Update | |
1911 | accordingly. | |
1912 | * somsolib.c (som_solib_create_inferior_hook, | |
1913 | som_solib_desire_dynamic_linker_symbols): Update callers. | |
1914 | * hppa-tdep.c (hppa_fix_call_dummy): Ditto. | |
b4b4b794 KI |
1915 | |
1916 | 2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com> | |
1917 | ||
1918 | * remote-m32r-sdi.c : New file, interface to m32r on-chip | |
1919 | debug interface, SDI (Scalable Debug Interface). | |
1920 | * NEWS: Mention m32r SDI protocol was supported. | |
1921 | * Makefile.in (remote-m32r-sdi.o): Add build rule. | |
1922 | * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o. | |
1923 | ||
51931cbb JJ |
1924 | 2003-10-15 Jeff Johnston <jjohnstn@redhat.com> |
1925 | ||
1926 | * ia64-linux-tdep.c: Include gdbcore.h. | |
1927 | (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed. | |
1928 | (ia64_linux_sigcontext_register_addr): Find the address of the | |
1929 | sigcontext area stored in the sigframe instead of using | |
1930 | a magic offset constant. | |
1931 | ||
84e7fd53 AC |
1932 | 2003-10-15 Andrew Cagney <cagney@redhat.com> |
1933 | ||
1934 | * remote.c (remote_search): Delete function. | |
1935 | * target.h (target_search): Delete disabled macro. | |
1936 | (struct target_ops): Delete disabled field "to_search". | |
1937 | ||
0f4d7c52 KB |
1938 | 2003-10-14 Kevin Buettner <kevinb@redhat.com> |
1939 | ||
1940 | * frv-tdep.c (frv_frame_this_id): Call inside_entry_func() | |
1941 | instead of deprecated_inside_entry_file(). | |
1942 | ||
2e952408 CV |
1943 | 2003-10-14 Corinna Vinschen <vinschen@redhat.com> |
1944 | ||
1945 | * sh-tdep.c: Fix copy/paste hangover in comment. | |
1946 | (sh_push_dummy_call_fpu): Accomodate double passing in little endian | |
1947 | mode. | |
1948 | (sh3e_sh4_extract_return_value): Ditto. | |
1949 | ||
7e86466e RH |
1950 | 2003-10-13 Richard Henderson <rth@redhat.com> |
1951 | ||
1952 | * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF. | |
1953 | * f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to | |
1954 | match c_val_print a bit closer. | |
1955 | ||
46a16dba KB |
1956 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
1957 | ||
1958 | * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants. | |
1959 | (frv_gdbarch_adjust_breakpoint_address): New function. | |
1960 | (frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address'' | |
1961 | method. | |
1962 | ||
76897487 KB |
1963 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
1964 | ||
1965 | * breakpoint.h (struct breakpoint): Add new member | |
1966 | ``requested_address''. | |
1967 | * breakpoint.c (breakpoint_adjustment_warning) | |
1968 | (adjust_breakpoint_address): New static functions. | |
1969 | (print_it_typical): Issue warning if breakpoint's address is different | |
1970 | from its requested address. | |
1971 | (set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1) | |
1972 | (breakpoint_re_set_one): Set breakpoint's | |
1973 | ``requested_address'' field. Set ``address'' field to the | |
1974 | result of calling adjust_breakpoint_address() on the requested | |
1975 | address. | |
1976 | ||
a1131521 KB |
1977 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
1978 | ||
1979 | * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method. | |
1980 | * gdbarch.h, gdbarch.c: Regenerate. | |
1981 | ||
6ce6d90f MK |
1982 | 2003-10-11 Mark Kettenis <kettenis@gnu.org> |
1983 | ||
155c1d33 MK |
1984 | * i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize |
1985 | TDEP->sc_num_regs. | |
1986 | ||
8a96bc77 MK |
1987 | * i386fbsd-tdep.c: New file. |
1988 | (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1989 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
1990 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from | |
1991 | i386bsd-tdep.c. | |
1992 | (_initialize_i386fbsd_tdep): New function. | |
1993 | (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles. | |
1994 | (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset, | |
1995 | TDEP->gregset_num_regs, TDEP->sizeof_gregset and | |
1996 | TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize | |
1997 | TDEP->sc_num_regs. | |
1998 | (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset, | |
1999 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
2000 | to initialize TDEP->sc_num_regs. | |
2001 | * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
2002 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
2003 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove. | |
2004 | (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and | |
2005 | FreeBSD ELF OS/ABI's here. | |
2006 | * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c. | |
2007 | (i386fbsd-tdep.o): New target. | |
2008 | * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
2009 | * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
2010 | ||
477f40d1 MK |
2011 | * amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable. |
2012 | (amd64fbsd_init_abi): Set TDEP->gregset_reg_offset, | |
2013 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
2014 | in initialization of TDEP->sc_num_regs. | |
2015 | ||
c6b33596 MK |
2016 | * x86-64-tdep.c (x86_64_regset_from_core_section): New function. |
2017 | (x86_64_init_abi): Initialize regset_from_core_section if | |
2018 | appropriate. | |
2019 | ||
8446b36a MK |
2020 | * i386-tdep.c (i386_regset_from_core_section): New function. |
2021 | (i386_gdbarch_init): Initialize regset_from_core_section if | |
2022 | appropriate. | |
2023 | * i386-tdep.h (i386_regset_from_core_section): New declaration. | |
2024 | ||
c783cbd6 MK |
2025 | * i386-tdep.h (struct regset): Declare opaque. |
2026 | ||
6ce6d90f MK |
2027 | * gdbarch.sh (regset_from_core_section): New method. |
2028 | (struct regset): Declare opaque. | |
2029 | * gdbarch.c, gdbarch.h: Regenerated. | |
2030 | ||
b98ed7be AM |
2031 | 2003-10-11 Alan Modra <amodra@bigpond.net.au> |
2032 | ||
2033 | * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to | |
2034 | _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. | |
2035 | Correct test for pc within section. | |
2036 | ||
f6214256 MK |
2037 | 2003-10-11 Mark Kettenis <kettenis@gnu.org> |
2038 | ||
2039 | * gdbarch.sh: Remove trailing whitepsace from comments. | |
2040 | ||
a8f4cde1 RM |
2041 | 2003-10-08 Roland McGrath <roland@redhat.com> |
2042 | ||
2043 | * gcore.c (make_mem_sec): Function removed, folded into ... | |
2044 | (gcore_create_callback): ... here. To omit a section, clear its | |
2045 | SEC_LOAD bit rather than zeroing its size. | |
2046 | Omit read-only sections only if they correspond to a known disk file. | |
2047 | (gcore_copy_callback): Ignore sections without SEC_LOAD flag set. | |
2048 | ||
74276724 MS |
2049 | 2003-10-10 Michael Snyder <msnyder@redhat.com> |
2050 | ||
2051 | * d10v-tdep.c: Fix typo in comment. | |
2052 | ||
e754ae69 AC |
2053 | 2003-10-10 Andrew Cagney <cagney@redhat.com> |
2054 | ||
2055 | * rs6000-tdep.c (e500_store_return_value): Delete function. | |
2056 | (e500_extract_return_value): Delete function. | |
2057 | (rs6000_gdbarch_init): When SYSV, set "extract_return_value" and | |
2058 | "restore_return_value" to "ppc_sysv_abi_extract_return_value" and | |
2059 | "ppc_sysv_abi_restore_return_value" where applicable. | |
2060 | * ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare. | |
2061 | (ppc_sysv_abi_extract_return_value): Declare. | |
2062 | (ppc_sysv_abi_broken_store_return_value): Declare. | |
2063 | (ppc_sysv_abi_broken_extract_return_value): Declare. | |
2064 | (ppc_sysv_abi_broken_use_struct_convention:) Delete declaration. | |
2065 | * ppc-sysv-tdep.c (return_value_convention): Move definition to | |
2066 | start of file. | |
2067 | (do_ppc_sysv_return_value): New function. | |
2068 | (ppc_sysv_abi_extract_return_value): New function. | |
2069 | (ppc_sysv_abi_store_return_value): New function. | |
2070 | (ppc_sysv_abi_broken_extract_return_value): New function. | |
2071 | (ppc_sysv_abi_broken_store_return_value): New function. | |
2072 | (ppc_sysv_abi_use_struct_convention): Call | |
2073 | do_ppc_sysv_return_value. | |
2074 | ||
8d4ce20a JB |
2075 | 2003-10-10 J. Brobecker <brobecker@gnat.com> |
2076 | ||
2077 | * blockframe.c (inside_main_func): No longer use symbol_lookup() | |
2078 | to lookup the main function symbol. | |
2079 | ||
afce3d2a CV |
2080 | 2003-10-10 Corinna Vinschen <vinschen@redhat.com> |
2081 | ||
2082 | * sh-tdep.c (sh_treat_as_flt_p): New function to recognize float | |
2083 | types correctly. | |
2084 | (sh_push_dummy_call_fpu): Fix argument passing rules. | |
2085 | (sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize | |
2086 | float types. | |
2087 | (sh3e_sh4_store_return_value): Ditto. | |
2088 | ||
7fe958be EZ |
2089 | 2003-10-10 Elena Zannoni <ezannoni@redhat.com> |
2090 | ||
2091 | * sh-tdep.c (sh_use_struct_convention): Clarify one case in | |
2092 | comment. | |
2093 | ||
3f997a97 CV |
2094 | 2003-10-10 Corinna Vinschen <vinschen@redhat.com> |
2095 | ||
2096 | * sh-tdep.c (sh_use_struct_convention): Clean up to have a | |
2097 | more readable code. Accomodate passing of bitfields. | |
2098 | ||
8be9034a AC |
2099 | 2003-10-10 Andrew Cagney <cagney@redhat.com> |
2100 | ||
2101 | * Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h). | |
2102 | * rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set | |
2103 | push_dummy_call to ppc64_sysv_abi_push_dummy_call. | |
2104 | * ppc-sysv-tdep.c: Include "gdb_assert.h". | |
2105 | (ppc64_sysv_abi_push_dummy_call): New function. | |
2106 | (ppc64_sysv_abi_broken_push_dummy_call): New function. | |
2107 | * ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare. | |
2108 | (ppc64_sysv_abi_broken_push_dummy_call): Declare. | |
2109 | ||
85a453d5 KI |
2110 | 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com> |
2111 | ||
2112 | * NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas". | |
2113 | * README: Ditto. | |
2114 | * d10v-tdep.c: Ditto. | |
2115 | * h8300-tdep.c: Ditto. | |
2116 | * remote-e7000.c: Ditto. | |
2117 | * remote-hms.c: Ditto. | |
2118 | * ser-e7kpc.c: Ditto. | |
2119 | * sh-stub.c: Ditto. | |
2120 | * sh-tdep.c: Ditto. | |
2121 | * sh-tdep.h: Ditto. | |
2122 | * sh3-rom.c: Ditto. | |
2123 | * sh64-tdep.c: Ditto. | |
2124 | * top.c: Ditto. | |
2125 | * wince.c: Ditto. | |
2126 | * config/d10v/d10v.mt: Ditto. | |
2127 | * config/sh/embed.mt: Ditto. | |
2128 | * config/sh/linux.mt: Ditto. | |
2129 | * config/sh/tm-linux.h: Ditto. | |
2130 | * config/sh/tm-sh.h: Ditto. | |
2131 | * config/sh/wince.mt: Ditto. | |
2132 | ||
221c12ff AC |
2133 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
2134 | ||
2135 | * ppc-tdep.h (struct type): Declare opaque. | |
2136 | * x86-64-tdep.h (struct regcache): Declare opaque. | |
2137 | * sh-tdep.c (sh_do_fp_register): Delete "register" attribute, fix | |
2138 | coding style. | |
2139 | ||
ef5200c1 AC |
2140 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
2141 | ||
2142 | Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>: | |
2143 | * config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro. | |
2144 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
2145 | * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto. | |
2146 | * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto. | |
2147 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
2148 | * rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set | |
2149 | software_single_step to rs6000_software_single_step. | |
a8f4cde1 | 2150 | |
9644bbdd AC |
2151 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
2152 | ||
2153 | * MAINTAINERS: Mark m32r-elf as buildable with -Werror. | |
2154 | ||
db72fa6b MS |
2155 | 2003-10-09 Michael Snyder <msnyder@redhat.com> |
2156 | ||
f3efb16c MS |
2157 | * frame.h: Fix typo in comment. |
2158 | * dummy-frame.c: Fix typo in comment. | |
db72fa6b MS |
2159 | * d10v-tdep.c: Random whitespace/comment tweaks. |
2160 | ||
9a5cef92 EZ |
2161 | 2003-10-09 Elena Zannoni <ezannoni@redhat.com> |
2162 | ||
2163 | * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code. | |
f49c4e4e | 2164 | (sh_push_dummy_code): Delete function, it's only used for dummy calls |
9a5cef92 | 2165 | on stack. |
a8f4cde1 | 2166 | |
9a5cef92 EZ |
2167 | Based on input by Stephen Clarke (stephen.clarke@superh.com): |
2168 | * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI | |
2169 | in detail. | |
a8f4cde1 | 2170 | |
0f317a0c DJ |
2171 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
2172 | ||
2173 | * remote-mips.c (mips_initialize): Remove unneeded call to | |
2174 | get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
2175 | ||
bbab2f46 DJ |
2176 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
2177 | ||
2178 | * dwarf2expr.c (execute_stack_op): Don't treat the frame base as | |
2179 | a memory pointer. | |
2180 | ||
550950b8 JJ |
2181 | 2003-10-08 Jeff Johnston <jjohnstn@redhat.com> |
2182 | ||
2183 | * lin-lwp.c (stop_and_resume_callback): Set the resumed flag | |
2184 | for any lwp we resume. | |
2185 | (running_callback): Add lwps that have pending status events | |
2186 | against them to be considered running. | |
2187 | ||
15c69bc7 KI |
2188 | 2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com> |
2189 | ||
2190 | * m32r-tdep.c : Include "dis-asm.h". | |
2191 | * Makefile.in (m32r-tdep.o): Update dependencies. | |
2192 | ||
51065942 JB |
2193 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
2194 | ||
2195 | * completer.h (get_gdb_completer_word_break_characters): Delete. | |
2196 | * completer.c: include language.h. | |
2197 | (gdb_completer_word_break_characters): Delete. | |
2198 | (get_gdb_completer_word_break_characters): Delete. | |
2199 | (location_completer): Use the word break characters of the current | |
2200 | language. | |
2201 | (complete_line): Likewise. | |
2202 | (line_completion_function): Likewise. | |
2203 | (skip_quoted_chars): Likewise. | |
2204 | * Makefile.in (completer.o): Add dependency on language.h. | |
2205 | * top.c (init_main): Set the readline word break characters | |
2206 | to GDB's default word break characters. | |
2207 | ||
6084f43a JB |
2208 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
2209 | ||
2210 | * language.h (language_defn): new field, la_word_break_characters. | |
2211 | * language.c (unknown_language_defn): Set new field to | |
2212 | default_word_break_characters. | |
2213 | (auto_language_defn): Likewise. | |
2214 | (local_language_defn): Likewise. | |
2215 | * ada-lang.c (ada_language_defn): Likewise. | |
2216 | * c-lang.c (c_language_defn): Likewise. | |
2217 | (cplus_language_defn): Likewise. | |
2218 | (asm_language_defn): Likewise. | |
2219 | (minimal_language_defn): Likewise. | |
2220 | * f-lang.c (f_language_defn): Likewise. | |
2221 | * jv-lang.c (java_language_defn): Likewise. | |
2222 | * m2-lang.c (m2_language_defn): Likewise. | |
2223 | * objc-lang.c (objc_language_defn): Likewise. | |
2224 | * p-lang.c (pascal_language_defn): Likewise. | |
2225 | * scm-lang.c (scm_language_defn): Likewise. | |
2226 | ||
944fcfab AC |
2227 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
2228 | ||
2229 | * ppc-sysv-tdep.c: Re-indent. | |
2230 | ||
9f0a5303 JB |
2231 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
2232 | ||
2233 | * language.h (default_word_break_characters): Add prototype. | |
2234 | * language.c (default_word_break_characters): New function. | |
2235 | ||
7270b6ed AS |
2236 | 2003-10-06 Andreas Schwab <schwab@suse.de> |
2237 | ||
2238 | * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl | |
2239 | with %eax. | |
2240 | ||
a5d61f66 AC |
2241 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
2242 | ||
2243 | * Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and | |
2244 | "h8500-tdep.c". | |
2245 | (z8k-tdep.o): Delete custom build rule. | |
2246 | ||
28a86f5c AC |
2247 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
2248 | ||
1bfd8a83 AC |
2249 | * Makefile.in: Update all dependencies. |
2250 | ||
17144ef8 AC |
2251 | * MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted. |
2252 | No longer list PA as as obsolete candidate. List m32r as | |
2253 | broken instead of obsolete. | |
a8f4cde1 | 2254 | |
a5679ae5 AC |
2255 | * config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files. |
2256 | * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto. | |
2257 | * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto. | |
2258 | * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto. | |
2259 | * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto. | |
2260 | * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto. | |
2261 | * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto. | |
2262 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
2263 | * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto. | |
2264 | * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto. | |
2265 | * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto. | |
2266 | * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto. | |
2267 | * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto. | |
2268 | * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto. | |
2269 | * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto. | |
2270 | * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto. | |
2271 | * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto. | |
2272 | * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto. | |
2273 | * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto. | |
2274 | * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto. | |
2275 | * config/z8k/z8k.mt: Ditto. | |
2276 | ||
4a8269c0 AC |
2277 | * NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*, |
2278 | h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*, | |
2279 | mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*, | |
2280 | i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and | |
2281 | sparclite were removed. | |
2282 | * configure.host, configure.tgt: Remove corresponding tuples. | |
2283 | ||
41989fcd AC |
2284 | * breakpoint.c, breakpoint.h: Remove obsolete code. |
2285 | * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto. | |
2286 | * monitor.c, sparc-tdep.c, stabsread.c: Ditto. | |
2287 | * stabsread.h, xcoffread.c: Ditto. | |
2288 | ||
28a86f5c AC |
2289 | * z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file. |
2290 | * sparclet-stub.c, sparclet-rom.c: Delete obsolete file. | |
2291 | * sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file. | |
2292 | * m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file. | |
2293 | ||
4efdaa0d DL |
2294 | 2003-10-06 David Lecomber <dsl@sources.redhat.com> |
2295 | ||
2296 | * f-valprint.c: Reformatting | |
2297 | ||
ae53de43 MK |
2298 | 2003-10-06 Mark Kettenis <kettenis@gnu.org> |
2299 | ||
a8bb57e7 MK |
2300 | * x86-64-tdep.c: Remove duplicate comment. |
2301 | ||
ae53de43 MK |
2302 | * x86-64-tdep.c (x86_64_store_return_value): Don't use |
2303 | DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register | |
2304 | names for return values. This fixes a bug since we looked at %rbx | |
2305 | instead of %rdx. | |
2306 | ||
473f17b0 MK |
2307 | 2003-10-05 Mark Kettenis <kettenis@gnu.org> |
2308 | ||
2c261fae MK |
2309 | * x86-64-tdep.c: Include "regset.h". |
2310 | ||
473f17b0 MK |
2311 | * i386-tdep.h (struct gdbarch_tdep): Add members gregset, |
2312 | gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset, | |
2313 | sizeof_fpregset. | |
2314 | * i386-tdep.c: Include "regset.h". | |
2315 | (i386_supply_gregset): New function. | |
2316 | (i386_supply_fpregset): New function. | |
2317 | (i386_gdbarch_init): Initialze register set-related members of | |
2318 | TDEP. | |
2319 | * x86-64-tdep.c (x86_64_supply_fpregset): New function. | |
2320 | (x86_64_init_abi): Initialize TDEP->sizeof_fpregset. | |
2321 | ||
afd48b75 AC |
2322 | 2003-10-03 Andrew Cagney <cagney@redhat.com> |
2323 | ||
2324 | * rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI, | |
2325 | set extract_return_value, store_return_value and | |
2326 | use_struct_convention to ppc64_sysv_abi_extract_return_value, | |
2327 | ppc64_sysv_abi_store_return_value and | |
2328 | ppc64_sysv_abi_use_struct_convention. | |
2329 | * ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare. | |
2330 | (ppc64_sysv_abi_store_return_value): Declare. | |
2331 | (ppc64_sysv_abi_use_struct_convention): Declare. | |
2332 | * ppc-sysv-tdep.c (enum return_value_convention): Define. | |
2333 | (ppc64_sysv_abi_extract_return_value): New function. | |
2334 | (ppc64_sysv_abi_store_return_value): New function. | |
2335 | (ppc64_sysv_abi_use_struct_convention): New function. | |
2336 | (ppc64_sysv_abi_return_value): New function. | |
2337 | ||
9b540880 AC |
2338 | 2003-10-03 Andrew Cagney <cagney@redhat.com> |
2339 | ||
2340 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only | |
2341 | convert a descriptor to a function when it's in the ".opd" | |
2342 | section. | |
2343 | ||
8748518b CV |
2344 | 2003-10-03 Corinna Vinschen <vinschen@redhat.com> |
2345 | ||
2346 | * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and | |
2347 | reg_size to keep GCC silent. | |
2348 | ||
0fd85043 CV |
2349 | 2003-10-03 Corinna Vinschen <vinschen@redhat.com> |
2350 | ||
2351 | * dwarf2-frame.c (struct comp_unit): Add tbase member to store | |
2352 | base for DW_EH_PE_textrel encodings. | |
2353 | (read_encoded_value): Add a DW_EH_PE_textrel case. | |
2354 | (dwarf2_build_frame_info): Set unit.tbase to beginning of text | |
2355 | section. | |
2356 | ||
37b517aa MK |
2357 | 2003-10-03 Mark Kettenis <kettenis@gnu.org> |
2358 | ||
2359 | * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment. | |
2360 | ||
12c266ea AC |
2361 | 2003-10-02 Andrew Cagney <cagney@redhat.com> |
2362 | ||
2363 | * gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename | |
2364 | REGISTER_RAW_SIZE. | |
2365 | * gdbarch.h, gdbarch.c: Re-generate. | |
2366 | * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update. | |
2367 | * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update. | |
2368 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
2369 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
2370 | * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update. | |
2371 | * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update. | |
2372 | * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update. | |
2373 | * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update. | |
2374 | * remote-e7000.c, remote-mips.c, remote-sim.c: Update. | |
2375 | * remote-vxmips.c, remote-vxsparc.c, remote.c: Update. | |
2376 | * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update. | |
2377 | * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update. | |
2378 | * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update. | |
2379 | * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
2380 | * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update. | |
2381 | * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update. | |
a8f4cde1 | 2382 | |
78ba4af6 JB |
2383 | 2003-10-02 Jim Blandy <jimb@redhat.com> |
2384 | ||
2385 | * dwarf2read.c (struct die_info): Doc fix. | |
2386 | ||
617daa0e CV |
2387 | 2003-10-02 Corinna Vinschen <vinschen@redhat.com> |
2388 | ||
2389 | * sh-tdep.c: Running thru gdb_indent.sh. | |
2390 | ||
e5e33cd9 CV |
2391 | 2003-10-02 Corinna Vinschen <vinschen@redhat.com> |
2392 | ||
2393 | * sh-tdep.c (sh_justify_value_in_reg): New function. | |
2394 | (sh_stack_allocsize): Ditto. | |
2395 | (flt_argreg_array): New array used for floating point argument | |
2396 | passing. | |
2397 | (sh_init_flt_argreg): New function. | |
a8f4cde1 | 2398 | (sh_next_flt_argreg): Ditto. |
e5e33cd9 CV |
2399 | (sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to |
2400 | "pass_on_stack". Use new helper functions. Accomodate Renesas ABI. | |
2401 | Fix argument passing strategy. | |
2402 | (sh_push_dummy_call_nofpu): Ditto. | |
2403 | ||
5fe830e4 AC |
2404 | 2003-10-01 Andrew Cagney <cagney@redhat.com> |
2405 | ||
2406 | * value.h (register_value_being_returned): Declare. Replace | |
2407 | "value_being_returned". | |
2408 | * infcall.c (call_function_by_hand): Use | |
2409 | register_value_being_returned. | |
2410 | * infcmd.c (print_return_value): Call | |
2411 | "register_value_being_returned", handle struct return locally. | |
2412 | * values.c (register_value_being_returned): New function. Replace | |
2413 | "value_being_returned". | |
a8f4cde1 | 2414 | |
5fe830e4 | 2415 | 2003-09-30 Elena Zannoni <ezannoni@redhat.com> |
cf50a87a EZ |
2416 | |
2417 | * linux-proc.c (linux_do_registers): New function. | |
2418 | (linux_make_note_section): Use linux_do_registers in case of | |
2419 | single threaded inferior programs. | |
2420 | ||
64f395bf AC |
2421 | 2003-10-01 Andrew Cagney <cagney@redhat.com> |
2422 | ||
2423 | * infcall.c (call_function_by_hand): When STRUCT_RETURN, always | |
2424 | use STRUCT_ADDR. When not using "struct return convention", pass | |
2425 | "0" to "value_being_returned". Add FIXMEs. | |
2426 | * infcmd.c (print_return_value): Pass an explicit 0/1 to | |
2427 | value_being_returned. Add comments. | |
2428 | * values.c (value_being_returned): Add fixme. | |
2429 | * hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME. | |
2430 | (hppa_value_returned_from_stack): Add FIXME. | |
2431 | ||
639d11d3 DC |
2432 | 2003-09-30 David Carlton <carlton@kealia.com> |
2433 | ||
2434 | * dwarf2read.c (struct die_info): Add 'parent' field; replace | |
2435 | 'has_children' and 'next' by 'child' and 'sibling'. | |
2436 | (read_comp_unit): Rework algorithm, breaking body into | |
2437 | read_die_and_children and read_die_and_siblings. | |
2438 | (read_die_and_children, read_die_and_siblings): New. | |
2439 | (read_full_die): Add 'has_children' argument; set it instead of | |
2440 | the die's 'has_children' field. Minor formatting cleanup. | |
2441 | (free_die_list): Use die->child and die->sibling instead of | |
2442 | die->next. | |
2443 | (dump_die_list): Ditto. | |
2444 | (sibling_die): Use die->sibling. | |
2445 | (psymtab_to_symtab_1): Use die's 'child' field in place of its | |
2446 | 'has_children' and 'next' fields. | |
a8f4cde1 RM |
2447 | (process_die, read_file_scope, read_func_scope) |
2448 | (read_lexical_block_scope, read_structure_scope) | |
2449 | (read_enumeration, read_array_type, read_common_block) | |
639d11d3 DC |
2450 | (read_namespace, read_subroutine_type, dump_die): Ditto. |
2451 | ||
5bffac25 AC |
2452 | 2003-09-30 Andrew Cagney <cagney@redhat.com> |
2453 | ||
2454 | * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone | |
2455 | to 224, not 220. | |
2456 | ||
f30992d4 AC |
2457 | 2003-09-30 Andrew Cagney <cagney@redhat.com> |
2458 | ||
2459 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename | |
2460 | REGISTER_VIRTUAL_SIZE. | |
2461 | * gdbarch.h, gdbarch.c: Regenerate. | |
2462 | * vax-tdep.h, sparc-tdep.c, regcache.h: Update. | |
2463 | * regcache.c, mn10300-tdep.c, mips-tdep.c: Update. | |
2464 | * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update. | |
2465 | ||
2e092625 AC |
2466 | 2003-09-29 Andrew Cagney <cagney@redhat.com> |
2467 | ||
2468 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename | |
7bb11558 | 2469 | REGISTER_VIRTUAL_TYPE. |
2e092625 AC |
2470 | * gdbarch.h, gdbarch.c: Regenerate. |
2471 | * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. | |
2472 | * sh64-tdep.c, sparc-tdep.c: Update. | |
4deab737 AC |
2473 | |
2474 | * remote-vxsparc.c (vx_read_register): Replace bzero with memset. | |
2475 | * remote-vxmips.c (vx_read_register): Ditto. | |
2476 | * remote-vx68.c (vx_read_register): Ditto. | |
2477 | * gnu-nat.c (inf_validate_procs): Ditto. | |
2478 | ||
7a5dd6ee JB |
2479 | 2003-09-29 J. Brobecker <brobecker@gnat.com> |
2480 | ||
2481 | * infcall.c (call_function_by_hand): Fix build failure | |
2482 | introduced in the previous change to this file. | |
2483 | ||
1fe43d45 AC |
2484 | 2003-09-29 Andrew Cagney <cagney@redhat.com> |
2485 | ||
2486 | * NEWS: Mention Objective-C. | |
2487 | ||
e28a332c JG |
2488 | 2003-09-29 Jerome Guitton <guitton@act-europe.fr> |
2489 | ||
2490 | * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to | |
2491 | test if the register has been saved on the stack. | |
2492 | (arm_scan_prologue_cache): When analysing the instruction | |
2493 | "str lr, [sp, #-4]", save the address where lr has been stored. | |
2494 | ||
9ff63c35 AC |
2495 | 2003-09-28 Andrew Cagney <cagney@redhat.com> |
2496 | ||
7f5f525d AC |
2497 | * frame.c (frame_read_unsigned_register): Delete function. |
2498 | * frame.h (frame_read_unsigned_register): Delete declaration. | |
2499 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
2500 | get_frame_register_unsigned. | |
2501 | (sparc_frame_saved_pc, sparc_pop_frame): Ditto. | |
2502 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
2503 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
a8f4cde1 | 2504 | |
7f5f525d AC |
2505 | * frame.h (frame_read_register): Delete declaration. |
2506 | * frame.c (frame_read_register): Delete function. | |
2507 | * arch-utils.c (legacy_register_to_value): Use get_frame_register. | |
2508 | * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto. | |
2509 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto. | |
2510 | * mips-tdep.c (mips_register_to_value): Ditto. | |
2511 | * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto. | |
2512 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
2513 | ||
2514 | * frame.c (frame_read_signed_register): Delete function. | |
2515 | (frame_read_unsigned_register): Update comments. | |
2516 | * frame.h (frame_read_signed_register): Delete declaration. | |
2517 | * h8300-tdep.c (h8300_print_register): Use | |
2518 | get_frame_register_signed. | |
2519 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
2520 | ||
9ff63c35 AC |
2521 | * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): |
2522 | Rename VALUE_RETURNED_FROM_STACK. | |
2523 | * infcmd.c (print_return_value): Update. | |
2524 | * infcall.c (call_function_by_hand): Update. | |
2525 | ||
41d041d6 MK |
2526 | 2003-09-28 Mark Kettenis <kettenis@gnu.org> |
2527 | ||
2528 | * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add | |
2529 | regcache argument and reverse the order of the other two | |
2530 | arguments. Remove local regcache variable. Determine | |
2531 | architecture from REGCACHE. Update comments. | |
2532 | * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and | |
2533 | reverse the order of the other two arguments. Remove local | |
2534 | regcache variable. Determine architecture from REGCACHE. Update | |
2535 | comments. | |
2536 | * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust | |
2537 | prototypes. Update comments. | |
2538 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust | |
2539 | comment. | |
2540 | * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers): | |
2541 | Update. | |
2542 | * go32-nat.c (fetch_register, go32_fetch_registers): Update. | |
2543 | * i386-interix-nat.c (supply_fpregset): Update. | |
2544 | * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update. | |
2545 | * i386-nto-tdep.c (i386nto_supply_fpregset): Update. | |
2546 | * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update. | |
2547 | * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update. | |
2548 | * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers): | |
2549 | Update. | |
2550 | * i386obsd-tdep.c (fetch_core_registers): Update. | |
2551 | * i386v4-nat.c (supply_fpregset): Update. | |
2552 | * x86-64-linux-nat.c (supply_fpregset): Update. | |
2553 | * x86-64-linux-tdep.c (fetch_core_registers): Update. | |
a8f4cde1 | 2554 | |
1cb97e17 MK |
2555 | 2003-09-27 Mark Kettenis <kettenis@gnu.org> |
2556 | ||
5716833c MK |
2557 | * i386-tdep.h: Put opaque declarations in alphabetical |
2558 | order. Remove spurious whitespace. | |
2559 | (struct gdbarch_tdep): add st0_regnum and mm0_regnum members. | |
2560 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes. | |
2561 | * i386-tdep.c (MM0_REGNUM): Remove define. | |
2562 | (i386_mmx_regnum_p): Add gdbarch argument. | |
2563 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument. | |
2564 | Rewrite using new macro definitions for FPU/SSE registers. | |
2565 | (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro | |
2566 | definitions from i387-tdep.h. | |
2567 | (i386_register_name): Update. | |
2568 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use | |
2569 | new macro definitions for FPU/SSE registers. | |
2570 | (i386_extract_return_value): Determine whether floating-point | |
2571 | registers are present by examining REGCACHE's architecture. | |
2572 | (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE | |
2573 | instead of FPU_REG_RAW_SIZE. Use new macro definitions for | |
2574 | FPU/SSE registers. | |
2575 | (i386_register_type): Update. | |
2576 | (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro | |
2577 | definitions for FPU registers. Use REGCACHE's architecture to | |
2578 | determine the appropriate register numbers. | |
2579 | (i386_pseudo_register_read, i386_pseudo_register_write, | |
2580 | i386_register_reggroup_p): Update. | |
2581 | (i386_gdbarch_init): Initialize TDEP->st0_regnum and | |
2582 | TDEP->mm0_regnum. | |
2583 | * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, | |
2584 | I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM, | |
2585 | I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, | |
2586 | I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines. | |
2587 | (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave, | |
2588 | i387_fill_fxsave): Change type of fsave/fxsave argument from `char | |
2589 | *' to `void *'. | |
2590 | * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR, | |
2591 | i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR, | |
2592 | i387_supply_fxsave, i387_fill_fxsave): Update to use new macro | |
2593 | definitions for FPU/SSE registers. | |
2594 | (FXSAVE_MXCSR_ADDR): New define. | |
2595 | * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and | |
2596 | TDEP->mm0_regnum. | |
2597 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines. | |
2598 | (I387_ST0_REGNUM): Define. | |
2599 | ||
41d35cb0 MK |
2600 | * regcache.h (get_regcache_arch): New prototype. |
2601 | * regcache.c (get_regcache_arch): New function. | |
2602 | ||
54e74f72 MK |
2603 | * x86-64-tdep.c (x86_64_store_return_value): Remove spurious |
2604 | whitespace. | |
2605 | ||
1cb97e17 MK |
2606 | * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): |
2607 | Initialize using ARRAY_SIZE. | |
2608 | ||
0968aa8c AC |
2609 | 2003-09-27 Andrew Cagney <cagney@redhat.com> |
2610 | ||
2611 | * arch-utils.c (deprecated_init_frame_pc_default): Rename | |
2612 | "init_frame_pc_default". | |
2613 | * arch-utils.h (deprecated_init_frame_pc_default): Update. | |
2614 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2615 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2616 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2617 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
2618 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2619 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2620 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2621 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2622 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2623 | * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. | |
2624 | ||
54c84734 MK |
2625 | 2003-09-26 Mark Kettenis <kettenis@gnu.org> |
2626 | ||
2627 | * regset.h: New file. | |
2628 | * Makefile.in (regset_h): Add. | |
2629 | ||
1b1d3794 AC |
2630 | 2003-09-25 Andrew Cagney <cagney@redhat.com> |
2631 | ||
2632 | * frame.h (deprecated_frame_saved_regs): Rename | |
2633 | get_frame_saved_regs. | |
2634 | * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. | |
2635 | * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. | |
2636 | * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. | |
2637 | * s390-tdep.c, sh64-tdep.c, stack.c: Update. | |
2638 | * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
2639 | ||
e6beb428 AC |
2640 | 2003-09-25 Andrew Cagney <cagney@redhat.com> |
2641 | ||
2642 | * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted | |
2643 | file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions, | |
2644 | and Java. | |
2645 | * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and | |
2646 | arm*-*-* do not use the new frame code. | |
2647 | ||
710122da DC |
2648 | 2003-09-25 David Carlton <carlton@kealia.com> |
2649 | ||
2650 | * c-exp.y: Remove 'register' declarations. | |
2651 | * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto. | |
2652 | ||
79c2c32d DC |
2653 | 2003-09-25 David Carlton <carlton@kealia.com> |
2654 | ||
2655 | * c-exp.y: Include cp-support.h. Add qualified_type. | |
2656 | (yylex): Delete nested type hack; add comments. | |
2657 | * cp-namespace.c (cp_lookup_nested_type): New function. | |
2658 | * cp-support.h: Declare cp_lookup_nested_type. | |
2659 | * eval.c (evaluate_subexp_standard): Call value_aggregate_elt | |
2660 | instead of value_struct_elt_for_reference. | |
2661 | * valops.c: Include cp-support.h. | |
2662 | (value_aggregate_elt): New function. | |
2663 | (value_namespace_elt): Ditto. | |
2664 | (value_struct_elt_for_reference): Make static. | |
2665 | * value.h: Delete declaration of value_struct_elt_for_reference; | |
2666 | add declaration for value_aggregate_elt. | |
2667 | * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h). | |
2668 | (valops.o): Ditto. | |
2669 | ||
898c62f5 DJ |
2670 | 2003-09-25 Daniel Jacobowitz <drow@mvista.com> |
2671 | ||
2672 | * stack.c: Include "reggroups.h". | |
2673 | (frame_info): Only display registers in all_reggroup. | |
2674 | * Makefile.in (stack.o): Update dependencies. | |
2675 | ||
28cd8767 JG |
2676 | 2003-09-25 Jerome Guitton <guitton@act-europe.fr> |
2677 | ||
2678 | * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and | |
2679 | "add ip, sp #n" in the prologue. | |
2680 | (arm_scan_prologue): Ditto. | |
2681 | ||
a4ab2b5d JG |
2682 | 2003-09-25 Jerome Guitton <guitton@act-europe.fr> |
2683 | ||
2684 | * MAINTAINERS (write after approval): Add myself. | |
2685 | ||
3f244638 AS |
2686 | 2003-09-25 Andreas Schwab <schwab@suse.de> |
2687 | ||
2688 | * m68k-tdep.c: Include "dwarf2-frame.h". | |
2689 | (m68k_gdbarch_init): Add the DWARF CFI frame unwinder. | |
2690 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
2691 | ||
1c0159e0 CV |
2692 | 2003-09-25 Corinna Vinschen <vinschen@redhat.com> |
2693 | ||
2694 | * sh-tdep.c (struct frame_extra_info): Remove. | |
2695 | (struct sh_frame_cache): New structure. | |
2696 | (GET_SOURCE_REG): New macro extracting source register of an opcode. | |
2697 | (GET_TARGET_REG): Ditto but target register. | |
2698 | (GET_PUSHED_REG): Remove. | |
2699 | (IS_MOV_ARG_TO_REG): New macro. | |
2700 | (IS_MOV_ARG_TO_IND_R14): New macro. | |
2701 | (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. | |
2702 | (IS_MOVW_PCREL_TO_REG): New macro. | |
2703 | (IS_MOVL_PCREL_TO_REG): New macro. | |
2704 | (IS_SUB_REG_FROM_SP): New macro. | |
2705 | (IS_ARG_MOV): Remove. | |
2706 | (IS_MOV_TO_R14): Remove. | |
2707 | (IS_RESTORE_FP): New macro. | |
2708 | (IS_RTS): New macro. | |
2709 | (IS_LDS): New macro. | |
2710 | (IS_MOV_FP_SP): New macro. | |
2711 | (IS_ADD_REG_TO_FP): New macro. | |
2712 | (IS_ADD_IMM_FP): New macro. | |
2713 | (sh_skip_prologue_hard_way): Remove. | |
2714 | (sh_saved_pc_after_call): Remove. | |
2715 | (sh_frame_chain): Remove. | |
2716 | (sh_find_callers_reg): Remove. | |
a8f4cde1 | 2717 | (sh_nofp_frame_init_saved_regs): Remove. |
1c0159e0 CV |
2718 | (sh_fp_frame_init_saved_regs): Remove. |
2719 | (sh_init_extra_frame_info): Remove. | |
2720 | (sh_analyze_prologue): New function. | |
2721 | (sh_skip_prologue): Remove deprecated code. Rely on new function | |
2722 | sh_analyze_prologue when after_prologue fails. | |
2723 | (sh_frame_saved_pc): Remove. | |
2724 | (sh_alloc_frame_cache): New function. | |
2725 | (sh_frame_cache): Ditto. | |
2726 | (sh_frame_prev_register): Ditto. | |
2727 | (sh_frame_this_id): Ditto. | |
2728 | (sh_frame_unwind): New structure defining the heuristic frame | |
2729 | sniffer interface. | |
2730 | (sh_frame_sniffer): New function. | |
2731 | (sh_unwind_sp): Ditto. | |
2732 | (sh_unwind_pc): Ditto. | |
2733 | (sh_unwind_dummy_id): Ditto. | |
2734 | (sh_frame_base_address): Ditto. | |
2735 | (sh_frame_base): New structure defining new frame base code. | |
2736 | (sh_in_function_epilogue_p): New function. | |
2737 | (sh_gdbarch_init): Restructure and simplify to eliminate deprecated | |
2738 | code and to call all new code instead. Initialize dwarf2 and | |
2739 | heuristic frame sniffer. | |
2740 | ||
5f9769d1 PH |
2741 | 2003-09-24 Paul N. Hilfinger <hilfingr@nile.gnat.com> |
2742 | ||
a8f4cde1 RM |
2743 | * parser-defs.h (struct exp_descriptor): New definition, containing |
2744 | language-specific info for printing, prefixifying, dumping, and | |
5f9769d1 PH |
2745 | evaluating expressions. |
2746 | (exp_descriptor_standard): Declare new variable. | |
2747 | (print_subexp): Make global and declare here (from expprint.c). | |
2748 | (dump_subexp): Ditto. | |
2749 | (dump_subexp_body_standard): Declare. | |
2750 | (operator_length_standard): Declare. | |
2751 | (op_name_standard): Declare. | |
2752 | (print_subexp): Declare. | |
2753 | (print_subexp_standard): Declare. | |
2754 | ||
2755 | * language.h (struct language_defn): Add la_exp_desc field to hold | |
2756 | pointer to table for language-specific operators. | |
2757 | Remove evaluate_exp field, which is now in struct exp_descriptor. | |
a8f4cde1 RM |
2758 | |
2759 | * parse.c (operator_length): Move most code to new | |
5f9769d1 | 2760 | operator_length_standard function. Use language-specific information. |
a8f4cde1 | 2761 | (operator_length_standard): New function taking most code from |
5f9769d1 PH |
2762 | operator_length. |
2763 | (exp_descriptor_standard): New constant. | |
a8f4cde1 RM |
2764 | |
2765 | * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 | |
5f9769d1 | 2766 | and OP_EXTENDED_LAST. |
a8f4cde1 RM |
2767 | |
2768 | * expprint.c (print_subexp): Use language-specific print_subexp. | |
5f9769d1 PH |
2769 | Make global; remove static declaration. |
2770 | Move most code to print_subexp_standard. | |
a8f4cde1 | 2771 | (print_subexp_standard): New function, containing code formerly in |
5f9769d1 PH |
2772 | print_subexp. |
2773 | (op_name): Add expression to argument signature. | |
a8f4cde1 | 2774 | Use langauge-specific op_name. |
5f9769d1 PH |
2775 | Move most code to op_name_standard. |
2776 | (op_name_standard): New function, containing code formerly in op_name. | |
2777 | (dump_subexp): Use new version of op_name function. | |
2778 | Use language-specific dump_subexp_body, and move most existing code to | |
2779 | dump_subexp_body_standard. | |
2780 | (dump_raw_expression): Use new op_name interface. | |
2781 | (dump_subexp_body): Move most code to dump_subexp_body_standard. | |
2782 | (dump_subexp_body_standard): New function, containing code formerly | |
2783 | in dump_subexp_body. | |
a8f4cde1 | 2784 | |
5f9769d1 PH |
2785 | * language.c (unknown_language): Add default la_exp_desc field and |
2786 | remove evaluate_exp field. | |
2787 | (auto_language): Ditto. | |
2788 | (local_language): Ditto. | |
2789 | * f-lang.c (f_language_defn): Ditto. | |
2790 | * c-lang.c (c_language_defn): Ditto. | |
2791 | (cplus_language_defn): Ditto. | |
2792 | (asm_language_defn): Ditto. | |
2793 | (minimal_language_defn): Ditto. | |
2794 | * p-lang.c (pascal_language_defn): Ditto. | |
2795 | * m2-lang.c (m2_language_defn): Ditto. | |
2796 | * objc-lang.c (objc_language_defn): Ditto. | |
a8f4cde1 RM |
2797 | |
2798 | * jv-lang.c (exp_descriptor_java): New variable, containing | |
5f9769d1 PH |
2799 | Java-specific expression evaluator. |
2800 | (java_language_defn): Add la_exp_desc field and remove evaluate_exp | |
2801 | field. | |
a8f4cde1 | 2802 | * scm-lang.c (exp_descriptor_scm): New variable, containing |
5f9769d1 PH |
2803 | Scheme-specific expression evaluator. |
2804 | (scm_language_defn): Add la_exp_desc field and remove evaluate_exp | |
2805 | field. | |
2806 | * objc-lang.c (print_object_command): Take evaluate_exp from the | |
2807 | la_exp_desc field. | |
a8f4cde1 | 2808 | |
5f9769d1 | 2809 | * Makefile.in (eval.o): Add dependency on parser-defs.h. |
a8f4cde1 RM |
2810 | |
2811 | * eval.c: Include parser-defs.h for the full declaration of | |
5f9769d1 PH |
2812 | la_exp_desc's type. |
2813 | (evaluate_subexp): Get evaluate_exp out of la_exp_desc field. | |
a8f4cde1 | 2814 | |
24daaebc PH |
2815 | 2003-09-23 Paul N. Hilfinger <hilfingr@nile.gnat.com> |
2816 | ||
2817 | * parser-defs.h (operator_length): Declare. | |
a8f4cde1 | 2818 | |
24daaebc PH |
2819 | * parse.c (length_of_subexp): Use operator_length to get operator |
2820 | lengths and arities for operators. | |
2821 | Move most code to new operator_length function. | |
a8f4cde1 | 2822 | (operator_length): New function absorbing most code from |
24daaebc PH |
2823 | length_of_subexp. |
2824 | (prefixify_subexp): Remove large case and use operator_length instead. | |
2825 | (parse_exp_1): Use renamings: | |
a8f4cde1 | 2826 | dump_prefix_expression => dump_raw_expression and |
24daaebc | 2827 | dump_postfix_expression => dump_prefix_expression. |
a8f4cde1 | 2828 | |
24daaebc PH |
2829 | * expression.h (dump_prefix_expression): Rename to ... |
2830 | (dump_raw_expression): New name. | |
2831 | (dump_postfix_expression): Rename to ... | |
2832 | (dump_prefix_expression): New name. | |
a8f4cde1 | 2833 | |
24daaebc PH |
2834 | * expprint.c (dump_subexp): Make global. Add comment. |
2835 | Move most existing code to dump_subexp_body. | |
2836 | (dump_subexp_body): New function. | |
2837 | (dump_prefix_expression): Rename to dump_raw_expression. | |
a8f4cde1 | 2838 | Remove attempt to print the expression via print_expression: it can't |
24daaebc PH |
2839 | work before the expression is prefixified. |
2840 | (dump_raw_expression): Renamed from dump_prefix_expression. | |
a8f4cde1 | 2841 | (dump_postfix_expression): Rename to dump_prefix_expression, since |
24daaebc | 2842 | that's what it does. |
a8f4cde1 | 2843 | Remove 'note' parameter, since this routine must be used on |
24daaebc PH |
2844 | prefixified expression. |
2845 | (dump_prefix_expression): Renamed from dump_postfix_expression. | |
a8f4cde1 | 2846 | |
8c2957c4 JB |
2847 | 2003-09-22 Jim Blandy <jimb@redhat.com> |
2848 | ||
2849 | * dwarf2read.c (read_array_type): When building the type for an | |
2850 | array of unspecified length, make sure to choose the upper bound | |
2851 | so that the array's total length comes out to be zero --- that's | |
2852 | how we represent such arrays. | |
2853 | ||
592e3010 MC |
2854 | 2003-09-22 Michael Chastain <mec@shout.net> |
2855 | ||
2856 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
2857 | ||
365c70b1 JJ |
2858 | 2003-09-22 Jeff Johnston <jjohnstn@redhat.com> |
2859 | ||
2860 | * top.c (quit_force): Fix indirect call to quit_target so | |
2861 | a struct qt_args pointer is passed. | |
2862 | ||
5d6eb653 AC |
2863 | 2003-09-22 Andrew Cagney <cagney@redhat.com> |
2864 | ||
2865 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
2866 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
2867 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
2868 | "init_frame_pc". | |
2869 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2870 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
2871 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
2872 | declaration. | |
2873 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
2874 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
2875 | declaration. | |
2876 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
2877 | ||
b222a67f AG |
2878 | 2003-09-22 Anthony Green <green@redhat.com> |
2879 | ||
2880 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
2881 | declaration. | |
2882 | ||
d5b5ac79 AC |
2883 | 2003-09-20 Andrew Cagney <cagney@redhat.com> |
2884 | ||
deafb061 AC |
2885 | * breakpoint.c: Eliminate ARGSUSED. |
2886 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
2887 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
2888 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
2889 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
2890 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
2891 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
2892 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
2893 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
2894 | * wince.c, remote-vx.c: Ditto. | |
2895 | ||
d5b5ac79 AC |
2896 | * cli/cli-script.c: Remove "register" attributes. |
2897 | * config/pa/tm-hppa.h: Ditto. | |
2898 | * cli/cli-decode.c: Ditto. | |
2899 | * cli/cli-cmds.c: Ditto. | |
2900 | ||
c6316faa AC |
2901 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
2902 | ||
2903 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
2904 | DEPRECATED_NPC_REGNUM. | |
2905 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
2906 | ||
f4f99b11 CF |
2907 | 2003-09-19 Christopher Faylor <cgf@redhat.com> |
2908 | ||
2909 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
2910 | ||
1708f284 JB |
2911 | 2003-09-19 Jim Blandy <jimb@redhat.com> |
2912 | ||
2913 | * macrotab.c (macro_include): Use the correct comparison to find | |
2914 | the appropriate place for this inclusion in the list. | |
2915 | ||
b9fbf434 AC |
2916 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
2917 | ||
2918 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
2919 | (DEPRECATED_HPUX_TEXT_END): Define. | |
2920 | (deprecated_hpux_text_end): Declare. | |
2921 | (struct target_ops): Declare opaque. | |
2922 | * hppah-nat.c (text_end): Make static. | |
2923 | (deprecated_hpux_text_end): New function. | |
2924 | * exec.c (text_end): Delete global variable. | |
2925 | (NEED_TEXT_START_END): Do not define. | |
2926 | (exec_file_attach): Replace code computing "text_end" code with | |
2927 | call to DEPRECATED_HPUX_TEXT_END. | |
2928 | ||
5b03f266 AC |
2929 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
2930 | ||
2931 | * utils.c (align_up, align_down): New functions. | |
2932 | * defs.h (align_up, align_down): Declare. | |
2933 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
2934 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
2935 | and "align_down". | |
2936 | (round_up, round_down): Delete functions. | |
2937 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
2938 | "align_down". | |
2939 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
2940 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
2941 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
2942 | "align_up" and "align_down". | |
2943 | (round_up, round_down): Delete macros. | |
2944 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
2945 | "align_down". | |
2946 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
2947 | ||
51db5742 JB |
2948 | 2003-09-18 J. Brobecker <brobecker@gnat.com> |
2949 | ||
2950 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
2951 | hard-coded constant. Use the proper machine name instead. | |
2952 | ||
77949794 AC |
2953 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2954 | ||
2955 | * sparc-tdep.c (legacy_register_name): Delete function. | |
2956 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
2957 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
2958 | * infcmd.c (gdb_register_name): Delete variable. | |
2959 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
2960 | REGISTER_NAME and "tm.h". | |
2961 | * gdbarch.h, gdbarch.c: Regenerate. | |
2962 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
2963 | REGISTER_NAMES in comments. | |
2964 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
2965 | * m68klinux-nat.c (regmap): Ditto. | |
2966 | ||
b55c33cc JB |
2967 | 2003-09-17 Jim Blandy <jimb@redhat.com> |
2968 | ||
2969 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
2970 | ||
957e27ac AC |
2971 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2972 | ||
2973 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
2974 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
2975 | "ppcnbsd_use_struct_convention". | |
2976 | ||
192cb3d4 MK |
2977 | 2003-09-17 Mark Kettenis <kettenis@gnu.org> |
2978 | ||
2979 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
2980 | * gdbarch.h, gdbarch.c: Regenerate. | |
2981 | (stabs_argument_has_addr): New architecture method. | |
2982 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
2983 | * arch-utils.c: Include "buildsym.h". | |
2984 | (default_stabs_argument_has_addr): New function. | |
2985 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
2986 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
2987 | ||
efe59759 AC |
2988 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2989 | ||
2990 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
2991 | * gdbarch.h, gdbarch.c: Regenerate. | |
2992 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
2993 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
2994 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
2995 | * sparcnbsd-tdep.c: Update. | |
a8f4cde1 | 2996 | |
62700349 AC |
2997 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
2998 | ||
2999 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
3000 | * gdbarch.h, gdbarch.c: Regenerate. | |
3001 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
3002 | * d10v-tdep.c, frame.c: Update. | |
3003 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
3004 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
3005 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
3006 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
3007 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
3008 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
3009 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
3010 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
3011 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
3012 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
3013 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
3014 | * config/pa/nm-hppah.h: Update. | |
3015 | ||
b9ff3018 AC |
3016 | 2003-09-16 Andrew Cagney <cagney@redhat.com> |
3017 | ||
3018 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
3019 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
3020 | (ppc_linux_use_struct_convention): New function. | |
3021 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
3022 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
3023 | "rs6000_use_struct_convention". | |
3024 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
3025 | declaration. | |
3026 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
3027 | Delete function. | |
3028 | ||
aa1ee363 AC |
3029 | 2003-09-16 Andrew Cagney <cagney@redhat.com> |
3030 | ||
3031 | * buildsym.c: Remove more occurances of "register". | |
3032 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
3033 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
3034 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
3035 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
3036 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
3037 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
3038 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
3039 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
3040 | ||
f2ea0907 CV |
3041 | 2003-09-16 Corinna Vinschen <vinschen@redhat.com> |
3042 | ||
3043 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
3044 | numbers to enumeration values. | |
3045 | * sh-tdep.c: Accomodate above change. | |
3046 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
3047 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
3048 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
3049 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
3050 | (IS_FPUSH): Rename from IS_FMOV. | |
3051 | (sh_extract_struct_value_address): Remove useless comment. | |
3052 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
3053 | instead of own local values. | |
3054 | (sh_dump_tdep): Remove. | |
3055 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
3056 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
3057 | ||
1c704f11 AC |
3058 | 2003-09-15 Andrew Cagney <cagney@redhat.com> |
3059 | ||
3060 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
3061 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
3062 | ||
ac79b88b DJ |
3063 | 2003-09-15 Daniel Jacobowitz <drow@mvista.com> |
3064 | ||
3065 | * values.c (unpack_double): Call floatformat_is_valid. | |
3066 | ||
1c671366 MK |
3067 | 2003-09-15 Mark Kettenis <kettenis@gnu.org> |
3068 | ||
de5227fb MK |
3069 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
3070 | ps_strings into a long. | |
3071 | ||
1c671366 MK |
3072 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
3073 | _initialize_am64fbsd_nat. | |
3074 | ||
a604369a KB |
3075 | 2003-09-15 Kevin Buettner <kevinb@redhat.com> |
3076 | ||
3077 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
3078 | associated with DW_AT_ranges attribute is out of bounds. | |
3079 | ||
b3cacbee DL |
3080 | 2003-09-15 David Lecomber <dsl@sources.redhat.com> |
3081 | ||
3082 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
3083 | ||
d0f37bb2 MC |
3084 | 2003-09-14 Michael Chastain <mec@shout.net> |
3085 | ||
3086 | * config/m68k/nm-apollo68v.h: Delete. | |
3087 | * config/m68k/xm-apollo68v.h: Delete. | |
3088 | ||
69517000 AC |
3089 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
3090 | ||
3091 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
3092 | * dcache.c: Update copyrights and descriptions. | |
3093 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
3094 | ||
ef8b349d AC |
3095 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
3096 | ||
3097 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
3098 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
3099 | ||
52f0bd74 AC |
3100 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
3101 | ||
3102 | * alpha-nat.c: Remove some occurances of "register". | |
3103 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
3104 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
3105 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
3106 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
3107 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
3108 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
3109 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
3110 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
3111 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
3112 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
3113 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
3114 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
3115 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
3116 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
3117 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
3118 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
3119 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
3120 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
3121 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
3122 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
3123 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
3124 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
a8f4cde1 | 3125 | |
4a4b3fed AC |
3126 | 2003-09-13 Andrew Cagney <cagney@redhat.com> |
3127 | ||
3128 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
3129 | * ppc-tdep.h (struct regcache): Declare opaque. | |
3130 | * objfiles.h (struct objfile_data): Declare opaque. | |
3131 | * cp-support.h (struct objfile): Declare opaque. | |
3132 | * linux-nat.h (target_waitstatus): Declare opaque. | |
3133 | ||
2110b94f MK |
3134 | 2003-09-14 Mark Kettenis <kettenis@gnu.org> |
3135 | ||
1c671366 MK |
3136 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
3137 | (stabs_argument_has_addr): New architecture method. | |
3138 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
3139 | * arch-utils.c: Include "buildsym.h". | |
3140 | (default_stabs_argument_has_addr): New function. | |
3141 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
3142 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
3143 | ||
2110b94f MK |
3144 | * cris-tdep.c (cris_gdbarch_init): Set |
3145 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
3146 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
3147 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
3148 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
3149 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
3150 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
3151 | ||
48436ce6 AC |
3152 | 2003-09-13 Andrew Cagney <cagney@redhat.com> |
3153 | ||
3154 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
3155 | parameters. | |
3156 | * value.h (using_struct_return): Update declaration. | |
3157 | * infcmd.c (finish_command_continuation): Update. | |
3158 | (finish_command): Update. | |
3159 | * infcall.c (call_function_by_hand): Update. | |
3160 | * eval.c (evaluate_subexp_standard): Update. | |
3161 | ||
403d9909 CF |
3162 | 2003-09-13 Christopher Faylor <cgf@redhat.com> |
3163 | ||
3164 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
3165 | SSE registers since gdb will not operate correctly without this. | |
3166 | Restore include file ordering munged in previous change. | |
3167 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
3168 | ||
ebf7d56b MK |
3169 | 2003-09-13 Mark Kettenis <kettenis@gnu.org> |
3170 | ||
8e823e25 MK |
3171 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
3172 | REG_STRUCT_HAS_ADDR. | |
3173 | * gdbarch.c, gdbarch.h: Updated. | |
3174 | * infcall.c (call_function_by_hand): Update. | |
3175 | * stabsread.c (define_symbol): Updated. | |
a8f4cde1 | 3176 | |
ebf7d56b MK |
3177 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
3178 | ||
d3f13f72 CF |
3179 | 2003-09-12 Christopher Faylor <cgf@redhat.com> |
3180 | ||
3181 | * win32-nat.c: Reorganize so that defines used by target headers are | |
3182 | actually defined by the system headers. | |
3183 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
3184 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
3185 | ||
14f75137 JB |
3186 | 2003-09-12 Jim Blandy <jimb@redhat.com> |
3187 | ||
d646061f JB |
3188 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
3189 | the file has no .data, .bss, or .rodata sections. Instead wait | |
3190 | until we see a variable alleged to live in one of those sections. | |
3191 | ||
2a13f9bc JB |
3192 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
3193 | .bss section, presume that any variables we find live in the | |
3194 | .rodata section. | |
3195 | ||
4f49b26b JB |
3196 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
3197 | offsets for global and static variables. | |
3198 | ||
14f75137 JB |
3199 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
3200 | symbol types are, by definition, in the .data section, so it is | |
3201 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
3202 | If there is no .data section, there should be no N_DATA or N_DATA | |
3203 | | N_EXT symbols. | |
3204 | ||
212c460c MK |
3205 | 2003-09-12 Mark Kettenis <kettenis@gnu.org> |
3206 | ||
3207 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
3208 | (amd64fbsd_sigcontext_addr): Rewrite. | |
3209 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
3210 | with correct values. | |
3211 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
3212 | (amd64fbsd_init_abi): Fix typo. | |
3213 | ||
68856ea3 AC |
3214 | 2003-09-12 Andrew Cagney <cagney@redhat.com> |
3215 | ||
3216 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
3217 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
3218 | ||
627b3ba2 AC |
3219 | 2003-09-12 Andrew Cagney <cagney@redhat.com> |
3220 | ||
3221 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
3222 | "entry_file_highpc". Update comments. | |
3223 | * defs.h (deprecated_inside_entry_file): Rename | |
3224 | "inside_entry_file". | |
3225 | * blockframe.c (deprecated_inside_entry_file): Rename | |
3226 | "inside_entry_file". | |
3227 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
3228 | * vax-tdep.c (vax_frame_chain): Update. | |
3229 | * sh64-tdep.c (sh64_frame_chain): Update. | |
3230 | * sh-tdep.c (sh_frame_chain): Update. | |
3231 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
3232 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
3233 | * mips-tdep.c (mips_frame_chain): Update. | |
3234 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
3235 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
3236 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
3237 | * frv-tdep.c (frv_frame_this_id): Update. | |
3238 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
3239 | * cris-tdep.c (cris_frame_chain): Update. | |
3240 | * blockframe.c (legacy_frame_chain_valid): Update. | |
3241 | * avr-tdep.c (avr_frame_this_id): Update. | |
3242 | * arm-tdep.c (arm_prologue_this_id): Update. | |
3243 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
3244 | * objfiles.c (objfile_relocate): Update. | |
3245 | * mipsread.c (mipscoff_symfile_read): Update. | |
3246 | (mipscoff_symfile_read): Update. | |
3247 | * mdebugread.c (parse_partial_symbols): Update. | |
3248 | * dwarfread.c (read_file_scope): Update. | |
3249 | * dwarf2read.c (read_file_scope): Update. | |
3250 | * dbxread.c (read_dbx_symtab): Update. | |
3251 | (read_dbx_symtab): Update. | |
3252 | * coffread.c (complete_symtab): Update. | |
3253 | ||
b0abbc58 JJ |
3254 | 2003-09-12 Jeff Johnston <jjohnstn@redhat.com> |
3255 | ||
3256 | * top.c (quit_target): New static helper function. | |
3257 | (quit_force): Moved code to quit_target(). Call quit_target() | |
3258 | via catch_errors() to catch errors during quit. | |
3259 | ||
a1632d59 DC |
3260 | 2003-09-11 David Carlton <carlton@kealia.com> |
3261 | ||
3262 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
3263 | block. | |
3264 | * mdebugread.c (new_block): Add FIXME. | |
3265 | ||
5c4e30ca DC |
3266 | 2003-09-11 David Carlton <carlton@kealia.com> |
3267 | ||
3268 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
3269 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
3270 | (recursive_dump_type): Ditto. | |
3271 | * printcmd.c (print_formatted): Ditto. | |
3272 | * typeprint.c (print_type_scalar): Ditto. | |
3273 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
3274 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
3275 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
3276 | maint_cplus_cmd_list. | |
3277 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
3278 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
3279 | command.h. | |
3280 | (lookup_symbol_file): Look in possible namespace blocks when | |
3281 | appropriate. | |
3282 | (initialize_namespace_symtab): New. | |
3283 | (get_possible_namespace_block, free_namespace_block) | |
3284 | (check_possible_namespace_symbols) | |
3285 | (check_possible_namespace_symbols_loop) | |
3286 | (check_one_possible_namespace_symbol) | |
3287 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
3288 | (_initialize_cp_namespace): Ditto. | |
3289 | * block.h: Declare allocate_block. | |
3290 | * block.c (allocate_block): New. | |
3291 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
3292 | allocate_block. | |
3293 | * symfile.h: Update declaration of add_psymbol_to_list. | |
3294 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
3295 | question. | |
3296 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
3297 | scan_partial_symbols_call. | |
3298 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
3299 | helper functions. | |
3300 | (add_partial_symbol): If necessary, scan mangled names for names | |
3301 | of namespaces. | |
3302 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
3303 | symbols associated to namespaces. | |
3304 | (add_partial_enumeration): Add NAMESPACE argument. | |
3305 | (new_symbol): Allow namespace syms. | |
3306 | (read_namespace): Generate namespace syms. | |
3307 | * objfiles.h: Add opaque declaration of struct symtab. | |
3308 | (struct objfile): Add cp_namespace_symtab member. | |
3309 | * objfiles.c (allocate_objfile): Set | |
3310 | objfile->cp_namespace_symtab. | |
3311 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
3312 | dictionary_h, command_h. | |
3313 | ||
33a7c2fc AC |
3314 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
3315 | ||
3316 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
3317 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
3318 | near the function's end. | |
3319 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
3320 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
3321 | regcache_raw_write_signed to set SP_REGNUM. | |
3322 | ||
63cd24fe EZ |
3323 | 2003-09-11 Elena Zannoni <ezannoni@redhat.com> |
3324 | ||
3325 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
3326 | orig_addrs is set up properly. | |
3327 | ||
f27dd7fd AC |
3328 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
3329 | ||
3330 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
3331 | * gdbarch.h, gdbarch.c: Re-generate. | |
3332 | * infcall.c (call_function_by_hand): Update. | |
3333 | * hppa-tdep.c (hppa_push_arguments): Update. | |
3334 | * ada-lang.c (place_on_stack): Update. | |
3335 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3336 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3337 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3338 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3339 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
3340 | stack_align. | |
3341 | ||
f630a401 DJ |
3342 | 2003-09-11 Daniel Jacobowitz <drow@mvista.com> |
3343 | ||
3344 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
3345 | register do need a frame. | |
3346 | ||
0ddabb4c AC |
3347 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
3348 | ||
3349 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
3350 | buildable since GDB 5.0. | |
3351 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
3352 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
3353 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
3354 | * irix4-nat.c: Delete file. | |
3355 | * config/mips/irix4.mh: Delete file. | |
3356 | * config/mips/irix3.mh: Delete file. | |
3357 | * config/mips/irix3.mt: Delete file. | |
3358 | * config/mips/tm-irix3.h: Delete file. | |
3359 | * config/mips/nm-irix3.h: Delete file. | |
3360 | * config/mips/xm-irix3.h: Delete file. | |
3361 | * config/mips/nm-irix4.h: Delete file. | |
3362 | * config/mips/xm-irix4.h: Delete file. | |
3363 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
3364 | ||
fde2cceb JB |
3365 | 2003-09-10 J. Brobecker <brobecker@gnat.com> |
3366 | ||
3367 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
3368 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
3369 | ||
66f667f5 JW |
3370 | 2003-09-10 James E Wilson <wilson@specifixinc.com> |
3371 | ||
ef5fd69f JW |
3372 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
3373 | section. | |
66f667f5 | 3374 | |
53e8aaea KB |
3375 | 2003-09-10 Kevin Buettner <kevinb@redhat.com> |
3376 | ||
3377 | * MAINTAINERS (frv): New ISA entry. | |
3378 | ||
dcc6aaff KB |
3379 | 2003-09-10 Kevin Buettner <kevinb@redhat.com> |
3380 | ||
3381 | * frv-tdep.c (dis-asm.h): Include. | |
3382 | * Makefile.in (frv-tdep.o): Update dependencies. | |
3383 | ||
932644f0 JJ |
3384 | 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> |
3385 | ||
3386 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
3387 | Fix typo for high range of floating registers. | |
3388 | ||
91c24f0a DC |
3389 | 2003-09-09 David Carlton <carlton@kealia.com> |
3390 | ||
3391 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
3392 | highpc initialization here out of scan_partial_symbols. | |
3393 | (scan_partial_symbols): Restructure into a recursive version, | |
3394 | calling add_partial_namespace and add_partial_enumeration when | |
3395 | appropriate. | |
3396 | (add_partial_namespace): New. | |
3397 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
3398 | ||
c9263853 AC |
3399 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3400 | ||
e56a0ecc AC |
3401 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
3402 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
3403 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
3404 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
3405 | ||
794a477a AC |
3406 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
3407 | (rs6000_push_dummy_call): Set the "TOC" register. | |
3408 | ||
c9263853 AC |
3409 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
3410 | methods "max_register_raw_size", "max_register_virtual_size" or | |
3411 | "register_virtual_size". | |
3412 | ||
afa7d0b2 ILT |
3413 | 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com> |
3414 | ||
3415 | * MAINTAINERS: Update my e-mail address. | |
3416 | ||
7a41266b AC |
3417 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3418 | ||
3419 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
3420 | (rs6000_push_dummy_call): Store the struct return address. | |
3421 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
3422 | ||
77b2b6d4 AC |
3423 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3424 | ||
3425 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
3426 | "ppc_sysv_abi_push_arguments". | |
3427 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
3428 | "ppc_sysv_abi_push_arguments". | |
3429 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
3430 | instead of "push_arguments". | |
3431 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
3432 | ||
e8a7b686 AC |
3433 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
3434 | ||
3435 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
3436 | instead of CALL_DUMMY_ADDRESS. | |
3437 | ||
f86f5ca3 PH |
3438 | 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com> |
3439 | ||
3440 | * p-lang.c: Eliminate "register". | |
3441 | * c-lang.c: Ditto. | |
3442 | * expprint.c: Ditto. | |
3443 | * f-lang.c: Ditto. | |
3444 | * jv-lang.c: Ditto. | |
3445 | * language.c: Ditto. | |
3446 | * m2-lang.c: Ditto. | |
3447 | * parse.c: Ditto. | |
3448 | * scm-lang.c: Ditto. | |
3449 | * objc-lang.c: Ditto. | |
3450 | ||
83ee270e NC |
3451 | 2003-09-09 Nick Clifton <nickc@redhat.com> |
3452 | ||
3453 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
3454 | ||
a89aa300 AC |
3455 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3456 | ||
3457 | * avr-tdep.c: Include "dis-asm.h". | |
3458 | * cris-tdep.c: Include "dis-asm.h". | |
3459 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
3460 | instead of corresponding typedef. | |
3461 | * h8300-tdep.c: Include "dis-asm.h". | |
3462 | * ia64-tdep.c: Include "dis-asm.h". | |
3463 | * i386-tdep.c: Include "dis-asm.h". | |
3464 | (i386_print_insn): Use "struct disassemble_info" instead of | |
3465 | corresponding typedef. | |
3466 | * m68k-tdep.c: Include "dis-asm.h". | |
3467 | * mcore-tdep.c: Include "dis-asm.h". | |
3468 | * mips-tdep.c: Include "dis-asm.h". | |
3469 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
3470 | instead of corresponding typedef. | |
3471 | * ns32k-tdep.c: Include "dis-asm.h". | |
3472 | * s390-tdep.c: Include "dis-asm.h". | |
3473 | * sparc-tdep.c: Include "dis-asm.h". | |
3474 | * vax-tdep.c: Include "dis-asm.h". | |
3475 | * v850-tdep.c: Include "dis-asm.h". | |
3476 | * mn10300-tdep.c: Include "dis-asm.h". | |
3477 | * rs6000-tdep.c: Include "dis-asm.h". | |
3478 | * xstormy16-tdep.c: Include "dis-asm.h". | |
3479 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
3480 | print_insn_xstormy16. | |
3481 | * Makefile.in (v850-tdep.o): Update dependencies. | |
3482 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
3483 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
3484 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
3485 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
3486 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
3487 | (gdbarch_h): Remove $(dis_asm_h). | |
3488 | * disasm.c: Include "dis-asm.h". | |
3489 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
3490 | corresponding typedef. | |
3491 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
3492 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
3493 | * gdbarch.sh: Do not include "dis-asm.h". | |
3494 | (struct disassemble_info): Declare opaque. | |
3495 | (TARGET_PRINT_INSN): Update declaration. | |
3496 | * gdbarch.h, gdbarch.c: Re-generate. | |
3497 | ||
88a82a65 AC |
3498 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
3499 | ||
3500 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
3501 | CALL_DUMMY_ADDRESS, change to a predicate. | |
3502 | * gdbarch.h, gdbarch.c: Re-generate. | |
3503 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
3504 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
3505 | * infcall.c (call_function_by_hand): Ditto. | |
3506 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
3507 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
3508 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
3509 | CALL_DUMMY_ADDRESS with entry_point_address. | |
3510 | * v850-tdep.c (v850_push_return_address): Ditto. | |
3511 | * s390-tdep.c (s390_push_return_address): Ditto. | |
3512 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
3513 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
3514 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
3515 | * cris-tdep.c (cris_push_return_address): Ditto. | |
3516 | * arm-tdep.c (arm_push_return_address): Ditto. | |
3517 | ||
3e2c4033 AC |
3518 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
3519 | ||
3520 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
3521 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
3522 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
3523 | (execute_cfa_program): Update. | |
3524 | (dwarf2_frame_cache): Update. Initialize table to | |
3525 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
3526 | location. | |
3527 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
3528 | ||
39efb398 AC |
3529 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
3530 | ||
3531 | * gnu-nat.c: Remove "inline" function attribute. | |
3532 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
3533 | ||
f5cb5aca KB |
3534 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
3535 | ||
3536 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
3537 | target. | |
3538 | ||
1cb761c7 KB |
3539 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
3540 | ||
3541 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
3542 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
3543 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
3544 | Add fields ``prev_sp'' and ``base''. | |
3545 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
3546 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
3547 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
3548 | Delete. | |
3549 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
3550 | Revise all callers. Fill in the unwind cache argument and make | |
3551 | other adjustments to account for new frame mechanisms. | |
3552 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
3553 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
3554 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
3555 | (frv_frame_unwind, frv_frame_base): New structs. | |
3556 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
3557 | additional arguments expected by this method and adjust function | |
3558 | body accordingly. | |
3559 | (frv_gdbarch_init): Remove calls to the following functions: | |
3560 | set_gdbarch_deprecated_init_frame_pc(), | |
3561 | set_gdbarch_deprecated_saved_pc_after_call(), | |
3562 | set_gdbarch_deprecated_frame_chain(), | |
3563 | set_gdbarch_deprecated_frame_saved_pc(), | |
3564 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
3565 | set_gdbarch_deprecated_push_arguments(), | |
3566 | set_gdbarch_deprecated_push_return_address(), | |
3567 | set_gdbarch_deprecated_pop_frame(), | |
3568 | set_gdbarch_deprecated_call_dummy_words(), | |
3569 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
3570 | set_gdbarch_deprecated_init_extra_frame_info(), | |
3571 | set_gdbarch_deprecated_dummy_write_sp(), and | |
3572 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
3573 | Add calls to the following functions: | |
3574 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
3575 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
3576 | frame_base_set_default(). | |
3577 | * Makefile.in (frv-tdep.o): Update dependencies. | |
a8f4cde1 | 3578 | |
68f6cf99 MK |
3579 | 2003-09-09 Mark Kettenis <kettenis@gnu.org> |
3580 | ||
3581 | * dwarf2-frame.c (read_encoded_value): Add support for | |
3582 | DW_EH_PE_aligned encoding. | |
3583 | ||
73b65bb0 DJ |
3584 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
3585 | ||
3586 | * infrun.c (normal_stop): Don't print a message if the inferior | |
3587 | has exited. | |
3588 | ||
7c8a5605 JB |
3589 | 2003-09-08 Jim Blandy <jimb@redhat.com> |
3590 | ||
3591 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
3592 | * dbxread.c: #include "gdb_assert.h". | |
3593 | (read_dbx_symtab): If the objfile has no .data section, use the | |
3594 | section index for the .bss section instead. | |
3595 | ||
7dd88986 DJ |
3596 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
3597 | ||
3598 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
3599 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
3600 | * findvar.c (read_var_value): Call it. | |
3601 | ||
55ff77ac CV |
3602 | 2003-09-08 Corinna Vinschen <vinschen@redhat.com> |
3603 | ||
3604 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
3605 | (sh64-tdep.o): Add dependencies. | |
3606 | * configure.tgt: Add FIXME to sh-*-linux*. | |
3607 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
3608 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
a8f4cde1 | 3609 | pointer. Call sh64_gdbarch_init() if machine type is sh5. |
55ff77ac CV |
3610 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. |
3611 | * sh64-tdep.c: New file, containing all sh64 related code from | |
3612 | sh-tdep.c. | |
3613 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
3614 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
a8f4cde1 | 3615 | * config/sh/nbsd.mt (TDEPFILES): Ditto. |
55ff77ac CV |
3616 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. |
3617 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
3618 | ||
bfb39158 DJ |
3619 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
3620 | ||
3621 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
3622 | (stop_wait_callback): Handle !lp->signalled also. | |
3623 | (lin_lwp_has_pending, flush_callback): New functions. | |
3624 | (lin_lwp_wait): Call flush_callback. | |
3625 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
3626 | (linux_proc_pending_signals): New function. | |
3627 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
3628 | ||
9407de8e DJ |
3629 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
3630 | ||
3631 | From Nick Kelsey <nickk@ubicom.com>: | |
3632 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
3633 | when the stop PC is at the beginning of a function also. | |
3634 | ||
2ef47cd0 DJ |
3635 | 2003-09-06 Daniel Jacobowitz <drow@mvista.com> |
3636 | ||
3637 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
3638 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
3639 | ||
6f4492c8 MK |
3640 | 2003-09-06 Mark Kettenis <kettenis@gnu.org> |
3641 | ||
3642 | * sol-thread.c: Include "gdb_string.h". | |
3643 | ||
d3420b2f MK |
3644 | 2003-09-03 Mark Kettenis <m.kettenis@osp.nl> |
3645 | ||
3646 | * gcore.c: Reorder include files in alphabetical order. Include | |
3647 | "gdb_assert.h". Various coding style fixes. | |
3648 | (derive_stack_segment, derive_heap_segment): Replace check for | |
3649 | non-null BOTTOM and TOP with gdb_assert. | |
3650 | (derive_heap_segment): Replace check for successful creation of | |
3651 | ZERO with gdb_assert. | |
3652 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
3653 | ||
5220ea4c AC |
3654 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3655 | ||
3656 | * thread-db.c (verbose_dlsym): New function. | |
3657 | (thread_db_load): Use verbose_dlsym | |
3658 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
3659 | that thread debugging was enabled. | |
3660 | ||
6e8c2c06 AC |
3661 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3662 | ||
3663 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
3664 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
3665 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
3666 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
3667 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
3668 | mips*-sony-*, and mips64*-*-elf* targets. | |
3669 | * config/mips/embedl.mt: Delete file. | |
3670 | * config/mips/embedl64.mt: Delete file. | |
3671 | * config/mips/mips.mt: Delete file. | |
3672 | * config/mips/mips64.mt: Delete file. | |
3673 | * config/mips/tm-embed.h: Delete file. | |
3674 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
3675 | * config/mips/embed64.mt: Delete out-of-date comment. | |
3676 | ||
3a3bc038 AC |
3677 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3678 | ||
3679 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
3680 | "have_nonsteppable_watchpoint". | |
3681 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3682 | * mips-tdep.c (mips_dump_tdep): Do not print | |
3683 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
3684 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
3685 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3686 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3687 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
3688 | ||
a957e642 CV |
3689 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
3690 | ||
3691 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
3692 | unused code. Add comment. | |
3693 | ||
a6fbcf2f CV |
3694 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
3695 | ||
3696 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
3697 | epilogue if watchpoint frame couldn't be found. | |
3698 | ||
c14a44d5 AC |
3699 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
3700 | ||
3701 | * Makefile.in: Re-generate all dependencies. | |
3702 | ||
f6c40618 AC |
3703 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3704 | ||
3705 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
3706 | * arch-utils.c (legacy_print_insn): Delete function. | |
3707 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
3708 | (_initialize_disasm): Delete function, contained code initializing | |
3709 | deprecated_tm_print_insn_info. | |
3710 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
3711 | (deprecated_tm_print_insn_info): Delete. | |
3712 | (TARGET_PRINT_INSN): Do not provide a default. | |
3713 | * gdbarch.h, gdbarch.c: Re-generate. | |
3714 | ||
242e8be5 AC |
3715 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3716 | ||
3717 | * disasm.c (fprintf_disasm): New function. | |
3718 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
3719 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
3720 | reverts 2003-08-14 change. | |
3721 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
3722 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
3723 | ||
3ffc3dda MS |
3724 | 2003-09-03 Michael Snyder <msnyder@redhat.com> |
3725 | ||
3726 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
3727 | ||
52d16ba8 AC |
3728 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3729 | ||
3730 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
3731 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
3732 | * symfile.c (syms_from_objfile): Update. | |
3733 | (reread_symbols): `Update | |
3734 | * exec.c (exec_file_attach): Update. | |
3735 | (exec_file_attach): Update. | |
3736 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
3737 | 2003-08-29 change. | |
3738 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
3739 | ||
eb5492fa DJ |
3740 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
3741 | ||
3742 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
3743 | trad-frame.h. | |
3744 | (arm_get_cache): Delete macro. | |
3745 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
3746 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
3747 | to prev_sp. | |
3748 | (thumb_scan_prologue): Update for cache changes. Don't call | |
3749 | DEPRECATED_PC_IN_CALL_DUMMY. | |
3750 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
3751 | argument and use it in desperation search for our prologue. Do not | |
3752 | search past the specified PC. | |
3753 | (arm_make_prologue_cache): Simplify. | |
3754 | ||
3755 | (arm_prologue_this_id, arm_prologue_prev_register) | |
3756 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
3757 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
3758 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
3759 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
3760 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
3761 | ||
3762 | (arm_frame_chain_valid, arm_find_callers_reg) | |
3763 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
3764 | (arm_pop_frame): Delete obsolete methods. | |
3765 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
3766 | ||
3767 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
3768 | and sigtramp unwinders. Set the default frame base method. | |
3769 | ||
3770 | * Makefile.in (arm-tdep.o): Update dependencies. | |
3771 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
3772 | get_frame_base_address. | |
3773 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
3774 | ||
24de872b DJ |
3775 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
3776 | ||
3777 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
3778 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
3779 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
3780 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
3781 | Take NEXT_FRAME and CACHE arguments. Call | |
3782 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
3783 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
3784 | Don't bother checking the frame type when looking for sigtramp | |
3785 | frames. | |
3786 | (arm_make_prologue_cache, arm_frame_chain) | |
3787 | (arm_init_extra_frame_info): New functions. | |
3788 | ||
9b8d791a DJ |
3789 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
3790 | ||
3791 | * arm-tdep.c (arm_get_cache): Define. | |
3792 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
3793 | unwound_sp, unwound_pc, and saved_regs. | |
3794 | (thumb_scan_prologue): Take a cache instead of the frame. | |
3795 | (arm_scan_prologue): Likewise. | |
3796 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
3797 | instead of a temporary frame. | |
3798 | (arm_init_extra_frame_info): Allocate and use a cache. | |
3799 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
3800 | ||
7ee3275f AC |
3801 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3802 | ||
3803 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
3804 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
3805 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
3806 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
3807 | * config/sparc/sp64.mt (CC): Delete. | |
3808 | ||
57b29be7 AC |
3809 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
3810 | ||
3811 | * defs.h: Do not include "arch-utils.h". | |
3812 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
3813 | GDB_MULTI_ARCH_PURE. | |
3814 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
3815 | * configure, config.in: Regenerate. | |
3816 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
3817 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
3818 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
3819 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
3820 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
3821 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
3822 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
3823 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
3824 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
3825 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
3826 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
3827 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
3828 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
3829 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
3830 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
3831 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
3832 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
3833 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
3834 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
a8f4cde1 | 3835 | |
12e035e2 MC |
3836 | 2003-08-30 Michael Chastain <mec@shout.net> |
3837 | ||
3838 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
3839 | * config/m68k/nm-hp300hpux.h: Delete. | |
3840 | * config/m68k/tm-hp300hpux.h: Delete. | |
3841 | * config/m68k/xm-hp300hpux.h: Delete. | |
3842 | * config/m68k/xm-hp300bsd.h: Delete. | |
3843 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
3844 | tm-hp300hpux.h, xm-hp300hpux.h. | |
3845 | * somsolib.c: Remove comment about hp300 shared libraries. | |
3846 | ||
bda34dc2 MK |
3847 | 2003-08-31 Mark Kettenis <kettenis@gnu.org> |
3848 | ||
5bca7895 MK |
3849 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
3850 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
3851 | Various style fixes in code and comments and some additional | |
3852 | spelling fixes in comments. Move after functions dealing with | |
3853 | debug registers. | |
3854 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
3855 | Fix coding-style. | |
3856 | ||
bda34dc2 MK |
3857 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
3858 | frame_unwind_register_unsigned instead of | |
3859 | frame_unwind_unsigned_register. | |
3860 | ||
c890192f MK |
3861 | 2003-08-30 Mark Kettenis <kettenis@gnu.org> |
3862 | ||
3863 | * configure.in: Search for gethostbyname in libnsl. | |
3864 | * configure: Regenerated. | |
3865 | ||
60fac5b8 MK |
3866 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
3867 | ||
e294916c MK |
3868 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
3869 | uintptr_t in stdint.h. | |
3870 | * configure: Regenerated. | |
3871 | ||
c40d267a MK |
3872 | * amd64-nat.h (struct regcache): Add opaque declaration. |
3873 | ||
60fac5b8 MK |
3874 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
3875 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
3876 | Change "register array" to "register cache" in comments. | |
3877 | (x86_64_linux_gregset64_reg_offset): New variable. | |
3878 | (GETREGS_SUPPLIES): Remove macro. | |
3879 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
3880 | x86_64_linux_supply_gregset. | |
3881 | (fill_gregset): Rename `regno' to `regnum'. Call | |
3882 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
3883 | (store_regs): Rename `regno' to `regnum'. | |
3884 | (store_fpregs): Rename `regno' to `regnum'. | |
3885 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
3886 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
3887 | Reorganize function a bit. | |
3888 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
3889 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
3890 | Reorganize function a bit. | |
3891 | (_initialize_x86_64_linux_nat): New function. | |
3892 | * config/i386/x86-64linux.mh. | |
3893 | ||
546143b6 AC |
3894 | 2003-08-29 Andrew Cagney <cagney@redhat.com> |
3895 | ||
3896 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
3897 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
3898 | (target_remove_watchpoint): Delete macro. | |
3899 | (target_insert_watchpoint): Delete macro. | |
3900 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
3901 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
3902 | (remote_mips_remove_watchpoint): Delete declaration. | |
3903 | (remote_mips_set_watchpoint): Delete declaration. | |
3904 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
3905 | * remote-mips.c (_initialize_remote_mips): Set | |
3906 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
3907 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
3908 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
3909 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
3910 | (mips_stopped_by_watchpoint): Rename | |
3911 | remote_mips_stopped_by_watchpoint. | |
3912 | (mips_can_hardware_watchpoint): Rename | |
3913 | remote_mips_can_use_hardware_watchpoint, update function | |
3914 | signature. | |
3915 | ||
7bace51b MK |
3916 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
3917 | ||
b0f5c6f2 MK |
3918 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
3919 | USER_DS. We haven't given them a register number yet. | |
3920 | ||
2a6d284d MK |
3921 | * amd64-nat.h: New file. |
3922 | * amd64-nat.c: New file. | |
3923 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
3924 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
3925 | (amd64fbsd32_r_reg_offset): New variable. | |
3926 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
3927 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
3928 | amd64_collect_native_gregset. | |
3929 | (fill_fpregset): Rename `regno' to `regnum'. | |
3930 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
3931 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
3932 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
3933 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
3934 | supply_gregset. Call x86_64_supply_fxsave instead of | |
3935 | supply_fpregset. | |
3936 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
3937 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
3938 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
3939 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
3940 | fill_gregset. Call x86_64_collect_fxsave instead of | |
3941 | fill_fpregset. | |
3942 | (_initialize_am64fbsd_nat): Initialize | |
3943 | amd64_native_gregset32_reg_offset and | |
3944 | amd64_native_gregset64_reg_offset. | |
3945 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
3946 | ||
a16d75cc MK |
3947 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
3948 | null pointer. Fix typo in comment. | |
3949 | ||
7bace51b MK |
3950 | * regcache.c (supply_register): Reimplement to call |
3951 | regcache_raw_supply. | |
3952 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
3953 | ||
9a661b68 MK |
3954 | 2003-08-28 Mark Kettenis <kettenis@gnu.org> |
3955 | ||
3956 | * regcache.c (register_buffer): Consitify first argument. | |
3957 | (regcache_raw_supply, regcache_raw_collect): New | |
3958 | functions. | |
3959 | ||
e94cc8fa DJ |
3960 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
3961 | ||
3962 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
3963 | by Nathan J. Williams. | |
3964 | ||
c64bd0ce DJ |
3965 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
3966 | ||
3967 | * lin-lwp.c (wait_lwp): New function, copied from | |
3968 | stop_wait_callback. Clean up. | |
3969 | (stop_wait_callback): Use wait_lwp. | |
3970 | ||
e5ab0dce AC |
3971 | 2003-08-28 Andrew Cagney <cagney@redhat.com> |
3972 | ||
3973 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
3974 | flavour and disassembler options. | |
3975 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
3976 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
3977 | deprecated_tm_print_insn_info. | |
a8f4cde1 | 3978 | |
a788de9b AC |
3979 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3980 | ||
3981 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
3982 | Use target_read_memory. | |
3983 | (s390_get_frame_info): Update. Do not reference | |
3984 | deprecated_tm_print_insn_info. | |
3985 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
3986 | ||
36482093 AC |
3987 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
3988 | ||
3989 | * Makefile.in (cris-tdep.o): Update dependencies. | |
3990 | * cris-tdep.c: Include "gdb_assert.h". | |
3991 | (cris_gdbarch_init): Set print_insn. | |
3992 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
3993 | (cris_delayed_get_disassembler): Simplify, directly call the | |
3994 | disassembler returned by cris_get_disassembler. | |
3995 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
3996 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
3997 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
3998 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
3999 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
4000 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
4001 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
4002 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
4003 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
4004 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
4005 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
4006 | (gdb_print_insn_sparc): Delete function. | |
4007 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
4008 | deprecated_tm_print_insn_info. | |
4009 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
4010 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
4011 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
4012 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
4013 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
4014 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
4015 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
4016 | (s390_gdbarch_init): Set print_insn. | |
4017 | ||
0285512f AC |
4018 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
4019 | ||
4020 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
4021 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
4022 | * infcall.c (call_function_by_hand): Convert the entry point | |
4023 | address into a code address. | |
4024 | ||
cdcd5552 AC |
4025 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
4026 | ||
4027 | * dsrec.c: Include "gdb_string.h". | |
4028 | * Makefile.in (dsrec.o): Update dependencies. | |
4029 | ||
e85cddad MC |
4030 | 2003-08-27 Michael Chastain <mec@shout.net> |
4031 | ||
4032 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
4033 | ||
8bbfbb23 AC |
4034 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
4035 | ||
4036 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
4037 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
4038 | ||
ba058b66 DC |
4039 | 2003-08-27 David Carlton <carlton@kealia.com> |
4040 | ||
4041 | From Randolph Chung <tausq@debian.org>: | |
4042 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
4043 | compiles with -Wformat-nonliteral -Werror. | |
4044 | ||
87f84c9d JB |
4045 | 2003-08-26 Jim Blandy <jimb@redhat.com> |
4046 | ||
4047 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
4048 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
4049 | bfd_lookup_symbol, since we only want symbols in code sections. | |
4050 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
4051 | bfd_lookup_symbol, since we're not concerned about which section | |
4052 | the symbol is in. | |
4053 | ||
102d615a JJ |
4054 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
4055 | ||
4056 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
a8f4cde1 | 4057 | we are frameless or the return address register is already known. |
102d615a | 4058 | |
cc7ad3ea AC |
4059 | 2003-08-26 Andrew Cagney <cagney@redhat.com> |
4060 | ||
4061 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
4062 | in size. Add comments. | |
4063 | ||
af8b88dd JJ |
4064 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
4065 | ||
4066 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
a8f4cde1 | 4067 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). |
af8b88dd | 4068 | |
e0a4f5a1 JM |
4069 | 2003-08-26 Jason Merrill <jason@redhat.com> |
4070 | ||
4071 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
4072 | case out of #ifdef MIPS block. | |
4073 | ||
4ae9ee8e DJ |
4074 | 2003-08-25 Daniel Jacobowitz <drow@mvista.com> |
4075 | ||
4076 | PR java/1322 | |
4077 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
4078 | available before calling SECT_OFF_TEXT. | |
3c164570 | 4079 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 4080 | |
004d836a JJ |
4081 | 2003-08-25 Jeff Johnston <jjohnstn@redhat.com> |
4082 | ||
a8f4cde1 | 4083 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, |
004d836a JJ |
4084 | bof, and nat0-nat127 as pseudo-registers. |
4085 | (ia64_frame_cache): New struct used to cache frame info. | |
4086 | (ia64_register_reggroup_p): New routine used to override default | |
a8f4cde1 | 4087 | register grouping so registers without names are still saved and |
004d836a | 4088 | restored. |
a8f4cde1 | 4089 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their |
004d836a JJ |
4090 | pseudo values. |
4091 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
4092 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
a8f4cde1 | 4093 | (ia64_alloc_frame_cache): New routine to create a new |
004d836a JJ |
4094 | ia64_frame_cache. |
4095 | (examine_prologue): Change prototype to add next_frame pointer. | |
4096 | Assume frameless until otherwise proven. Verify that the cfm for | |
a8f4cde1 | 4097 | current frame matches the cfm that should occur for the prologues |
004d836a JJ |
4098 | alloc insn and if equal, mark as not frameless. At end of routine, |
4099 | if not frameless, calculate registers for the previous frame and store | |
4100 | in the cache, if a cache is provided. | |
4101 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
4102 | and pass 0 for next_frame. | |
4103 | (ia64_store_return_value): Change to use convert_typed_floating() | |
4104 | instead of calling ia64_convert_to_raw(). | |
4105 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
4106 | instead of calling ia64_convert_to_virtual(). | |
4107 | (ia64_frame_cache): New routine to support new frame model. | |
4108 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
4109 | (ia64_frame_sniffer): Ditto. | |
4110 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
4111 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
4112 | (ia64_sigtramp_frame_prev_register): Ditto. | |
4113 | (ia64_sigtramp_frame_sniffer): Ditto. | |
4114 | (ia64_frame_base_address): Ditto. | |
4115 | (ia64_extract_struct_value_address): Change to issue error message. | |
4116 | (ia64_frame_align): New routine to align sp. | |
4117 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
a8f4cde1 | 4118 | (ia64_push_arguments): Removed. Logic moved to |
004d836a JJ |
4119 | ia64_push_dummy_call(). |
4120 | (ia64_push_return_address): Ditto. | |
4121 | (ia64_unwind_dummy_id): New function. | |
4122 | (ia64_unwind_pc): Ditto. | |
4123 | (ia64_convert_register_p): Ditto. | |
4124 | (ia64_register_to_value): Ditto. | |
4125 | (ia64_value_to_register): Ditto. | |
4126 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
4127 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
4128 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
4129 | (ia64_saved_pc_after_call): Ditto. | |
4130 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
4131 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
4132 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
4133 | (ia64_register_convert_to_raw): Ditto. | |
4134 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
4135 | (ia64_init_extra_frame_info): Ditto. | |
4136 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
4137 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
4138 | are no longer used. Add registration of new gdbarch functions. | |
4139 | Remove registering deprecated_write_sp. Replace | |
4140 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
4141 | Delete set_gdbarch_deprecated_register_convertible(), | |
4142 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
4143 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
4144 | set_gdbarch_deprecated_register_size(), | |
4145 | set_gdbarch_deprecated_register_bytes(), | |
4146 | set_gdbarch_pcregnum(), | |
4147 | set_gdbarch_deprecated_register_byte(), | |
4148 | set_gdbarch_deprecated_register_raw_size(), | |
4149 | set_gdbarch_deprecated_max_register_raw_size(), | |
4150 | set_gdbarch_deprecated_register_virtual_size(), | |
4151 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
4152 | Replace set_gdbarch_deprecated_extract_return_value() with | |
4153 | set_gdbarch_extract_return_value(). Remove calls to: | |
4154 | set_gdbarch_deprecated_saved_pc_after_call(); | |
4155 | set_gdbarch_deprecated_frame_chain(), | |
4156 | set_gdbarch_deprecated_frame_saved_pc(), | |
4157 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
4158 | set_gdbarch_deprecated_get_saved_register(), | |
4159 | set_gdbarch_deprecated_call_dummy_words(), | |
4160 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
4161 | set_gdbarch_deprecated_init_extra_frame_info(), | |
4162 | set_gdbarch_deprecated_frame_args_address(), | |
4163 | set_gdbarch_deprecated_frame_locals_address(), | |
4164 | and set_gdbarch_deprecated_dummy_write_sp(). | |
4165 | Add set_gdbarch_convert_register_p(), | |
4166 | set_gdbarch_register_to_value(), | |
4167 | set_gdbarch_value_to_register(), | |
4168 | set_gdbarch_push_dummy_call(), | |
4169 | set_gdbarch_frame_align(), | |
4170 | set_gdbarch_unwind_dummy_id(), | |
4171 | set_gdbarch_unwind_pc(), | |
4172 | frame_unwind_append_sniffer(), | |
4173 | frame_unwind_append_sniffer(), | |
4174 | and frame_base_set_default(). | |
4175 | ||
aede7613 CD |
4176 | 2003-08-25 Chris Demetriou <cgd@broadcom.com> |
4177 | ||
4178 | * configure.tgt: Document need for special "mipsisa64" handling. | |
4179 | (mipsisa64*-*-linux64): Handle as target linux64. | |
4180 | (mipsisa64*-*-*): Handle as target embed64. | |
4181 | ||
43c3a82e MC |
4182 | 2003-08-18 Michael Chastain <mec@shout.net> |
4183 | ||
4184 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
4185 | objfile bug. | |
4186 | ||
6564f77d MK |
4187 | 2003-08-24 Mark Kettenis <kettenis@gnu.org> |
4188 | ||
2de139ba MK |
4189 | * i387-tdep.h: Update copyright date. |
4190 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
4191 | ||
6564f77d MK |
4192 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
4193 | CFLAGS games to reflect reality. | |
4194 | ||
42cf1509 AC |
4195 | 2003-08-24 Andrew Cagney <cagney@redhat.com> |
4196 | ||
4197 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
4198 | GDB_MULTI_ARCH is always non-zero. | |
4199 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
4200 | (gdbarch_init_osabi): Ditto. | |
4201 | * sparc-tdep.c: Ditto for #if code. | |
4202 | ||
0485f6ad MK |
4203 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
4204 | ||
4205 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
4206 | Update comments. | |
4207 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
4208 | comments. | |
4209 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
4210 | x86_64_supply_fxsave. | |
4211 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
4212 | x86_64_supply_fxsave. | |
4213 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
4214 | x86_64_supply_fxsave. | |
4215 | ||
c7716133 AJ |
4216 | 2003-08-23 Andreas Jaeger <aj@suse.de> |
4217 | ||
4218 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
4219 | i387_supply_fxsave. | |
4220 | ||
ed504bdf MK |
4221 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
4222 | ||
4223 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
4224 | i387_supply_register. | |
4225 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
4226 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
4227 | i387_supply_fsave. | |
4228 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
4229 | i387_supply_fxsave. | |
4230 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
4231 | i387_supply_fsave. | |
4232 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
4233 | i387_supply_fsave. | |
4234 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
4235 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
4236 | supply_fpregset. | |
4237 | (store_inferior_registers): Remove extraneous whitespace. Call | |
4238 | i387_fill_fsave instead of fill_fpregset. | |
4239 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
4240 | (supply_fpregset): Likewise. | |
4241 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
4242 | i387_supply_fsave. | |
4243 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
4244 | i387_supply_fsave. | |
4245 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
4246 | i387_supply_fsave. | |
4247 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
4248 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
4249 | i387supply_fsave and i387_supply_fxsave. | |
4250 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
4251 | Incorporate code from `i387_supply_register. | |
4252 | (i387_supply_register): Remove. | |
4253 | (i387_supply_fxsave): Add `regnum' argument. | |
4254 | Update comments. | |
4255 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
4256 | prototype. | |
4257 | (i387_supply_register): remove prototype. | |
4258 | Update comments. | |
a8f4cde1 | 4259 | |
4be5d520 MC |
4260 | 2003-08-22 Michael Chastain <mec@shout.net> |
4261 | ||
4262 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
4263 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
4264 | still not 8.3 unique. | |
4265 | ||
7ed85d26 DJ |
4266 | 2003-08-22 Daniel Jacobowitz <drow@mvista.com> |
4267 | ||
4268 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
4269 | TYPE_VPTR_FIELDNO is valid. | |
4270 | ||
eb0d3137 MK |
4271 | 2003-08-19 Mark Kettenis <kettenis@gnu.org> |
4272 | ||
4273 | * utils.c (set_width_command): Remove prototypes. | |
4274 | (set_screen_size): New prototype. | |
4275 | (init_page_info): Simplify by fetching the screen size from | |
4276 | Readline. Call set_screen_size. | |
4277 | (set_screen_size): New function. | |
4278 | (set_width): Add missing whitespace in comment. | |
4279 | (set_width_command): Call set_screen_size. | |
4280 | (set_height_command): New function. | |
4281 | (initialize_utils): Fix formatting. Make "set height" command | |
4282 | call set_height_command. Remove redundant code that turns off | |
4283 | pagination if output isn't a terminal. Remove redundant call to | |
4284 | set_width_command. | |
a8f4cde1 | 4285 | |
7e6d0ac8 MK |
4286 | 2003-08-22 Mark Kettenis <kettenis@gnu.org> |
4287 | ||
3567a8ea MK |
4288 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
4289 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
4290 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
4291 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
4292 | `case' keyword. | |
4293 | (sparc64_register_info): Give the reister with number | |
4294 | SPARC64_STATE_REGNUM a name. | |
4295 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
4296 | %asi and %ccr. | |
4297 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
4298 | stcak alignment. | |
4299 | (sparc_software_single_step): Remove assertions that check whether | |
4300 | NPC and NNPC were zero. | |
4301 | (sparc_supply_rwindow): Make public. Merge functionality with | |
4302 | sparc64_supply_rwindow. | |
4303 | (sparc_fill_rwindow): Make public. Merge functionality with | |
4304 | sparc64_fill_rwindow. | |
4305 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
4306 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
4307 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
4308 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
4309 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
4310 | ||
7e6d0ac8 MK |
4311 | * reggroups.c: Add whitespace after declarations of local |
4312 | variables in functions. | |
4313 | ||
72e5f484 MC |
4314 | 2003-08-21 Michael Chastain <mec@shout.net> |
4315 | ||
4316 | * gdbtypes.h: Change array bound type from an int to enum. | |
4317 | ||
435ac228 AC |
4318 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
4319 | ||
4320 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
4321 | * config/sparc/tm-sparc.h: Ditto. | |
4322 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
4323 | unconditionally. | |
4324 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
4325 | ||
0d0e1a63 MK |
4326 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
4327 | ||
4328 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
4329 | (register_objfile_data, set_objfile_data, objfile_data): New | |
4330 | prototypes. | |
4331 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
4332 | prototypes. | |
4333 | (allocate_objfile): Call objfile_alloc_data. | |
4334 | (free_objfile): Call objfile_free_data. | |
4335 | (struct objfile_data): New. | |
4336 | (struct objfile_data_registration): New. | |
4337 | (struct objfile_data_registry): New. | |
4338 | (objfile_data_registry): New variable. | |
4339 | (register_objfile_data): New function. | |
4340 | (objfile_alloc_data, objfile_free_data): New functions. | |
4341 | (set_objfile_data, objfile_data): New functions. | |
4342 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
4343 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
4344 | (_initialize_dwarf2_frame): New function and prototype. | |
4345 | ||
d90cf509 AC |
4346 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
4347 | ||
4348 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
4349 | a specific architecture. | |
4350 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
4351 | declaration. | |
4352 | (target_architecture_hook): Delete declaration. | |
4353 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
4354 | (default_float_format): Assume GDB_MULTI_ARCH. | |
4355 | (default_double_format): Assume GDB_MULTI_ARCH. | |
4356 | (set_endian_from_file): Delete function. | |
4357 | (arch_ok): Delete function. | |
4358 | (set_arch): Delete function. | |
4359 | (set_architecture_from_arch_mach): Delete function. | |
4360 | (set_architecture_from_file): Delete function. | |
4361 | (set_architecture): Assume GDB_MULTI_ARCH. | |
4362 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
4363 | ||
8b39fe56 MK |
4364 | 2003-08-21 Mark Kettenis <kettenis@gnu.org> |
4365 | ||
4366 | Rewrite FreeBSD/sparc64 native configuration. | |
4367 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
4368 | * sparc64fbsd-nat.c: New file. | |
4369 | * sparc64fbsd-tdep.c: New file. | |
4370 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
4371 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
4372 | sparc64fbsd-tdep.o): New dependencies. | |
4373 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
4374 | and sparc64fbsd-tdep.c. | |
4375 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
4376 | * config/sparc/fbsd.mh: Remove copyright notice. | |
4377 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
4378 | sparcbsd-nat.o. | |
4379 | * config/sparc/fbsd.mt: Remove copyright notice. | |
4380 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
4381 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
4382 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
4383 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
4384 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
4385 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
4386 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
4387 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
4388 | "sparc/tm-sp64.h". | |
4389 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
4390 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
4391 | ||
a7f19c79 MC |
4392 | 2003-08-21 Michael Chastain <mec@shout.net> |
4393 | ||
4394 | * symtab.h: Add doco on the space critical structures and | |
4395 | some measurements of space usage. | |
4396 | ||
da08ea5b MS |
4397 | 2003-08-21 Michael Snyder <msnyder@redhat.com> |
4398 | ||
4399 | * tracepoint.c (trace_dump_command): Trace break address | |
4400 | is subject to DECR_PC_AFTER_BREAK. | |
4401 | (set_traceframe_context): Make "trace_line" an int. | |
4402 | Fixes suggested by Mark Newman <mark.newman@lmco.com> | |
a8f4cde1 | 4403 | |
6df2bf50 MS |
4404 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
4405 | ||
4406 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
a8f4cde1 RM |
4407 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set |
4408 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
6df2bf50 | 4409 | argument passing. |
a8f4cde1 | 4410 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New |
6df2bf50 MS |
4411 | functions, replace sh_push_dummy_call. |
4412 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
4413 | ||
0955bbf0 MC |
4414 | 2003-08-20 Michael Chastain <mec@shout.net> |
4415 | ||
4416 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
4417 | ||
260a4188 MS |
4418 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
4419 | ||
4420 | * trad-frame.c: Comment typo fix. | |
4421 | ||
8baa6f92 KB |
4422 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
4423 | Kevin Buettner <kevinb@redhat.com> | |
4424 | ||
4425 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
4426 | (frv_frame_init_saved_regs): Add declaration. | |
4427 | (frame_extra_info): Add new field ``saved_regs''. | |
4428 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
4429 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
4430 | Update frame related code. | |
4431 | (frv_extract_struct_value_address): Adjust formatting. | |
4432 | * Makefile.in (frv-tdep.o): Update dependencies. | |
4433 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
4434 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
4435 | (target_remove_hw_breakpoint): Delete these macros. | |
4436 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
4437 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
4438 | these declarations. | |
4439 | ||
87193939 MC |
4440 | 2003-08-20 Michael Chastain <mec@shout.net> |
4441 | ||
4442 | * defs.h (ENUM_BITFIELD): New macro. | |
4443 | * symtab.h (ENUM_BITFIELD): Use it. | |
4444 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
4445 | ||
062103ba SA |
4446 | 2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com> |
4447 | ||
4448 | * MAINTAINERS (write after approval): Add myself. | |
a8f4cde1 | 4449 | |
8b148df9 AC |
4450 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
4451 | ||
4452 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
4453 | * gdbarch.h, gdbarch.c: Re-generate. | |
4454 | * infcall.c (call_function_by_hand): Adjust the SP by | |
4455 | frame_red_zone_size before allocating any stack space. | |
4456 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
4457 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
4458 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
4459 | ||
4460 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
4461 | Remove code adjusting SP so that it skips over the Red Zone. | |
4462 | ||
954a4db8 MK |
4463 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
4464 | ||
4465 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
4466 | ||
1a241548 AC |
4467 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
4468 | ||
4469 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
4470 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
4471 | "m68k_frame_p". | |
4472 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
4473 | ||
f82b2acd MK |
4474 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
4475 | ||
4476 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
4477 | ||
4056d258 ML |
4478 | 2003-08-18 Michal Ludvig <mludvig@suse.cz> |
4479 | ||
4480 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
4481 | Define. | |
4482 | * i386-linux-nat.c: Include "linux-nat.h". | |
4483 | (child_post_startup_inferior): New function. | |
a8f4cde1 | 4484 | |
99ab4326 MK |
4485 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
4486 | ||
4487 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
4488 | at the start of a frameless function. This probably fixes PR | |
4489 | backtrace/1338. | |
4490 | ||
c8d5f0d6 MC |
4491 | 2003-08-17 Michael Chastain <mec@shout.net> |
4492 | ||
4493 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
4494 | ||
9016a515 DJ |
4495 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
4496 | ||
4497 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
4498 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
4499 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
4500 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
4501 | (linux_supports_tracevforkdone): New function. | |
4502 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
4503 | TRACEVFORKDONE. | |
4504 | (child_follow_fork): Handle vfork. | |
4505 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
4506 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
4507 | * NEWS: Mention fork tracing. | |
4508 | ||
c538c11c DJ |
4509 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
4510 | ||
4511 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
4512 | ||
4de4c07c DJ |
4513 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
4514 | ||
4515 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
4516 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
4517 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
4518 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
4519 | * i386-linux-nat.c: Include "linux-nat.h". | |
4520 | (child_post_startup_inferior): New function. | |
4521 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
4522 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
4523 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
4524 | attaching to each LWP. | |
4525 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
4526 | (init_lin_lwp_ops): Fill in some more operations. | |
4527 | * linux-nat.h (linux_enable_event_reporting) | |
4528 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
4529 | prototypes. | |
4530 | * linux-nat.c (linux_enable_event_reporting): New function. | |
4531 | (child_post_attach, linux_child_post_startup_inferior) | |
4532 | (child_post_startup_inferior, child_follow_fork) | |
4533 | (linux_handle_extended_wait, kill_inferior): New functions. | |
4534 | ||
7996bcec AC |
4535 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
4536 | ||
4537 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
4538 | * gdbarch.h, gdbarch.c: Re-generate. | |
4539 | ||
3d48a7a0 MK |
4540 | 2003-08-16 Mark Kettenis <kettenis@gnu.org> |
4541 | ||
4542 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
4543 | ||
7989c619 AC |
4544 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
4545 | ||
4546 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
4547 | * top.c (get_prompt_1): Delete function. | |
4548 | (gdb_prompt_escape): | |
4549 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
4550 | prompt-escape-char" command. | |
4551 | (MAX_PROMPT_SIZE): Delete macro. | |
4552 | (get_prompt): Simplify, do not call get_prompt_1. | |
4553 | ||
07978cd8 AC |
4554 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
4555 | ||
4556 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
4557 | -Werror. -Wformat-nonliteral problems. | |
4558 | ||
3ff7cf9e JB |
4559 | 2003-08-15 J. Brobecker <brobecker@gnat.com> |
4560 | ||
4561 | Further multiarching work mostly for hppa64-*-hpux11: | |
4562 | * hppa-tdep.h: New file. | |
4563 | * hppa-tdep.c: #include hppa-tdep.c. | |
4564 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
4565 | (hppa64_num_regs): New constant. | |
4566 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
4567 | (hppa32_call_dummy_length): New constant. | |
4568 | (hppa64_call_dummy_length): New constant. | |
4569 | (hppa32_stack_align): Make name 32bit explicit. | |
4570 | (hppa32_register_virtual_type): Likewise. | |
4571 | (hppa32_extract_return_value): Likewise. | |
4572 | (hppa32_use_struct_convention): Likewise. | |
4573 | (hppa32_store_return_value): Likewise. | |
4574 | (hppa64_register_virtual_type): New function. | |
4575 | (hppa64_extract_return_value): New function. | |
4576 | (hppa64_use_struct_convention): New function. | |
4577 | (hppa64_store_return_value): New function. | |
4578 | (hppa_frame_locals_address): Remove declaration, function does | |
4579 | not exist anymore. | |
4580 | (hppa_register_byte): Add support for PA64 ABI. | |
4581 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
4582 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
4583 | Make name 32bit explicit. | |
4584 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
4585 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
4586 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
4587 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
4588 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
4589 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
4590 | necessary now that the gdbarch vector is properly setup. | |
a8f4cde1 | 4591 | Transform some macros into function calls. Some minor cleanup. |
3ff7cf9e JB |
4592 | * config/pa/tm-hppah.h: Update function calls in macros |
4593 | following the function renaming in hppa-hpux-tdep.c. | |
4594 | * Makefile.in (hppa_tdep_h): New variable. | |
4595 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
4596 | ||
5d05ca6d MS |
4597 | 2003-08-14 Michael Snyder <msnyder@redhat.com> |
4598 | ||
4599 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
4600 | ||
37ba2569 JB |
4601 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4602 | ||
4603 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
4604 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
4605 | routine. | |
4606 | ||
aed7f26a MS |
4607 | 2003-08-13 Michael Snyder <msnyder@redhat.com> |
4608 | ||
4609 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
4610 | (frv_saved_pc_after_call): Use deprecated ftype. | |
4611 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
4612 | (frv_remote_translate_xfer_address): Remove. | |
4613 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
4614 | ||
752d4ac1 JB |
4615 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4616 | ||
4617 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
4618 | initialization after the common gdbarch initialization, not before. | |
4619 | ||
1426ac1d JB |
4620 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4621 | ||
4622 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
4623 | (ADDR_BITS_REMOVE): Remove, redundant. | |
4624 | ||
b6fbdd1d JB |
4625 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
4626 | ||
4627 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
4628 | gdbarch method to clear the 2 low bits of text addresses. | |
4629 | ||
44160db3 AC |
4630 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
4631 | ||
4632 | * Makefile.in (dsrec.o): Update dependencies. | |
4633 | * dsrec.c: Include "gdb_assert.h". | |
4634 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
4635 | string. | |
4636 | ||
bcf7d3ca AC |
4637 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
4638 | ||
4639 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
4640 | FRAME_OBSTACK_ZALLOC. | |
4641 | ||
49ed40de KB |
4642 | 2003-08-12 Kevin Buettner <kevinb@redhat.com> |
4643 | ||
4644 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
4645 | SSE registers. | |
4646 | ||
b246147c MK |
4647 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
4648 | ||
4649 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
4650 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
4651 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
4652 | declarations. | |
4653 | ||
d95fdc0d BE |
4654 | 2003-08-11 Ben Elliston <bje@wasabisystems.com> |
4655 | ||
4656 | * MAINTAINERS (write after approval): Update my mail address. | |
4657 | ||
cf6a0e73 AC |
4658 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
4659 | ||
4660 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
4661 | ||
f837910f MK |
4662 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
4663 | ||
e2dbbd2d MK |
4664 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
4665 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
4666 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
4667 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
4668 | i386bsd_sc_reg_offset): Add extern declarations. | |
4669 | * i386obsd-nat.c: Include "i386-tdep.h" | |
4670 | (_initialize_i386obsd_nat): Remove extern declarations. | |
4671 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
4672 | declarations. | |
4673 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
4674 | declarations. | |
4675 | ||
f837910f MK |
4676 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
4677 | instead of frame_read_register. | |
4678 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
4679 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
4680 | SP_REGNUM. | |
4681 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
4682 | instead of frame_unwind_unsigned_register. Use | |
4683 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
4684 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
4685 | instead of read_register. Use builtin_type_void_data_ptr instead | |
4686 | of builtin_type_void_func_ptr when extracting the address of the | |
4687 | jmp_buf. | |
4688 | (i386_extract_return_value, i386_store_return_value, | |
4689 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
4690 | register_size instead REGISTER_RAW_SIZE. | |
4691 | ||
edcf254d AC |
4692 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
4693 | ||
4694 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
4695 | sprintf. Make "name" constant. | |
4696 | ||
26604a34 MK |
4697 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
4698 | ||
192285c6 MK |
4699 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
4700 | instead of frame_read_register. | |
f837910f MK |
4701 | (i387_print_float_info): Use get_frame_register and |
4702 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 4703 | |
f0925262 MK |
4704 | * i386fbsd-nat.c: Include "i386-tdep.h". |
4705 | (child_resume): Make `eflags' an ULONGEST. Use | |
4706 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
4707 | instead of register_read and register_write. | |
4708 | ||
a144416f MK |
4709 | * i386bsd-nat.c (fetch_inferior_registers, |
4710 | store_inferior_registers): Don't use && at the end of a line. | |
4711 | (_initialize_i386bsd_nat): Fix typo. | |
4712 | ||
fec74868 MK |
4713 | * frame.c (_initialize_frame): Add missing backslash. |
4714 | ||
87232496 MK |
4715 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
4716 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
4717 | and supply_register instead of manipulating the register buffer | |
4718 | directly. | |
4719 | ||
c9b9de0b MK |
4720 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
4721 | * config/i386/nm-i386sol2.h | |
4722 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
4723 | ||
26604a34 MK |
4724 | Based on a patch from Michael Elizabeth Chastain (mec@shout.net): |
4725 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
4726 | instructions that GCC likes to mingle into the prologue. Fixes | |
4727 | gdb/1253 and gdb/1255. | |
4728 | ||
25d29d70 AC |
4729 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
4730 | ||
4731 | Fix GDB PR cli/926. | |
4732 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
4733 | * command.h (add_setshow_uinteger_cmd): Declare. | |
4734 | * frame.c (set_backtrace_cmd): New function. | |
4735 | (show_backtrace_cmd): New function. | |
4736 | * frame.c (_initialize_frame): Replace "set/show | |
4737 | backtrace-below-main" with "set/show backtrace past-main". Add | |
4738 | command "set/show backtrace limit". | |
4739 | (backtrace_past_main): Rename "backtrace_below_main". | |
4740 | (backtrace_limit): New variable. | |
4741 | (get_prev_frame): Update. Check the backtrace_limit. | |
4742 | ||
9ebf4acf AC |
4743 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
4744 | ||
4745 | * defs.h (xstrprintf): Declare. | |
4746 | * utils.c (xstrprintf): New function. | |
4747 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
4748 | non-literal format strings, with xstrprintf and cleanups. | |
4749 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
4750 | (commands_command, insert_breakpoints): Ditto. | |
4751 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
4752 | (break_at_finish_command_1): Ditto. | |
4753 | ||
3771659b AC |
4754 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
4755 | ||
4756 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
4757 | maintainer. | |
4758 | ||
b4263afa JB |
4759 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
4760 | ||
4761 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
4762 | are now multiarched. | |
4763 | ||
d84defb1 JB |
4764 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
4765 | ||
4766 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
4767 | longer necessary now that hppa64 is partially multiarch'ed. | |
4768 | ||
f786f615 AC |
4769 | 2003-08-08 Andrew Cagney <cagney@redhat.com> |
4770 | ||
4771 | * interps.c (interp_set): Check for a NULL "old_interp". | |
4772 | ||
c938e9b0 L |
4773 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
4774 | ||
4775 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
4776 | (install-only): Support DESTDIR. | |
4777 | (uninstall): Likewise. | |
4778 | (install-gdbtk): Likewise. | |
4779 | ||
9a146a11 EZ |
4780 | 2003-08-08 Elena Zannoni <ezannoni@redhat.com> |
4781 | ||
4782 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
4783 | contains something meaningful at all times. | |
4784 | ||
4785 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <blc@redhat.com> | |
7a76ced5 | 4786 | |
62599e99 | 4787 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 4788 | |
56296155 BC |
4789 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com> |
4790 | ||
62599e99 | 4791 | * MAINTAINERS (write after approval): Added self. |
56296155 | 4792 | |
9710e734 AC |
4793 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
4794 | ||
4795 | * inferior.h (AT_SYMBOL): Define. | |
4796 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
4797 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
4798 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
4799 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
4800 | set call_dummy_address. | |
4801 | ||
98b3ab73 AC |
4802 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
4803 | ||
4804 | * language.c (op_error): Delete function. | |
4805 | (binop_type_check): Delete function. | |
4806 | * language.h (type_op_error, range_op_error): Delete macros. | |
4807 | (op_error): Delete declaration. | |
4808 | ||
2fcf52f0 AC |
4809 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
4810 | ||
4811 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
4812 | ||
abd4220e | 4813 | 2003-08-07 Michal Ludvig <mludvig@suse.cz> |
fd83bada | 4814 | |
abd4220e | 4815 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 4816 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 4817 | |
9dd5f34f AC |
4818 | 2003-08-05 Andrew Cagney <cagney@redhat.com> |
4819 | ||
4820 | * reggroups.c (reggroup_next): Check for the final entry. | |
4821 | ||
e5e78edc AC |
4822 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
4823 | ||
ab4e3d93 AC |
4824 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
4825 | * cli/cli-script.c (define_command): Call query directly, instead | |
4826 | of passing it a buffer. | |
4827 | * ocd.c (ocd_error): Pass error a constant format string. | |
4828 | * remote-mips.c (mips_error): Use fputs_filtered. | |
4829 | ||
1062ca82 AC |
4830 | * solib-svr4.c (_initialize_svr4_solib): Update |
4831 | register_gdbarch_data call. | |
4832 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
4833 | ||
fcc1c85c AC |
4834 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
4835 | (register_gdbarch_data): Delete "free" parameter. Update | |
4836 | comments. | |
4837 | * gdbarch.h, gdbarch.c: Re-generate. | |
4838 | * reggroups.c (_initialize_reggroup): Update. | |
4839 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
4840 | * frame-base.c (_initialize_frame_base): Update. | |
4841 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
4842 | * user-regs.c (_initialize_user_regs): Update. | |
4843 | * remote.c (_initialize_remote): Update. | |
4844 | * regcache.c (_initialize_regcache): Update. | |
4845 | ||
116f06ea AC |
4846 | * regcache.c (xfree_regcache_descr): Delete function. |
4847 | (_initialize_regcache): Update call to register_gdbarch_data. | |
4848 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
4849 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
4850 | ||
e5e78edc AC |
4851 | * remote.c (free_remote_state): Delete function. |
4852 | (_initialize_remote): Update register_gdbarch_data. | |
4853 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
4854 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
4855 | ||
6c7d17ba AC |
4856 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
4857 | ||
4858 | * reggroups.c (struct reggroup_el): Define. | |
4859 | (struct reggroups): Delete field "nr_group". Replace array | |
4860 | "group" with a "first" to "last" linked list. | |
4861 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
4862 | (reggroups_free): Delete function. | |
4863 | (add_group): Update. Add "el" parameter. | |
4864 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
4865 | (default_groups): Update. | |
4866 | (reggroup_next): Replace reggroups. | |
4867 | (reggroups_dump): Update. | |
4868 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
4869 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
4870 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
4871 | ||
89b7795b DJ |
4872 | 2003-08-04 Daniel Jacobowitz <drow@mvista.com> |
4873 | ||
4874 | * Makefile.in (tui-interp.o): Update dependencies. | |
4875 | ||
306d9ac5 DC |
4876 | 2003-08-04 David Carlton <carlton@kealia.com> |
4877 | ||
4878 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
4879 | to internal_error call. | |
4880 | * source.c (forward_search_command): Add "%s" format argument. | |
4881 | (reverse_search_command): Ditto. | |
4882 | * top.c (quit_confirm): Ditto. | |
4883 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
4884 | * cp-valprint.c (cp_print_class_method): Replace | |
4885 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
4886 | (cp_print_class_member): Ditto. | |
4887 | * event-top.c (command_line_handler): Ditto. | |
4888 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
4889 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
4890 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
4891 | (pascal_object_print_class_member): Ditto. | |
4892 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
4893 | * remote.c (remote_cisco_section_offsets): Ditto. | |
4894 | * top.c (command_line_input): Ditto. | |
4895 | * utils.c (vwarning,error_stream,quit): Ditto. | |
4896 | * valprint.c (print_floating,print_binary_chars) | |
4897 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
4898 | ||
57bfe177 AC |
4899 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
4900 | ||
4901 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
4902 | ||
e546b999 AC |
4903 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
4904 | ||
4905 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
4906 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
4907 | amd64fbsd-nat.c. | |
4908 | ||
91092ee5 AC |
4909 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
4910 | ||
4911 | * Makefile.in: Update all dependencies and definitions. | |
4912 | ||
889f28e2 AF |
4913 | 2003-08-02 Adam Fedor <fedor@gnu.org> |
4914 | ||
4915 | * linespec.c (is_objc_method_format): New function | |
4916 | (decode_line_1, locate_first_half): Use it. | |
4917 | Fixes PR objc/1298 | |
4918 | ||
880bc914 AC |
4919 | 2003-08-01 Andrew Cagney <cagney@redhat.com> |
4920 | ||
4921 | * NEWS: Mention that m32r is multi-arch. | |
4922 | From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
4923 | * configure.tgt: Recognize m32r-*-*. | |
4924 | * config/m32r/tm-m32r.h: Delete file. | |
4925 | * config/m32r/m32r.mt: New file. | |
a8f4cde1 | 4926 | * m32r-rom.c (m32r_upload_command): Use hostent only when |
880bc914 AC |
4927 | gethostname succeeds, in order to avoid a compilation |
4928 | warning. | |
4929 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
4930 | compiler warning. | |
4931 | ||
19f59343 MS |
4932 | 2003-08-01 Michael Snyder <msnyder@redhat.com> |
4933 | ||
4934 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
4935 | (sh_gdbarch_init): Set up frame_align method. | |
4936 | ||
4e7d7511 MS |
4937 | 2003-07-31 Michael Snyder <msnyder@redhat.com> |
4938 | ||
4939 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
4940 | which is already covered by the new frames infrastructure. | |
4941 | ||
63022984 AC |
4942 | 2003-07-31 Andrew Cagney <cagney@redhat.com> |
4943 | ||
4944 | * user-regs.c (struct user_reg): Add "next" link. | |
4945 | (struct user_regs): Replace "user" with "first" and "last" links. | |
4946 | (append_user_reg): Add pre-allocated "reg" parameter. | |
4947 | (builtin_user_regs): Provide initial value for "last". | |
4948 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
4949 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
4950 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
4951 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
4952 | linked list. | |
4953 | (usernum_to_user_reg): New function. | |
4954 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
4955 | (value_of_user_reg): Use usernum_to_user_reg. | |
4956 | (user_regs_free): Delete function. | |
4957 | (_initialize_user_regs): Update register_gdbarch_data call. | |
4958 | ||
7cf6e574 DJ |
4959 | 2003-07-31 Daniel Jacobowitz <drow@mvista.com> |
4960 | ||
4961 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
4962 | ||
c48a845b MS |
4963 | 2003-07-30 Michael Snyder <msnyder@redhat.com> |
4964 | ||
4e7d7511 | 4965 | * value.h (value_being_returned): Add a struct_addr argument. |
a8f4cde1 | 4966 | * infcall.c (call_function_by_hand): Pass struct_addr to |
c48a845b MS |
4967 | value_being_returned. |
4968 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
4969 | * values.c (value_being_returned): If struct_addr is passed, | |
4970 | use it instead of trying to recover it from the inferior. | |
4971 | ||
f0d8db19 KB |
4972 | 2003-07-30 Kevin Buettner <kevinb@redhat.com> |
4973 | ||
4974 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
4975 | the prologue analyzer won't need to attempt to extract the pc | |
4976 | value from the woefully incomplete dummy frame. | |
4977 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
4978 | possible. Disable code which modifies the frame. | |
4979 | ||
e5c113a1 AC |
4980 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
4981 | ||
4982 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
4983 | to level 2. | |
4984 | (annotate_breakpoints_table, annotate_record): Ditto. | |
4985 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
4986 | (annotate_field_name_end, annotate_field_value): Ditto. | |
4987 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
4988 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
4989 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
4990 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
4991 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
4992 | (annotate_frame_args, annotate_frame_end): Ditto. | |
4993 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
4994 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
4995 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
4996 | (annotate_function_call, annotate_signal_name): Ditto. | |
4997 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
4998 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
4999 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
5000 | (annotate_value_history_end, annotate_value_end): Ditto. | |
5001 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
5002 | (annotate_display_format, annotate_display_expression): Ditto. | |
5003 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
5004 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
5005 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
5006 | (annotate_elt, annotate_array_section_end): Ditto. | |
5007 | ||
bb1db049 AC |
5008 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
5009 | ||
5010 | * regcache.c (struct regcache_descr): Update comments on | |
5011 | nr_raw_registers. | |
5012 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
5013 | sizeof_raw_register_valid_p. | |
5014 | (init_regcache_descr): Set nr_raw_registers and | |
5015 | sizeof_raw_register_valid_p before calling | |
5016 | init_legacy_regcache_descr. | |
5017 | ||
20e6603c AC |
5018 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
5019 | ||
5020 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
5021 | MOD NUM_REGS. | |
5022 | ||
db742940 DJ |
5023 | 2003-07-28 Daniel Jacobowitz <drow@mvista.com> |
5024 | ||
5025 | * thread.c (info_threads_command): Use get_selected_frame (). | |
5026 | Check that there is at least one non-sentinel frame. | |
5027 | ||
ce7f4371 SC |
5028 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
5029 | ||
5030 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
5031 | (m68hc11_pop_frame): Remove. | |
5032 | (m68hc11_frame_saved_pc): Remove. | |
5033 | (m68hc11_frame_chain): Remove. | |
5034 | (m68hc11_frame_init_saved_regs): Remove. | |
5035 | (m68hc11_init_extra_frame_info): Remove. | |
5036 | (m68hc11_store_struct_return): Remove. | |
5037 | (m68hc11_saved_pc_after_call): Remove. | |
5038 | ||
1ea653ae SC |
5039 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
5040 | ||
5041 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
5042 | frame unwind information. | |
5043 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
5044 | and adapted for frame unwinding. | |
5045 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
5046 | (m68hc11_unwind_pc): New function. | |
5047 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
5048 | (m68hc11_frame_this_id): New function to create new frame struct. | |
5049 | (m68hc11_frame_prev_register): New function to unwind a register from | |
5050 | the frame. | |
5051 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
5052 | (m68hc11_frame_p): New function for the above. | |
5053 | (m68hc11_frame_base_address): New function to return fp of frame. | |
5054 | (m68hc11_frame_args_address): Update for frame. | |
5055 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
5056 | (m68hc11_unwind_sp): New function. | |
5057 | (m68hc11_unwind_dummy_id): New function. | |
5058 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
5059 | calls. | |
5060 | ||
c8a7f6ac SC |
5061 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
5062 | ||
5063 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
5064 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
5065 | when we are beyond the current pc. | |
5066 | ||
3dc990bf SC |
5067 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
5068 | ||
5069 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
5070 | from m68hc11_push_arguments. | |
5071 | (m68hc11_push_arguments): Remove. | |
5072 | (m68hc11_push_return_address): Remove. | |
5073 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
5074 | handlers; remove deprecated_extra_stack_alignment_needed. | |
5075 | ||
222e5d1d AC |
5076 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
5077 | ||
5078 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
5079 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
5080 | REAL_PC and not the pointer. | |
5081 | * hppa-hpux-tdep.c: Include frame.h | |
5082 | ||
a7e9a47e AC |
5083 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
5084 | ||
5085 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
5086 | GDB_MULTI_ACH_PARTIAL. | |
5087 | ||
7e3dd49e AC |
5088 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
5089 | ||
5090 | Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
5091 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
5092 | operator at start and not end of line. | |
5093 | (decode_prologue): Ditto. | |
5094 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
5095 | frame_unwind_register_unsigned instead of | |
5096 | frame_unwind_unsigned_register. | |
5097 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
5098 | read_register. | |
5099 | (m32r_push_dummy_call): Use register_size instead of | |
5100 | REGISTER_RAW_SIZE. | |
5101 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
5102 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
5103 | * m32r-rom.c (report_transfer_performance): Delete extern | |
5104 | declaration. | |
5105 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
5106 | instead of report_transfer_performance. | |
5107 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
5108 | / add_show_from_set. | |
5109 | ||
0880807f AC |
5110 | 2003-07-26 Andrew Cagney <cagney@redhat.com> |
5111 | ||
5112 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
5113 | store_return_value and extract_struct_value_address. | |
5114 | ||
64ae9269 DJ |
5115 | 2003-07-26 Daniel Jacobowitz <drow@mvista.com> |
5116 | ||
5117 | PR c++/1267 | |
5118 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
5119 | NULL, default to the section containing PC. | |
5120 | ||
e286caf2 SC |
5121 | 2003-07-24 Stephane Carrez <stcarrez@nerim.fr> |
5122 | ||
5123 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
5124 | ||
5125 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
5126 | (m68hc11_print_register): New function to print out one register. | |
5127 | (m68hc11_print_registers_info): New function to print registers. | |
5128 | (show_regs): Deprecate and use the above. | |
5129 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
5130 | ||
705b278b JJ |
5131 | 2003-07-24 Jeff Johnston <jjohnstn@redhat.com> |
5132 | ||
5133 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
5134 | that we have a SIGTRAP before returning non-zero. | |
5135 | ||
63cd4198 EZ |
5136 | 2003-07-23 Michal Ludvig <mludvig@suse.cz> |
5137 | Elena Zannoni <ezannoni@redhat.com> | |
5138 | ||
a8f4cde1 | 5139 | * linespec.c (decode_line_2): Avoid crash if |
63cd4198 EZ |
5140 | find_function_start_sal() returns empty record. |
5141 | ||
6926787d AS |
5142 | 2003-07-23 Andreas Schwab <schwab@suse.de> |
5143 | ||
5144 | * ia64-tdep.c (ia64_print_insn): New function. | |
5145 | (ia64_gdbarch_init): Set print_insn to it. | |
5146 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
5147 | deprecated_tm_print_insn_info. | |
5148 | ||
708cc1b6 MS |
5149 | 2003-07-22 Michael Snyder <msnyder@redhat.com> |
5150 | ||
5151 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
5152 | handle 8-bit returns (long long). | |
5153 | (h8300h_extract_return_value): Ditto. | |
5154 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
5155 | ||
aebd7893 AC |
5156 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
5157 | ||
5158 | * gdbarch.c Include "gdb_obstack.h". | |
5159 | (struct gdbarch): Add an "obstack". | |
5160 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
5161 | GDBARCH_OBSTACK_CALLOC. | |
5162 | (free_gdbarch_data): Delete function. | |
5163 | (gdbarch_obstack_zalloc): New function. | |
5164 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
5165 | Assert that the architecture is not initialized. | |
5166 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
5167 | vector from the obstack. | |
5168 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
5169 | architecture obstack. | |
5170 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
5171 | (set_gdbarch_data): Assert that the data is not initialized. | |
5172 | (struct gdbarch_data): Delete member "free". | |
5173 | (register_gdbarch_data): Do not initialize "free". | |
5174 | * gdbarch.h, gdbarch.c: Re-generate. | |
a8f4cde1 | 5175 | |
153721e6 AC |
5176 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
5177 | ||
5178 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
5179 | * configure: Re-generate. | |
5180 | ||
c193f044 | 5181 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
32ffcbed EZ |
5182 | |
5183 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 5184 | |
c3228f12 EZ |
5185 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
5186 | ||
5187 | * findvar.c (read_var_value): Remove case for thread local storage | |
5188 | variables. It is now entirely handled by the dwarf2 location | |
5189 | expression code. | |
5190 | * printcmd.c (address_info): Ditto. | |
5191 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
5192 | enumeration value. | |
5193 | (struct symbol): Remove objfile field, which was used by | |
5194 | LOC_THREAD_LOCAL_STATIC only. | |
5195 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
5196 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
5197 | usage of objfile pointer. | |
5198 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
5199 | thread local variables. | |
5200 | Add include of objfiles.h. | |
5201 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
5202 | storage variables. | |
5203 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
5204 | ||
aef9bcd2 AC |
5205 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
5206 | ||
5207 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
5208 | get_frame_base. | |
5209 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
5210 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
5211 | (struct value): Add opaque declaration. | |
5212 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
5213 | ||
d95a8903 AC |
5214 | 2003-07-21 Andrew Cagney <cagney@redhat.com> |
5215 | ||
5216 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
5217 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
5218 | ||
4db73d49 SC |
5219 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
5220 | ||
a8f4cde1 | 5221 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use |
4db73d49 SC |
5222 | regcache_cooked_read_unsigned instead of read_register. |
5223 | (m68hc11_saved_pc_after_call): Likewise. | |
5224 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
5225 | instead of write_register. | |
5226 | (m68hc11_register_type): New function. | |
5227 | (m68hc11_register_virtual_type): Remove. | |
5228 | (m68hc11_store_return_value): Convert to use the regcache. | |
5229 | (m68hc11_extract_struct_value_address): Likewise. | |
5230 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
5231 | m68hc11_register_type; undeprecate store_return_value and | |
5232 | extract_struct_value_address. | |
5233 | ||
ef2b8fcd SC |
5234 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
5235 | ||
5236 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
5237 | and translate to use regcache. | |
5238 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
5239 | ||
625b0b97 AC |
5240 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5241 | ||
5242 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
5243 | * gdbarch.h, gdbarch.c: Re-generate. | |
5244 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
5245 | DWARF2_BUILD_FRAME_INFO. | |
5246 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
5247 | unconditionally. | |
5248 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
5249 | DWARF2_BUILD_FRAME_INFO. | |
5250 | ||
22b0d388 AC |
5251 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5252 | ||
5253 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
5254 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
5255 | ||
1ce5d6dd AC |
5256 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5257 | ||
5258 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
5259 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
5260 | (dwarf2_frame_cache): Ditto. | |
5261 | ||
e6e5e94c AC |
5262 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
5263 | ||
5264 | * user-regs.h (struct gdbarch): Declare opaque. | |
5265 | * ui-out.h (struct ui_file): Declare opaque. | |
5266 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
5267 | ||
5483d879 KW |
5268 | 2003-07-18 Kris Warkentin <kewarken@qnx.com> |
5269 | ||
5270 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
5271 | #include "...". | |
5272 | (procfs_meminfo): Change strerror to safe_strerror. | |
5273 | (procfs_can_run): Remove K&R badness. | |
5274 | ||
278a7cf7 MS |
5275 | 2003-07-17 Michael Snyder <msnyder@redhat.com> |
5276 | ||
5277 | * remote-sim.c: Comment typo fix. | |
5278 | ||
606e3b82 AC |
5279 | 2003-07-17 Andrew Cagney <cagney@redhat.com> |
5280 | ||
5281 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
5282 | configure. | |
5283 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
5284 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
5285 | GDB_MULTI_ARCH_PARTIAL. | |
5286 | ||
c43af07c EZ |
5287 | 2003-07-17 Elena Zannoni <ezannoni@redhat.com> |
5288 | ||
5289 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
5290 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
5291 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
5292 | ||
3b85b0f1 TR |
5293 | 2003-07-16 Theodore A. Roth <troth@openavr.org> |
5294 | ||
5295 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
5296 | found. | |
5297 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
5298 | Update a comment. | |
5299 | Save the computed prev_sp. | |
5300 | (avr_saved_regs_unwinder): Remove function. | |
a8f4cde1 | 5301 | (avr_frame_prev_register): Use PC unwind logic from |
3b85b0f1 TR |
5302 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). |
5303 | ||
336d1bba AC |
5304 | 2003-07-16 Andrew Cagney <cagney@redhat.com> |
5305 | ||
5306 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
5307 | (frame_base_append_predicate): Delete declaration. | |
5308 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
5309 | (frame_unwind_append_predicate): Delete declaration. | |
5310 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
5311 | (append_predicate): Delete parameter "p". | |
5312 | (frame_unwind_append_predicate): Delete function. | |
5313 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
5314 | (frame_unwind_free): Delete function. | |
5315 | (_initialize_frame_unwind): Pass NULL as "free" to | |
5316 | register_gdbarch_data. | |
5317 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
5318 | (frame_unwind_find_by_frame): Simplify. | |
5319 | * frame-base.c (struct frame_base_table): Delete field "p". | |
5320 | (append_predicate): Delete parameter "p". | |
5321 | (frame_base_append_predicate): Delete function. | |
5322 | (frame_base_append_sniffer): Update call to append_predicate. | |
5323 | (frame_base_free): Delete function. | |
5324 | (frame_base_find_by_frame): Simplify. | |
5325 | (_initialize_frame_base): Pass NULL as "free" to | |
5326 | register_gdbarch_data. | |
5327 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
5328 | (x86_64_sigtramp_frame_sniffer): Replace | |
5329 | "x86_64_sigtramp_frame_p". | |
5330 | (x86_64_init_abi): Set the frame unwind sniffers. | |
5331 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
5332 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
5333 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
5334 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
5335 | "i386_sigtramp_frame_p". | |
5336 | (i386_frame_sniffer): Replace "i386_frame_p". | |
5337 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
5338 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
5339 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
5340 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
5341 | "alpha_sigtramp_frame_p" | |
5342 | (alpha_heuristic_frame_sniffer): Replace | |
5343 | "alpha_heuristic_frame_p". | |
5344 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
5345 | (alpha_dwarf2_init_abi): Ditto. | |
5346 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
5347 | "alpha_debug_frame_p". | |
5348 | (alpha_mdebug_frame_base_sniffer): Replace | |
5349 | "alpha_mdebug_frame_base_p". | |
5350 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
5351 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
5352 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
5353 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
5354 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
5355 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
5356 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
5357 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
5358 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
5359 | ||
48db5a3c CV |
5360 | 2003-07-16 Michael Snyder <msnyder@redhat.com> |
5361 | ||
5362 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
5363 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
5364 | will not get the right values. | |
5365 | ||
5366 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
5367 | ||
5368 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
5369 | deprecated_store_floating by call to store_typed_floating. | |
5370 | (sh_sh4_register_convert_to_raw): Substitute call to | |
5371 | deprecated_extract_floating by call to extract_typed_floating. | |
5372 | ||
5373 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
5374 | ||
5375 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
5376 | ||
5377 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
5378 | ||
5379 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
5380 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
5381 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
5382 | as possible. | |
5383 | (do_pseudo_register): Remove. | |
5384 | (sh_push_dummy_code): New function. | |
5385 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
5386 | Only called for sh64 now. | |
5387 | (sh_extract_struct_value_address): Regcache'ify. | |
5388 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
5389 | and accomodate new tasks. | |
5390 | (sh64_push_return_address): Rename from sh_push_return_address. | |
5391 | Only called for sh64 now. | |
5392 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
5393 | Regcache'ify. | |
5394 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
5395 | (sh_default_store_return_value): Ditto. | |
5396 | (sh3e_sh4_store_return_value): Ditto. | |
5397 | (sh_default_register_byte): Remove. | |
5398 | (sh_sh4_register_byte): Remove. | |
5399 | (sh_default_register_raw_size): Remove. | |
5400 | (sh_sh4_register_raw_size): Remove. | |
5401 | (sh_register_virtual_size): Remove. | |
5402 | (sh_sh3e_register_virtual_type): Remove. | |
5403 | (sh_sh3e_register_type): New function. | |
5404 | (sh_sh4_register_virtual_type): Remove. | |
5405 | (sh_sh4_register_type): New function. | |
5406 | (sh_default_register_virtual_type): Remove. | |
5407 | (sh_default_register_type): New function. | |
5408 | (do_fv_register_info): Add parameters to accomodate call from | |
5409 | sh_print_registers_info. | |
5410 | (do_dr_register_info): Ditto. | |
5411 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
5412 | Add parameters to accomodate call from sh_print_registers_info. | |
5413 | (sh_do_fp_register): Ditto. | |
5414 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
5415 | do_fv_register_info and sh_do_fp_register with default parameters. | |
5416 | (sh_do_register): Add parameters to accomodate call from | |
5417 | sh_print_registers_info. | |
5418 | (sh_print_register): Ditto. | |
5419 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
5420 | Add parameters to be used as gdbarch_print_registers_info | |
5421 | implementation. Accomodate removed do_pseudo_register function | |
5422 | pointer. | |
5423 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
5424 | function pointer. Call sh_print_register with default parameters. | |
5425 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
5426 | sh_do_registers_info. | |
5427 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
5428 | detection of deprecated vs. non-deprecated functionality. | |
5429 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
5430 | function pointer assignments by direct function calls. | |
5431 | ||
e8a89fe2 AC |
5432 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
5433 | ||
5434 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
5435 | (frame_register_unwind, create_new_frame): Ditto. | |
5436 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
5437 | (get_frame_base_address): Use frame_base_find_by_frame. | |
5438 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
5439 | (get_frame_args_address): Use frame_base_find_by_frame. | |
5440 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
5441 | (frame_base_append_sniffer): Declare. | |
5442 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
5443 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
5444 | (frame_base_append_sniffer): New function. | |
5445 | (frame_base_append_predicate): Add a NULL sniffer. | |
5446 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
5447 | (struct frame_base_table): Add "sniffer". | |
5448 | (frame_base_free): Free the "sniffer" table. | |
5449 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
5450 | (frame_unwind_append_sniffer): Declare. | |
5451 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
5452 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
5453 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
5454 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
5455 | (frame_unwind_init): Update append_predicate call. | |
5456 | (frame_unwind_append_sniffer): New function. | |
5457 | (frame_unwind_append_predicate): Update append_predicate call. | |
5458 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
5459 | ||
0714963c AC |
5460 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
5461 | ||
5462 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
5463 | before code inhibiting repeated unwind attempts. Add to | |
5464 | commentary on that test's problems. | |
5465 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
5466 | symbol table. | |
5467 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
5468 | identical. | |
5469 | ||
d9170e22 AC |
5470 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
5471 | ||
5472 | * complaints.c (struct explanation): Define. | |
5473 | (struct complaints): Change type of "explanation" to "struct | |
5474 | explanation". | |
5475 | (symfile_explanations): Convert to a "struct explanation" table. | |
5476 | (vcomplaint): Update. | |
5477 | ||
eba29c8c ML |
5478 | 2003-07-15 Michal Ludvig <mludvig@suse.cz> |
5479 | ||
5480 | * x86-64-linux-nat.c (regmap): Removed. | |
a8f4cde1 | 5481 | (supply_gregset, fill_gregset): Call |
eba29c8c ML |
5482 | x86_64_linux_(fill,supply)_gregset functions. |
5483 | * x86-64-linux-tdep.c (USER_*): New defines. | |
5484 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
5485 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
5486 | New functions. | |
5487 | (fetch_core_registers): Ditto. | |
5488 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
5489 | * x86-64-linux-tdep.h: New file. | |
5490 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
5491 | and core-regset.o. | |
5492 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
5493 | ||
68cc0bfb MK |
5494 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
5495 | ||
88a115f7 MK |
5496 | * x86-64-tdep.c (x86_64_store_return_value): Use |
5497 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 5498 | |
68cc0bfb MK |
5499 | * configure.host: Add x86_64-*-freebsd*. |
5500 | * configure.tgt: Add x86_64-*-freebsd*. | |
5501 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
5502 | * amd64fbsd-nat.c: New file. | |
5503 | * amd64fbsd-tdep.c: New file. | |
5504 | * config/i386/nm-fbsd64.h: New file. | |
5505 | * config/i386/fbsd64.mh: New file. | |
5506 | * config/i386/fbsd64.mt: New file. | |
5507 | ||
138e7be5 MK |
5508 | 2003-07-11 Mark Kettenis <kettenis@gnu.org> |
5509 | ||
5510 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
5511 | `sc_regs_offset' and `sc_fpregs_offset'. | |
5512 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
5513 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
5514 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
5515 | `struct gdbarch_tdep'. | |
5516 | (alpha_gdbarch_init): Initialize new members of struct | |
5517 | gdbarch_tdep'. | |
5518 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
5519 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
5520 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
5521 | (alphafbsd_pc_in_sigtramp): Implement. | |
5522 | (alphafbsd_sigtramp_offset): New function. | |
5523 | (alphafbsd_sigcontext_addr): New function. | |
5524 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
5525 | of `struct gdbarch_tdep'. | |
5526 | (_initialize_alphafbsd_tdep): Add prototype. | |
5527 | ||
95303a68 TR |
5528 | 2003-07-11 Theodore A. Roth <troth@openavr.org> |
5529 | ||
ba292e4c TR |
5530 | * Makefile.in (install-only): Quote sed expression when generating |
5531 | transformed_name. | |
95303a68 | 5532 | |
6896c0c7 RH |
5533 | 2003-07-11 Richard Henderson <rth@redhat.com> |
5534 | ||
5535 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
5536 | * dwarf2-frame.c: Include complaints.h. | |
5537 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
5538 | variable initialization; return NULL on error. | |
5539 | (decode_frame_entry): New. | |
5540 | ||
8edd5d01 AC |
5541 | 2003-07-11 Andrew Cagney <cagney@redhat.com> |
5542 | ||
c4a09524 AC |
5543 | * frame.h (frame_address_in_block): Delete declaration. |
5544 | * blockframe.c (frame_address_in_block): Delete function. | |
5545 | (get_frame_block): Use get_frame_address_in_block. | |
5546 | (block_innermost_frame): Ditto. | |
5547 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
5548 | ||
8edd5d01 AC |
5549 | * frame.h (get_frame_address_in_block): Declare. |
5550 | (frame_unwind_address_in_block): Declare. | |
5551 | * frame.c (frame_unwind_address_in_block): New function. | |
5552 | (get_frame_address_in_block): New function. | |
5553 | ||
f7968451 AC |
5554 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
5555 | ||
5556 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
5557 | pre-default. Note: re-generate has no effect. | |
a8f4cde1 | 5558 | |
ae99b398 AC |
5559 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
5560 | ||
5561 | * gdbarch.sh: When a variable, but not a function, compare against | |
5562 | 0. Fix problem in previous patch. | |
5563 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 5564 | |
956ac328 AC |
5565 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
5566 | ||
5567 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
5568 | functions against NULL, not 0. | |
5569 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 5570 | |
287c3240 FF |
5571 | 2003-07-10 Fred Fish <fnf@ninemoons.com> |
5572 | ||
5573 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
5574 | null string instead of a null pointer. | |
5575 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
5576 | ||
32f63c4b MS |
5577 | 2003-07-09 Michael Snyder <msnyder@redhat.com> |
5578 | ||
5579 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
5580 | ||
402ecd56 MK |
5581 | 2003-07-09 Mark Kettenis <kettenis@gnu.org> |
5582 | ||
5583 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
5584 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
5585 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
5586 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
5587 | * x86-64-tdep.c: ... from here. | |
5588 | ||
c481dac7 AS |
5589 | 2003-07-09 Andreas Schwab <schwab@suse.de> |
5590 | ||
5591 | * m68k-tdep.h (enum struct_return): Define. | |
5592 | (struct gdbarch_tdep): Add struct_return. | |
5593 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
5594 | bytes are padded to the right, not to the left. Pass struct value | |
5595 | address in register %a1, not on stack. | |
5596 | (m68k_use_struct_convention): New function. | |
5597 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
5598 | struct_return in tdep to pcc_struct_return. | |
5599 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
5600 | reg_struct_return. | |
5601 | ||
a8f4cde1 | 5602 | 2003-07-09 Joel Brobecker <brobecker@gnat.com> |
64176fa3 | 5603 | |
a8f4cde1 | 5604 | * somread.c (som_symfile_offsets): Fix compilation error. |
64176fa3 | 5605 | |
96a4ee76 AC |
5606 | 2003-07-09 Andrew Cagney <cagney@redhat.com> |
5607 | ||
5608 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
5609 | Add comments about the checks. | |
5610 | ||
1517c6d1 AC |
5611 | 2003-07-08 Andrew Cagney <cagney@redhat.com> |
5612 | ||
5613 | * Makefile.in: Make dependency section headers consistent. | |
5614 | (config_h): Move to $BUILD headers section. | |
5615 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
5616 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
5617 | (ada-exp.tab.c): Move to YACC/LEX section. | |
5618 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
5619 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
5620 | ||
dc5dd1eb KW |
5621 | 2003-07-08 Kris Warkentin <kewarken@qnx.com> |
5622 | ||
5623 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
5624 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
5625 | of strerror with safe_strerror, use ISO C function definitions, | |
5626 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 5627 | |
612dde91 AC |
5628 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
5629 | ||
5630 | * frame.c (get_prev_frame): Enable check for identical frames. | |
5631 | Update comments. Update error messages. | |
5632 | ||
492c11d3 JB |
5633 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5634 | ||
5635 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
5636 | ||
376a5a49 JB |
5637 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5638 | ||
5639 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
5640 | sort_symtab_syms, no longer necessary. | |
5641 | ||
22b4a9ad JB |
5642 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5643 | ||
5644 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
5645 | ||
5bbcb741 JB |
5646 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
5647 | ||
5648 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
5649 | (mips_register_byte): Likewise. | |
5650 | ||
c139e7d9 DJ |
5651 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
5652 | ||
5653 | * Makefile.in (sparc_tdep_h): New. | |
5654 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
5655 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
5656 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
5657 | * sparc-nat.c: Likewise. | |
5658 | * sparc-tdep.c: Likewise. | |
5659 | * sparc64nbsd-nat.c: Likewise. | |
5660 | * sparcnbsd-nat.c: Likewise. | |
5661 | * sparcnbsd-tdep.c: Likewise. | |
5662 | * sparc-tdep.h: New file. | |
5663 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
5664 | and sparc_npc_regnum. | |
5665 | ||
fd8f87c5 DJ |
5666 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
5667 | ||
5668 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
5669 | (mips_linux_cannot_store_register): List supported instead of | |
5670 | unsupported registers. | |
5671 | ||
13adf674 DJ |
5672 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
5673 | ||
5674 | * disasm.c (dump_insns): Separate instructions from addresses. | |
5675 | ||
8de307e0 AS |
5676 | 2003-07-07 Andreas Schwab <schwab@suse.de> |
5677 | ||
5678 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
5679 | dependencies. | |
5680 | * m68k-tdep.c (NUM_FREGS): Delete. | |
5681 | (SIG_PC_FP_OFFSET): Delete. | |
5682 | (TARGET_M68K): Delete. | |
5683 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
5684 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
5685 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
5686 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
5687 | P_TRAP): Delete. | |
5688 | (m68k_register_raw_size): Delete. | |
5689 | (m68k_register_virtual_size): Delete. | |
5690 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
5691 | add gdbarch argument. | |
5692 | (m68k_store_struct_return): Delete. | |
5693 | (m68k_deprecated_extract_return_value): Delete. | |
5694 | (m68k_deprecated_extract_struct_value_address): Delete. | |
5695 | (m68k_frame_chain): Delete. | |
5696 | (m68k_frame_saved_pc): Delete. | |
5697 | (m68k_fix_call_dummy): Delete. | |
5698 | (m68k_push_dummy_frame): Delete. | |
5699 | (m68k_pop_frame): Delete. | |
5700 | (m68k_extract_return_value): New function. | |
5701 | (m68k_store_return_value): Rewrite using regcache. | |
5702 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
5703 | (m68k_push_dummy_call): New function. | |
5704 | (struct m68k_frame_cache): Define. | |
5705 | (m68k_alloc_frame_cache): New function. | |
5706 | (m68k_analyze_frame_setup): New function. | |
5707 | (m68k_analyze_register_saves): New function. | |
5708 | (m68k_analyze_prologue): New function. | |
5709 | (m68k_skip_prologue): Rewrite using above functions. | |
5710 | (m68k_unwind_pc): New function. | |
5711 | (m68k_frame_cache): New function. | |
5712 | (m68k_frame_this_id): New function. | |
5713 | (m68k_frame_prev_register): New function. | |
5714 | (m68k_frame_unwind): New variable. | |
5715 | (m68k_frame_p): New function. | |
5716 | (m68k_sigtramp_frame_cache): New function. | |
5717 | (m68k_sigtramp_frame_this_id): New function. | |
5718 | (m68k_sigtramp_frame_prev_register): New function. | |
5719 | (m68k_sigtramp_frame_unwind): New variable. | |
5720 | (m68k_sigtramp_frame_p): New function. | |
5721 | (m68k_frame_base_address): New function. | |
5722 | (m68k_frame_base): New function. | |
5723 | (m68k_unwind_dummy_id): New function. | |
5724 | (fill_gregset): Use regcache_collect. | |
5725 | (fill_fpregset): Likewise. | |
5726 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
5727 | defined. | |
5728 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
5729 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
5730 | deprecated_extract_return_value, deprecated_store_return_value, | |
5731 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
5732 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
5733 | deprecated_register_virtual_size, | |
5734 | deprecated_max_register_raw_size, | |
5735 | deprecated_max_register_virtual_size, | |
5736 | deprecated_register_virtual_type, deprecated_register_size, | |
5737 | deprecated_register_byte, deprecated_register_bytes, | |
5738 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
5739 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
5740 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
5741 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
5742 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
5743 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
5744 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
5745 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
5746 | store_return_value, extract_struct_value_address, register_type, | |
5747 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
5748 | predicates. | |
5749 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
5750 | M68K_MAX_REGISTER_SIZE): Define. | |
5751 | (struct m68k_sigtramp_info): Define. | |
5752 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
5753 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
5754 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
5755 | (store_register): Likewise. | |
5756 | (fetch_inferior_registers): Likewise. | |
5757 | (store_inferior_registers): Likewise. | |
5758 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
5759 | (m68k_linux_frame_saved_pc): Delete. | |
5760 | (m68k_linux_sigcontext_reg_offset, | |
5761 | m68k_linux_ucontext_reg_offset): Define. | |
5762 | (m68k_linux_get_sigtramp_info): New function. | |
5763 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
5764 | (m68k_linux_store_return_value): Likewise. | |
5765 | (m68k_linux_extract_struct_value_address): Likewise. | |
5766 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
5767 | Don't set deprecated_frame_saved_pc, | |
5768 | deprecated_extract_return_value, deprecated_store_return_value, | |
5769 | deprecated_extract_struct_value_address. Set | |
5770 | extract_return_value, store_return_value, | |
5771 | extract_struct_value_address. | |
5772 | ||
eb8bc282 AC |
5773 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
5774 | ||
5775 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
5776 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
5777 | frame_map_regnum_to_name. | |
5778 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
5779 | (frame_map_name_to_regnum): Simplify, call | |
5780 | user_reg_map_name_to_regnum. | |
5781 | (frame_map_regnum_to_name): Simplify, call | |
5782 | user_reg_map_regnum_to_name. | |
5783 | (frame_register_unwind): Update. | |
5784 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
5785 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
5786 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
5787 | (value_of_register): Use value_of_user_reg. | |
5788 | * eval.c (evaluate_subexp_standard): Update. | |
5789 | * parse.c (write_dollar_variable): Update. | |
5790 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
5791 | * infcmd.c (registers_info): Update. | |
5792 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
5793 | (builtin_regs_h): Delete macro. | |
5794 | (user_regs_h): Define. | |
5795 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
5796 | (builtin-regs.o): Delete target. | |
5797 | (user-regs.o): Specify dependencies. | |
5798 | (expprint.o): Update dependencies. | |
5799 | (findvar.o): Update dependencies. | |
5800 | (frame.o): Update dependencies. | |
5801 | (std-regs.o): Update dependencies. | |
5802 | ||
9f476a01 CF |
5803 | 2003-07-06 Christopher Faylor <cgf@redhat.com> |
5804 | ||
5805 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
5806 | address stuff. Pass variable rather than address of variable to | |
5807 | safe_symbol_file_add. | |
5808 | ||
a731b831 AS |
5809 | 2003-07-06 Andreas Schwab <schwab@suse.de> |
5810 | ||
5811 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
5812 | ||
9f83329d JB |
5813 | 2003-07-04 Joel Brobecker <brobecker@gnat.com> |
5814 | ||
5815 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
5816 | ||
27e28cc5 KW |
5817 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> |
5818 | ||
5819 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
5820 | ||
5821 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> | |
5822 | ||
5823 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
5824 | * config/i386/nto.mh: New file. | |
5825 | * config/i386/nm-nto.h: New file. | |
5826 | * configure.host: Add i[3456]86-*-nto*. | |
5827 | ||
100f2e98 JB |
5828 | 2003-07-03 Joel Brobecker <brobecker@gnat.com> |
5829 | ||
5830 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
5831 | ||
e23457df AC |
5832 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
5833 | ||
5834 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
5835 | * gdbarch.h, gdbarch.c: Re-generate. | |
5836 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
5837 | (legacy_register_name): Declare. | |
5838 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
5839 | (REGISTER_NAME): Define. | |
5840 | * sparc-tdep.c (legacy_register_name): New function. | |
5841 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
5842 | (REGISTER_NAME): Define. | |
5843 | (hppa64_register_name): Declare. | |
5844 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
5845 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
5846 | (hppa64_register_name): New function. | |
5847 | (hppa_register_name): New function. | |
5848 | * arch-utils.c (legacy_register_name): Delete. | |
5849 | * arch-utils.h (legacy_register_name): Delete. | |
5850 | ||
38caaeec DJ |
5851 | 2003-07-03 Daniel Jacobowitz <drow@mvista.com> |
5852 | ||
5853 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
5854 | cli_uiout's stream to gdb_stdout. | |
5855 | ||
dadd712e AC |
5856 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
5857 | ||
5858 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
5859 | predicate. | |
5860 | * gdbarch.h, gdbarch.c: Re-generate. | |
5861 | * regcache.c (init_regcache_descr): Use legacy code when either | |
5862 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
5863 | ||
c7f1390e DJ |
5864 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
5865 | ||
5866 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
5867 | ||
4bc8c588 JB |
5868 | 2003-07-02 Jim Blandy <jimb@redhat.com> |
5869 | ||
a9dd42f1 JB |
5870 | * s390-tdep.c (struct frame_extra_info): new member: |
5871 | 'stack_bought_valid'. | |
5872 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
5873 | initialize fextra_info->stack_bought. | |
5874 | (s390_frameless_function_invocation): Don't trust the value of | |
5875 | fextra_info_ptr->stack_bought unless | |
5876 | fextra_info->stack_bought_valid is set. | |
5877 | ||
4bc8c588 JB |
5878 | New S390 prologue analyzer. |
5879 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
5880 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
5881 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
5882 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
5883 | compute_x_addr, s390_on_stack, s390_store, | |
5884 | s390_get_signal_frame_info): New functions. | |
5885 | (S390_NUM_SPILL_SLOTS): New macro. | |
5886 | (s390_get_frame_info): Rewritten. | |
5887 | (is_arg_reg): Deleted. | |
5888 | ||
5889 | Break out the decoding of S/390 instructions into separate | |
5890 | functions, to make it more legible, and easier to check | |
5891 | against the spec. | |
5892 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
5893 | is_rx, is_rxe): New functions. | |
5894 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
5895 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
5896 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
5897 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
5898 | enums for opcode values. (Is this an improvement?) | |
5899 | ||
fd13a04a AC |
5900 | 2003-07-02 Andrew Cagney <cagney@redhat.com> |
5901 | ||
5902 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
5903 | below. | |
5904 | ||
3f8091c1 DJ |
5905 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
5906 | ||
5907 | * breakpoint.c (insert_catchpoint): Make static. | |
5908 | ||
8dd5115e AS |
5909 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
5910 | ||
5911 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
5912 | former ia64_push_arguments and ia64_push_return_address, and use | |
5913 | regcache functions instead of read/write_register. | |
5914 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
5915 | deprecated_push_arguments and deprecated_push_return_address. | |
5916 | ||
a2229c23 AJ |
5917 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
5918 | ||
5919 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
5920 | before the call. | |
5921 | Set %rax only to number of SSE registers used. | |
5922 | ||
3b3850e8 AC |
5923 | 2003-07-01 Andrew Cagney <cagney@redhat.com> |
5924 | ||
5925 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
5926 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
5927 | (trad_frame_reg_p): Declare. | |
5928 | (trad_frame_set_value): Rename trad_frame_register_value. | |
5929 | (trad_frame_set_unknown): Declare. | |
5930 | * trad-frame.c (trad_frame_realreg_p): New function. | |
5931 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
5932 | (trad_frame_set_unknown): New function. | |
5933 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
5934 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
5935 | trad_frame_addr_p and trad_frame_value_p. | |
5936 | (trad_frame_set_value): Rename trad_frame_register_value. | |
5937 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
5938 | and trad_frame_set_value. | |
a2229c23 | 5939 | |
4d819d0e JB |
5940 | 2003-06-30 Jim Blandy <jimb@redhat.com> |
5941 | ||
5942 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
5943 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
5944 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
5945 | for 16 registers, and then 32 more bytes. | |
5946 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
5947 | New macros. | |
5948 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
5949 | Move up in the file, since it's now used by is_simple_arg. | |
5950 | (is_simple_arg): Don't assume registers are four bytes long. | |
5951 | Exclude all double arguments. Extended floats are not simple | |
5952 | args. | |
5953 | (is_power_of_two): New function. | |
5954 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
5955 | length fits in a register, rather than listing all the acceptable | |
5956 | sizes. Extended floats are not passed by reference. | |
5957 | (s390_push_arguments): Don't assume registers are four bytes long. | |
5958 | Reserve an argument register to point to the buffer for structures | |
5959 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
5960 | S390_STACK_FRAME_OVERHEAD. | |
5961 | ||
1ad828f1 AS |
5962 | 2003-06-30 Andreas Schwab <schwab@suse.de> |
5963 | ||
5964 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
5965 | format error message. | |
5966 | ||
39b00981 JB |
5967 | 2003-06-30 Joel Brobecker <brobecker@gnat.com> |
5968 | ||
5969 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
5970 | ||
b2a7f303 DC |
5971 | 2003-06-30 David Carlton <carlton@kealia.com> |
5972 | ||
5973 | Band-aid for PR c++/1245. | |
5974 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
5975 | * cp-support.c: Include complaints.h. Add declaration for | |
5976 | find_last_component. | |
5977 | (cp_find_first_component): Separate code into | |
5978 | cp_find_first_component_aux. | |
5979 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
5980 | (demangled_name_complaint): New. | |
5981 | ||
a257b5bb AC |
5982 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
5983 | ||
5984 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
5985 | the payload size. Update comments to reflect. Fixes problem of | |
5986 | GDB not sending small packets as found by Fred Fish. | |
5987 | ||
0a2cfde4 AC |
5988 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
5989 | ||
5990 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
5991 | ||
3fcb8548 AC |
5992 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
5993 | ||
5994 | * remote.c (remote_wait): Call error, and not warning, when the | |
5995 | packet is corrupt. | |
5996 | (remote_async_wait): Ditto. | |
5997 | ||
9f9970a3 DJ |
5998 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
5999 | ||
6000 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
6001 | ||
83a8ccca DJ |
6002 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
6003 | ||
6004 | * cli/cli-logging.c (pop_output_files): Add void to function | |
6005 | definition. | |
6006 | ||
d2cf594a AC |
6007 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
6008 | ||
6009 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
6010 | the buffer contents. | |
6011 | ||
0fac0b41 DJ |
6012 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
6013 | ||
6014 | * cli/cli-logging.c: New file. | |
6015 | * cli-out.c (struct ui_out_data): Add original_stream. | |
6016 | (cli_redirect): New function. | |
6017 | (cli_ui_out_impl): Add cli_redirect. | |
6018 | (cli_out_new): Initialize original_stream. | |
6019 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
6020 | (uo_redirect, ui_out_redirect): New. | |
6021 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
6022 | (redirect_ftype): New. | |
6023 | (ui_out_redirect): Add prototype. | |
6024 | * Makefile.in: Add rules for cli-logging.c. | |
6025 | * NEWS: Mention "set logging". | |
6026 | ||
88a07d7c EZ |
6027 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
6028 | ||
6029 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
6030 | ||
4eb58876 AC |
6031 | 2003-06-27 Andrew Cagney <cagney@redhat.com> |
6032 | ||
6033 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
6034 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
6035 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
6036 | (avr_gdbarch_init): Do not set call_dummy_address. | |
6037 | ||
1549f619 EZ |
6038 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
6039 | ||
6040 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
6041 | Move the checks for the non-mainline case a bit earlier to avoid | |
6042 | doing some useless computations. | |
6043 | ||
3cb3398d EZ |
6044 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
6045 | ||
6046 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
6047 | ||
3799ccc6 EZ |
6048 | 2003-06-26 Elena Zannoni <ezannoni@redhat.com> |
6049 | ||
6050 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
6051 | sections. | |
6052 | ||
ce1f6491 MC |
6053 | 2003-06-26 Michael Chastain <mec@shout.net> |
6054 | ||
6055 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
6056 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
6057 | ||
d958dfd0 AC |
6058 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
6059 | ||
6060 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
6061 | altivec_expression.h and altivec_registers.h. | |
6062 | ||
d31431ed AC |
6063 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
6064 | ||
6065 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
6066 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
6067 | ||
714b1282 AC |
6068 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
6069 | ||
6070 | * utils.c (internal_vproblem): Print the problem to a reason | |
6071 | buffer and then pass to query. Make the msg variable more local. | |
6072 | ||
42efa47a AC |
6073 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
6074 | ||
6075 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
6076 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
6077 | * gdbarch.h, gdbarch.c: Re-generate. | |
6078 | * frame-base.c (default_frame_args_address): Update. Use | |
6079 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
6080 | not available. | |
6081 | (default_frame_locals_address): Ditto for | |
6082 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
6083 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
6084 | (vax_frame_num_args): Update. | |
6085 | (vax_gdbarch_init): Update. | |
6086 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6087 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
6088 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6089 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6090 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6091 | * symtab.h (address_class): Update comments. | |
6092 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
6093 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
6094 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
6095 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
6096 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
6097 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
6098 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
6099 | * alpha-mdebug-tdep.c: Update. | |
6100 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
6101 | ||
8ffd9b1b AJ |
6102 | 2003-06-26 Andreas Jaeger <aj@suse.de> |
6103 | ||
6104 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
6105 | of SSE registers so that varargs functions work. Rework handling | |
6106 | of passing arguments on the stack. | |
6107 | (x86_64_store_return_value): Return double and float values in SSE | |
6108 | register. | |
6109 | ||
e8ac10a6 MC |
6110 | 2003-06-24 Michael Chastain <mec@shout.net> |
6111 | ||
6112 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
6113 | the "constructor breakpoints ignored" bug. | |
6114 | ||
986af8e6 DC |
6115 | 2003-06-25 David Carlton <carlton@kealia.com> |
6116 | ||
6117 | * MAINTAINERS: Update e-mail address. | |
6118 | ||
d64558a5 JB |
6119 | 2003-06-24 Jim Blandy <jimb@redhat.com> |
6120 | ||
e538d2d7 JB |
6121 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
6122 | ||
02631ec0 JB |
6123 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
6124 | function. | |
6125 | (ppc_linux_init_abi): Register it as the | |
6126 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
6127 | ||
e716d87a JB |
6128 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
6129 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
6130 | method. | |
6131 | ||
d64558a5 JB |
6132 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
6133 | (ppc64_standard_linkage_target): Use it. | |
6134 | ||
449a5da4 AC |
6135 | 2003-06-23 Andrew Cagney <cagney@redhat.com> |
6136 | ||
6137 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
6138 | for 0 "int0" and 4 "int32" sized registers. | |
6139 | * gdbtypes.c (builtin_type_int0): Define. | |
6140 | (build_gdbtypes): Initialize builtin_type_int0. | |
6141 | * gdbtypes.h (builtin_type_int0): Declare. | |
6142 | ||
b2a02dda SC |
6143 | 2003-06-23 Stephane Carrez <stcarrez@nerim.fr> |
6144 | ||
6145 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
6146 | as characters are unsigned. | |
6147 | ||
fba3138e DJ |
6148 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
6149 | ||
6150 | PR gdb/1179 | |
6151 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
6152 | ||
f6c8180b AC |
6153 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
6154 | ||
6155 | GDB 6.0 branch created. | |
f2c06f52 AC |
6156 | * README: Update. |
6157 | * PROBLEMS: Update. Empty. | |
6158 | * NEWS: Update. | |
f6c8180b | 6159 | |
ae822768 DJ |
6160 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
6161 | ||
6162 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
6163 | Suggested by Nick Hibma <n_hibma@webweaving.org>. | |
6164 | ||
261de166 AC |
6165 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
6166 | ||
6167 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
6168 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
6169 | Velikov. | |
6170 | ||
30e94205 DJ |
6171 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
6172 | ||
6173 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
6174 | compilers. | |
6175 | ||
9e14d721 DJ |
6176 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
6177 | ||
6178 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
6179 | argument of val_print. | |
6180 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
6181 | to the address argument of baseclass_offset or target_read_memory. | |
6182 | Do add it to the argument of cp_print_value_fields. | |
6183 | ||
a4b8ebc8 AC |
6184 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
6185 | ||
6186 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
6187 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
6188 | instead of 0..NUM_REGS. | |
6189 | (mips_register_reggroup_p): New function. | |
6190 | (mips_pseudo_register_write): New function. | |
6191 | (mips_pseudo_register_read): New function. | |
6192 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
6193 | based on the register's type. | |
6194 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
6195 | cooked. | |
6196 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
6197 | pseudo / cooked. | |
6198 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
6199 | (mips_register_type): Replace mips_register_virtual_type. Map | |
6200 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
6201 | when available. | |
6202 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
6203 | that the register is cooked / virtual. | |
6204 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
6205 | Only get the extra info when needed. | |
6206 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
6207 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
6208 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
6209 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
6210 | (mips_print_register): Use gdbarch_register_type, instead of | |
6211 | REGISTER_VIRTUAL_TYPE. | |
6212 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
6213 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
6214 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
6215 | Print the pseudo / cooked registers. | |
6216 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
6217 | Print the pseudo / cooked registers. | |
6218 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
6219 | REG_NUM is pseudo / cooked. | |
6220 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
6221 | (mips_n32n64_xfer_return_value): Ditto. | |
6222 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
6223 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
6224 | (mips_register_sim_regno): New function. | |
6225 | (mips_gdbarch_init): Set deprecated_register_byte, | |
6226 | register_group_p, pseudo_register_write, pseudo_register_read, | |
6227 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
6228 | instead of register_virtual_type. | |
6229 | * Makefile.in (mips-tdep.o): Update dependencies. | |
6230 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
6231 | REGISTER_VIRTUAL_TYPE. | |
6232 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
6233 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
6234 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
6235 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
6236 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
6237 | ||
325ed089 DJ |
6238 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
6239 | ||
6240 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
6241 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
6242 | (shell_escape): Use vfork. | |
6243 | ||
f0e7d0e8 AC |
6244 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
6245 | ||
c57bb9fa AC |
6246 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
6247 | 32 bit floating-point register saves. | |
6248 | ||
6e51443a AC |
6249 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
6250 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
6251 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
6252 | and deprecated_get_next_frame_hack instead of | |
6253 | deprecated_unwind_get_saved_register. | |
6254 | ||
ed183c7c AC |
6255 | * mips-tdep.c (mips_dump_tdep): Do not print |
6256 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
6257 | ||
f0e7d0e8 AC |
6258 | * frame.c (get_frame_register): New function. |
6259 | (frame_unwind_register_signed): New function. | |
6260 | (get_frame_register_signed): New function. | |
6261 | (frame_unwind_register_unsigned): New function. | |
6262 | (get_frame_register_unsigned): New function. | |
6263 | * frame.h: Add comments on naming schema. | |
6264 | (get_frame_register, frame_unwind_register_signed): Declare. | |
6265 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
6266 | (frame_unwind_register_unsigned): Declare. | |
6267 | (get_frame_register_unsigned): Declare. | |
6268 | ||
2224d941 TR |
6269 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
6270 | ||
6271 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
6272 | ||
8619218d TR |
6273 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
6274 | ||
6275 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
6276 | (avr_read_sp): Ditto. | |
6277 | ||
0b1b50c0 DJ |
6278 | 2003-06-20 Daniel Jacobowitz <drow@mvista.com> |
6279 | ||
6280 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
6281 | * config/arm/nm-linux.h: Likewise. | |
6282 | * config/arm/tm-linux.h: Likewise. | |
6283 | * config/ia64/nm-linux.h: Likewise. | |
6284 | * config/ia64/tm-ia64.h: Likewise. | |
6285 | * config/s390/tm-linux.h: Likewise. | |
6286 | * config/s390/tm-s390.h: Likewise. | |
6287 | * s390-nat.c: Likewise. | |
6288 | * s390-tdep.c: Likewise. | |
6289 | ||
6290 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
6291 | * config/ia64/linux.mt: Likewise. | |
6292 | * config/m68k/linux.mh: Likewise. | |
6293 | * config/mips/linux.mt: Likewise. | |
6294 | * config/powerpc/linux.mh: Likewise. | |
6295 | * config/sh/linux.mt: Likewise. | |
6296 | ||
c8c18e65 KW |
6297 | 2003-06-19 Kris Warkentin <kewarken@qnx.com> |
6298 | ||
6299 | * solib.c (solib_open): Change tests for whether to search | |
6300 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
6301 | comments. | |
6302 | ||
dcccef2e TR |
6303 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
6304 | ||
6305 | * avr-tdep.c (avr_frame_address): Delete function. | |
6306 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
6307 | set_gdbarch_frame_args_address. | |
6308 | ||
5861a190 AC |
6309 | 2003-06-19 Andrew Cagney <cagney@redhat.com> |
6310 | ||
6311 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
6312 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
6313 | (mips_register_convert_to_type): Delete declaration. | |
6314 | (mips_register_convert_from_type): Delete declaration. | |
6315 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
6316 | kernel/. | |
6317 | ||
0274a8ce MS |
6318 | 2003-06-19 Michael Snyder <msnyder@redhat.com> |
6319 | ||
6320 | * linux-nat.h: New file. | |
6321 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 6322 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 6323 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 6324 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
6325 | (linux_make_note_section): Iterate over lwps instead of threads. |
6326 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
6327 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 6328 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
6329 | Add dependency on linux_nat_h. |
6330 | ||
adf5f719 TR |
6331 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
6332 | ||
6333 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
6334 | ||
6766a268 DJ |
6335 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
6336 | ||
6337 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
6338 | ||
1171114a DJ |
6339 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
6340 | ||
6341 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
6342 | ||
adcf68a2 TR |
6343 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
6344 | ||
6345 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
6346 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
6347 | ||
ea67f13b DJ |
6348 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
6349 | ||
6350 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
6351 | (generic_prepare_to_proceed): Remove. | |
6352 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
6353 | (generic_prepare_to_proceed): Remove prototype. | |
6354 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
6355 | * gdbarch.c: Regenerate. | |
6356 | * gdbarch.h: Regenerate. | |
6357 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
6358 | * hppah-nat.c (hppa_switched_threads): Remove. | |
6359 | * infrun.c (prepare_to_proceed): New static function, copied from | |
6360 | generic_prepare_to_proceed. Remove select_it argument. | |
6361 | (proceed): Call prepare_to_proceed. | |
6362 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
6363 | variables. | |
6364 | (ptrace_wait): Don't set the removed variables. | |
6365 | (hppa_switched_threads): Remove. | |
6366 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
6367 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
6368 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
6369 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
6370 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
6371 | ||
4add8633 TR |
6372 | 2003-06-18 Theodore A. Roth <troth@openavr.org> |
6373 | ||
6374 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
6375 | trad-frame.h. | |
6376 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
6377 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
6378 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
6379 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
6380 | (struct frame_extra_info): Remove. | |
6381 | (struct avr_unwind_cache): Define. | |
6382 | (avr_write_sp): Delete function. | |
6383 | (avr_read_fp): Ditto. | |
6384 | (avr_init_extra_frame_info): Ditto. | |
6385 | (avr_pop_frame): Ditto. | |
6386 | (avr_frame_saved_pc): Ditto. | |
6387 | (avr_saved_pc_after_call): Ditto. | |
6388 | (avr_push_return_address): Ditto. | |
6389 | (avr_frame_chain): Ditto. | |
6390 | (avr_store_struct_return): Ditto. | |
6391 | (avr_push_arguments): Ditto. | |
6392 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
6393 | cache unwinding. Now returns end of prologue PC. | |
6394 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
6395 | by using avr_scan_prologue. | |
6396 | (avr_scan_arg_moves): New function. | |
6397 | (avr_saved_regs_unwinder): Ditto. | |
6398 | (avr_frame_unwind_cache): Ditto. | |
6399 | (avr_unwind_pc): Ditto. | |
6400 | (avr_frame_this_id): Ditto. | |
6401 | (avr_frame_prev_register): Ditto. | |
6402 | (avr_frame_p): Ditto. | |
6403 | (avr_frame_base_address ): Ditto. | |
6404 | (avr_unwind_dummy_id): Ditto. | |
6405 | (avr_push_dummy_code): Ditto. | |
6406 | (push_stack_item): Ditto. | |
6407 | (pop_stack_item): Ditto. | |
6408 | (avr_push_dummy_call): Ditto. | |
6409 | (struct stack_item): Define. | |
6410 | (avr_frame_unwind): Declare structure. | |
6411 | (avr_frame_base): Ditto. | |
6412 | (avr_gdbarch_init): Remove calls to | |
6413 | set_gdbarch_deprecated_init_frame_pc, | |
6414 | set_gdbarch_deprecated_target_read_fp, | |
6415 | set_gdbarch_deprecated_dummy_write_sp, | |
6416 | set_gdbarch_deprecated_fp_regnum, | |
6417 | set_gdbarch_deprecated_push_arguments, | |
6418 | set_gdbarch_deprecated_push_return_address, | |
6419 | set_gdbarch_deprecated_pop_frame, | |
6420 | set_gdbarch_deprecated_store_struct_return, | |
6421 | set_gdbarch_deprecated_frame_init_saved_regs, | |
6422 | set_gdbarch_deprecated_init_extra_frame_info, | |
6423 | set_gdbarch_deprecated_frame_chain, | |
6424 | set_gdbarch_deprecated_frame_saved_pc, | |
6425 | set_gdbarch_deprecated_saved_pc_after_call. | |
6426 | Add calls to set_gdbarch_push_dummy_call, | |
6427 | set_gdbarch_push_dummy_code, | |
6428 | frame_unwind_append_predicate, | |
6429 | frame_base_set_default, | |
6430 | set_gdbarch_unwind_dummy_id, | |
6431 | set_gdbarch_unwind_pc. | |
6432 | Wrap a long line. | |
6433 | ||
7be04a68 MS |
6434 | 2003-06-18 Corinna Vinschen <vinschen@redhat.com> |
6435 | ||
6436 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
6437 | registers for H8/300S. | |
6438 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 6439 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 6440 | |
ae087d01 DJ |
6441 | 2003-06-18 Daniel Jacobowitz <drow@mvista.com> |
6442 | ||
6443 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
6444 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
6445 | (lin_lwp_wait): Likewise. Update comments. | |
6446 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
6447 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
6448 | ||
07d8f827 SC |
6449 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
6450 | ||
6451 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
6452 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
6453 | declared by ALL_BLOCK_SYMBOLS. | |
6454 | ||
7cb47b14 SC |
6455 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
6456 | ||
6457 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
6458 | ("regcache.h"): Include it. | |
6459 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
6460 | ||
6ad8ae5c DJ |
6461 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6462 | ||
6463 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
6464 | * infcmd.c (disconnect_command): New function. | |
6465 | (_initialize_infcmd): Add ``disconnect'' command. | |
6466 | * remote.c (remote_async_detach): Delete. | |
6467 | (remote_detach): Merge remote_async_detach. | |
6468 | (remote_disconnect): New. | |
6469 | (init_remote_ops): Set to_disconnect. | |
6470 | (init_remote_cisco_ops): Likewise. | |
6471 | (init_remote_async_ops): Likewise. Use remote_detach. | |
6472 | * target.c (cleanup_target): Default to_disconnect. | |
6473 | (update_current_target): Inherit to_disconnect. | |
6474 | (target_disconnect, debug_to_disconnect): New functions. | |
6475 | (setup_target_debug): Set to_disconnect. | |
6476 | * target.h (struct target_ops): Add to_disconnect. | |
6477 | (target_disconnect): Add prototype. | |
6478 | ||
687595f9 DJ |
6479 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6480 | ||
6481 | * breakpoint.c (insert_catchpoint): New function. | |
6482 | (insert_breakpoints): Use catch_exceptions to call | |
6483 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
6484 | ||
29239a8f DJ |
6485 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6486 | ||
6487 | * symfile.c (reread_symbols): Clear sym_private. | |
6488 | ||
2cdf3c63 AC |
6489 | 2003-06-17 Andrew Cagney <cagney@redhat.com> |
6490 | ||
6491 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
6492 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
6493 | declaration. | |
6494 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
6495 | comments. | |
6496 | ||
cf0e1e0d DJ |
6497 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
6498 | ||
6499 | * remote.c (remote_prepare_to_store): Replace call to | |
6500 | deprecated_read_register_bytes with multiple regcache_raw_read | |
6501 | calls. | |
6502 | ||
192cdb19 KW |
6503 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
6504 | ||
6505 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
6506 | (nto_find_and_open_solib): Likewise. | |
6507 | (nto_init_solib_absolute_prefix): Likewise. | |
6508 | (_initialize_nto_tdep): Fix indentation. | |
6509 | ||
89929b45 KW |
6510 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
6511 | ||
6512 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
6513 | ||
46019f27 KW |
6514 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
6515 | ||
6516 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
6517 | ||
1a38736e JB |
6518 | 2003-06-17 Jim Blandy <jimb@redhat.com> |
6519 | ||
6520 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
6521 | ||
3605c34a TR |
6522 | 2003-06-16 Theodore A. Roth <troth@openavr.org> |
6523 | ||
6524 | * avr-tdep.c (avr_extract_return_value): New function. | |
6525 | (avr_gdbarch_init): Set extract_return_value method. | |
6526 | ||
870b3035 AC |
6527 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
6528 | ||
6529 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
6530 | * frame.c (legacy_saved_regs_prev_register): Only require | |
6531 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
6532 | there are always saved regs. | |
6533 | (deprecated_generic_get_saved_register): Do not require | |
6534 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
6535 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
6536 | use frame ID unwind instead. | |
6537 | (deprecated_get_next_frame_hack): New function. | |
6538 | ||
63d47a7d CV |
6539 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
6540 | ||
6541 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
6542 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
6543 | (h8300_push_return_address): Remove. | |
6544 | (h8300_gdbarch_init): Remove calls to | |
6545 | set_gdbarch_deprecated_dummy_write_sp, | |
6546 | set_gdbarch_deprecated_push_arguments and | |
6547 | set_gdbarch_deprecated_push_return_address. | |
6548 | Add call to set_gdbarch_push_dummy_call. | |
6549 | ||
4bb1dc5e CV |
6550 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
6551 | ||
6552 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
6553 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
6554 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 6555 | registers into safe registers. |
4bb1dc5e CV |
6556 | (h8300_skip_prologue): Check for stm instruction to push registers |
6557 | used for register variables onto stack. | |
6558 | (gdb_print_insn_h8300): Remove. | |
6559 | (h8300_examine_prologue): Add a comment. | |
6560 | (h8300_register_name): Take pseudo registers into account. | |
6561 | (h8300s_register_name): Ditto. | |
6562 | (h8300sx_register_name): Ditto. | |
6563 | (h8300_print_register): Ditto. | |
6564 | (h8300_print_registers_info): Define "nice" printing order. | |
6565 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
6566 | (h8300_register_type): Ditto. Return type used for remote connection | |
6567 | when requesting real CCR or EXR register, return actual type when | |
6568 | requesting pseudo CCR or EXR. | |
6569 | (h8300_pseudo_register_read): New function. | |
6570 | (h8300_pseudo_register_write): Ditto. | |
6571 | (h8300_dbg_reg_to_regnum): Ditto. | |
6572 | (h8300s_dbg_reg_to_regnum): Ditto. | |
6573 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
6574 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
6575 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
6576 | set_gdbarch_print_insn architecture dependent. | |
6577 | Call set_gdbarch_pseudo_register_read and | |
6578 | set_gdbarch_pseudo_register_write. | |
6579 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
6580 | ||
a59fe496 AC |
6581 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
6582 | ||
6583 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
6584 | * gdbarch.h, gdbarch.c: Re-generate. | |
6585 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6586 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6587 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6588 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6589 | * mips-tdep.c (mips_gdbarch_init): Update. | |
6590 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6591 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6592 | * infcall.c (call_function_by_hand): Update. | |
6593 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
6594 | * frame.c (legacy_get_prev_frame): Do not assume | |
6595 | SAVE_DUMMY_FRAME_TOS_P. | |
6596 | * dummy-frame.c (find_dummy_frame): Update comment. | |
6597 | ||
6f4e5a41 AC |
6598 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
6599 | ||
6600 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
6601 | ||
72fab697 TR |
6602 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
6603 | ||
6604 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
6605 | (avr_scan_prologue): Correct some comments. | |
6606 | ||
e3d8b004 TR |
6607 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
6608 | ||
6609 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
6610 | prologue types. | |
8ffd9b1b | 6611 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
6612 | option. |
6613 | Add code to scan -mcall-prologues for mega devices. | |
6614 | ||
866b76ea TR |
6615 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
6616 | ||
6617 | * avr-tdep.c (avr_register_byte): Delete function. | |
6618 | (avr_register_raw_size): Delete function. | |
6619 | (avr_register_virtual_size): Delete function. | |
6620 | (avr_register_virtual_type): Delete function. | |
6621 | (avr_register_type): New function. | |
6622 | (avr_address_to_pointer): Remove unused code. | |
6623 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
6624 | avr_register_type() usage. | |
6625 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
6626 | Don't set deprecated_register_bytes. | |
6627 | Don't set deprecated_register_byte. | |
6628 | Don't set deprecated_register_raw_size. | |
6629 | Don't set deprecated_max_register_raw_size. | |
6630 | Don't set deprecated_register_virtual_size. | |
6631 | Don't set deprecated_max_register_virtual_size. | |
6632 | Don't set deprecated_register_virtual_type. | |
6633 | Set register_type method. | |
6634 | ||
3993f6b1 DJ |
6635 | 2003-06-15 Daniel Jacobowitz <drow@mvista.com> |
6636 | ||
6637 | * Makefile.in (linux-nat.o): Add rule. | |
6638 | * linux-nat.c: New file. | |
6639 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
6640 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
6641 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
6642 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
6643 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
6644 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
6645 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
6646 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
6647 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
6648 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
6649 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
6650 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
6651 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
6652 | ||
786a90bb MK |
6653 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
6654 | ||
6655 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
6656 | replace out-of-date comment. | |
6657 | ||
3bd3f01e AC |
6658 | 2003-06-15 Andrew Cagney <cagney@redhat.com> |
6659 | ||
6660 | * rdi-share/host.h (Fail): Change to a varargs function. | |
6661 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 6662 | |
de5b9bb9 MK |
6663 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
6664 | ||
6665 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
6666 | (i386_convert_register_p, i386_register_to_value, | |
6667 | i386_register_from_value): Handle types longer than 8 bytes. | |
6668 | ||
d532c08f MK |
6669 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
6670 | ||
6671 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
6672 | Move floating-point code to new function in i387-tdep.c. | |
6673 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
6674 | New functions containing code moved here from i386-tdep.c. | |
6675 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
6676 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
6677 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
6678 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
6679 | value_to_register here. | |
8ffd9b1b | 6680 | |
42c466d7 AC |
6681 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
6682 | ||
6683 | * mips-tdep.c (mips_register_to_value): Make static. | |
6684 | (mips_value_to_register): Make static. | |
6685 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
6686 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
6687 | (ia64_register_virtual_size): Make static. | |
6688 | (ia64_register_byte): Make static. | |
6689 | * i387-tdep.c: Include "i387-tdep.h". | |
6690 | (print_387_control_word): Delete function. | |
6691 | (print_387_status_word): Delete function. | |
6692 | (print_387_status_bits): Delete function. | |
6693 | (print_387_control_bits): Delete function. | |
6694 | * Makefile.in (i387-tdep.o): Update dependencies. | |
6695 | * rdi-share/host.h (Fail): Declare. | |
6696 | * remote-rdi.c (Fail): Update to match declaration. | |
6697 | ||
2a9cda49 AC |
6698 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
6699 | ||
6700 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
6701 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
6702 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
6703 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
6704 | * README: Delete reference to remote-array. | |
6705 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
6706 | (remote-array.o): Delete target. | |
6707 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
6708 | * remote-array.c: Delete file. | |
6709 | ||
ff2e87ac AC |
6710 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
6711 | Mark Kettenis <kettenis@gnu.org> | |
6712 | ||
6713 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
6714 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
6715 | parameter with "frame". | |
6716 | * gdbarch.h, gdbarch.c: Re-generate. | |
6717 | * frame.h (put_frame_register): Declare. | |
6718 | * frame.c (put_frame_register): New function. | |
6719 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
6720 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
6721 | register value. | |
6722 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
6723 | register's location before storing. | |
6724 | * arch-utils.h (legacy_convert_register_p): Update. | |
6725 | (legacy_register_to_value, legacy_value_to_register): Update. | |
6726 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
6727 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
6728 | "frame" to REGISTER_TO_VALUE. | |
6729 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
6730 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
6731 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
6732 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
6733 | I386_EDI_REGNUM): New defines. | |
6734 | (i386_next_regnum, i386_convert_register_p, | |
6735 | i386_register_to_value, i386_value_to_register): New functions. | |
6736 | (i386_register_convertible, i386_register_convert_to_virtual, | |
6737 | i386_convert_to_raw): Remove functions. | |
6738 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
6739 | value_to_register instead of register_convertible, | |
6740 | register_convert_to_virtual and register_convert_to_raw. | |
6741 | * mips-tdep.c (mips_convert_register_p): New function. | |
6742 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
6743 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
6744 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
6745 | register_to_value. | |
6746 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
6747 | (alpha_value_to_register): Update, store the register. | |
6748 | (alpha_register_to_value): Update, fetch the register. | |
6749 | ||
98be1e77 TR |
6750 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
6751 | ||
6752 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
6753 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
6754 | Don't set deprecated_call_dummy_words. | |
6755 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
6756 | Don't set remote_translate_xfer_address. | |
6757 | (avr_io_reg_read_command): Remove commented out debug printf. | |
6758 | Wrap a long line. | |
6759 | ||
57bc6122 TR |
6760 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
6761 | ||
6762 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
6763 | causes gdb to seg fault. | |
6764 | ||
eb01fc62 DJ |
6765 | 2003-06-14 Daniel Jacobowitz <drow@mvista.com> |
6766 | ||
6767 | * sparc-nat.c (fetch_inferior_registers): Correct | |
6768 | a reference to "registers". | |
6769 | ||
3b3e6bee DJ |
6770 | 2003-06-14 Jeroen Dekkers <jeroen@dekkers.cx> |
6771 | ||
6772 | * Makefile.in (exc_request_U_h): Define | |
6773 | (exc_request_S_h): Likewise. | |
6774 | (msg_reply_S_h): Likewise. | |
6775 | (msg_U_h): Likewise. | |
6776 | (notify_S_h): Likewise. | |
6777 | (process_reply_S_h): Likewise. | |
6778 | (gnu-nat.o): Depend on gdb_obstack_h | |
6779 | * gnu-nat.c: Include "gdb_obstack.h". | |
6780 | ||
b8de8283 AC |
6781 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6782 | ||
6783 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
6784 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 6785 | |
f3be58bc AC |
6786 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6787 | ||
6788 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
6789 | when deprecated REGISTER macros can be deleted. | |
6790 | * gdbarch.h, gdbarch.c: Re-generate. | |
6791 | ||
4c0122c8 JB |
6792 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
6793 | ||
6794 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
6795 | Linux entry point symbols for _dl_debug_state, too. | |
6796 | ||
3e210248 AC |
6797 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6798 | ||
6799 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
6800 | available, do not use the FP register, and always save the TOS. | |
6801 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
6802 | SAVE_DUMMY_FRAME_TOS. | |
6803 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
6804 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
6805 | (i386_push_dummy_call): Add 8 to the returned SP. | |
6806 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
6807 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
6808 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
6809 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
6810 | (x86_64_push_dummy_call): Return "sp + 16". | |
6811 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
6812 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
6813 | save_dummy_frame_tos. | |
6814 | ||
0b65af49 JB |
6815 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
6816 | ||
6817 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
6818 | declaration for function deleted in my change of 2003-06-12. | |
6819 | ||
4ea2465e TR |
6820 | 2003-06-13 Theodore A. Roth <troth@openavr.org> |
6821 | ||
6822 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
6823 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
6824 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
6825 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
6826 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
6827 | ||
1581182a MK |
6828 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
6829 | ||
6830 | From Kelley Cook <kelleycook@wideopenwest.com>: | |
6831 | * configure.host: Accept i[34567]86 variants. | |
6832 | * configure.tgt: Likewise. | |
6833 | * nlm/configure.in: Likewise. | |
6834 | * nlm/configure: Regenerated. | |
6835 | ||
7aa1783e RE |
6836 | 2003-06-13 Richard Earnshaw <rearnsha@arm.com> |
6837 | ||
6838 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
6839 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
6840 | * arm-linux-tdep.c: ... here. Make static. | |
6841 | (arm_linux_init_abi): Register it. | |
6842 | (solib-svr4.h): Include it. | |
6843 | * Makefile.in: Update dependencies. | |
6844 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
6845 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
6846 | ||
0261a0d0 CV |
6847 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
6848 | ||
6849 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
6850 | indicate registers used for return values. | |
6851 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
6852 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
6853 | members. | |
6854 | (h8300_init_extra_frame_info): Ditto. | |
6855 | (h8300_frame_locals_address): Removed. | |
6856 | (h8300_frame_args_address): Removed. | |
6857 | (h8300_extract_return_value): Use new regcache structure. Only care | |
6858 | for 16 bit CPUs. | |
6859 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
6860 | (h8300_store_return_value): Use new regcache structure. Only care | |
6861 | for 16 bit CPUs. | |
6862 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
6863 | (h8300_store_struct_return): Removed. | |
6864 | (h8300_extract_struct_value_address): Use new regcache structure. | |
6865 | (h8300h_extract_struct_value_address): Removed. | |
6866 | (h8300_push_dummy_code): New function. | |
6867 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
6868 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
6869 | set_gdbarch_store_return_value architecture dependent. | |
6870 | Call set_gdbarch_push_dummy_code and | |
6871 | set_gdbarch_extract_struct_value_address. | |
6872 | Remove calls to set_gdbarch_frame_args_address, | |
6873 | set_gdbarch_frame_locals_address, | |
6874 | set_gdbarch_deprecated_store_struct_return, | |
6875 | set_gdbarch_deprecated_extract_return_value, | |
6876 | set_gdbarch_deprecated_extract_struct_value_address, | |
6877 | set_gdbarch_deprecated_call_dummy_words and | |
6878 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
6879 | ||
055c394a CV |
6880 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
6881 | ||
6882 | * h8300-tdep.c (h8300_register_byte): Remove. | |
6883 | (h8300h_register_byte): Remove. | |
6884 | (h8300_register_virtual_type): Remove. Substitute by... | |
6885 | (h8300_register_type): New function. | |
6886 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
6887 | (h8300h_extract_struct_value_address): Ditto. | |
6888 | (h8300_gdbarch_init): Drop calls to | |
6889 | set_gdbarch_deprecated_register_byte and | |
6890 | set_gdbarch_deprecated_register_virtual_type. | |
6891 | Add call to set_gdbarch_register_type. | |
6892 | ||
9c04cab7 AC |
6893 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6894 | ||
6895 | * gdbarch.sh: Update comments on registers. | |
6896 | (deprecated_register_byte): Rename register_byte. | |
6897 | (deprecated_register_raw_size): Rename register_raw_size. | |
6898 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
6899 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
6900 | * gdbarch.h, gdbarch.c: Re-generate. | |
6901 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6902 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6903 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6904 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6905 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6906 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6907 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6908 | * ns32k-tdep.c: Update. | |
6909 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6910 | * mips-tdep.c (mips_gdbarch_init): Update. | |
6911 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6912 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6913 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6914 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6915 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6916 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6917 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6918 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6919 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6920 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6921 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6922 | ||
b060cbea AC |
6923 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
6924 | ||
6925 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
6926 | mips_o32_use_struct_convention with always_use_struct_convention. | |
6927 | ||
0fc9922a DC |
6928 | 2003-06-12 David Carlton <carlton@kealia.com> |
6929 | ||
6930 | * cp-namespace.c (cp_set_block_scope): Comment out | |
6931 | processing_has_namespace_info branch. | |
6932 | ||
1fd35568 JB |
6933 | 2003-06-12 Jim Blandy <jimb@redhat.com> |
6934 | ||
f470a70a JB |
6935 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
6936 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
6937 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
6938 | functions, macros, and types for working with PPC instructions. | |
6939 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
6940 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
6941 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
6942 | for recognizing and skipping linkage functions. | |
6943 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
6944 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
6945 | ||
49ff75ad JB |
6946 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
6947 | register offsets for both the 32- and 64-bit interfaces. | |
6948 | ||
bd918c83 JB |
6949 | Actually finish the job started by my change of 2003-05-29. |
6950 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
6951 | other #definition of this. | |
6952 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
6953 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
6954 | static. | |
6955 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
6956 | method for GDBARCH. | |
6957 | ||
6958 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
6959 | 'long' on ppc64-*-linux*. | |
6960 | ||
f8c59253 JB |
6961 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
6962 | isn't #defined, assume the register doesn't exist: act as if | |
6963 | tdep->ppc_mq_regnum were -1. | |
6964 | ||
8fbb30b1 JB |
6965 | * configure.host, configure.tgt: Add entries for |
6966 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
6967 | powerpc/linux.mt. | |
6968 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
6969 | New files. | |
6970 | ||
1fd35568 JB |
6971 | * arch-utils.c (always_use_struct_convention): New function. |
6972 | * arch-utils.h (always_use_struct_convention): New prototype. | |
6973 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
6974 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
6975 | instead of alpha_use_struct_convention. | |
6976 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
6977 | (cris_gdbarch_init): Register always_use_struct_convention, | |
6978 | instead of cris_use_struct_convention. | |
6979 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
6980 | (frv_gdbarch_init): Register always_use_struct_convention, | |
6981 | instead of frv_use_struct_convention. | |
6982 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
6983 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
6984 | instead of h8300_use_struct_convention. | |
e3305dd9 | 6985 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
6986 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
6987 | instead of mips_o32_use_struct_convention. | |
6988 | ||
e14e6e9c AC |
6989 | 2003-06-12 Andrew Cagney <cagney@redhat.com> |
6990 | ||
6991 | * wince.c: Include "mips-tdep.h". | |
6992 | * mips-tdep.h (mips_next_pc): Declare. | |
6993 | * mcore-tdep.c: Make more local functions static. | |
6994 | * Makefile.in (wince.o): Update dependencies. | |
6995 | ||
2335f48e DC |
6996 | 2003-06-12 David Carlton <carlton@kealia.com> |
6997 | ||
6998 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
6999 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
7000 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
7001 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
7002 | SYMBOL_NATURAL_NAME. | |
7003 | ||
f70a7d61 AS |
7004 | 2003-06-12 Andreas Schwab <schwab@suse.de> |
7005 | ||
7006 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
7007 | ||
b6429628 DC |
7008 | 2003-06-12 David Carlton <carlton@bactrian.org> |
7009 | ||
7010 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
7011 | Add declaration of lookup_partial_symbol. | |
7012 | * symtab.c (remove_params): Move to cp-support.c. | |
7013 | (overload_list_add_symbol, make_symbol_overload_list) | |
7014 | (sym_return_val_size, sym_return_val_index): Ditto. | |
7015 | (lookup_partial_symbol): Make extern. | |
7016 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
7017 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
7018 | symtab.h, and block.h. | |
7019 | (remove_params): Move here from symtab.c. | |
7020 | (overload_list_add_symbol, make_symbol_overload_list) | |
7021 | (sym_return_val_size, sym_return_val_index): Ditto. | |
7022 | * valops.c: Include cp-support.h. | |
7023 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
7024 | frame_h, and block_h. | |
7025 | (valops.o): Depend on cp_support_h. | |
7026 | ||
084edea5 CV |
7027 | 2003-06-12 Corinna Vinschen <vinschen@redhat.com> |
7028 | ||
7029 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
7030 | substitute by NUM_REGS throughout. | |
7031 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
7032 | (h8300s_register_name): New function for H8S registers. | |
7033 | (h8300sx_register_name): Ditto for H8SX registers. | |
7034 | (h8300_print_register): Revise register printing, avoid depending | |
7035 | on 32 bit long. | |
0261a0d0 | 7036 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
7037 | (h8300h_register_byte): New function for any other architecture. |
7038 | (h8300_register_raw_size): Remove. | |
7039 | (h8300_register_virtual_type): Revise to return actually useful | |
7040 | type. | |
7041 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
7042 | (h8300h_extract_struct_value_address): New function for any other | |
7043 | architecture. | |
7044 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
7045 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
7046 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
7047 | Remove calls to set_gdbarch_deprecated_register_size, | |
7048 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
7049 | set_gdbarch_deprecated_max_register_raw_size, | |
7050 | set_gdbarch_register_virtual_size and | |
7051 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
7052 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
7053 | set_gdbarch_long_double_bit. | |
7054 | ||
06194148 JJ |
7055 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
7056 | ||
8ffd9b1b AJ |
7057 | * doublest.c (convert_doublest_to_floatformat): When dealing |
7058 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
7059 | processing a full 32 bits of mantissa. |
7060 | ||
de4f826b DC |
7061 | 2003-06-11 David Carlton <carlton@bactrian.org> |
7062 | ||
7063 | * dictionary.h: New. | |
7064 | * dictionary.c: New. | |
7065 | * block.h: Add opaque declaration for struct dictionary. | |
7066 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
7067 | 'sym' members. | |
7068 | (BLOCK_DICT): New macro. | |
7069 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
7070 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
7071 | BLOCK_SHOULD_SORT. | |
7072 | (ALL_BLOCK_SYMBOLS): Update definition. | |
7073 | * Makefile.in (SFILES): Add dictionary.c. | |
7074 | (dictionary_h): New. | |
7075 | (COMMON_OBS): Add dictionary.o. | |
7076 | (dictionary.o): New. | |
7077 | (ada-lang.o): Depend on dictionary_h. | |
7078 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
7079 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
7080 | (mi-cmd-stack.o): Ditto. | |
7081 | (gdbtk-cmds.o): Update dependencies. | |
7082 | (gdbtk-stack.o): Ditto. | |
7083 | * ada-lang.c: Include dictionary.h. | |
7084 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
7085 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
7086 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
7087 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
7088 | 'is_sorted'. | |
7089 | * mdebugread.c: Include dictionary.h. | |
7090 | (struct parse_stack): Delete 'maxsyms' member. | |
7091 | (parse_symbol): Update calls to new_block. Delete calls to | |
7092 | shrink_block. Use dictionary methods. | |
7093 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
7094 | Update calls to new_symtab. Don't maintain maxsyms data. | |
7095 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
7096 | (add_symbol): Just call dict_add_symbol. | |
7097 | (new_symtab): Delete 'maxsyms' argument. | |
7098 | (new_symtab): Update calls to new_block. | |
7099 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
7100 | (shrink_block): Delete function. | |
7101 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
7102 | dict_add_symbol. | |
7103 | * jv-lang.c: Include dictionary.h. | |
7104 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
7105 | appropriately. Set class_symtab->free_func. Make sure the | |
7106 | blockvector is big enough to hold two blocks. | |
7107 | (add_class_symtab_symbol): Use dictionary methods. | |
7108 | (free_class_block): New function. | |
7109 | (type_from_class): Replace explicit iteration by | |
7110 | ALL_BLOCK_SYMBOLS. | |
7111 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
7112 | 'free_func'. | |
7113 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
7114 | sort_symtab_syms. | |
7115 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
7116 | sort_symtab_syms. | |
7117 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
7118 | Include dictionary.h. | |
7119 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
7120 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
7121 | sort_symtab_syms. | |
7122 | * objfiles.c: Include dictionary.h. | |
7123 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
7124 | * buildsym.c: Include dictionary.h. | |
7125 | (finish_block): Use dictionary methods. | |
7126 | (end_symtab): Set free_func to NULL, not free_ptr. | |
7127 | * tracepoint.c: Include dictionary.h. | |
7128 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
7129 | (scope_info): Ditto. | |
7130 | * stack.c: Include dictionary.h. | |
7131 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
7132 | (print_block_frame_labels, print_frame_arg_vars) | |
7133 | (print_frame_args): Ditto. | |
7134 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
7135 | (dump_symtab): Ditto. | |
7136 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
7137 | Include dictionary.h. | |
7138 | * symfile.h: Delete declarations of sort_block_syms, | |
7139 | sort_symtab_syms. | |
7140 | * symfile.c (sort_block_syms): Delete. | |
7141 | (sort_symtab_syms): Delete. | |
7142 | * symtab.c: Include dictionary.h. | |
7143 | (lookup_block_symbol): Use dictionary iterators. | |
7144 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
7145 | (search_symbols, make_symbol_completion_list): Ditto. | |
7146 | (make_symbol_overload_list): Ditto. | |
7147 | * valops.c (value_of_local): Use dict_empty. | |
7148 | Include dictionary.h. | |
7149 | ||
a31f978c JB |
7150 | 2003-06-11 J. Brobecker <brobecker@gnat.com> |
7151 | ||
7152 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
7153 | ||
526e70c0 DC |
7154 | 2003-06-11 David Carlton <carlton@bactrian.org> |
7155 | ||
7156 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
7157 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
7158 | blocks. | |
7159 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
7160 | * symfile.c (sort_block_syms): Delete. | |
7161 | (sort_symtab_syms): Ditto. | |
7162 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
7163 | declarations. | |
7164 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
7165 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
7166 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
7167 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
7168 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
7169 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
7170 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
7171 | ||
33c08150 JJ |
7172 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
7173 | ||
8ffd9b1b | 7174 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
7175 | bits to 128. |
7176 | ||
781a750d AC |
7177 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
7178 | ||
7179 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
7180 | REGISTER_CONVERTIBLE. | |
7181 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
7182 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
7183 | * gdbarch.h, gdbarch.c: Re-generate. | |
7184 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
7185 | generic_register_convertible_not. | |
7186 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
7187 | generic_register_convertible. | |
7188 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
7189 | * sh-tdep.c (sh64_push_arguments): Update. | |
7190 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
7191 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
7192 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
7193 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
7194 | * arch-utils.c (legacy_value_to_register): Update. | |
7195 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7196 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
7197 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7198 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
7199 | * infcmd.c (default_print_registers_info): Update. | |
7200 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7201 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
7202 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7203 | (i386_register_convert_to_raw): Update. | |
7204 | ||
cd90e54f AC |
7205 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
7206 | ||
7207 | * remote-fileio.c: Include "remote-fileio.h". | |
7208 | * Makefile.in (remote-fileio.o): Update dependencies. | |
7209 | (remote_fileio_h): Fix typo. | |
7210 | ||
a78f21af AC |
7211 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
7212 | ||
7213 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
7214 | (xstormy16_save_dummy_frame_tos): Make static. | |
7215 | (_initialize_xstormy16_tdep): Add declaration. | |
7216 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
7217 | * v850-tdep.c: Make local functions static. | |
7218 | (_initialize_v850_tdep): Add declaration. | |
7219 | * sparc-tdep.c: Make local functions static. | |
7220 | (_initialize_sparc_tdep): Add declaration. | |
7221 | * sh-tdep.c: Make local functions static. | |
7222 | (_initialize_sh_tdep): Add declaration. | |
7223 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
7224 | * s390-tdep.c: Make local functions static. | |
7225 | (_initialize_s390_tdep): Add declaration. | |
7226 | * dbxread.c (find_stab_function_addr): Make static. | |
7227 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
7228 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
7229 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
7230 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
7231 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
7232 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
7233 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
7234 | * remote-array.c (_initialize_array): Add declaration. | |
7235 | (_initialize_remote_monitors): Add declaration. | |
7236 | * remote-mips.c: Make local functions static. | |
7237 | (_initialize_remote_mips): Add declaration. | |
7238 | * mcore-tdep.c: Make all local functions static. | |
7239 | (_initialize_mcore_tdep): Add declaration. | |
7240 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
7241 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
7242 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
7243 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
7244 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
7245 | * remote-est.c (_initialize_est): Add declaration. | |
7246 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
7247 | (m68hc11_call_dummy_address): Make static. | |
7248 | * ia64-tdep.c: Make local functions static. | |
7249 | (_initialize_ia64_tdep): Add declaration. | |
7250 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
7251 | * monitor.c (monitor_wait_filter): Make static. | |
7252 | (_initialize_remote_monitors): Add declaration. | |
7253 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
7254 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
7255 | (expect_n): Make static. | |
7256 | (_initialize_remote_e7000): Add declaration. | |
7257 | * ser-e7kpc.c: Always include "defs.h". | |
7258 | (_initialize_ser_e7000pc): Add declaration. | |
7259 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
7260 | * cris-tdep.c: Make all but one function static. | |
7261 | (_initialize_cris_tdep): Add declaration. | |
7262 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
7263 | * solib.c (update_solib_list): Make static. | |
7264 | (_initialize_solib): Add declaration. | |
7265 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
7266 | (_initialize_avr_tdep): Add declaration. | |
7267 | * remote-rdi.c (voiddummy): Make static. | |
7268 | (_initialize_remote_rdi): Add declaration. | |
7269 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
7270 | * remote-rdp.c (send_rdp): Make static. | |
7271 | (_initialize_remote_rdp): Add declaration. | |
7272 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
7273 | ||
cbcdb1f5 CV |
7274 | 2003-06-11 Corinna Vinschen <vinschen@redhat.com> |
7275 | ||
7276 | * remote-fileio.c: Make ari happy. | |
7277 | ||
a191ea8d JB |
7278 | 2003-06-10 J. Brobecker <brobecker@gnat.com> |
7279 | ||
7280 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
7281 | fetching the trailing bytes of the buffer we are about to write. | |
7282 | ||
0ef75e11 AC |
7283 | 2003-06-10 Andrew Cagney <cagney@redhat.com> |
7284 | ||
7285 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
7286 | * Makefile.in (remote-fileio.o): Update dependencies. | |
7287 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
7288 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
7289 | (remote_fio_jmp_buf): Delete global variable. | |
7290 | ||
449092f6 | 7291 | 2003-06-10 Corinna Vinschen <vinschen@redhat.com> |
559fa028 | 7292 | Martin M. Hunt <hunt@redhat.com> |
449092f6 | 7293 | |
559fa028 AC |
7294 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
7295 | (SFILES): Add remote-fileio.c. | |
7296 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
7297 | dependencies for building remote.o. | |
449092f6 CV |
7298 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
7299 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 7300 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
7301 | static storage class. |
7302 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
7303 | 'F' packet. | |
7304 | (_initialize_remote): Call initialize_remote_fileio(). | |
7305 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
7306 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
7307 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
7308 | (captured_main): Initialize new ui_files. | |
7309 | * ui-file.c: Add read and fgets input functions. | |
7310 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
7311 | (null_file_read): New function. | |
7312 | (ui_file_read): New function. | |
7313 | (set_ui_file_read): New function. | |
7314 | (stdio_file_read): New function. | |
7315 | * ui-file.h: New type ui_file_read_ftype. | |
7316 | (set_ui_file_read): Declare. | |
7317 | (ui_file_read): Declare. | |
7318 | ||
248de703 AC |
7319 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7320 | ||
7321 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
7322 | generic_unwind_get_saved_register, update comments. | |
7323 | * mips-tdep.c (mips_get_saved_register): Update. | |
7324 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
7325 | ||
0ed8aa57 AC |
7326 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7327 | ||
7328 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
7329 | (vax_gdbarch_init): Do not set frame_locals_address. | |
7330 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
7331 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
7332 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
7333 | (s390_gdbarch_init): Do not set frame_args_address or | |
7334 | frame_locals_address. | |
7335 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
7336 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
7337 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
7338 | (hppa_frame_locals_address): Delete function. | |
7339 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
7340 | frame_locals_address. | |
7341 | * arm-tdep.c (arm_frame_args_address): Delete. | |
7342 | (arm_frame_locals_address): Delete. | |
7343 | (arm_gdbarch_init): Do not set frame_args_address, or | |
7344 | frame_locals_address. | |
7345 | ||
983a287a AC |
7346 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7347 | ||
7348 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
7349 | * gdbarch.h, gdbarch.c: Re-generate. | |
7350 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
7351 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
7352 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
7353 | (frame_info): Use FRAME_NUM_ARGS_P. | |
7354 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
7355 | (arm_gdbarch_init): Do not set frame_num_args. | |
7356 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
7357 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
7358 | (hppa_gdbarch_init): Do not set frame_num_args. | |
7359 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
7360 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7361 | frame_num_args to default frame_num_args_unknown. | |
7362 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7363 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7364 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7365 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7366 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7367 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7368 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7369 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7370 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7371 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7372 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7373 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7374 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7375 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7376 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7377 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7378 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7379 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7380 | ||
8d3b0994 AC |
7381 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
7382 | ||
7383 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
7384 | (print_frame_args): Moved to "stack.c". | |
7385 | * stack.c: Include "gdb_assert.h". | |
7386 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
7387 | (print_frame_args): Moved from "printcmd.c". | |
7388 | * frame.h (print_frame_args): Delete declaration. | |
7389 | * Makefile.in (stack.o): Update dependencies. | |
7390 | ||
25e3a86b AC |
7391 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7392 | ||
7393 | * frame.c (get_prev_frame): Remove reference to | |
7394 | frame_args_address_correct in comments. | |
7395 | * frame-base.c (default_frame_args_address): Delete code | |
7396 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
7397 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
7398 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
7399 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
7400 | (vax_frame_args_address_correct): Delete declaration. | |
7401 | ||
a9e5fdc2 AC |
7402 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7403 | ||
7404 | * gdbarch.sh (UNWIND_SP): Add. | |
7405 | * gdbarch.h, gdbarch.c: Re-generate. | |
7406 | * frame.c (frame_sp_unwind): New function. | |
7407 | (get_frame_sp): New function. | |
7408 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
7409 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
7410 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
7411 | value. | |
7412 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
7413 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
7414 | ||
8983bd83 AC |
7415 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7416 | ||
7fec2c59 AC |
7417 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
7418 | REMOTE_BREAKPOINT. | |
7419 | * remote.c: Update. | |
7420 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
7421 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
7422 | * config/m68k/tm-sun3.h: Update. | |
7423 | * config/m68k/tm-m68klynx.h: Update. | |
7424 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
7425 | ||
8983bd83 AC |
7426 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
7427 | trad_frame". Update comments. | |
7428 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
7429 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
7430 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
7431 | ||
b9362cc7 AC |
7432 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7433 | ||
7434 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
7435 | from GCC's acinclude.m4. | |
7436 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 7437 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
7438 | * main.c (error_init): Delete declaration. |
7439 | * defs.h (error_init): Declare. | |
7440 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
7441 | (rs6000_convert_from_func_ptr_addr): Make static. | |
7442 | (_initialize_rs6000_tdep): Add declaration. | |
7443 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
7444 | (show_commands, set_verbose, show_history): Delete declaration. | |
7445 | * top.h (set_verbose): Add declaration. | |
7446 | (show_history, set_history, show_commands): Add declaration. | |
7447 | (do_restore_instream_cleanup): Add declaration. | |
7448 | * objc-lang.c (specialcmp): Make static. | |
7449 | (print_object_command): Make static. | |
7450 | (find_objc_msgsend): Make static. | |
7451 | (find_objc_msgcall_submethod_helper): Make static. | |
7452 | (find_objc_msgcall_submethod): Make static. | |
7453 | (_initialize_objc_language): Add declaration. | |
7454 | (find_implementation_from_class): Make static. | |
7455 | (find_implementation): Make static. | |
7456 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
7457 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
7458 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
7459 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
7460 | (do_restore_user_call_depth): Make static. | |
7461 | (do_restore_instream_cleanup): Delete declaration. | |
7462 | (dont_repeat): Delete declaration. | |
7463 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
7464 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
7465 | * reggroups.c (_initialize_reggroup): Add declaration. | |
7466 | * cp-support.c (_initialize_cp_support): Add declaration. | |
7467 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
7468 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
7469 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
7470 | (_initialize_gnu_v3_abi): Add declaration. | |
7471 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
7472 | (_initialize_gnu_v2_abi): Add declaration. | |
7473 | * frame-base.c (_initialize_frame_base): Add declaration. | |
7474 | * doublest.c (floatformat_from_length): Make static. | |
7475 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
7476 | * frame.c (create_sentinel_frame): Make static. | |
7477 | (_initialize_frame): Add declaration. | |
7478 | * top.c (do_catch_errors): Make static. | |
7479 | (gdb_rl_operate_and_get_next_completion): Make static. | |
7480 | * typeprint.c: Include "typeprint.h". | |
7481 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
7482 | (sentinel_frame_this_id): Make static. | |
7483 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
7484 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
7485 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
7486 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
7487 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
7488 | * maint.c (maintenance_print_architecture): Make static. | |
7489 | * signals/signals.c (_initialize_signals): Add declaration. | |
7490 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
7491 | * jv-exp.y (push_variable): ISO C definition. | |
7492 | (push_qualified_expression_name): Ditto. | |
7493 | * memattr.c (_initialize_mem): Add declaration. | |
7494 | * remote.c (remote_check_watch_resources): Make static. | |
7495 | (remote_stopped_by_watchpoint): Make static. | |
7496 | (remote_stopped_data_address): Make static. | |
7497 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
7498 | (a0_regnum): Make static. | |
7499 | (d10v_frame_unwind_cache): Make static. | |
7500 | (d10v_frame_p): Make static. | |
7501 | * osabi.c (show_osabi): Make static. | |
7502 | (_initialize_gdb_osabi): Add extern declaration. | |
7503 | * gdbtypes.c (make_qualified_type): Make static. | |
7504 | (safe_parse_type): Make static. | |
7505 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
7506 | * macrotab.c (macro_bcache_free): Make static. | |
7507 | * interps.c (interp_set_quiet): Make static. | |
7508 | (interpreter_exec_cmd): Make static. | |
7509 | * stack.h (select_frame_command): New file. | |
7510 | * stack.c: Include "stack.h". | |
7511 | (select_frame_command_wrapper): Delete function. | |
7512 | (select_frame_command): Make global. | |
7513 | * infcall.c: Include "infcall.h". | |
7514 | * linespec.c: Include "linespec.h". | |
7515 | * symfile.c (sections_overlap): Make static. | |
7516 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
7517 | * charset.c (_initialize_charset): Add missing prototype. | |
7518 | * regcache.c (init_legacy_regcache_descr): Make static. | |
7519 | (do_regcache_xfree): Make static. | |
7520 | (regcache_xfer_part): Make static. | |
7521 | (_initialize_regcache): Add missing prototype. | |
7522 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
7523 | (breakpoint_sals_to_pc): Make static. | |
7524 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
7525 | * Makefile.in (stack_h): Define. | |
7526 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
7527 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
7528 | ||
a0f267c7 AC |
7529 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
7530 | ||
7531 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7532 | (SFILES): Add trad-frame.c. | |
7533 | (trad_frame_h): Define. | |
7534 | (COMMON_OBS): Add trad-frame.o. | |
7535 | (trad-frame.o): Specify dependencies. | |
7536 | * d10v-tdep.c: Include "trad-frame.h". | |
7537 | (saved_regs_unwinder): Delete function. | |
7538 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
7539 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
7540 | trad_frame", delete "regs" and "prev_sp". | |
7541 | (prologue_find_regs): Use trad-frame. | |
7542 | * trad-frame.h, trad-frame.c: New files. | |
7543 | ||
4538b4f4 MK |
7544 | 2003-06-08 Mark Kettenis <kettenis@gnu.org> |
7545 | ||
7546 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
7547 | ||
a0273b2f AF |
7548 | 2003-06-07 Adam Fedor <fedor@gnu.org> |
7549 | ||
7550 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
7551 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
7552 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
7553 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 7554 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
7555 | Use it. |
7556 | ||
3a6c3343 AC |
7557 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7558 | ||
7559 | * symfile.h: Re-indent, clean up comments. | |
7560 | ||
b46e02f6 AC |
7561 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7562 | ||
7563 | * inferior.h (deprecated_write_sp): Replace | |
7564 | generic_target_write_sp. | |
7565 | * regcache.c (deprecated_write_sp): Replace | |
7566 | generic_target_write_sp. | |
7567 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7568 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7569 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7570 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7571 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7572 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7573 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7574 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7575 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7576 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7577 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7578 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7579 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7580 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7581 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7582 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7583 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
7584 | ||
a42e117c AC |
7585 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7586 | ||
7587 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
7588 | Assert that PC_REGNUM is valid. | |
7589 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
7590 | ||
bd1ce8ba AC |
7591 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7592 | ||
7593 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
7594 | * gdbarch.h, gdbarch.c: Regenerate. | |
7595 | * mn10300-tdep.c: Include "gdb_assert.h". | |
7596 | (mn10300_read_fp): New function. | |
7597 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
7598 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
7599 | * ia64-tdep.c: Include "gdb_assert.h". | |
7600 | (ia64_read_fp): New function. | |
7601 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
7602 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
7603 | * regcache.c (generic_target_read_sp): Delete function. | |
7604 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
7605 | * inferior.h (generic_target_read_sp): Delete declaration. | |
7606 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
7607 | generic_target_read_sp. | |
7608 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7609 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
7610 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7611 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7612 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
7613 | ||
ec5cbaec AC |
7614 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7615 | ||
7616 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
7617 | * gdbarch.h, gdbarch.c: Re-generate. | |
7618 | ||
cde9ea48 AC |
7619 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7620 | ||
7621 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
7622 | * gdbarch.h, gdbarch.c: Re-generate. | |
7623 | * regcache.c: Update comments on read_pc et.al. | |
7624 | (generic_target_read_pc): Delete function. | |
7625 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
7626 | * inferior.h (generic_target_read_pc): Delete declaration. | |
7627 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
7628 | generic_target_read_pc. | |
7629 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7630 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7631 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7632 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 7633 | |
9a90a780 AC |
7634 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
7635 | ||
7636 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
7637 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
7638 | Append period to coments. | |
7639 | ||
a39a16c4 MM |
7640 | 2003-06-06 Mark Mitchell <mark@codesourcery.com> |
7641 | ||
7642 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
7643 | (elfstab_offset_sections): Likewise. | |
7644 | * gdb-stabs.h (stab_section_info): Likewise. | |
7645 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
7646 | * objfiles.c (objfile_relocate): Likewise. | |
7647 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
7648 | * remote.c (get_offsets): Likewise. | |
7649 | (remote_cisco_objfile_relocate): Likewise. | |
7650 | * somread.c (som_symfile_offsets): Likewise. | |
7651 | * symfile.c (alloc_section_addr_info): New function. | |
7652 | (build_section_addr_info_from_section_tab): Use it. | |
7653 | (free_section_addr_info): Adjust. | |
7654 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
7655 | (syms_from_objfile): Allocate local_addr dynamically. | |
7656 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
7657 | dynamically. | |
7658 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
7659 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
7660 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
7661 | (alloc_section_addr_info): Declare it. | |
7662 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
7663 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
7664 | dynamically. | |
7665 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 7666 | |
20c6c2f8 AC |
7667 | 2003-06-06 Andrew Cagney <cagney@redhat.com> |
7668 | ||
7669 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
7670 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
7671 | ||
884a26c8 MS |
7672 | 2003-06-06 Michael Snyder <msnyder@redhat.com> |
7673 | ||
7674 | * h8300-tdep.c: Make tidy (long lines). | |
7675 | ||
088ce440 ML |
7676 | 2003-06-06 Michal Ludvig <mludvig@suse.cz> |
7677 | ||
8ffd9b1b | 7678 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
7679 | to regcache_collect(). |
7680 | ||
7d773d96 JB |
7681 | 2003-06-05 J. Brobecker <brobecker@gnat.com> |
7682 | ||
7683 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
7684 | pc_in_sigtramp multiarch method. | |
7685 | (hppa_hpux_som_init_abi): Use it. | |
7686 | (hppa_hpux_elf_init_abi): Likewise. | |
7687 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
7688 | macro has been multiarched. | |
7689 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
7690 | macro here, as hppa64 isn't multiarched yet. | |
7691 | ||
1df6926e AC |
7692 | 2003-06-05 Andrew Cagney <cagney@redhat.com> |
7693 | ||
7694 | * Makefile.in (value_h): Add $(frame_h). | |
7695 | * value.h: Include "frame.h". | |
7696 | (struct value): Replace "frame_addr" with "frame_id". | |
7697 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
7698 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
7699 | (value_copy): Use VALUE_FRAME_ID. | |
7700 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
7701 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
7702 | ||
6b53acc6 ML |
7703 | 2003-06-05 Michal Ludvig <mludvig@suse.cz> |
7704 | ||
7705 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
7706 | in each pass. | |
7707 | ||
4d9850d3 JJ |
7708 | 2003-06-05 Jeff Johnston <jjohnstn@redhat.com> |
7709 | ||
7710 | * thread-db.c (check_event): For create/death event breakpoints, | |
7711 | loop through all messages to ensure that we read the message | |
7712 | corresponding to the breakpoint we are at. | |
7713 | ||
8efca6ba MS |
7714 | 2003-06-04 Michael Snyder <msnyder@redhat.com> |
7715 | ||
7716 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
7717 | ||
0912c7f2 MK |
7718 | 2003-06-04 Mark Kettenis <kettenis@gnu.org> |
7719 | ||
7720 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
7721 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
7722 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
7723 | when handling .eh_frame sections. | |
7724 | ||
4e370325 JB |
7725 | 2003-06-04 J. Brobecker <brobecker@gnat.com> |
7726 | ||
7727 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
7728 | prepare_to_proceed procedure instead of the hppa-specific one. | |
7729 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
7730 | ||
b757528f | 7731 | 2003-06-04 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 7732 | |
b757528f JJ |
7733 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
7734 | * config.in: Regenerated. | |
7735 | * configure.in: Add test for syscall function and check for | |
7736 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
7737 | * configure: Regenerated. | |
7738 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
7739 | <sys/syscall.h>. | |
7740 | (kill_lwp): New function that uses tkill syscall or | |
7741 | uses kill, depending on whether threading model is nptl or not. | |
7742 | All callers of kill() changed to use kill_lwp(). | |
7743 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
7744 | see if all threads have already exited in the nptl model. | |
7745 | (stop_and_resume_callback): New callback function used by the | |
7746 | lin_lwp_wait thread exit handling code. | |
7747 | (stop_wait_callback): Check for threads already having exited and | |
7748 | delete such threads fromt the lwp list when discovered. | |
7749 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 7750 | |
b757528f JJ |
7751 | Roland McGrath <roland@redhat.com> |
7752 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
7753 | nptl libthread_db. | |
7754 | ||
087779b1 RH |
7755 | 2003-06-03 Richard Henderson <rth@redhat.com> |
7756 | ||
b21fd293 RH |
7757 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
7758 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
7759 | (alpha_sigtramp_frame_prev_register): Likewise. | |
7760 | (alpha_heuristic_frame_prev_register): Likewise. | |
7761 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
7762 | ||
8ffd9b1b | 7763 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
7764 | alpha-specific register id names. |
7765 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
7766 | (alpha_mdebug_frame_prev_register): Likewise. | |
7767 | ||
baa490c4 RH |
7768 | 2003-06-03 Richard Henderson <rth@redhat.com> |
7769 | ||
7770 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
7771 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
7772 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
7773 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
7774 | unwind routines. | |
7775 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
7776 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
7777 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
7778 | ||
7779 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
7780 | * Makefile.in (alpha-linux-tdep.o): Update. | |
7781 | ||
7782 | 2003-06-03 Richard Henderson <rth@redhat.com> | |
7783 | ||
7784 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
7785 | (alphabsd_fill_fpreg): Likewise. | |
7786 | ||
f534e522 JB |
7787 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7788 | ||
7789 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
7790 | references to struct frame_info fields by calls to the equivalent | |
7791 | accessors. Necessary now that frame_info is opaque. | |
7792 | ||
4035536b JB |
7793 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7794 | ||
7795 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
7796 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
7797 | structure, field no longer exists. | |
7798 | ||
0bd79c5c JB |
7799 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7800 | ||
7801 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
7802 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
7803 | ||
37bb6d9f JB |
7804 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7805 | ||
7806 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
7807 | references to struct frame_info fields by calls to the equivalent | |
7808 | accessors. Necessary now that frame_info is opaque. | |
7809 | ||
852ee05c JB |
7810 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7811 | ||
7812 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
7813 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
7814 | structure, field no longer exists. | |
7815 | ||
7d58c67d TR |
7816 | 2003-06-03 Theodore A. Roth <troth@openavr.org> |
7817 | ||
8ffd9b1b | 7818 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
7819 | accumulation of the size of all registers instead of blindly using |
7820 | DEPRECATED_REGISTER_BYTES. | |
7821 | ||
0a48e7e8 MS |
7822 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
7823 | ||
7824 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
7825 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
7826 | for h8300sx. | |
7827 | ||
9798ab0d JB |
7828 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
7829 | ||
7830 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
7831 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
7832 | ||
00b037e2 AC |
7833 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
7834 | ||
7835 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
7836 | (sparc_convert_to_raw): Delete function. | |
7837 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
7838 | register_convert_to_virtual. | |
7839 | ||
043b2f77 JJ |
7840 | 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> |
7841 | ||
7842 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
7843 | layer if not dealing with a statically-linked threaded program. | |
7844 | ||
f43caff8 KW |
7845 | 2003-06-03 Kris Warkentin <kewarken@qnx.com> |
7846 | ||
7847 | * solib.c (solib_open): Update comment to reflect actual search order. | |
7848 | ||
ae1e7417 AC |
7849 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
7850 | ||
7851 | * frame.c (get_frame_memory_signed): New function. | |
7852 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
7853 | (get_frame_arch): New function. | |
7854 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
7855 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
7856 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
7857 | get_frame_memory_unsigned and get_frame_arch. | |
7858 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
7859 | ||
cb123844 RG |
7860 | 2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk> |
7861 | ||
7862 | * MAINTAINERS (write after approval): Add myself. | |
7863 | ||
1bb792e9 JB |
7864 | 2003-06-03 Jim Blandy <jimb@redhat.com> |
7865 | ||
7866 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
7867 | elements of gregset_t are 64 bits each, but access registers | |
7868 | are still 32 bits, so they're packed two per gregset_t | |
7869 | element. Unpack/pack them properly. | |
7870 | ||
aee8d8ba DC |
7871 | 2003-06-02 David Carlton <carlton@bactrian.org> |
7872 | ||
7873 | * linespec.c (find_methods): Break out code into | |
7874 | add_matching_methods and add_constructors. | |
7875 | (add_matching_methods): New. | |
7876 | (add_constructors): Ditto. | |
7877 | ||
bf7488d2 AC |
7878 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
7879 | ||
bf7488d2 AC |
7880 | * sparc-tdep.c (sparc_print_registers): Delete call to |
7881 | REGISTER_CONVERTIBLE. | |
7882 | (sparc_gdbarch_init): Do not set register_convertible. | |
7883 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7884 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7885 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7886 | ||
adedef68 EZ |
7887 | 2003-06-02 Elena Zannoni <ezannoni@redhat.com> |
7888 | ||
8ffd9b1b | 7889 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
7890 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
7891 | (syms_from_objfile): Ditto. | |
7892 | ||
650fcc91 AS |
7893 | 2003-06-03 Andreas Schwab <schwab@suse.de> |
7894 | ||
7895 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
7896 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
7897 | ||
df4a182b RH |
7898 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7899 | ||
7900 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
7901 | a member of all_reggroup. | |
7902 | ||
c483c494 RH |
7903 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7904 | ||
7905 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
7906 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
7907 | (alpha_lds, alpha_sts): New. | |
7908 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 7909 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
7910 | restructure and fail for type sizes other than 4 or 8. |
7911 | (alpha_value_to_register): Similarly. | |
7912 | (alpha_extract_return_value): Use alpha_sts. | |
7913 | (alpha_store_return_value): Use alpha_lds. | |
7914 | (alpha_gdbarch_init): Update hooks. | |
7915 | ||
b38b6be2 RH |
7916 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7917 | ||
7918 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
7919 | regnum identifiers. | |
7920 | (alpha_sigtramp_register_address): Likewise. | |
7921 | ||
98a8e1e5 RH |
7922 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7923 | ||
7924 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
7925 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
7926 | * alpha-tdep.h: Declare them. | |
7927 | ||
7928 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
7929 | Remove zerobuf. Don't error on UNIQUE. | |
7930 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
7931 | (ALPHA_REGSET_UNIQUE): Provide default. | |
7932 | (supply_gregset): Use alpha_supply_int_regs. | |
7933 | (fill_gregset): Use alpha_fill_int_regs. | |
7934 | (supply_fpregset): Use alpha_supply_fp_regs. | |
7935 | (fill_fpregset): Use alpha_fill_fp_regs. | |
7936 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
7937 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
7938 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
7939 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
7940 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
7941 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
7942 | ||
67dfac52 RH |
7943 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7944 | ||
f75d70cc RH |
7945 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
7946 | ||
67dfac52 RH |
7947 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
7948 | (alpha_store_return_value): Likewise. | |
7949 | ||
0cf566ec DC |
7950 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
7951 | ||
7952 | * block.c (contained_in): Add 'const' to arguments. | |
7953 | (block_function): Ditto. | |
7954 | * block.h: Update declarations for block_function and | |
7955 | contained_in. | |
7956 | ||
cdef89d0 DC |
7957 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
7958 | ||
7959 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
7960 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
7961 | * p-valprint.c (pascal_val_print): Ditto. | |
7962 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
7963 | ||
72667056 RH |
7964 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7965 | ||
98a8e1e5 RH |
7966 | * alpha-tdep.c (alpha_push_dummy_call): Use |
7967 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 7968 | |
8ffd9b1b | 7969 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
7970 | sign-extension of 32-bit values. |
7971 | (alpha_store_return_value): Similarly. | |
0ede8eca | 7972 | |
98a8e1e5 RH |
7973 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
7974 | (alpha_extract_return_value): Likewise. | |
7975 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 7976 | |
98a8e1e5 RH |
7977 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
7978 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 7979 | |
98a8e1e5 RH |
7980 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
7981 | (alpha_extract_struct_value_address): Likewise. | |
7982 | (alpha_store_return_value): Likewise. | |
7983 | (alpha_store_struct_return): Remove. | |
7984 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 7985 | |
98a8e1e5 RH |
7986 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
7987 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
7988 | macros where appropriate. | |
7989 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
7990 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 7991 | |
98a8e1e5 RH |
7992 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
7993 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
7994 | for all others. | |
7995 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 7996 | |
6dd77b81 RH |
7997 | 2003-06-02 Richard Henderson <rth@redhat.com> |
7998 | ||
7999 | * top.h (lim_at_start): Declare. | |
8000 | * main.c (captured_main): Set it. | |
8001 | * top.c (lim_at_start): Define. | |
8002 | (command_loop): Use it instead of &environ. | |
8003 | * event-top.c (command_handler): Likewise. | |
8004 | ||
f4dbdb54 JT |
8005 | 2003-06-01 Jason Thorpe <thorpej@wasabisystems.com> |
8006 | ||
8007 | * mipsnbsd-tdep.c: Update copyright years. | |
8008 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
8009 | ||
8f285956 RH |
8010 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8011 | ||
98a8e1e5 RH |
8012 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
8013 | (alpha-linux-tdep.o): Update dependencies. | |
8014 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
8015 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 8016 | |
615967cb RH |
8017 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8018 | ||
98a8e1e5 RH |
8019 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
8020 | (alpha_gdbarch_init): Register it. | |
615967cb | 8021 | |
b59661bd AC |
8022 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
8023 | ||
8024 | * dwarfread.c: Eliminate "register" | |
8025 | (decode_die_type): Eliminate assignment within "if". | |
8026 | (struct_type, decode_array_element_type): Ditto. | |
8027 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
8028 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
8029 | (decode_modified_type, completedieinfo): Ditto. | |
8030 | * block.c: Eliminate "register". | |
8031 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
8032 | * cp-support.h (struct symbol): Opaque declaration. | |
8033 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
8034 | ||
5ef165c2 RH |
8035 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8036 | ||
98a8e1e5 RH |
8037 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
8038 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 8039 | |
143985b7 AF |
8040 | 2003-06-01 Adam Fedor <fedor@gnu.org> |
8041 | ||
8042 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
8043 | * gdbarch.[ch]: Regenerate. | |
8044 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
8045 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
8046 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
8047 | (i386_gdbarch_init): Set it into gdbarch. | |
8048 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
8049 | (rs6000_gdbarch_init): Set it in gdbarch. | |
8050 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
8051 | (sparc_gdbarch_init): Set it in gdbarch. | |
8052 | ||
ae0167b9 AC |
8053 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
8054 | ||
7c0b4a20 AC |
8055 | * defs.h (extract_address): Delete declaration. |
8056 | * findvar.c (extract_address): Delete function. | |
8057 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
8058 | extract_address with the inline equivalent, | |
8059 | extract_unsigned_integer. | |
8060 | (xstormy16_extract_struct_value_address): Ditto. | |
8061 | (xstormy16_pointer_to_address): Ditto. | |
8062 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
8063 | * v850-tdep.c (v850_push_arguments): Ditto. | |
8064 | (v850_extract_return_value): Ditto. | |
8065 | (v850_extract_struct_value_address): Ditto. | |
8066 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
8067 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
8068 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
8069 | (get_longjmp_target): Ditto. | |
8070 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
8071 | (sh64_extract_struct_value_address): Ditto. | |
8072 | (sh_push_arguments): Ditto. | |
8073 | (sh64_push_arguments): Ditto. | |
8074 | * remote-vxsparc.c (vx_read_register): Ditto. | |
8075 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
8076 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
8077 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
8078 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
8079 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
8080 | * mips-nat.c (get_longjmp_target): Ditto. | |
8081 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
8082 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
8083 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
8084 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
8085 | * irix5-nat.c (get_longjmp_target): Ditto. | |
8086 | * irix4-nat.c (get_longjmp_target): Ditto. | |
8087 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
8088 | (ia64_push_arguments): Ditto. | |
8089 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
8090 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
8091 | (h8300_store_return_value): Ditto. | |
8092 | (h8300_extract_struct_value_address): Ditto. | |
8093 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
8094 | (frv_push_arguments): Ditto. | |
8095 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
8096 | (avr_push_arguments): Ditto. | |
8097 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
8098 | (arm_get_longjmp_target): Ditto. | |
8099 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
8100 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
8101 | (alpha_get_longjmp_target): Ditto. | |
8102 | ||
ae0167b9 AC |
8103 | * solib-irix.c (extract_mips_address): Inline extract_address, |
8104 | replacing it with extract_signed_integer. | |
8105 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
8106 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
8107 | (first_link_map_member, open_symbol_file_object): Ditto. | |
8108 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
8109 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
8110 | (LM_NEXT, LM_NAME): Ditto. | |
8111 | ||
44d88583 RH |
8112 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8113 | ||
98a8e1e5 RH |
8114 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
8115 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
8116 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
8117 | (alpha_cannot_store_register): Likewise. | |
8118 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
8119 | * alpha-nat.c (supply_gregset): Likewise. | |
8120 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 8121 | |
310e9b6a AC |
8122 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
8123 | ||
8124 | * infcall.c (call_function_by_hand): Update comment on | |
8125 | DEPRECATED_DUMMY_WRITE_SP. | |
8126 | ||
8127 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
8128 | deprecated_dummy_write_sp. | |
8129 | (mips_eabi_push_dummy_call): Set the SP register. | |
8130 | (mips_o64_push_dummy_call): Set the SP register. | |
8131 | (mips_o32_push_dummy_call): Set the SP register. | |
8132 | (mips_n32n64_push_dummy_call): Set the SP register. | |
8133 | ||
5ab84872 RH |
8134 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8135 | ||
98a8e1e5 RH |
8136 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
8137 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
8138 | (supply_gregset): Likewise. | |
8139 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
8140 | (alpha_get_longjmp_target): Likewise. | |
8141 | (alpha_register_name): Constify array. | |
8142 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
8143 | deprecated_register_size, deprecated_register_bytes, | |
8144 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
8145 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
8146 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 8147 | |
09cc52fd RH |
8148 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8149 | ||
8150 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
8151 | from arg_reg_buffer to regcache to avoid double conversion. | |
8152 | ||
c7f16359 MK |
8153 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
8154 | ||
8155 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
8156 | SP_REGNUM. | |
8157 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
8158 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
8159 | ||
7131cb6e RH |
8160 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8161 | ||
98a8e1e5 RH |
8162 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
8163 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 8164 | |
f3e0f90b RH |
8165 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8166 | ||
98a8e1e5 RH |
8167 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
8168 | not overlapping PC_REGNUM. | |
f3e0f90b | 8169 | |
c88e30c0 RH |
8170 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8171 | ||
98a8e1e5 RH |
8172 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
8173 | alpha_push_arguments. Don't dump argument register data to | |
8174 | the target stack. Fix float and 128-bit long double semantics. | |
8175 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
8176 | (alpha_fix_call_dummy): Remove. | |
8177 | (alpha_call_dummy_words): Remove. | |
8178 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 8179 | |
f1a559ae RH |
8180 | 2003-06-01 Richard Henderson <rth@redhat.com> |
8181 | ||
8182 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
8183 | ||
5e045346 AC |
8184 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
8185 | ||
95404a3e AC |
8186 | * mips-tdep.c (is_mips16_addr): New function. |
8187 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
8188 | (pc_is_mips16, mips_fetch_instruction): Use. | |
8189 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
8190 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
8191 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
8192 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
8193 | TARGET_MIPS. | |
8194 | * config/mips/tm-mips.h: Update copyright. | |
8195 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
8196 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
8197 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
8198 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
8199 | (TM_PRINT_INSN_MACH): Delete. | |
8200 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
8201 | ||
5e045346 AC |
8202 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
8203 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
8204 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
8205 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
8206 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
8207 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
8208 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
8209 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
8210 | * config/mips/mips64.mt: New file. | |
8211 | * config/mips/mips.mt: New file. | |
8212 | * config/mips/littlemips.mt: Delete file. | |
8213 | * config/mips/decstation.mt: Delete file. | |
8214 | * config/mips/vr4300el.mt: Delete file. | |
8215 | * config/mips/vr5000el.mt: Delete file. | |
8216 | * config/mips/vr5000.mt: Delete file. | |
8217 | * config/mips/vr4100.mt: Delete file. | |
8218 | * config/mips/vr4xxxel.mt: Delete file. | |
8219 | * config/mips/vr4300.mt: Delete file. | |
8220 | * config/mips/vr4xxx.mt: Delete file. | |
8221 | * config/mips/bigmips.mt: Delete file. | |
8222 | * config/mips/bigmips64.mt: Delete file. | |
8223 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
8224 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
8225 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
8226 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
8227 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
8228 | "tm-bigmips.h". | |
8229 | * config/mips/tm-irix3.h: Ditto. | |
8230 | * config/mips/tm-mipsv4.h: Ditto. | |
8231 | * config/mips/tm-embed.h: Ditto. | |
8232 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
8233 | "tm-bigmips64.h". | |
8234 | * config/mips/tm-vr5000el.h: Delete file. | |
8235 | * config/mips/tm-tx39l.h: Delete file. | |
8236 | * config/mips/tm-vr4300el.h: Delete file. | |
8237 | * config/mips/tm-vr4xxxel.h: Delete file. | |
8238 | * config/mips/tm-vr4300.h: Delete file. | |
8239 | * config/mips/tm-vr4100.h: Delete file. | |
8240 | * config/mips/tm-vr4xxx.h: Delete file. | |
8241 | * config/mips/tm-vr5000.h: Delete file. | |
8242 | * config/mips/tm-embedl64.h: Delete file. | |
8243 | * config/mips/tm-embedl.h: Delete file. | |
8244 | * config/mips/tm-embed64.h: Delete file. | |
8245 | * config/mips/tm-bigmips64.h: Delete file. | |
8246 | * config/mips/tm-bigmips.h: Delete file. | |
8247 | ||
2473a4a9 MK |
8248 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
8249 | ||
97a5b208 MK |
8250 | Fix gdb/1216. |
8251 | * shnbsd-nat.c: Include "sh-tdep.h". | |
8252 | ||
2473a4a9 MK |
8253 | From Richard Henderson <rth@redhat.com>: |
8254 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
8255 | ||
e0f7ec59 AC |
8256 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8257 | ||
8258 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
8259 | forward declaration. | |
8260 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
8261 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
8262 | (mips_find_saved_regs): Use set_reg_offset. | |
8263 | (mips_frame_init_saved_regs): Delete function. | |
8264 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
8265 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
8266 | ||
68dcc709 AC |
8267 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8268 | ||
8269 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
8270 | deprecated_max_register_raw_size, register_virtual_size, and | |
8271 | deprecated_max_register_virtual_size. | |
8272 | ||
cfc14b3a MK |
8273 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8274 | ||
6405b0a6 MK |
8275 | * i386-tdep.c: Include "dwarf2-frame.h". |
8276 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
8277 | * Makefile.in (i386-tdep.o): Update dependencies. | |
8278 | ||
cfc14b3a MK |
8279 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
8280 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
8281 | (dwarf2_frame_h): Define. | |
8282 | (COMMON_OBS): Add dwarf2-frame.o. | |
8283 | (dwarf2-frame.o): Add dependencies. | |
8284 | ||
6a2751d2 AJ |
8285 | 2003-05-31 Andreas Jaeger <aj@suse.de> |
8286 | ||
8287 | * x86-64-linux-nat.c: Fix comment. | |
8288 | ||
1c3545ae MK |
8289 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8290 | ||
10f93086 MK |
8291 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
8292 | function signature. | |
8293 | ||
1c3545ae MK |
8294 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
8295 | have a sigcontext_addr handler. | |
8296 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
8297 | sigcontext_addr handler. | |
8298 | ||
e11c53d2 AC |
8299 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8300 | ||
8301 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
8302 | (print_fp_register_row): Replace do_fp_register_row. | |
8303 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
8304 | (mips_print_register): Add "file" and "frame" parameters. | |
8305 | (mips_print_registers_info): Replace mips_do_registers_info. | |
8306 | (mips_gdbarch_init): Set print_registers_info instead of | |
8307 | deprecated_do_registers_info. | |
8308 | (mips_read_fp_register_single): Add "frame" parameter. | |
8309 | (mips_read_fp_register_double): Add "frame" parameter. | |
8310 | ||
a3386186 MK |
8311 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8312 | ||
70913449 MK |
8313 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
8314 | Fixes a bug where GDB would print the wrong register names for | |
8315 | targets without SSE. | |
8316 | ||
2b5e0749 MK |
8317 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
8318 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
8319 | registers. | |
8320 | ||
8321 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
8322 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
8323 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8324 | TDEP->sc_sp_offset. | |
8325 | ||
a3386186 MK |
8326 | From Michal Ludvig <mludvig@suse.cz>: |
8327 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
8328 | and `sc_num_regs'. | |
8329 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
8330 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
8331 | I386_ST0_REGNUM): Move here from... | |
8332 | * i386-tdep.c: ... here. | |
8333 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
8334 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
8335 | registers if possible. | |
8336 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
8337 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
8338 | Remove variables. | |
8339 | (i386bsd_sc_reg_offset): New variable. | |
8340 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
8341 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8342 | TDEP->sc_sp_offset. | |
8343 | (i386fbsd_sc_reg_offset): New variable. | |
8344 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
8345 | TDEP->sc_num_regs. | |
8346 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
8347 | variables. | |
8348 | (i386fbsd4_sc_reg_offset): New variable. | |
8349 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
8350 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8351 | TDEP->sc_sp_offset. | |
8352 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
8353 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
8354 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
8355 | Remove variables. | |
8356 | (i386nbsd_sc_reg_offset): New variable. | |
8357 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
8358 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8359 | TDEP->sc_sp_offset. | |
8360 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
8361 | Remove variables. | |
8362 | (i386obsd_sc_reg_offset): New variable. | |
8363 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
8364 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
8365 | TDEP->sc_sp_offset. | |
8366 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
8367 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
8368 | for frame pointer offset in `struct sigcontext'. | |
8369 | ||
25ab4790 AC |
8370 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8371 | ||
8372 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
8373 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
8374 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
8375 | push_dummy_call instead of deprecated_push_arguments. | |
8376 | (mips_store_struct_return): Delete function. | |
8377 | (mips_fix_call_dummy): Delete function. | |
8378 | (mips_push_return_address): Delete function. | |
8379 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
8380 | RA_REGNUM and T9_REGNUM. | |
8381 | (mips_n32n64_push_dummy_call): Ditto for | |
8382 | mips_n32n64_push_arguments. | |
8383 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
8384 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
8385 | ||
6a65450a AC |
8386 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
8387 | ||
8388 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
8389 | "dummy_addr" to "bp_addr". | |
8390 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
8391 | gdbarch_push_dummy_call. | |
8392 | * gdbarch.h, gdbarch.c: Re-generate. | |
8393 | * i386-tdep.c (i386_push_dummy_call): Update. | |
8394 | * arm-tdep.c (arm_push_dummy_call): Update. | |
8395 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
8396 | ||
c4f35dd8 MK |
8397 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
8398 | ||
8399 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
8400 | variable declarations. | |
8401 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
8402 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
8403 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
8404 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
8405 | x86_64_function_has_prologue): Remove prototypes. | |
8406 | (X86_64_NUM_GREGS): New define. | |
8407 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
8408 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
8409 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
8410 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
8411 | XMM1_REGNUM): Remove defines. | |
8412 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
8413 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
8414 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
8415 | X86_64_XMM1_REGNUM): New defines. | |
8416 | (struct x86_64_register_info): Renamed from `struct | |
8417 | register_info'. Remove `size' member. | |
8418 | (x86_64_register_info_table): Remove variable. | |
8419 | (x86_64_register_info): New variable. | |
8420 | (X86_64_NUM_REGS): New define. | |
8421 | (X86_64_NUM_GREGS): Remove define. | |
8422 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
8423 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
8424 | Remove variables. | |
8425 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
8426 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
8427 | (x86_64_dwarf_reg_to_regnum): New function. | |
8428 | (x86_64_register_name): Rewrite. | |
8429 | (x86_64_register_raw_size): Remove function. | |
8430 | (x86_64_register_byte_table): Remove variable. | |
8431 | (x86_64_register_byte): Remove function. | |
8432 | (x86_64_register_virtual_type): Remove function. | |
8433 | (x86_64_register_type): New function. | |
8434 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
8435 | x86_64_register_convert_to_raw): Remove functions. | |
8436 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
8437 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
8438 | defines. | |
8439 | (x86_64_frame_init_saved_regs): Remove function. | |
8440 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
8441 | as argument. | |
8442 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
8443 | static. Rewrite based on i386 counterparts. | |
8444 | (x86_64_push_dummy_call): New function. | |
8445 | (X86_64_NUM_SAVED_REGS): New define. | |
8446 | (x86_64_register_number): Remove function. | |
8447 | (x86_64_store_struct_return): Remove function. | |
8448 | (x86_64_frameless_function_invocation, | |
8449 | x86_64_function_has_prologue): Remove functions. | |
8450 | (PROLOG_BUFSIZE): Remove define. | |
8451 | (struct x86_64_frame_cache): New structure. | |
8452 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
8453 | x86_64_frame_cache, x86_64_frame_this_id, | |
8454 | x86_64_frame_prev_register, x86_64_frame_p, | |
8455 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
8456 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
8457 | functions. | |
8458 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
8459 | variables. | |
8460 | (x86_64_skip_prologue): Rewrite in terms of | |
8461 | x86_64_analyze_prologue. | |
8462 | (x86_64_frame_base_address): New function. | |
8463 | (x86_64_frame_base): New variable. | |
8464 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
8465 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
8466 | set deprecated_fp_regnum, deprecated_register_size, | |
8467 | deprecated_register_bytes, register_raw_size, register_byte, | |
8468 | register_virtual_type, register_convertiable, | |
8469 | register_convert_to_virtual, convert_to_raw, | |
8470 | deprecated_get_saved_register, deprecated_target_read_fp, | |
8471 | deprecated_push_arguments, deprecated_push_return_address, | |
8472 | deprecated_pop_frame, deprecated_store_struct_return, | |
8473 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
8474 | frameless_function_invocation, deprecated_frame_saved_pc, | |
8475 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
8476 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
8477 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
8478 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
8479 | and x86_64_frame_p. Call frame_base_set_default to register | |
8480 | x86_64_frame_base. | |
8481 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
8482 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
8483 | (_initialize_x86_64_tdep): Remove function. | |
8484 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
8485 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
8486 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
8487 | define. | |
8488 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
8489 | (x86_64_linux_sigcontext_addr): Rewrite. | |
8490 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
8491 | x86_64_linux_frame_saved_pc): Remove functions. | |
8492 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
8493 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
8494 | trampoline. | |
8495 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
8496 | Remove_functions. | |
8497 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
8498 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
8499 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
8500 | (x86_64_regmap): Rename to regmap. | |
8501 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
8502 | x86_64_num_gregs. | |
8503 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
8504 | x86_64_regmap. | |
8505 | (x86_64_fxsave_offset): Remove function. | |
8506 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
8507 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
8508 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
8509 | asignment in if-statement. | |
8510 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
8511 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
8512 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
8513 | (fetch_core_registers): Remove function. | |
8514 | (linux_elf_core_fns): Remove. | |
8515 | (offsetoff): Don't define. | |
8516 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
8517 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
8518 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
8519 | add core-regset.o. | |
8520 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
8521 | protection against multiple includes instead of NM_X86_64_h. Add | |
8522 | various comments. Include "config/nm-linux.h". Don't include | |
8523 | <signal.h>. | |
8524 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
8525 | GET_THREAD_SIGNALS): Remove defines. | |
8526 | (x86_64_register_u_addr, kernel_u_size, | |
8527 | lin_thread_get_thread_signals): Remove prototypes. | |
8528 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
8529 | [HAVE_LINK_H]: Don't include "solib.h". | |
8530 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
8531 | * config/i386/tm-x86-64linux.h: Fix comments. | |
8532 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
8533 | x86-64-tdep.o): Update dependencies. | |
8534 | ||
c25083af AC |
8535 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
8536 | ||
c8f55a7b AC |
8537 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
8538 | Change parameter type to a "struct regcache *". | |
8539 | ||
c25083af AC |
8540 | * gdbarch.sh: Regardless of the multi-arch level, always define |
8541 | the macro when not already defined. | |
8542 | * gdbarch.h, gdbarch.c: Re-generate. | |
8543 | ||
fbe586ae RH |
8544 | 2003-05-30 Richard Henderson <rth@redhat.com> |
8545 | ||
8546 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
8547 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
8548 | (alpha_mdebug_frame_this_id): Likewise. | |
8549 | (alpha_mdebug_frame_prev_register): Likewise. | |
8550 | (alpha_mdebug_frame_base_address): Likewise. | |
8551 | (alpha_mdebug_frame_locals_address): Likewise. | |
8552 | (alpha_mdebug_frame_args_address): Likewise. | |
8553 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
8554 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
8555 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
8556 | loop increment. | |
8557 | (alpha_heuristic_frame_this_id): Make static. | |
8558 | (alpha_heuristic_frame_prev_register): Likewise. | |
8559 | (alpha_heuristic_frame_base_address): Likewise. | |
8560 | * alpha-tdep.h: Update. | |
8561 | ||
acd5c798 MK |
8562 | 2003-05-30 Mark Kettenis <kettenis@gnu.org> |
8563 | ||
8564 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
8565 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
8566 | defenitions. | |
8567 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
8568 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
8569 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
8570 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
8571 | I386_ST0_REGNUM): New defines. | |
8572 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
8573 | codestream_get): Remove define. | |
8574 | (codestream_next_addr, condestream_addr, condestream_buf, | |
8575 | codestream_off, codestream_cnt): Remove variables. | |
8576 | (codestream_fill, codestream_seek, codestream_read): Remove | |
8577 | functions. | |
8578 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
8579 | functionality. | |
8580 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
8581 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
8582 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
8583 | i386_frame_num_args, i386_frame_init_saved_regs, | |
8584 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
8585 | i386_push_arguments): Remove functions. | |
8586 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
8587 | functionality. Use i386_analyze_prologue instead of | |
8588 | i386_get_frame_setup. | |
8589 | (I386_NUM_SAVED_REGS): New define. | |
8590 | (struct i386_frame_cache): New structure. | |
8591 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
8592 | i386_skip_probe, i386_analyze_frame_setup, | |
8593 | i386_analyze_register_saves, i386_analyze_prologue, | |
8594 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
8595 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
8596 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
8597 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
8598 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
8599 | New functions. | |
8600 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
8601 | New variables. | |
8602 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
8603 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
8604 | (i386_extract_return_value, i386_store_return_value): Use | |
8605 | I386_ST0_REGNUM where appropriate. | |
8606 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
8607 | (i386_svr4_pc_in_sigtramp): Add comment. | |
8608 | (i386_svr4_sigcontext_addr): Rewrite. | |
8609 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
8610 | TDEP->sc_sp_offset. | |
8611 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
8612 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
8613 | of new defines. Set push_dummy_call, don't set | |
8614 | deprecated_push_arguments, deprecated_push_return_address, | |
8615 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
8616 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
8617 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
8618 | save_dummy_frame_tos, unwind_pc. Call | |
8619 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
8620 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
8621 | Don't set frameless_function_invocation. Don't set | |
8622 | deprecated_register_bytes, deprecated_register_size, | |
8623 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
8624 | * i386-linux-tdep.c: Fix formatting in some comments. | |
8625 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
8626 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
8627 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
8628 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
8629 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
8630 | redundant parentheses. | |
8631 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
8632 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
8633 | (find_minsym_and_objfile): Change name of second argument. | |
8634 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
8635 | changed. Use frame_pc_unwind instead of | |
8636 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
8637 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
8638 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
8639 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
8640 | unwinder. | |
8641 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
8642 | "dummy-frame.h". | |
8643 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
8644 | (_initialize_i386_cygwin_tdep): New prototype. | |
8645 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
8646 | deprecated_frame_chain_valid. | |
8647 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
8648 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
8649 | Rely on the SVR4 defaults. | |
8650 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
8651 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
8652 | ||
c89b70f1 AC |
8653 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
8654 | ||
8655 | * infcall.c (call_function_by_hand): Always call | |
8656 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
8657 | ||
85b32d22 RH |
8658 | 2003-05-30 Richard Henderson <rth@redhat.com> |
8659 | ||
c89b70f1 AC |
8660 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
8661 | increment. | |
85b32d22 | 8662 | |
bfe51b1e JB |
8663 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
8664 | ||
8665 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
8666 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
8667 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
8668 | show through. | |
8669 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
8670 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
8671 | giving the same effect as the #definitions above. | |
8672 | ||
1abf022c AF |
8673 | 2003-05-29 Adam Fedor <fedor@gnu.org> |
8674 | ||
8675 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
8676 | (find_implementation_from_class): Replace it with the standard | |
8677 | case i.e. do nothing. | |
8678 | ||
d2427a71 RH |
8679 | 2003-05-29 Richard Henderson <rth@redhat.com> |
8680 | ||
8681 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
8682 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
8683 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
8684 | update for new frame model. | |
8685 | * alpha-mdebug-tdep.c: New file. | |
8686 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
8687 | (alpha_osf1_init_abi): Install it. | |
8688 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
8689 | (linked_proc_desc_table): Remove. | |
8690 | (alpha_frame_past_sigtramp_frame): Remove. | |
8691 | (alpha_dynamic_sigtramp_offset): Remove. | |
8692 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
8693 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
8694 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
8695 | (push_sigtramp_desc): Remove. | |
8696 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
8697 | (alpha_cannot_store_register): Likewise. | |
8698 | (alpha_sigcontext_addr): Remove. | |
8699 | (alpha_find_saved_regs): Remove. | |
8700 | (alpha_frame_init_saved_regs): Remove. | |
8701 | (alpha_init_frame_pc_first): Remove. | |
8702 | (read_next_frame_reg): Remove. | |
8703 | (alpha_frame_saved_pc): Remove. | |
8704 | (alpha_saved_pc_after_call): Remove. | |
8705 | (temp_proc_desc, temp_saved_regs): Remove. | |
8706 | (alpha_about_to_return): Remove. | |
8707 | (cached_proc_desc): Remove. | |
8708 | (alpha_frame_chain): Remove. | |
8709 | (alpha_print_extra_frame_info): Remove. | |
8710 | (alpha_init_extra_frame_info): Remove. | |
8711 | (alpha_frame_locals_address): Remove. | |
8712 | (alpha_frame_args_address): Remove. | |
8713 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
8714 | (alpha_push_dummy_frame): Remove. | |
8715 | (alpha_pop_frame): Remove. | |
8716 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
8717 | (alpha_read_insn): New. | |
8718 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
8719 | for different insn encodings. | |
8720 | (alpha_in_lenient_prologue): Remove. | |
8721 | (struct alpha_sigtramp_unwind_cache): New. | |
8722 | (alpha_sigtramp_frame_unwind_cache): New. | |
8723 | (alpha_sigtramp_register_address): New. | |
8724 | (alpha_sigtramp_frame_this_id): New. | |
8725 | (alpha_sigtramp_frame_prev_register): New. | |
8726 | (alpha_sigtramp_frame_unwind): New. | |
8727 | (alpha_sigtramp_frame_p): New. | |
8728 | (struct alpha_heuristic_unwind_cache): New. | |
8729 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
8730 | don't count nop insns that occur between functions. | |
8731 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
8732 | heuristic_proc_desc, but without the mdebug wrapping. | |
8733 | (alpha_heuristic_frame_this_id): New. | |
8734 | (alpha_heuristic_frame_prev_register): New. | |
8735 | (alpha_heuristic_frame_unwind): New. | |
8736 | (alpha_heuristic_frame_p): New. | |
8737 | (alpha_heuristic_frame_base_address): New. | |
8738 | (alpha_heuristic_frame_base): New. | |
8739 | (alpha_unwind_dummy_id): New. | |
8740 | (alpha_unwind_pc): New. | |
8741 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
8742 | frame related deprecated initializations; install replacements. | |
8743 | (alpha_dump_tdep): Remove. | |
8744 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
8745 | (alpha_read_insn, alpha_after_prologue, | |
8746 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
8747 | alpha_heuristic_frame_prev_register, | |
8748 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
8749 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
8750 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
8751 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
8752 | ||
93ec1121 AC |
8753 | 2003-05-29 Andrew Cagney <cagney@redhat.com> |
8754 | ||
8755 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
8756 | dependant on the availability of ASSERT_FUNCTION. | |
8757 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
8758 | ||
98f08d3d KB |
8759 | 2003-05-29 Kevin Buettner <kevinb@redhat.com> |
8760 | ||
8761 | From Jimi X <jimix@watson.ibm.com>: | |
8762 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
8763 | ||
0897f59b JB |
8764 | 2003-05-28 Jim Blandy <jimb@redhat.com> |
8765 | ||
8766 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
8767 | argument to ptrace to int; the system headers should give it the | |
8768 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
8769 | ||
14898363 L |
8770 | 2003-05-28 H.J. Lu <hongjiu.lu@intel.com> |
8771 | ||
8772 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
8773 | DW_TAG_catch_block. | |
8774 | ||
a7a48797 EZ |
8775 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
8776 | ||
8777 | * stabsread.c (dbx_lookup_type): Make static. | |
8778 | (read_type): Ditto. | |
8779 | (add_undefined_type): Ditto. | |
8780 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
8781 | not export. | |
8782 | ||
f5479e9c EZ |
8783 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
8784 | ||
8785 | * hpread.c (hpread_has_name): Make static. | |
8786 | (hpread_psymtab_to_symtab): Ditto. | |
8787 | (file_exists): Ditto. | |
8788 | (hpread_call_pxdb): Ditto. | |
8789 | (hpread_pxdb_needed): Ditto. | |
8790 | (hpread_quick_traverse): Ditto. | |
8791 | (hpread_get_header): Ditto. | |
8792 | (hpread_get_lntt): Ditto. | |
8793 | (hpread_get_slt): Ditto. | |
8794 | (class_of): Ditto. | |
8795 | ||
eb2e12d7 AS |
8796 | 2003-05-25 Andreas Schwab <schwab@suse.de> |
8797 | ||
78bf922a AS |
8798 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
8799 | stack_align and deprecated_extra_stack_alignment_needed. | |
8800 | (m68k_stack_align): Delete. | |
8801 | ||
eb2e12d7 AS |
8802 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
8803 | (m68k_register_virtual_size): Likewise. | |
8804 | (altos_skip_prologue): Remove obsolete function. | |
8805 | (isi_frame_num_args): Likewise. | |
8806 | (news_frame_num_args): Likewise. | |
8807 | (m68k_fix_call_dummy): Make static. | |
8808 | (m68k_push_dummy_frame): Likewise. | |
8809 | (m68k_pop_frame): Likewise. | |
8810 | (m68k_skip_prologue): Likewise. | |
8811 | (m68k_frame_init_saved_regs): Likewise. | |
8812 | (m68k_saved_pc_after_call): Likewise. | |
8813 | (m68k_get_longjmp_target): Make multi-arch. | |
8814 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
8815 | structure. Register m68k_get_longjmp_target if enabled. | |
8816 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
8817 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
8818 | ||
8819 | * Makefile.in (config.status): Also depend on configure.tgt | |
8820 | and configure.host. | |
8821 | (m68klinux-tdep.o): Update dependencies. | |
8822 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
8823 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
8824 | (M68K_LINUX_JB_PC): Define. | |
8825 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
8826 | and take additional parameter. | |
8827 | (m68k_linux_sigtramp_saved_pc): Update. | |
8828 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
8829 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
8830 | find_solib_trampoline_target. | |
8831 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
8832 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
8833 | (JB_ELEMENT_SIZE): Likewise. | |
8834 | (JB_PC): Likewise. | |
8835 | (GET_LONGJMP_TARGET): Likewise. | |
8836 | (IN_SIGTRAMP): Likewise. | |
8837 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
8838 | ||
eb2c22dc MK |
8839 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
8840 | ||
8841 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
8842 | (sparc32_push_arguments): Re-implement by calling | |
8843 | sparc32_do_push_arguments. | |
8844 | ||
44b7b84e MK |
8845 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
8846 | ||
8847 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
8848 | SPARC_O1_REGNUM): New defines. | |
8849 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
8850 | (sparc32_store_return_value): New function. | |
8851 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
8852 | regcache. | |
8853 | (sparc_gdbarch_init): Don't set | |
8854 | deprecated_extract_struct_value_address. Set | |
8855 | extract_struct_value_address instead. Don't set | |
8856 | deprecated_extract_return_value and deprecated_store_return_value | |
8857 | for 32-bit targets. Set extract_return_value and | |
8858 | store_return_value instead. | |
8859 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
7bb11558 | 8860 | DEPRECATED_EXTRACT_RETURN_VALUE, |
44b7b84e MK |
8861 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. |
8862 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
8863 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
8864 | (sparc_store_return_value): Remove prototype. | |
8865 | (sparc32_store_return_value): New prototype. | |
8866 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
8867 | Adjust prototypes. | |
8868 | ||
f6ad61e3 MK |
8869 | 2003-05-24 Mark Kettenis <kettenis@gnu.org> |
8870 | ||
8871 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
8872 | ||
b276f1bb AC |
8873 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
8874 | ||
8875 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
8876 | the inline equivalent extract_unsigned_integer. | |
8877 | * jv-valprint.c (java_value_print): Ditto. | |
8878 | * ada-valprint.c (ada_val_print_1): Ditto. | |
8879 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
8880 | ||
e76c5fcc TR |
8881 | 2003-05-23 Theodore A. Roth <troth@openavr.org> |
8882 | ||
8883 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
8884 | after_prologue variable. | |
8885 | ||
2cdd89cb MK |
8886 | 2003-05-23 Mark Kettenis <kettenis@gnu.org> |
8887 | ||
8888 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
8889 | asignments in if-statements. | |
8890 | ||
182d43bc EZ |
8891 | 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk> |
8892 | ||
8893 | Committed by Elena Zannoni <ezannoni@redhat.com>. | |
8ffd9b1b | 8894 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
8895 | files, don't relocate absolute symbols (and do use mst_abs). |
8896 | ||
e8f3fcdd AC |
8897 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
8898 | ||
8899 | * objc-lang.c: Include "gdb_assert.h". | |
8900 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
8901 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
8902 | (gdb_check, gdb_check_fatal): Delete functions. | |
8903 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
8904 | gdb_assert. | |
8905 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
8906 | * Makefile.in (objc-lang.o): Update dependencies. | |
8907 | ||
3c23e6fb ILT |
8908 | 2003-05-22 Ian Lance Taylor <ian@airs.com> |
8909 | ||
8910 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
8911 | with fprintf_filtered, not fprintf_unfiltered. | |
8912 | ||
af1342ab AC |
8913 | 2003-05-22 Andrew Cagney <cagney@redhat.com> |
8914 | ||
8915 | * stack.c (frame_info): Inline extract_address, replacing it with | |
8916 | extract_unsigned_integer. | |
8917 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
8918 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
8919 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
8920 | * frame.c (frame_pc_unwind): Update comment. | |
8921 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
8922 | ||
47e242ec JJ |
8923 | 2003-05-22 Jeff Johnston <jjohnstn@redhat.com> |
8924 | ||
8925 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
8926 | perror_with_name to issue warning message when errno is non-zero | |
8927 | after calling ptrace detach. | |
8928 | ||
e2ac8128 JB |
8929 | 2003-05-21 J. Brobecker <brobecker@gnat.com> |
8930 | ||
8931 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
8932 | macro definitions from here... | |
8933 | * hppa-tdep.c: ...to there. | |
8934 | ||
92b3541e KB |
8935 | 2003-05-20 Kevin Buettner <kevinb@redhat.com> |
8936 | ||
8937 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
8938 | register_ptrace_addr(). Fix all callers. | |
8939 | ||
55809acb AS |
8940 | 2003-05-21 Andreas Schwab <schwab@suse.de> |
8941 | ||
8942 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
8943 | dependencies. | |
8944 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
8945 | end. | |
8946 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
8947 | (_initialize_m68k_linux_tdep): New function. | |
8948 | (m68k_linux_frame_saved_pc): Make static. | |
8949 | (m68k_linux_extract_return_value): Likewise. | |
8950 | (m68k_linux_store_return_value): Likewise. | |
8951 | (m68k_linux_extract_struct_value_address): Likewise. | |
8952 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
8953 | Remove. | |
8954 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
8955 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
8956 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
8957 | ||
0fbc10f7 KW |
8958 | 2003-05-20 Kris Warkentin <kewarken@qnx.com> |
8959 | ||
8960 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
8961 | regset numbering rather than our own. | |
8962 | ||
58da2eb2 DC |
8963 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8964 | ||
8965 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
8966 | ||
1fcb5155 DC |
8967 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8968 | ||
8969 | Partial fix for PR c++/827. | |
8970 | * cp-support.h: Include symtab.h. | |
8971 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
8972 | * cp-namespace.c: Update contributors. | |
8973 | (cp_lookup_symbol_nonlocal): New. | |
8974 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
8975 | (lookup_symbol_file): Ditto. | |
8976 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
8977 | * block.h: Declare block_scope, block_using, block_global_block. | |
8978 | * block.c (block_scope): New. | |
8979 | (block_using, block_global_block): Ditto. | |
8980 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
8981 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
8982 | ||
5f9a71c3 DC |
8983 | 2003-05-19 David Carlton <carlton@bactrian.org> |
8984 | ||
8985 | * language.h (struct language_defn): Add 'la_value_of_this' | |
8986 | and 'la_lookup_symbol_nonlocal' members. | |
8987 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
8988 | lookup_symbol_static, lookup_symbol_global, | |
8989 | lookup_symbol_aux_block. | |
8990 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
8991 | if we should search fields of this and how to do static/global | |
8992 | lookup. | |
8993 | (lookup_symbol_aux_block): Make extern. | |
8994 | (basic_lookup_symbol_nonlocal): New. | |
8995 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
8996 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
8997 | 'la_lookup_symbol_nonlocal' members. | |
8998 | * c-lang.c (c_language_defn, cplus_language_defn) | |
8999 | (asm_language_defn, minimal_language_defn): Ditto. | |
9000 | * jv-lang.c (java_language_defn): Ditto. | |
9001 | * language.c (unknown_language_defn, auto_language_defn) | |
9002 | (local_language_defn): Ditto. | |
9003 | * m2-lang.c (m2_language_defn): Ditto. | |
9004 | * objc-lang.c (objc_language_defn): Ditto. | |
9005 | * scm-lang.c (scm_language_defn): Ditto. | |
9006 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
9007 | * p-lang.c (pascal_language_defn): Ditto for both. | |
9008 | * Makefile.in (f-lang.o): Depend on value_h. | |
9009 | (p-lang.o): Ditto. | |
9010 | ||
89a9d1b1 DC |
9011 | 2003-05-19 David Carlton <carlton@bactrian.org> |
9012 | ||
9013 | * block.h: Declare block_static_block. | |
9014 | * block.c (block_static_block): New. | |
9015 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
9016 | lookup_symbol_aux_local, calling block_static_block instead. | |
9017 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
9018 | ||
eed3f8ab DC |
9019 | 2003-05-19 David Carlton <carlton@bactrian.org> |
9020 | ||
9021 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
9022 | ||
a09d8bda ML |
9023 | 2003-05-19 Michal Ludvig <mludvig@suse.cz> |
9024 | ||
9025 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
9026 | register numbers mapping. | |
9027 | ||
69636828 AF |
9028 | 2003-05-18 Adam Fedor <fedor@gnu.org> |
9029 | ||
9030 | * symtab.c (completion_list_objc_symbol): New function. | |
9031 | (make_symbol_completion_list): Use it to add ObjC symbols | |
9032 | when looking though the list. | |
9033 | (language_search_unquoted_string): New function. | |
9034 | (make_file_symbol_completion_list): Use it. | |
9035 | ||
55baeb84 AS |
9036 | 2003-05-18 Andreas Schwab <schwab@suse.de> |
9037 | ||
d0b45d99 AS |
9038 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
9039 | dependencies. | |
9040 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
9041 | as m68k_linux_extract_return_value. | |
9042 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
9043 | m68k_linux_store_return_value. | |
9044 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
9045 | m68k_linux_extract_struct_value_address. | |
9046 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
9047 | get_next_frame, get_frame_base, get_frame_pc. | |
9048 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
9049 | (m68k_linux_extract_return_value): New function. | |
9050 | (m68k_linux_store_return_value): New function. | |
9051 | (m68k_linux_extract_struct_value_address): New function. | |
9052 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
9053 | ||
55baeb84 AS |
9054 | * c-exp.y (typebase): Remove duplicate occurence of |
9055 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 9056 | of lookup_signed_typename. |
55baeb84 | 9057 | |
b6b08ebf MK |
9058 | 2003-05-18 Mark Kettenis <kettenis@gnu.org> |
9059 | ||
9060 | * dwarf2loc.c (find_location_expression): Change type of second | |
9061 | argument to `size_t *'. | |
9062 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
9063 | for size variable. | |
9064 | ||
5ad1c190 DC |
9065 | 2003-05-18 David Carlton <carlton@bactrian.org> |
9066 | ||
9067 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
9068 | 'linkage_name'. Add comment. | |
9069 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
9070 | 'linkage_name'. | |
9071 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
9072 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
9073 | (lookup_block_symbol): Ditto. | |
9074 | ||
b8b527c5 AC |
9075 | 2003-05-16 Andrew Cagney <cagney@redhat.com> |
9076 | ||
9077 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
9078 | * gdbarch.h, gdbarch.c: Re-generate. | |
9079 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
9080 | * TODO (REGISTER_BYTES): Delete reference. | |
9081 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9082 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9083 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9084 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9085 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9086 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9087 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9088 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9089 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9090 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
9091 | (ns32k_gdbarch_init_32382): Update. | |
9092 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9093 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9094 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9095 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9096 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9097 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9098 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
9099 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9100 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9101 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9102 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9103 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9104 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9105 | * sparc-tdep.c (sparc_pop_frame): Update. | |
9106 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
9107 | * remote.c (init_remote_state): Update. | |
9108 | (remote_prepare_to_store): Update. | |
9109 | * remote-vx.c (vx_prepare_to_store): Update. | |
9110 | * remote-sds.c (sds_fetch_registers): Update. | |
9111 | (sds_prepare_to_store): Update. | |
9112 | * remote-array.c: Update. | |
9113 | * regcache.c (init_legacy_regcache_descr): Update. | |
9114 | (init_regcache_descr): Update. | |
9115 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
9116 | (mips_o64_extract_return_value): Update. | |
9117 | * irix5-nat.c (fetch_core_registers): Update. | |
9118 | * irix4-nat.c (fetch_core_registers): Update. | |
9119 | * i386-tdep.h: Update. | |
9120 | * hppa-tdep.c (pa_do_registers_info): Update. | |
9121 | (pa_do_strcat_registers_info): Update. | |
9122 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
9123 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
9124 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
9125 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
9126 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
9127 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
9128 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
9129 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
9130 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
9131 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
9132 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
9133 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
9134 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
9135 | (REGISTER_BYTES_OK): Update. | |
9136 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
9137 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
9138 | ||
ee2842e2 ILT |
9139 | 2003-05-16 Ian Lance Taylor <ian@airs.com> |
9140 | ||
9141 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
9142 | (vax_print_insn, print_insn_arg): Remove static functions. | |
9143 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
9144 | print_insn_vax from opcodes library. | |
9145 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
9146 | ||
973177d3 AC |
9147 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
9148 | ||
aaab4dba AC |
9149 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
9150 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
9151 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
9152 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
9153 | * monitor.c (monitor_insert_breakpoint): Use | |
9154 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
9155 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
9156 | * gdbarch.h, gdbarch.c: Re-generate. | |
9157 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
9158 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
9159 | sparc_breakpoint_from_pc. | |
9160 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
9161 | (BREAKPOINT_FROM_PC): Define. | |
9162 | (sparc_breakpoint_from_pc): Declare. | |
9163 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
9164 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
9165 | (BREAKPOINT_FROM_PC): Define. | |
9166 | (BREAKPOINT): Delete macro. | |
9167 | * target.h: Update comment. | |
9168 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
9169 | * remote.c: Update comments. | |
9170 | * remote-mips.c: Update comments. | |
9171 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
9172 | * mem-break.c: Update comment. | |
9173 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
9174 | (ia64_memory_insert_breakpoint): Update. | |
9175 | * config/sparc/tm-sparc.h: Update comment. | |
9176 | * config/pa/tm-hppa64.h: Update comment. | |
9177 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
9178 | (rs6000_breakpoint_from_pc): Update. | |
9179 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
9180 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
9181 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
9182 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
9183 | (mips_breakpoint_from_pc): Update. | |
9184 | (mips_dump_tdep): Update. | |
9185 | ||
e06963ff AC |
9186 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
9187 | * minsyms.c (lookup_minimal_symbol): Inline | |
9188 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
9189 | ||
973177d3 AC |
9190 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
9191 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
9192 | * p-lang.c (pascal_printstr): Ditto. | |
9193 | * objc-lang.c (objc_printstr): Ditto. | |
9194 | * m2-lang.c (m2_printstr): Ditto. | |
9195 | * jv-valprint.c (java_print_value_fields): Ditto. | |
9196 | * f-lang.c (f_printstr): Ditto. | |
9197 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
9198 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
9199 | for repeat_count_threshold. | |
9200 | * Makefile.in (cp-valprint.o): Update dependencies. | |
9201 | ||
5ea2bd7f | 9202 | 2003-05-15 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 9203 | |
5ea2bd7f JJ |
9204 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
9205 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
9206 | they start with mov r2,r12. Support skipping over indirect stores |
9207 | of the input registers. Upon hitting a non-nop branch instruction | |
9208 | or predicated instruction, bail out by setting lim_pc to the current | |
9209 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
9210 | beyond our calculated value and we have trust_limit set, |
9211 | use the lim_pc value. | |
9212 | ||
cc8c88f3 AC |
9213 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
9214 | ||
9215 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
9216 | generic_find_dummy_frame. | |
9217 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
9218 | (deprecated_generic_find_dummy_frame): Update. | |
9219 | (deprecated_read_register_dummy): Update. | |
9220 | * frame.c (deprecated_generic_get_saved_register): Update. | |
9221 | ||
909cd28e TR |
9222 | 2003-05-15 Theodore A. Roth <troth@openavr.org> |
9223 | ||
9224 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
9225 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
9226 | ||
b923b08d AC |
9227 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
9228 | ||
9229 | * regcache.c (build_regcache): Set deprecated_register_valid | |
9230 | directly. | |
9231 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
9232 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
9233 | declaration. | |
9234 | ||
ae2f03ac | 9235 | 2003-05-15 David Carlton <carlton@bactrian.org> |
8ffd9b1b AJ |
9236 | |
9237 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
fbe586ae RH |
9238 | * symtab.c (lookup_symbol_aux): Delete calls to |
9239 | lookup_symbol_aux_minsyms. | |
9240 | (lookup_symbol_aux_minsyms): Comment out function and | |
9241 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 9242 | |
18ec9831 KB |
9243 | 2003-05-14 Kevin Buettner <kevinb@redhat.com> |
9244 | ||
9245 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
9246 | correctly indicate an empty stack and ``stack_allocated'' to the | |
9247 | indicate the number of elements initially allocated. | |
9248 | (dwarf_expr_grow_stack): Simplify method for computing new | |
9249 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
9250 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
9251 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
9252 | be used in conjuction with DW_OP_piece. Revise error message | |
9253 | accordingly. | |
9254 | ||
de18ac1f TR |
9255 | 2003-05-14 Theodore A. Roth <troth@openavr.org> |
9256 | ||
9257 | * MAINTAINERS: Update my email address. | |
9258 | * avr-tdep.c: Ditto. | |
9259 | ||
176620f1 EZ |
9260 | 2003-05-14 Elena Zannoni <ezannoni@redhat.com> |
9261 | ||
9262 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
9263 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
9264 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
9265 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
9266 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
9267 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
9268 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
9269 | (struct symbol, struct partial_symbol): Rename field | |
9270 | 'namespace_enum namespace' to 'domain_enum domain'. | |
9271 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
9272 | Delete old define kludge for namespace. | |
9273 | ||
9274 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
9275 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
9276 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
9277 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
9278 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
9279 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
9280 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
9281 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
9282 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
9283 | occurrences of the above. | |
9284 | ||
b7f31508 ILT |
9285 | 2003-05-14 Ian Lance Taylor <ian@airs.com> |
9286 | ||
9287 | * Makefile.in (install-only): Use $(SHELL) when running | |
9288 | mkinstalldirs. | |
9289 | ||
2fdbdd39 ILT |
9290 | 2003-05-13 Ian Lance Taylor <ian@airs.com> |
9291 | ||
a208d82c ILT |
9292 | * MAINTAINERS (write after approval): Add myself. |
9293 | ||
2fdbdd39 ILT |
9294 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
9295 | second and third arguments. | |
9296 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
9297 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
9298 | ||
fbd9dcd3 AC |
9299 | 2003-05-13 Andrew Cagney <cagney@redhat.com> |
9300 | ||
9301 | * defs.h (store_address): Delete declaration. | |
9302 | findvar.c (store_address): Delete function. | |
9303 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
9304 | store_unsigned_integer. | |
9305 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
9306 | * v850-tdep.c (v850_push_arguments): Ditto. | |
9307 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
9308 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
9309 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
9310 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
9311 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
9312 | (mips_get_saved_register): Ditto. | |
9313 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
9314 | (find_func_descr, ia64_push_arguments): Ditto. | |
9315 | * i386-tdep.c (i386_push_arguments): Ditto. | |
9316 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
9317 | * frv-tdep.c (frv_push_arguments): Ditto. | |
9318 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
9319 | (deprecated_generic_get_saved_register): Ditto. | |
9320 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
9321 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
9322 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
9323 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
9324 | ||
6760f9e6 JB |
9325 | 2003-05-12 J. Brobecker <brobecker@gnat.com> |
9326 | ||
9327 | * NEWS: Mention that the hppa-hpux port has been partially | |
9328 | multiarched (32bit ABIT only, so far). | |
9329 | ||
30e221b4 AC |
9330 | 2003-05-11 Andrew Cagney <cagney@redhat.com> |
9331 | ||
9332 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
9333 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
9334 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
9335 | sim/testsuite/sim/arm/misaligned2.ms, and | |
9336 | sim/testsuite/sim/arm/misaligned3.ms. | |
9337 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
9338 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
9339 | * frame.h (struct ui_file): Ditto. | |
9340 | ||
dea7f9ba MK |
9341 | 2003-05-11 Mark Kettenis <kettenis@gnu.org> |
9342 | ||
9343 | * value.h: Pretty print. | |
9344 | ||
01986c48 MK |
9345 | 2003-05-10 Mark Kettenis <kettenis@gnu.org> |
9346 | ||
9347 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
9348 | ||
123a958e AC |
9349 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9350 | ||
9351 | * regcache.h (max_register_size): Delete declaration. | |
9352 | * regcache.c (max_register_size): Delete function. | |
9353 | (struct regcache_descr): Delete field "max_register_size". | |
9354 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
9355 | registers fit in MAX_REGISTER_SIZE. | |
9356 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
9357 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
9358 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
9359 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
9360 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
9361 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
9362 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
9363 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
9364 | ||
eb294659 DC |
9365 | 2003-05-08 David Carlton <carlton@math.stanford.edu> |
9366 | ||
9367 | * valops.c (push_word): Fix typo. | |
9368 | ||
d9d9c31f AC |
9369 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9370 | ||
9371 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
9372 | * gdbarch.h: Re-generate. | |
9373 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
9374 | (legacy_max_register_raw_size): Delete declaration. | |
9375 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
9376 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
9377 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
9378 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
9379 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
9380 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
9381 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
9382 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
9383 | * findvar.c, dwarf2cfi.c: Ditto. | |
9384 | ||
22540ece AC |
9385 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9386 | ||
9387 | * mips-tdep.c (read_signed_register): New function, moved to here | |
9388 | from "regcache.c". | |
9389 | (read_signed_register_pid): Ditto. | |
9390 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
9391 | "mips-tdep.c". | |
9392 | (read_signed_register): Ditto. | |
9393 | * regcache.h (read_signed_register): Delete declaration. | |
9394 | (read_signed_register_pid): Delete declaration. | |
9395 | ||
0c92afe8 AC |
9396 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
9397 | ||
9398 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
9399 | * gdbarch.h: Re-generate. | |
9400 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
9401 | (legacy_max_register_virtual_size): Delete declaration. | |
9402 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
9403 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
9404 | * tracepoint.c (memrange_sortmerge): Ditto. | |
9405 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
9406 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
9407 | ||
6037b830 JB |
9408 | 2002-05-08 J. Brobecker <brobecker@gnat.com> |
9409 | ||
9410 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
9411 | (fork_inferior): Escape '!' characters in quoted arguments | |
9412 | only when needed. | |
9413 | ||
5d62c8b1 JB |
9414 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
9415 | ||
9416 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
9417 | the language of the CU is not currently supported by GDB. | |
9418 | ||
20a0e81d JB |
9419 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
9420 | ||
9421 | * defs.h (language): Add language_minimal enum value. | |
9422 | * c-lang.c (minimal_language_defn): New language definition. | |
9423 | (_initialize_c_language): Add the new minimal language to the list | |
9424 | of languages known to GDB. | |
9425 | ||
710ee10a KB |
9426 | 2003-05-08 Kevin Buettner <kevinb@redhat.com> |
9427 | ||
9428 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
9429 | frame's unwinder for legacy frames. | |
9430 | ||
1750fa04 AC |
9431 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
9432 | ||
9433 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
9434 | and "regcache" parameters. | |
9435 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
9436 | ||
ddf9f258 | 9437 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
9438 | |
9439 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
9440 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
9441 | the current address. |
9442 | ||
87767c29 AC |
9443 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
9444 | ||
9445 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
9446 | code. | |
9447 | ||
5e7b2f39 JB |
9448 | 2003-05-07 Jim Blandy <jimb@redhat.com> |
9449 | ||
9450 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
9451 | 'maint info symtabs' and 'maint info psymtabs'. | |
9452 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
9453 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
9454 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
9455 | Declarations updated. | |
9456 | * maint.c (maintenance_list_command): Delete. | |
9457 | (_initialize_maint_cmds): Update calls to add_cmd. | |
9458 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
9459 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
9460 | (init_cmd_lists): Don't initialize it. | |
9461 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
9462 | ||
f6684c31 AC |
9463 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
9464 | ||
9465 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
9466 | "regcache". | |
9467 | (d10v_print_registers_info): Update. | |
9468 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
9469 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
9470 | and "imap_register". | |
9471 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
9472 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
9473 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
9474 | "regcache" and "gdbarch" parameters. | |
9475 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
9476 | parameter. Change class to multi-arch. | |
9477 | * gdbarch.h, gdbarch.c: Re-generate. | |
9478 | * remote.c (remote_xfer_memory): Use | |
9479 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 9480 | |
e4846b08 JJ |
9481 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
9482 | ||
9483 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
9484 | (proceed): Refresh prev_pc value before resuming. | |
9485 | (stop_stepping): Remove code to refresh prev_pc. | |
9486 | ||
6b71b8ac KW |
9487 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
9488 | ||
9489 | * nto-tdep.c: Removed stray comment. | |
9490 | ||
47979a4b KW |
9491 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
9492 | ||
9493 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
9494 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
9495 | Also change add_show_from_set() call to add_setshow_cmd(). | |
9496 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
9497 | ||
00905d52 AC |
9498 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
9499 | ||
9500 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
9501 | (fprint_dummy_frames): New function. | |
9502 | (maintenance_print_dummy_frames): New function. | |
9503 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
9504 | * frame.c (fprint_frame_id): Make global. | |
9505 | * frame.h (fprint_frame_id): Declare. | |
9506 | * Makefile.in (dummy-frame.o): Update dependencies. | |
9507 | ||
b1e29e33 AC |
9508 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
9509 | ||
9510 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
9511 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
9512 | SIZEOF_CALL_DUMMY_WORDS. | |
9513 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
9514 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
9515 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
9516 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
9517 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
9518 | CALL_DUMMY_START_OFFSET. | |
9519 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
9520 | * gdbarch.h, gdbarch.c: Re-generate. | |
9521 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
9522 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
9523 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
9524 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
9525 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
9526 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
9527 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
9528 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
9529 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
9530 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
9531 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
9532 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
9533 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
9534 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
9535 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
9536 | |
9537 | 2003-05-05 Kris Warkentin <kewarken@qnx.com> | |
9538 | ||
9539 | * configure.tgt: Add i[3456]86-*-nto*. | |
9540 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
9541 | * nto-tdep.c: New file. Neutrino target support routines. | |
9542 | * nto-tdep.h: New file. Neutrino target header. | |
9543 | * config/tm-qnxnto.h: New file. | |
9544 | * config/i386/i386nto.mt: New file. | |
9545 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 9546 | |
0ce3d317 AC |
9547 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
9548 | ||
9549 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
9550 | (load_infrun_state): Ditto. | |
9551 | (struct thread_info): Drop "prev_func_name" field. | |
9552 | * thread.c (load_infrun_state): Update. | |
9553 | (save_infrun_state): Update. | |
9554 | * infrun.c (prev_func_name): Delete variable. | |
9555 | (init_wait_for_inferior): Do not clear prev_func_name. | |
9556 | (stop_stepping, keep_going, context_switch): Do not swap | |
9557 | prev_func_name. | |
9558 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
9559 | instead of PC_IN_SIGTRAMP. | |
9560 | ||
46654a5b AC |
9561 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
9562 | ||
9563 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
9564 | REGISTER_BYTE with register_offset_hack. | |
9565 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
9566 | that REGISTER_BYTE is consistent with the regcache. | |
9567 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
9568 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 9569 | |
14b08c1b MK |
9570 | 2003-05-04 Mark Kettenis <kettenis@gnu.org> |
9571 | ||
04c8243f MK |
9572 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
9573 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
9574 | ||
14b08c1b MK |
9575 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
9576 | ||
c7a11e01 JB |
9577 | 2003-05-03 J. Brobecker <brobecker@gnat.com> |
9578 | ||
9579 | From Thierry Schneider <tpschneider1@yahoo.com> | |
9580 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
9581 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
9582 | (mi-cmd-symbol.o): Add rule. | |
9583 | ||
7043d8dc AC |
9584 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
9585 | ||
9586 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
9587 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
9588 | * gdbarch.h, gdbarch.c: Re-generate. | |
9589 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
9590 | (d10v_gdbarch_init): Set push_dummy_code. | |
9591 | * infcall.c (legacy_push_dummy_code): New function. | |
9592 | (generic_push_dummy_code): New function. | |
9593 | (push_dummy_code): New function. | |
9594 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
9595 | instead of dummy_addr, to push_dummy_call. Move call to | |
9596 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
9597 | switch. | |
9598 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
9599 | ||
92bf2b80 AC |
9600 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
9601 | ||
9602 | * disasm.h (print_insn): Declare. | |
9603 | * disasm.c (init_gdb_disassemble_info): New function. | |
9604 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
9605 | (gdb_print_insn): New function. | |
9606 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
9607 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
9608 | * mcore-tdep.c: Include "disasm.h" | |
9609 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
9610 | * d10v-tdep.c: Include "disasm.h". | |
9611 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
9612 | (print_insn): Delete function. | |
9613 | * printcmd.c: Include "disasm.h". | |
9614 | (print_insn): Delete function. | |
9615 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
9616 | * Makefile.in (printcmd.o): Update dependencies. | |
9617 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 9618 | |
27d94c49 AC |
9619 | 2003-05-02 Andrew Cagney <cagney@redhat.com> |
9620 | ||
82de1e5b AC |
9621 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
9622 | PC_REGNUM, re-indent. | |
9623 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
9624 | PC_REGNUM isn't set. | |
9625 | ||
27d94c49 AC |
9626 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
9627 | * gdbarch.h, gdbarch.c: Re-generate. | |
9628 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
9629 | register_virtual_size, pc_regnum, or register_bytes. | |
9630 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
9631 | (d10v_register_type): Use D10V_PC_REGNUM. | |
9632 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
9633 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
9634 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
9635 | ||
a9c0dc7f DC |
9636 | 2003-05-02 David Carlton <carlton@bactrian.org> |
9637 | ||
9638 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
9639 | the name with mstrsave. | |
9640 | ||
e33d66ec EZ |
9641 | 2003-05-02 Elena Zannoni <ezannoni@redhat.com> |
9642 | ||
9643 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
9644 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
9645 | (host_charset_name, target_charset_name): New vars for use by | |
9646 | set/show commands. | |
9647 | (host_charset_enum, target_charset_enum): New enums for set/show | |
9648 | commands. | |
9649 | (set_charset_sfunc, set_host_charset_sfunc, | |
9650 | set_target_charset_sfunc): New functions. | |
9651 | (set_host_charset, set_target_charset): Make static. | |
9652 | (list_charsets, set_host_charset_command, | |
9653 | set_target_charset_command): Delete functions. | |
9654 | (show_charset_command): Rewrite as.... | |
9655 | (show_charset): Hook this up with the set/show command mechanism. | |
9656 | (_initialize_charset): Change names of charsets to match the | |
9657 | set/show enums. Use host_charset_name and target_charset_name. | |
9658 | Use set/show mechanism for charset, host-charset, target-charset | |
9659 | commands. Do not make 'show host-charset' and 'show | |
9660 | target-charset' be aliases of 'show charset'. | |
9661 | ||
9662 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
9663 | they are not used outside the file. | |
9664 | ||
2b6fd0d8 AC |
9665 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
9666 | ||
9667 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
9668 | (gdb_disassembly): Make "di" non static, always initialize and | |
9669 | cleanup. Always use dis_asm_read_memory. | |
9670 | (gdb_dis_asm_read_memory): Delete function. | |
9671 | ||
6ae2f580 AC |
9672 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
9673 | ||
9674 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
9675 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
9676 | ||
810ecf9f AC |
9677 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
9678 | ||
9679 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
9680 | "tm_print_insn_info". | |
9681 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
9682 | (dis_asm_read_memory): Delete function declaration. | |
9683 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
9684 | (tm_print_insn_info): Delete variable definition. | |
9685 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
9686 | * gdbarch.h, gdbarch.c: Re-generate. | |
9687 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
9688 | "deprecated_tm_print_insn_info". | |
9689 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
9690 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9691 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
9692 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
9693 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
9694 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
9695 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
9696 | * s390-tdep.c (s390_get_frame_info): Instead of | |
9697 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
9698 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
9699 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
9700 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
9701 | * disasm.c: Include "gdbcore.h". | |
9702 | (_initialize_disasm): New function, initialize | |
9703 | "deprecated_tm_print_insn_info". | |
9704 | (deprecated_tm_print_insn_info): New variable. | |
9705 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
9706 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
9707 | * Makefile.in (disasm.o): Update dependencies. | |
9708 | ||
07020390 AC |
9709 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
9710 | ||
9711 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
9712 | ||
a9fa03de AF |
9713 | 2003-04-29 Adam Fedor <fedor@gnu.org> |
9714 | ||
9715 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
9716 | * infcall.c (find_function_addr): Make non-static. | |
9717 | * infcall.h (find_function_addr): Declare. | |
9718 | * Makefile.in (eval.o): Update dependencies. | |
9719 | ||
1bae87b9 AF |
9720 | 2003-04-28 Adam Fedor <fedor@gnu.org> |
9721 | ||
9722 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
9723 | ObjC symbols. | |
9724 | (symbol_init_demangled_name): Init for language_objc as well. | |
9725 | ||
0ba6dca9 AC |
9726 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
9727 | ||
9728 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
9729 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
9730 | * gdbarch.h, gdbarch.c: Re-generate. | |
9731 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
9732 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
9733 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
9734 | (generic_target_read_fp): Delete declaration. | |
9735 | * regcache.c (generic_target_read_fp): Delete function. | |
9736 | (deprecated_read_fp): Replace read_fp, use | |
9737 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
9738 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
9739 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
9740 | ||
9741 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
9742 | deprecated_target_read_fp to generic_target_read_fp. | |
9743 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9744 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9745 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9746 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9747 | ||
9748 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
9749 | deprecated_fp_regnum. | |
9750 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
9751 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9752 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9753 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9754 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9755 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9756 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9757 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9758 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9759 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9760 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9761 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9762 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9763 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9764 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9765 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9766 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9767 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9768 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9769 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9770 | ||
9771 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
9772 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9773 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9774 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9775 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9776 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9777 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9778 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9779 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9780 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9781 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9782 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9783 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9784 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9785 | ||
9786 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
9787 | DEPRECATED_FP_REGNUM. | |
9788 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
9789 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
9790 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
9791 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
9792 | (sparc32_register_virtual_type): Ditto. | |
9793 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
9794 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
9795 | (sh_nofp_frame_init_saved_regs): Ditto. | |
9796 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
9797 | (sh_fp_frame_init_saved_regs): Ditto. | |
9798 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
9799 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
9800 | * procfs.c (procfs_fetch_registers): Ditto. | |
9801 | (procfs_store_registers): Ditto. | |
9802 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
9803 | (store_inferior_registers, fetch_core_registers): Ditto. | |
9804 | (fetch_kcore_registers, clear_regs): Ditto. | |
9805 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
9806 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
9807 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
9808 | * nlm/i386.c (do_status): Ditto. | |
9809 | * mipsv4-nat.c (supply_gregset): Ditto. | |
9810 | * mips-tdep.c: Ditto for comments. | |
9811 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
9812 | (store_inferior_registers, fetch_core_registers): Ditto. | |
9813 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
9814 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
9815 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
9816 | (i386_do_pop_frame, i386_register_type): Ditto. | |
9817 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
9818 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
9819 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
9820 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
9821 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
9822 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
9823 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
9824 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
9825 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
9826 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
9827 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
9828 | * blockframe.c: Ditto for comments. | |
9829 | * arch-utils.h: Ditto for comments. | |
9830 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
9831 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
9832 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
9833 | * alpha-tdep.h: Ditto for comments. | |
9834 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
9835 | (alpha_cannot_store_register): Ditto. | |
9836 | (alpha_push_dummy_frame): Ditto. | |
9837 | * alpha-nat.c (supply_gregset): Ditto. | |
9838 | ||
9839 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
9840 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
9841 | * config/sparc/tm-sparc.h: Update comment. | |
9842 | ||
9843 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
9844 | deprecated_read_fp instead of TARGET_READ_FP. | |
9845 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
9846 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
9847 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
9848 | deprecated_read_fp instead of read_fp. | |
9849 | * s390-tdep.c (s390_push_arguments): Ditto. | |
9850 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9851 | * frame.h: Ditto in comments. | |
9852 | * frame.c (legacy_get_prev_frame): Ditto. | |
9853 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
9854 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
9855 | ||
d7a27068 AC |
9856 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
9857 | ||
9858 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
9859 | * gdbarch.h, gdbarch.c: Re-generate. | |
9860 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
9861 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
9862 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
9863 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
9864 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
9865 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
9866 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
9867 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
9868 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
9869 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
9870 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
9871 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
9872 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
9873 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
9874 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
9875 | (_initialize_cris_tdep): Update. | |
9876 | * arch-utils.c (legacy_print_insn): Update. | |
9877 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
9878 | ||
d2630e69 AF |
9879 | 2003-04-26 Adam Fedor <fedor@gnu.org> |
9880 | ||
9881 | * linespec.c (decode_objc): New function to decode ObjC calls | |
9882 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
9883 | * Makefile (linespec.o): Update dependencies. | |
9884 | ||
3086aeae DJ |
9885 | 2003-04-26 Daniel Jacobowitz <drow@mvista.com> |
9886 | ||
9887 | * breakpoint.h (struct breakpoint_ops): New. | |
9888 | (struct breakpoint): Add ops member. | |
9889 | ||
9890 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
9891 | (mention): Use new breakpoint ops member. | |
9892 | (set_raw_breakpoint): Initialize ops field to NULL. | |
9893 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
9894 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
9895 | (gnu_v3_exception_catchpoint_ops): New. | |
9896 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
9897 | ||
1fbec6c3 AF |
9898 | 2003-04-25 Adam Fedor <fedor@gnu.org> |
9899 | ||
9900 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
9901 | ||
0ef21242 AC |
9902 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
9903 | ||
9904 | * d10v-tdep.c (print_insn): Delete function. | |
9905 | (display_trace): Use TARGET_PRINT_INSN. | |
9906 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
9907 | (d10v_gdbarch_init): Set print_insn. | |
9908 | ||
f75493ed AC |
9909 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
9910 | ||
9911 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
9912 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
9913 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
9914 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
9915 | (nr_dmap_regs, a0_regnum): ... new functions. | |
9916 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
9917 | (d10v_register_byte): Delete function. | |
9918 | (d10v_register_raw_size): Delete function. | |
9919 | (d10v_register_type): Use a0_regnum. | |
9920 | (d10v_print_registers_info): Use a0_regnum. | |
9921 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
9922 | (d10v_gdbarch_init): Do not set register_byte or | |
9923 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
9924 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
9925 | extract_address. | |
9926 | (trace_command): Use XCALLOC. | |
9927 | (print_insn): Delete reference to tm_print_insn. | |
9928 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
9929 | store_address. | |
9930 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
9931 | ||
2202b100 DC |
9932 | 2003-04-25 David Carlton <carlton@bactrian.org> |
9933 | ||
9934 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
9935 | ||
4e45ca2e AF |
9936 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
9937 | ||
9938 | * objc-lang.c: Include "valprint.h" | |
9939 | * Makefile.in (objc-lang.o): Update dependencies. | |
9940 | ||
93de3e7f AF |
9941 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
9942 | ||
8ffd9b1b | 9943 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
9944 | architecture dependant compilation and mark as unimplemented |
9945 | (until they get put in the gdbarch vector). | |
9946 | ||
0f20eeea DC |
9947 | 2003-04-23 David Carlton <carlton@bactrian.org> |
9948 | ||
9949 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
9950 | more locations. | |
9951 | ||
74cfe982 AC |
9952 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9953 | ||
9954 | * infcall.c (call_function_by_hand): Eliminate redundant | |
9955 | indentation. Move "saved_async" and "old_cleanups" to where they | |
9956 | are needed. | |
8ffd9b1b | 9957 | |
52557533 AC |
9958 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9959 | ||
9960 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
9961 | and "buffer". Move the "name" code to where it is needed. | |
9962 | ||
158775de AC |
9963 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9964 | ||
9965 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
9966 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
9967 | code to ON_STACK switch branch. | |
8ffd9b1b | 9968 | |
ebc7896c AC |
9969 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9970 | ||
9971 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
9972 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
9973 | lint. | |
9974 | ||
d727590f AC |
9975 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
9976 | ||
9977 | * infcall.c (call_function_by_hand): Delete variable | |
9978 | "n_method_args". Localize "param_type"'s declaration to the loop | |
9979 | that it is used. Reinstate code assigning to said variable - | |
9980 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
9981 | Rationalize code using "param_type". | |
9982 | ||
d585e13a AC |
9983 | 2003-04-22 Andrew Cagney <cagney@redhat.com> |
9984 | ||
9985 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
9986 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
9987 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
9988 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
9989 | ||
051caad9 KB |
9990 | 2003-04-22 Kevin Buettner <kevinb@redhat.com> |
9991 | ||
9992 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
9993 | on the DWARF2 register number prior to fetching a register. | |
9994 | ||
77296879 JB |
9995 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
9996 | ||
9997 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
9998 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 9999 | this macro was always set to 0. |
77296879 JB |
10000 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
10001 | considering the fact that this macro was always set to 0. | |
10002 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
10003 | (hppa_extract_return_value): Likewise. | |
10004 | ||
4252f1df JB |
10005 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
10006 | ||
10007 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
10008 | the hppa-pro target only. | |
10009 | ||
14604c6b JB |
10010 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
10011 | ||
10012 | Ongoing multi-arch conversion effort for HP/UX: | |
10013 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
10014 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
10015 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
10016 | ||
77eb01d1 JB |
10017 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
10018 | ||
10019 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
10020 | for hppa-pro. | |
10021 | ||
61995b3b JB |
10022 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
10023 | ||
10024 | Ongoing multi-arch conversion for HP/UX. | |
10025 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
10026 | if already defined (allows hppa64 to stay non-multiarched for now). | |
10027 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
10028 | ||
4aa79dcc AC |
10029 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
10030 | ||
10031 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
10032 | ||
0f751ff2 AC |
10033 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
10034 | ||
10035 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
10036 | "i386_num_mmx_regs". | |
10037 | ||
04714b91 AC |
10038 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
10039 | ||
10040 | * infcall.c: New file. | |
10041 | * infcall.h: New file. | |
10042 | * valarith.c: Include "infcall.h". | |
10043 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
10044 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
10045 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
10046 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
10047 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
10048 | (SFILES): Add "infcall.c" | |
10049 | (COMMON_OBS): Add "infcall.o". | |
10050 | (infcall.o): Specify dependencies. | |
10051 | * value.h (call_function_by_hand): Delete declaration. | |
10052 | * inferior.h (run_stack_dummy): Delete declaration. | |
10053 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
10054 | (run_stack_dummy): Move to "infcall.c", merged into | |
10055 | call_function_by_hand. | |
10056 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
10057 | (find_function_addr, value_arg_coerce): Ditto. | |
10058 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
10059 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
10060 | "set/show unwindonsignal" commands to "infcall.c". | |
10061 | * v850-tdep.c, target.h: Update comments. | |
10062 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
10063 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
10064 | (sh64_init_extra_frame_info): Update comments. | |
10065 | * mn10300-tdep.c: Update comments. | |
10066 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
10067 | * config/sparc/tm-sparc.h: Update comments. | |
10068 | * breakpoint.h: Update comments. | |
10069 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
10070 | * arm-tdep.c: Update comment. | |
10071 | ||
f9d3c2a8 MK |
10072 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
10073 | ||
c40e1eab MK |
10074 | * i386-tdep.c (i386_num_register_names): New variable. |
10075 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
10076 | (MM0_REGNUM): Remove redundant parentheses in define. | |
10077 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
10078 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
10079 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
10080 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 10081 | |
94ea66b3 MK |
10082 | * i386-tdep.c (i386_extract_return_value, |
10083 | i386_store_return_value): Correct check for availability of | |
10084 | floating-point registers. | |
10085 | ||
54299a1d MK |
10086 | * i386-tdep.c (i386_frame_num_args): Remove function. |
10087 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
10088 | ||
c86c27af MK |
10089 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
10090 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
10091 | ||
f9d3c2a8 MK |
10092 | * i386-tdep.c (i386_get_longjmp_target): Use |
10093 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
10094 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
10095 | extract_address. | |
10096 | ||
94ba74a9 MK |
10097 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
10098 | ||
10099 | * core-regset.c: Update comments to reflect reality. Re-order | |
10100 | includes. | |
10101 | (fetch_core_registers): Use switch instead of if. Remove | |
10102 | redundant prototype. | |
10103 | ||
4074e13c JB |
10104 | 2003-04-18 Jim Blandy <jimb@redhat.com> |
10105 | ||
10106 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 10107 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 10108 | |
e3ab4aba RH |
10109 | 2003-04-17 Richard Henderson <rth@redhat.com> |
10110 | ||
10111 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
10112 | ||
627bf7c1 EZ |
10113 | 2003-04-17 Michael Snyder <msnyder@redhat.com> |
10114 | Karen Bennet <bennet@redhat.com> | |
10115 | ||
10116 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
10117 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 10118 | |
514621a9 EZ |
10119 | 2003-04-17 Elena Zannoni <ezannoni@redhat.com> |
10120 | ||
10121 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 10122 | value if the return type is void. |
514621a9 | 10123 | |
b4acd559 JJ |
10124 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
10125 | ||
10126 | * thread-db.c: Reindented. | |
8ffd9b1b | 10127 | |
530b167e | 10128 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
10129 | |
10130 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
10131 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
10132 | as types. |
10133 | ||
0a48e7e8 MS |
10134 | |
10135 | ||
10136 | ||
10137 | ||
10138 | ||
10139 | ||
10140 | ||
10141 | ||
10142 | ||
10143 | ||
10144 | ||
10145 | ||
10146 | ||
10147 | ||
10148 | ||
10149 | ||
10150 | ||
10151 | ||
10152 | ||
10153 | ||
10154 | ||
10155 | ||
10156 | ||
8ffd9b1b | 10157 | |
ab9fe00e KB |
10158 | 2003-04-16 Kevin Buettner <kevinb@redhat.com> |
10159 | ||
610a3745 | 10160 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
10161 | the size of ``long double'' to 16, instead of 8. |
10162 | ||
e64a344c MK |
10163 | 2003-04-16 Mark Kettenis <kettenis@gnu.org> |
10164 | ||
10165 | * i386-linux-nat.c: Add some whitespace to make things more | |
10166 | readable. | |
10167 | (fetch_register, store_register, fetch_inferior_registers, | |
10168 | store_inferior_registers): Get rid of assignment in if-statement. | |
10169 | (store_register): Fix typo in error message. | |
10170 | ||
25d41031 AC |
10171 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
10172 | ||
10173 | * utils.c (xmmalloc): Always allocate something, matches | |
10174 | libiberty/xmalloc's semantics. | |
10175 | (xmrealloc, xmcalloc): Ditto. | |
10176 | ||
c50901fd AC |
10177 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
10178 | ||
10179 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
10180 | update comments. | |
10181 | (get_frame_type): Initialize unwind and type when needed. | |
10182 | (get_frame_id, frame_register_unwind): Ditto. | |
10183 | ||
f81824a9 AC |
10184 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
10185 | ||
10186 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
10187 | obsolete. | |
10188 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
10189 | * sparcl-stub.c: Obsolete file. | |
10190 | * config/sparc/tm-sparclet.h: Obsolete file. | |
10191 | * sparclet-stub.c: Obsolete file. | |
10192 | * sparclet-rom.c: Obsolete file. | |
10193 | * sparcl-tdep.c: Obsolete file. | |
10194 | * config/sparc/tm-sparclite.h: Obsolete file. | |
10195 | * config/sparc/sparclite.mt: Obsolete file. | |
10196 | * config/sparc/sparclet.mt: Obsolete file. | |
10197 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
10198 | sparc86x-*-* obsolete. | |
10199 | ||
9219021c DC |
10200 | 2003-04-15 David Carlton <carlton@math.stanford.edu> |
10201 | ||
10202 | * Makefile.in (SFILES): Add cp-namespace.c. | |
10203 | (COMMON_OBS): Add cp-namespace.o. | |
10204 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
10205 | (buildsym.o): Depend on cp_support_h. | |
10206 | (cp-namespace.o): New. | |
10207 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
10208 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
10209 | (dwarf2read.o): Depend on cp_support_h. | |
10210 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
10211 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
10212 | processing_current_namespace. | |
10213 | (read_namespace): Update processing_current_namespace; check for | |
10214 | anonymous namespaces. | |
10215 | (dwarf2_name): New function. | |
10216 | (dwarf2_extension): Ditto. | |
10217 | * cp-support.h: Update copyright, contributors. | |
10218 | Add inclusion guards. | |
10219 | Add opaque declaration for structs obstack, block, symbol. | |
10220 | (struct using_direct): New struct. | |
10221 | Add declarations for cp_find_first_component, | |
10222 | cp_entire_prefix_len, processing_has_namespace_info, | |
10223 | processing_current_namespace, cp_is_anonymous, | |
10224 | cp_add_using_directive, cp_initialize_namespace, | |
10225 | cp_finalize_namespace, cp_set_block_scope, | |
10226 | cp_scan_for_anonymous_namespaces. | |
10227 | * cp-namespace.c: New file. | |
10228 | * cp-support.c: Update copyright. | |
10229 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
10230 | New variable maint_cplus_cmd_list. | |
10231 | (cp_find_first_component): New function. | |
10232 | (cp_entire_prefix_len, maint_cplus_command) | |
10233 | (first_component_command, _initialize_cp_support): Ditto. | |
10234 | * buildsym.c: Include cp-support.h. | |
10235 | New variable using_list. | |
10236 | (add_symbol_to_list): Check for anonymous namespaces. | |
10237 | (finish_block): Set block's scope. | |
10238 | (start_symtab): Initialize C++ namespace support. | |
10239 | (end_symtab): Finalize C++ namespace support. | |
10240 | * block.h: Add opaque declarations for structs | |
10241 | block_namespace_info, using_direct, and obstack. | |
10242 | Add declarations for block_set_scope and block_set_using. | |
10243 | (struct block): Add 'language_specific' member. | |
10244 | (BLOCK_NAMESPACE): New macro. | |
10245 | * block.c: Include gdb_obstack.h and cp-support.h. | |
10246 | (struct block_namespace_info): New struct. | |
10247 | (block_set_scope): New function. | |
10248 | (block_set_using, block_initialize_namespace): Ditto. | |
10249 | ||
d5a921c9 KB |
10250 | 2003-04-14 Kevin Buettner <kevinb@redhat.com> |
10251 | ||
10252 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
10253 | (locate_base): Return early if there aren't any link map offsets. | |
10254 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
10255 | is unavailable. | |
10256 | ||
d2a52b27 DC |
10257 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
10258 | ||
10259 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
10260 | in hash table. Fix for PR java/1039. | |
10261 | ||
980cae7a DC |
10262 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
10263 | ||
10264 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
10265 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
10266 | * symtab.h: Change 'name' argument in declaration of | |
10267 | symbol_set_names to 'linkage_name'. | |
10268 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
10269 | ||
e227b13c AC |
10270 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
10271 | ||
10272 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
10273 | return the fully sign-extended register value. | |
10274 | (get_frame_pointer): Ditto. | |
10275 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
10276 | dummy frame. | |
10277 | ||
36712a20 AC |
10278 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
10279 | ||
10280 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
10281 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
10282 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
10283 | (mips_push_register): Delete function. | |
10284 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
10285 | PUSH_FP_REGNUM. | |
10286 | ||
44ea7b70 JB |
10287 | 2003-04-14 Jim Blandy <jimb@redhat.com> |
10288 | ||
10289 | * symmisc.c: #include "gdb_regex.h". | |
10290 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
10291 | functions. | |
10292 | * maint.c (maintenance_list_command): New function. | |
10293 | (_initialize_maint_cmds): Register the above as commands. | |
10294 | * symtab.h (maintenance_list_symtabs, | |
10295 | maintenance_list_psymtabs): New declarations. | |
10296 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
10297 | (init_cmd_lists): Initialize it. | |
10298 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
10299 | * gdbcmd.h (maintenancelistlist): New declaration. | |
10300 | * Makefile.in (symmisc.o): Update dependencies. | |
10301 | ||
2d0c7962 EZ |
10302 | 2003-04-14 Elena Zannoni <ezannoni@redhat.com> |
10303 | ||
10304 | * s390-nat.c: Include asm/types.h for addr_t. | |
10305 | ||
1947a811 CV |
10306 | 2003-04-14 Corinna Vinschen <vinschen@redhat.com> |
10307 | ||
10308 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
10309 | actually incoming type. | |
10310 | ||
adb616d7 AC |
10311 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
10312 | ||
10313 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
10314 | get_next_frame and get_frame_saved_regs. | |
10315 | ||
9b5e151c AC |
10316 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
10317 | ||
10318 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
10319 | of gdbarch_num_regs. | |
10320 | ||
ef6e7e13 AC |
10321 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
10322 | ||
10323 | * frame.h: Mention what replaced what in "struct frame_info". | |
10324 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
10325 | deprecated_update_frame_base_hack and | |
10326 | deprecated_update_frame_pc_hack. | |
10327 | * hppa-tdep.c: Ditto. | |
10328 | ||
61fbb938 DJ |
10329 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
10330 | ||
10331 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
10332 | to read_reg and update its comment. Remove regnum member. | |
10333 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
10334 | Don't call read_reg when setting in_reg. Call read_reg to get | |
10335 | the frame base if it's in a register. Return the register number | |
10336 | on the stack instead of in the context. Remove extra arguments | |
10337 | to read_reg. | |
10338 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
10339 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
10340 | the register number on the expression stack. | |
10341 | (needs_frame_read_reg): Remove extra arguments. | |
10342 | ||
0d53c4c4 DJ |
10343 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
10344 | ||
10345 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
10346 | made non-static. | |
10347 | (execute_stack_op): All callers updated. | |
10348 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
10349 | * dwarf2loc.c (find_location_expression): New function. | |
10350 | (dwarf_expr_frame_base): Call it. | |
10351 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
10352 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
10353 | locexpr_tracepoint_var_ref. | |
10354 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
10355 | Make static. | |
10356 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
10357 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
10358 | functions. | |
10359 | (dwarf2_loclist_funcs): New struct location_funcs. | |
10360 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
10361 | (struct dwarf2_locexpr_baton): Add comments. | |
10362 | (dwarf2_loclist_funcs): New extern. | |
10363 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
10364 | base_address and base_known. | |
10365 | (dwarf_loc_buffer): New variable. | |
10366 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
10367 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
10368 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
10369 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
10370 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
10371 | DWARF_LOC_SIZE. | |
10372 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
10373 | here, from... | |
10374 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
10375 | cu_header. | |
10376 | (dwarf2_symbol_mark_computed): Handle location lists. | |
10377 | ||
6aca59a3 DJ |
10378 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
10379 | ||
10380 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
10381 | if the linkage name demangled successfully. | |
10382 | ||
aca1fcd0 MK |
10383 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
10384 | ||
97095916 MK |
10385 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
10386 | disassmbly_flavour): Removed. | |
10387 | ||
aca1fcd0 MK |
10388 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
10389 | ||
562a961f MK |
10390 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
10391 | ||
10392 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
10393 | ||
bd013d54 AC |
10394 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
10395 | ||
10396 | * frame.h (struct frame_info): Move definition from here ... | |
10397 | * frame.c (struct frame_info): ... to here. | |
10398 | ||
167ef8b1 AC |
10399 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
10400 | ||
10401 | * gdbthread.h (save_infrun_state): Delete parameter | |
10402 | "prev_func_start". | |
10403 | (struct thread_info): Delete field "prev_func_start". | |
10404 | (load_infrun_state): Ditto. | |
10405 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
10406 | * infrun.c (prev_func_start): Delete variable. | |
10407 | (context_switch, init_wait_for_inferior): Update. | |
10408 | (stop_stepping, keep_going): Update. | |
10409 | ||
da3331ec AC |
10410 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
10411 | ||
10412 | * gdbarch.sh: Add missing opaque declarations. | |
10413 | * gdbarch.h: Regnerate. | |
10414 | * symtab.h: Add missing opaque declarations. | |
10415 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
10416 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
10417 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
10418 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
10419 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
10420 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
10421 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
10422 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
10423 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
10424 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
10425 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
10426 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
10427 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
10428 | ||
18adea3f AC |
10429 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
10430 | ||
10431 | * frame.c (get_frame_id): Return this frame's "id". | |
10432 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
10433 | function start. | |
10434 | (legacy_saved_regs_this_id): Replace function body with | |
10435 | internal-error. | |
10436 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
10437 | FRAME_OBSTACK_ZALLOC. | |
10438 | (create_new_frame): Mark the frame ID as valid. | |
10439 | ||
2252e863 AO |
10440 | 2003-04-11 Alexandre Oliva <aoliva@redhat.com> |
10441 | ||
10442 | * Makefile.in (libbfd_h): Added missing setting. | |
10443 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
10444 | according to the selected ABI. | |
10445 | ||
a8245ab8 JJ |
10446 | 2003-04-11 Jeff Johnston <jjohnstn@redhat.com> |
10447 | ||
10448 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
10449 | ||
6913c89a AC |
10450 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
10451 | ||
10452 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
10453 | SAVED_PC_AFTER_CALL. | |
10454 | * gdbarch.h, gdbarch.c: Regenerate. | |
10455 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10456 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10457 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10458 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10459 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10460 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10461 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10462 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10463 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10464 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10465 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10466 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10467 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10468 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10469 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10470 | (ia64_saved_pc_after_call): Update declaration. | |
10471 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
10472 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10473 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10474 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10475 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10476 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10477 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10478 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10479 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10480 | * ns32knbsd-nat.c (frame_num_args): Update. | |
10481 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10482 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10483 | * infrun.c (step_over_function): Update. | |
10484 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
10485 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
10486 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
10487 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10488 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10489 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
10490 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
10491 | * arch-utils.c (init_frame_pc_default): Update. | |
10492 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10493 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
10494 | declaration. | |
8ffd9b1b | 10495 | |
38edeab8 AC |
10496 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
10497 | ||
10498 | * i387-tdep.c: Update copyright. | |
10499 | (i387_to_double): Delete function. | |
10500 | (double_to_i387): Delete function. | |
10501 | ||
81f8a206 AC |
10502 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
10503 | ||
10504 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
10505 | frame's function's address. Simplify. | |
10506 | (d10v_frame_unwind_cache): Check that the frame's function is | |
10507 | non-zero. | |
10508 | ||
6e691f7a JB |
10509 | 2003-04-10 Jim Blandy <jimb@redhat.com> |
10510 | ||
10511 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
10512 | call to set_gdbarch_deprecated_push_arguments. | |
10513 | ||
7f78e237 AC |
10514 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
10515 | ||
10516 | * frame.c (fprint_frame_id): New function. | |
10517 | (fprint_frame_type, fprint_frame): New function. | |
10518 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
10519 | (create_sentinel_frame, get_frame_id): Ditto. | |
10520 | (frame_id_p, frame_id_eq): Ditto. | |
10521 | (frame_id_inner, create_new_frame): Ditto. | |
10522 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
10523 | (deprecated_update_frame_pc_hack): Ditto. | |
10524 | (frame_register_unwind): Ditto. | |
10525 | (deprecated_update_frame_base_hack): Ditto. | |
10526 | ||
f870b49b CV |
10527 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
10528 | ||
10529 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
10530 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
10531 | frame_chain function. | |
10532 | * Makefile.in: Add dependencies due to above change. | |
10533 | ||
7c86889b CV |
10534 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
10535 | ||
10536 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
10537 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
10538 | inside_entry_file. | |
10539 | ||
d0a55772 AC |
10540 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10541 | ||
10542 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
10543 | "stack_addr" and "code_addr". Update comments. | |
10544 | (frame_id_build): Update parameter names and comment. | |
10545 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
10546 | * dummy-frame.c (dummy_frame_this_id): Update. | |
10547 | * breakpoint.c (print_one_breakpoint): Update. | |
10548 | * frame.c (get_frame_id): Update. | |
10549 | (get_frame_base, frame_id_build): Update. | |
10550 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
10551 | (deprecated_update_frame_base_hack): Update. | |
10552 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
10553 | (frame_id_inner): Ditto. | |
10554 | ||
ac16bf07 AC |
10555 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10556 | ||
10557 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
10558 | pointer constant. | |
10559 | * utils.c (gdb_print_host_address): Update. | |
10560 | ||
366cfc9e KB |
10561 | 2003-04-09 Kevin Buettner <kevinb@redhat.com> |
10562 | ||
10563 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
10564 | register number for R0 is 0. | |
10565 | ||
cd983b5c JB |
10566 | 2003-04-09 J. Brobecker <brobecker@gnat.com> |
10567 | ||
10568 | * frame.h (struct gdbarch): Add opaque structure definition | |
10569 | to avoid a compilation warning on LynxOS 4.0. | |
10570 | ||
d1340264 AC |
10571 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10572 | ||
10573 | * frame.h (struct frame_info): Delete field "pc". Replace | |
10574 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
10575 | structure. | |
10576 | * frame.c (frame_pc_unwind): Update. | |
10577 | (create_sentinel_frame): Do not set "pc". | |
10578 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
10579 | (get_frame_pc): Call frame_pc_unwind. | |
10580 | (deprecated_update_frame_pc_hack): Update. | |
10581 | (create_new_frame): Use "pc" not "->pc". | |
10582 | ||
90a6fffb AC |
10583 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10584 | ||
10585 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
10586 | (legacy_get_prev_frame): Ditto. | |
10587 | (get_frame_base): Return id.base directly. | |
10588 | (deprecated_update_frame_base_hack): Update "id.base". | |
10589 | * frame.h (struct frame_info): Delete field "frame". | |
10590 | ||
2fbce691 AC |
10591 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10592 | ||
10593 | * NEWS: Mention that the "Sequent family" is obsolete. | |
10594 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
10595 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
10596 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
10597 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
10598 | * config/i386/tm-ptx4.h: Obsolete file. | |
10599 | * config/i386/tm-ptx.h: Obsolete file. | |
10600 | * symm-tdep.c: Obsolete file. | |
10601 | * config/i386/symmetry.mt: Obsolete file. | |
10602 | * config/i386/tm-symmetry.h: Obsolete file. | |
10603 | * symm-nat.c: Obsolete file. | |
10604 | * config/i386/nm-symmetry.h: Obsolete file. | |
10605 | * config/i386/xm-symmetry.h: Obsolete file. | |
10606 | * config/i386/symmetry.mh: Obsolete file. | |
10607 | * config/i386/nm-ptx4.h: Obsolete file. | |
10608 | * config/i386/ptx4.mh: Obsolete file. | |
10609 | * config/i386/ptx.mt: Obsolete file. | |
10610 | * config/i386/ptx.mh: Obsolete file. | |
10611 | * config/i386/xm-ptx4.h: Obsolete file. | |
10612 | * config/i386/xm-ptx.h: Obsolete file. | |
10613 | ||
78c43945 AC |
10614 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10615 | ||
10616 | Obsolete mips*-*-mach3*. | |
10617 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
10618 | * m3-nat.c: Obsolete file. | |
10619 | * config/nm-m3.h: Obsolete file. | |
10620 | * config/mips/tm-mipsm3.h: Obsolete file. | |
10621 | * config/mips/mipsm3.mt: Obsolete file. | |
10622 | * config/mips/mipsm3.mh: Obsolete file. | |
10623 | * config/mips/xm-mipsm3.h: Obsolete file. | |
10624 | * mipsm3-nat.c: Obsolete file. | |
10625 | * configure.host: Obsolete mips-dec-mach3*. | |
10626 | * configure.tgt: Obsolete mips*-*-mach3*. | |
10627 | ||
f1908289 AC |
10628 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
10629 | ||
10630 | * doublest.h: Update copyright. | |
10631 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
10632 | store_floating and extract_floating. Update comments. | |
10633 | * doublest.c: Update copyright. | |
10634 | (extract_floating_by_length): Replace extract_floating. | |
10635 | (store_floating_by_length): Replace store_floating. | |
10636 | (deprecated_extract_floating): New function. | |
10637 | (deprecated_store_floating): New function. | |
10638 | (extract_typed_floating): Call extract_floating_by_length. | |
10639 | (store_typed_floating): Call store_floating_by_length. | |
10640 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
10641 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
10642 | (sh64_extract_return_value): Update. | |
10643 | (sh_sh4_register_convert_to_virtual): Update. | |
10644 | (sh_sh64_register_convert_to_virtual): Update. | |
10645 | (sh_sh4_register_convert_to_raw): Update. | |
10646 | (sh_sh64_register_convert_to_raw): Update. | |
10647 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
10648 | (rs6000_register_convert_to_raw): Update. | |
10649 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
10650 | (ia64_register_convert_to_raw): Update. | |
10651 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
10652 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
10653 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
10654 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
10655 | (alpha_register_convert_to_raw): Update. | |
10656 | ||
4443bd83 AC |
10657 | 2003-04-08 Andrew Cagney <cagney@redhat.com> |
10658 | ||
10659 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
10660 | * gdbarch.h, gdbarch.c: Re-generate. | |
10661 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
10662 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
10663 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
10664 | conditionally, use frame_pc_unwind as an alternative. Add | |
10665 | comments. | |
10666 | * arch-utils.c (init_frame_pc_default): Only call | |
10667 | SAVED_PC_AFTER_CALL when available. | |
10668 | ||
c0236d92 EZ |
10669 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> |
10670 | ||
fbe586ae | 10671 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
10672 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
10673 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
10674 | (start_remote): Ditto. | |
10675 | (handle_inferior_event): Ditto. | |
10676 | (save_inferior_status): Ditto. | |
10677 | (restore_inferior_status): Ditto. | |
10678 | * infcmd.c (attach_command): Ditto. | |
10679 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 10680 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
10681 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
10682 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
10683 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
10684 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
10685 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
10686 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
10687 | * remote-vx.c (vx_create_inferior): Ditto. | |
10688 | ||
10689 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> | |
10690 | ||
10691 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
10692 | override the default behavior of handle_inferior_event. | |
10693 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
10694 | reflect that it is now an enum. | |
10695 | (start_remote): Ditto. | |
10696 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
10697 | is set to handle the new GNU/Linux kernel behavior for | |
10698 | attach/sigstop. Update uses of stop_soon_quietly. | |
10699 | * inferior.h (enum stop_kind): New enum. | |
10700 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
10701 | Reset normal handle_inferior_event behavior, afterwards. | |
10702 | * fork-child.c (startup_inferior): Update. | |
10703 | * alpha-tdep.c (heuristic_proc_start): Update. | |
10704 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
10705 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
10706 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
10707 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
10708 | * remote-vx.c (vx_create_inferior): Update. | |
10709 | * mips-tdep.c (heuristic_proc_start): Update. | |
10710 | ||
1211bce3 EZ |
10711 | 2003-04-07 Elena Zannoni <ezannoni@redhat.com> |
10712 | ||
10713 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 10714 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 10715 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 10716 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 10717 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 10718 | with the "core" target. |
1211bce3 | 10719 | |
f0ef6b29 KB |
10720 | 2003-04-07 Kevin Buettner <kevinb@redhat.com> |
10721 | ||
10722 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
10723 | do_fp_register_row(). Registers are now (also) printed as hex. | |
10724 | Only one register is printed per row. | |
10725 | (mips_print_register, do_fp_register_row): Print floating point | |
10726 | registers with mips_print_fp_register(). | |
10727 | ||
8cf71652 AC |
10728 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
10729 | ||
5e488a7b AC |
10730 | * valprint.h (inspect_it): Add extern declaration. |
10731 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
10732 | (selectors_info, classes_info): Ditto. | |
10733 | (find_objc_msgcall): Fix indentation. | |
10734 | (objc_printstr): Delete extern declarations. | |
10735 | ||
8cf71652 AC |
10736 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
10737 | ||
e6ba3bc9 AC |
10738 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
10739 | ||
10740 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
10741 | Update comment. | |
10742 | * frame.c (legacy_saved_regs_this_id): Update. | |
10743 | (legacy_get_prev_frame): Update. | |
10744 | * xstormy16-tdep.c: Update comment. | |
10745 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
10746 | * blockframe.c (legacy_frame_chain_valid): Update. | |
10747 | ||
55e1d7e7 AC |
10748 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
10749 | ||
996179ee AC |
10750 | * valprint.c (val_print_type_code_int): Delete #ifdef |
10751 | PRINT_TYPELESS_INTEGER code. | |
10752 | ||
55e1d7e7 AC |
10753 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
10754 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
10755 | multi-arch definition. | |
10756 | * gdbarch.h: Re-generate. | |
10757 | ||
43bd9a9e AC |
10758 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10759 | ||
10760 | Eliminate FRAME_FIND_SAVED_REGS. | |
10761 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
10762 | Change FSR parameter to a pointer. | |
10763 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
10764 | Assume FSR parameter is a pointer. | |
10765 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
10766 | Make fsr a pointer. | |
10767 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
10768 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
10769 | saved_regs a pointer. | |
10770 | (hppa_frame_saved_pc): Ditto. | |
10771 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
10772 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
10773 | pointer. | |
10774 | (restore_pc_queue): Make fsr a pointer. | |
10775 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
10776 | (hppa_frame_chain): Make saved_regs a pointer, call | |
10777 | hppa_frame_init_saved_regs. | |
10778 | * sparc-tdep.c: Include "gdb_assert.h". | |
10779 | (sparc_frame_find_saved_regs): Replace internal_error with | |
10780 | gdb_assert. | |
10781 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
10782 | FRAME_FIND_SAVED_REGS. | |
10783 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
10784 | * gdbarch.h: Regenerate. | |
10785 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
10786 | (deprecated_get_frame_saved_regs): Delete declaration. | |
10787 | (struct frame_saved_regs): Delete definition. | |
10788 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
10789 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
10790 | (hppa_frame_find_saved_regs): Delete declaration. | |
10791 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
10792 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
10793 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
10794 | FRAME_FIND_SAVED_REGS in comment. | |
10795 | ||
be41e9f4 AC |
10796 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10797 | ||
10798 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
10799 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
10800 | (struct frame_info): Add field "prev_func" for caching the | |
10801 | previous frame's function address. | |
10802 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
10803 | get_pc_function_start and get_frame_pc into get_frame_func. | |
10804 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
10805 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
10806 | * s390-tdep.c (s390_function_start): Ditto. | |
10807 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
10808 | (rs6000_frameless_function_invocation): Ditto. | |
10809 | (rs6000_frame_saved_pc): Ditto. | |
10810 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
10811 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
10812 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
10813 | (i386_frame_init_saved_regs): Ditto. | |
10814 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
10815 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
10816 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
10817 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
10818 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
10819 | ||
a01dd7cc AC |
10820 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10821 | ||
10822 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
10823 | function start. Update comments. | |
10824 | ||
5e5592e6 AC |
10825 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10826 | ||
10827 | * frame.c (get_frame_id): Update comment. | |
10828 | (legacy_get_prev_frame): Update comment. | |
10829 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
10830 | * gdbarch.h: Regenerate. | |
10831 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
10832 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
10833 | ||
6fba5002 AC |
10834 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
10835 | ||
10836 | * stack.c (print_frame_info): Use get_frame_pc. | |
10837 | ||
7df05f2b AC |
10838 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
10839 | ||
10840 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
10841 | the frame's type from the unwinder. | |
10842 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
10843 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
10844 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
10845 | (get_frame_base_address): Use get_frame_type. | |
10846 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
10847 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
10848 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
10849 | (struct frame_info): Add comment explaining why the frame contains | |
10850 | a "type" field. | |
10851 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
10852 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
10853 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
10854 | NORMAL_FRAME. | |
10855 | * frame-unwind.h: Include "frame.h". | |
10856 | (struct frame_unwind): Add "type" field. | |
10857 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 10858 | |
11889732 AC |
10859 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
10860 | ||
10861 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
10862 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
10863 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
10864 | get_frame_base. | |
10865 | (d10v_unwind_dummy_id): Use frame_id_build. | |
10866 | * frame.c (find_frame_sal): Use get_frame_pc. | |
10867 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
10868 | deprecated_update_frame_base_hack. | |
10869 | (create_sentinel_frame): Add comment about ->pc going away. | |
10870 | (get_prev_frame): Add comment about ->pc going away. | |
10871 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
10872 | frame_id_build, deprecated_update_frame_pc_hack and | |
10873 | deprecated_update_frame_base_hack. | |
10874 | (select_frame): Use get_frame_pc. | |
10875 | (legacy_saved_regs_this_id): Use frame_id_build. | |
10876 | ||
50c46a0d EZ |
10877 | 2003-04-04 Elena Zannoni <ezannoni@redhat.com> |
10878 | ||
fbe586ae RH |
10879 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
10880 | signed integer case. | |
10881 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 10882 | |
50bbdbd9 AC |
10883 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
10884 | ||
10885 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
10886 | ID to NULL. | |
10887 | ||
36018d2e AF |
10888 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
10889 | ||
10890 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
10891 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
10892 | SYMBOL_NATURAL_NAME. | |
10893 | (classes_info, find_methods): Likewise. | |
10894 | ||
35cec841 KB |
10895 | 2003-04-03 Kevin Buettner <kevinb@redhat.com> |
10896 | ||
10897 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
10898 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
10899 | ||
43136899 BR |
10900 | 2003-04-02 Bob Rossi <bob_rossi@cox.net> |
10901 | ||
10902 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
10903 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
10904 | (mi-cmd-file.o): Update dependencies. | |
10905 | ||
040b99fd KB |
10906 | 2003-04-01 Kevin Buettner <kevinb@redhat.com> |
10907 | ||
10908 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
10909 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
10910 | ||
9a3d7dfd AF |
10911 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
10912 | ||
10913 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
10914 | * language.h (struct language_defn): Add la_demangle. | |
10915 | (language_demangle): Declare. | |
10916 | * language.c (language_demangle): New function. | |
10917 | (unk_lang_demangle): Likewise. | |
10918 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 10919 | Add ukn_lang_demangle. |
9a3d7dfd | 10920 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 10921 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
10922 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
10923 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
10924 | * jv-lang.c (java_demangle): New function | |
10925 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
10926 | * objc-lang.c (objc_demangle): Add options argument |
10927 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
10928 | * maint.c (maintenance_demangle): Replace switch with |
10929 | call to language_demangle. | |
10930 | * utils.c (fprintf_symbol_filtered): Likewise. | |
10931 | ||
5e074003 AC |
10932 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10933 | ||
10934 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
10935 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
10936 | PRINT_TYPELESS_INTEGER. | |
10937 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
10938 | PUSH_RETURN_ADDRESS. | |
10939 | ||
270cb5d6 AC |
10940 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10941 | ||
10942 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
10943 | * d10v-tdep.c: Include "frame-base.h". | |
10944 | (d10v_frame_unwind): Make constant. | |
10945 | (d10v_frame_base_address): New function. | |
10946 | (d10v_frame_base): New variable. | |
10947 | (d10v_gdbarch_init): Set frame_base default. | |
10948 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
10949 | comment for base. | |
10950 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
10951 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
10952 | address and this frame's func address for the frame ID. Use | |
10953 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 10954 | |
6bfb3e36 AC |
10955 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10956 | ||
10957 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
10958 | Refer to the base address, instead of the address of the first | |
10959 | local or parameter. | |
8ffd9b1b | 10960 | |
da62e633 AC |
10961 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10962 | ||
10963 | Add frame debug info addresses: | |
10964 | * frame-base.c: New file. | |
10965 | * frame-base.h: New file. | |
10966 | * frame.h (struct frame_base): Add opaque declaration. | |
10967 | (get_frame_base): Update comment. | |
10968 | (get_frame_base_address): Declare. | |
10969 | (get_frame_locals_address): Declare. | |
10970 | (get_frame_args_address): Declare. | |
10971 | (struct frame_info): Add "base" and "base_cache". Update | |
10972 | comments on the unwinder. | |
10973 | * frame.c: Include "frame-base.h". | |
10974 | (get_frame_locals_address): New function. | |
10975 | (get_frame_base_address): New function. | |
10976 | (get_frame_args_address): New function. | |
10977 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
10978 | get_frame_args_address. | |
10979 | * stack.c (frame_info): Use get_frame_locals_address and | |
10980 | get_frame_args_address. | |
10981 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
10982 | moved to "frame-base.c". | |
10983 | * printcmd.c (print_frame_nameless_args): Ditto. | |
10984 | * symtab.h (address_class): Update comments. | |
10985 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
10986 | get_frame_base_address. | |
10987 | * dwarf2expr.c (execute_stack_op): Ditto. | |
10988 | * Makefile.in (frame_base_h): Define. | |
10989 | (frame.o): Update dependencies. | |
10990 | (frame-base.o): Add dependencies. | |
10991 | (SFILES): Add frame-base.c. | |
10992 | (COMMON_OBS): Add frame-base.o. | |
10993 | ||
3d30e9c2 AC |
10994 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
10995 | ||
10996 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
10997 | CALL_DUMMY_LENGTH): Ditto. | |
10998 | * gdbarch.c: Re-generate. | |
10999 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
11000 | (CALL_DUMMY_LENGTH): Delete macro. | |
11001 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
11002 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
11003 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11004 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11005 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11006 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11007 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11008 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
11009 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11010 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11011 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11012 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11013 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
11014 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11015 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11016 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11017 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11018 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
11019 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11020 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
11021 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
11022 | ||
ce0c7262 CV |
11023 | 2003-04-01 Corinna Vinschen <vinschen@redhat.com> |
11024 | ||
11025 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
11026 | ||
73dd234f AC |
11027 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
11028 | ||
11029 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
11030 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
11031 | * gdbarch.h, gdbarch.c: Re-generate. | |
11032 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
11033 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
11034 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
11035 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
11036 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
11037 | * infcmd.c (run_stack_dummy): Simplify assuming | |
11038 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
11039 | * infrun.c (handle_inferior_event): Ditto. | |
11040 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
11041 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
11042 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
11043 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11044 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11045 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11046 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11047 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11048 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11049 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11050 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11051 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11052 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11053 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
11054 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11055 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
11056 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11057 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11058 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11059 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
11060 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11061 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
11062 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
11063 | ||
97606a13 DJ |
11064 | 2003-04-01 Daniel Jacobowitz <drow@mvista.com> |
11065 | ||
11066 | * symfile.c (symfile_relocate_debug_section): Update call to | |
11067 | bfd_simple_get_relocated_section_contents. | |
11068 | ||
e8ab51f7 AC |
11069 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
11070 | ||
11071 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
11072 | * gdbarch.h, gdbarch.c: Regenerate. | |
11073 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
11074 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
11075 | available. | |
11076 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
11077 | * dummy-frame.h: Update comment. | |
11078 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
11079 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
11080 | fix_call_dummy. | |
11081 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11082 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11083 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11084 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11085 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11086 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11087 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11088 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11089 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11090 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11091 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11092 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11093 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
11094 | ||
018d1b48 JB |
11095 | 2003-03-31 J. Brobecker <brobecker@gnat.com> |
11096 | ||
11097 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
11098 | (INIT_FRAME_AP): Likewise. | |
11099 | (EXTRA_FRAME_INFO): Likewise. | |
11100 | ||
e9a2674e AC |
11101 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
11102 | ||
11103 | * gdbarch.sh: Include "symfile.h". | |
11104 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
11105 | * gdbarch.h, gdbarch.c: Re-generate. | |
11106 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
11107 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
11108 | call_dummy_address, the default is at entry_point_address. | |
11109 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11110 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
11111 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11112 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11113 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11114 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11115 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11116 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11117 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11118 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11119 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11120 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11121 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11122 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
11123 | ||
e8a8712a AC |
11124 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
11125 | ||
11126 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
11127 | * gdbarch.h, gdbarch.c: Re-generate. | |
11128 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
11129 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11130 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11131 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11132 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11133 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11134 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11135 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11136 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11137 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11138 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11139 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11140 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11141 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11142 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11143 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11144 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11145 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11146 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
11147 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11148 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
11149 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11150 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11151 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11152 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
11153 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
11154 | * frame.c (legacy_get_prev_frame): Ditto. | |
11155 | * valops.c (call_function_by_hand): Delete function. | |
11156 | (hand_function_call): Rename to call_function_by_hand | |
11157 | ||
ed234cf8 AC |
11158 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11159 | ||
11160 | 2002-11-10 Klee Dienes <kdienes@apple.com> | |
fbe586ae | 11161 | * value.h (struct value): Update comment. |
ed234cf8 | 11162 | |
06c77151 AC |
11163 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11164 | ||
6c2b5168 AC |
11165 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
11166 | D10V_FP_REGNUM. | |
11167 | (d10v_gdbarch_init): Do not set fp_regnum. | |
11168 | ||
06c77151 AC |
11169 | * frame.c (get_frame_base): Force ID initialization. |
11170 | (get_prev_frame): Move computation of the frame ID from here ... | |
11171 | (get_frame_id): ... to here. | |
11172 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
11173 | * frame.h (struct frame_info): Add field "id_p". | |
11174 | ||
97a1a11c MK |
11175 | 2003-03-30 Mark Kettenis <kettenis@gnu.org> |
11176 | ||
11177 | * i386-tdep.c (i386_store_struct_return): Removed. | |
11178 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
11179 | ||
6c0e89ed AC |
11180 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11181 | ||
11182 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
11183 | * gdbarch.h, gdbarch.c: Regenerate. | |
11184 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
11185 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
11186 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11187 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11188 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11189 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11190 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11191 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
11192 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11193 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
11194 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11195 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
11196 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
11197 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
11198 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
11199 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11200 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11201 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11202 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11203 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11204 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11205 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11206 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11207 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
11208 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
11209 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 11210 | |
f7dd6af2 AC |
11211 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11212 | ||
11213 | * infttrace.c: Include "gdbthread.h". | |
11214 | (parent_attach_all): Fix function signature. | |
11215 | (call_ptrace): Update call. | |
11216 | * Makefile.in (infttrace.o): Update dependencies. | |
11217 | ||
28f617b3 AC |
11218 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
11219 | ||
11220 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
11221 | PUSH_RETURN_ADDRESS. | |
11222 | * gdbarch.h, gdbarch.c: Regenerate. | |
11223 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11224 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11225 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11226 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11227 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11228 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11229 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11230 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11231 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11232 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11233 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11234 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11235 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11236 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11237 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11238 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11239 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11240 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11241 | * valops.c (hand_function_call): Update. | |
11242 | ||
4d628cd7 AC |
11243 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
11244 | ||
11245 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
11246 | sizeof_call_dummy_words. | |
11247 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
11248 | define. | |
11249 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 11250 | |
65e82032 AC |
11251 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
11252 | ||
11253 | * infttrace.h: New file. | |
11254 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
11255 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
11256 | (hpread_read_doc_function_type): Detect an initialized type1. | |
11257 | (hpread_quick_traverse): Initialize mod_name_string. | |
11258 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
11259 | (som_solib_get_solib_by_pc): Declare. | |
11260 | (so_lib_thread_start_addr): Declare. | |
11261 | (no_shared_libraries): Declare. | |
11262 | * somread.c (init_import_symbols): Make static. Add forward | |
11263 | declaration. | |
11264 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
11265 | parent_attach_all. | |
11266 | (hppa_insert_hw_watchpoint): Declare. | |
11267 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
11268 | * hppah-nat.c: Include "gdb_string.h". | |
11269 | (parent_attach_all): Delete extern declaration, moved to | |
11270 | "infttrace.h". | |
11271 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
11272 | int. | |
11273 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
11274 | * Makefile.in (infttrace_h): Define. | |
11275 | (hpread.o): Update dependencies. | |
11276 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
11277 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
11278 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
11279 | * infrun.c (handle_inferior_event): Always initialize | |
11280 | stepped_after_stopped_by_watchpoint. Add default and remove | |
11281 | fallthrough in switch statement. | |
11282 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
11283 | parameter to int. | |
11284 | (hppa_remove_hw_watchpoint): Ditto. | |
11285 | ||
2c3bbe77 AC |
11286 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
11287 | ||
11288 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
11289 | offset. | |
11290 | ||
2dd604e7 RE |
11291 | 2003-03-29 Richard Earnshaw <rearnsha@arm.com> |
11292 | ||
11293 | * arm-tdep.c (arm_push_arguments): Delete. | |
11294 | (struct stack_item): New type. | |
11295 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
11296 | (arm_store_struct_return): Delte. | |
11297 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
11298 | arm_push_arguments or arm_store_struct_return. | |
11299 | ||
e8933a55 AC |
11300 | 2003-03-28 Andrew Cagney <cagney@redhat.com> |
11301 | ||
11302 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
11303 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
11304 | * d10v-tdep.c: Include "remote.h". | |
11305 | (target_resume_hook): Delete extern declaration. | |
11306 | (target_wait_loop_hook): Ditto. | |
11307 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
11308 | (d10v_ts2_register_sim_regno): Eliminate call to | |
11309 | legacy_register_sim_regno. | |
11310 | (d10v_ts3_register_sim_regno): Ditto. | |
11311 | ||
6949171e JJ |
11312 | 2003-03-28 Jeff Johnston <jjohnstn@redhat.com> |
11313 | ||
11314 | * thread.c: Reindented. | |
11315 | * lin-lwp.c: Ditto. | |
11316 | * linux-proc.c: Ditto. | |
11317 | ||
98c7071f BR |
11318 | 2003-03-28 Bob Rossi <bob_rossi@cox.net> |
11319 | ||
fbe586ae | 11320 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 11321 | |
5edc9ca6 TR |
11322 | 2003-03-27 Theodore A. Roth <troth@openavr.org> |
11323 | ||
11324 | * objc-exp.y: Add missing semi-colons. | |
11325 | ||
378bfd1b AC |
11326 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
11327 | ||
11328 | * regcache.c (write_sp): Delete function and references. | |
11329 | * inferior.h (write_sp): Delete declaration. | |
11330 | * valops.c (hand_function_call): Replace write_sp with | |
11331 | TARGET_WRITE_SP. | |
11332 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
11333 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 11334 | |
56056df7 AC |
11335 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
11336 | ||
11337 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
11338 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
11339 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
11340 | * config/pa/xm-pa.h: Obsolete file. | |
11341 | * config/pa/xm-hppab.h: Obsolete file. | |
11342 | * config/pa/nm-hppab.h: Obsolete file. | |
11343 | * config/pa/tm-hppab.h: Obsolete file. | |
11344 | * config/pa/tm-hppao.h: Obsolete file. | |
11345 | * config/pa/nm-hppao.h: Obsolete file. | |
11346 | * config/pa/tm-pro.h: Obsolete file. | |
11347 | * config/pa/hppaosf.mt: Obsolete file. | |
11348 | * config/pa/hppaosf.mh: Obsolete file. | |
11349 | * config/pa/hppapro.mt: Obsolete file. | |
11350 | * config/pa/hppabsd.mt: Obsolete file. | |
11351 | * config/pa/hppabsd.mh: Obsolete file. | |
11352 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
11353 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
11354 | hppa*-*-osf*. | |
11355 | ||
5873a88d AC |
11356 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
11357 | ||
11358 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
11359 | push_arguments. Don't set push_return_address or write_sp. | |
11360 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
11361 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
11362 | handled by push_dummy_call. | |
11363 | ||
b81774d8 AC |
11364 | 2003-03-26 Andrew Cagney <cagney@redhat.com> |
11365 | ||
11366 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
11367 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
11368 | regcache and dummy_addr parameters. | |
11369 | * gdbarch.h, gdbarch.c: Re-generate. | |
11370 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
11371 | available; assume it will handle stack alignment and return | |
11372 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
11373 | legacy_push_arguments. | |
11374 | (legacy_push_arguments): Rename default_push_arguments. | |
11375 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
11376 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
11377 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
11378 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
11379 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
11380 | * config/i386/tm-symmetry.h: Update. | |
11381 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11382 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11383 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11384 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11385 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11386 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11387 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11388 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11389 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11390 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11391 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11392 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11393 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11394 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11395 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11396 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11397 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
11398 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11399 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11400 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11401 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
11402 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11403 | ||
f541410f DJ |
11404 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11405 | ||
11406 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
11407 | signal range test. | |
11408 | ||
69f567ae DJ |
11409 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11410 | ||
11411 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
11412 | (struct sal_chain, map_catch_names): Remove. | |
11413 | (catch_exception_command_1): Don't call | |
11414 | handle_gnu_4_16_catch_command. | |
11415 | ||
d5d14a5a DJ |
11416 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11417 | ||
11418 | From Mark Dettinger <dettinge@de.ibm.com>: | |
11419 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
11420 | ||
bdd73e22 DJ |
11421 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11422 | ||
11423 | * signals/signals.c: Fix typos in last change. | |
11424 | ||
960cb555 DJ |
11425 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
11426 | ||
11427 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
11428 | not already defined. Use __SIGRTMIN if available. | |
11429 | (target_signal_from_host): Remove SIGRTMIN block. | |
11430 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
11431 | the signal is within the realtime range. | |
11432 | ||
f636b87d AF |
11433 | 2003-03-25 Adam Fedor <fedor@gnu.org> |
11434 | ||
11435 | * Makefile.in (infrun.o): Add $(language_h) | |
11436 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
11437 | for language specific trampolines. | |
11438 | * language.h (struct language_defn): Add skip_trampoline. | |
11439 | (skip_language_trampoline): Declare. | |
11440 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
11441 | New functions. | |
11442 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
11443 | Add ukn_lang_trampoline. | |
11444 | * ada-lang.c (ada_language_defn): Add NULL for language | |
11445 | specific skip_trampoline. | |
11446 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
11447 | scm-lang.c: Likewise. | |
11448 | * objc-lang.c (objc_skip_trampoline): New function. | |
11449 | (objc_language_defn): Add objc_skip_trampoline. | |
11450 | ||
28f617b3 | 11451 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
270c3b1d AC |
11452 | |
11453 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
11454 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
11455 | the previous frame. | |
11456 | ||
f933a9c5 AC |
11457 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
11458 | ||
11459 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
11460 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
11461 | * gdbarch.h, gdbarch.c: Re-generate. | |
11462 | * config/sparc/tm-sparc.h | |
11463 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
11464 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
11465 | deprecated_extra_stack_alignment_needed. | |
11466 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
11467 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
11468 | extra_stack_alignment_needed. | |
11469 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11470 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
11471 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11472 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11473 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11474 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11475 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 11476 | |
4183d812 AC |
11477 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
11478 | ||
11479 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
11480 | STORE_STRUCT_RETURN. | |
11481 | * gdbarch.h, gdbarch.c: Regenerate. | |
11482 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
11483 | (d10v_push_arguments): Set the struct return register. | |
11484 | (d10v_gdbarch_init): Update. | |
11485 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11486 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11487 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11488 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11489 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11490 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11491 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11492 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11493 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11494 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11495 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11496 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11497 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11498 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11499 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11500 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11501 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11502 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11503 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11504 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11505 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11506 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11507 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 11508 | |
1bf6d5cc AC |
11509 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
11510 | ||
11511 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
11512 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
11513 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
11514 | * gdbarch.h, gdbarch.c: Regenerate. | |
11515 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
11516 | call_dummy_stack_adjust_p. | |
11517 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
11518 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11519 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11520 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11521 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11522 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
11523 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11524 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
11525 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11526 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
11527 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11528 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11529 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11530 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11531 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11532 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11533 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11534 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11535 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
11536 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
11537 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
11538 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
11539 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
11540 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
11541 | call_dummy_stack_adjust_p. | |
11542 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
11543 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
11544 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
11545 | * valops.c (hand_function_call): Update. | |
11546 | ||
71c08af0 CV |
11547 | 2003-03-25 Corinna Vinschen <vinschen@redhat.com> |
11548 | ||
11549 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
11550 | set_gdbarch_char_signed. | |
11551 | ||
30757f90 RE |
11552 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
11553 | ||
11554 | PR cli/548 | |
11555 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
11556 | ||
03d48a7d RE |
11557 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
11558 | ||
11559 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
11560 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
11561 | ||
2cf6873c AF |
11562 | 2003-03-24 Adam Fedor <fedor@gnu.org> |
11563 | ||
11564 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
11565 | * objc-lang.h: Add multiple inclusion protection. | |
11566 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
11567 | ||
17c0759e RE |
11568 | 2003-03-24 Richard Earnshaw <rearnsha@arm.com> |
11569 | ||
11570 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
11571 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
11572 | ||
618ce49f AC |
11573 | 2003-03-23 Andrew Cagney <cagney@redhat.com> |
11574 | ||
11575 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
11576 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
11577 | * gdbarch.h, gdbarch.c: Regenerate. | |
11578 | * valops.c (hand_function_call): Update. | |
11579 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
11580 | * frame.c (legacy_saved_regs_this_id): Update. | |
11581 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
11582 | * dummy-frame.h: Update. | |
11583 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
11584 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
11585 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
11586 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
11587 | * config/m68k/tm-sun3.h: Update. | |
11588 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
11589 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11590 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11591 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11592 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11593 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
11594 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11595 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11596 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
11597 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
11598 | (frame_get_saved_regs): Update. | |
11599 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
11600 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11601 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11602 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11603 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11604 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11605 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11606 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11607 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
11608 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
11609 | (i386_interix_back_one_frame): Update. | |
11610 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11611 | (hppa_init_extra_frame_info): Update. | |
11612 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11613 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11614 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11615 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11616 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11617 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11618 | ||
fd50bc42 RE |
11619 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11620 | ||
11621 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
11622 | (arm_get_fp_model): Declare. | |
11623 | * arm-tdep.c (fp_model_strings): New string array. | |
11624 | (arm_fp_model, current_fp_model): New variables. | |
11625 | (arm_get_fp_model): New function. | |
11626 | (arm_set_fp): New function. | |
11627 | (set_fp_model_sfunc): New function. | |
11628 | (show_fp_model): New function. | |
11629 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
11630 | (arm_extract_return_value): Use arm_get_fp_model. | |
11631 | (arm_store_return_value): Likewise. | |
11632 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
11633 | to initialize the floating-point data types. | |
11634 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
11635 | model is FPA. | |
11636 | ||
26304000 RE |
11637 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11638 | ||
11639 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
11640 | the current setting of each value. | |
11641 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 11642 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
11643 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
11644 | commands and add new version as subcommands of "set/show arm". | |
11645 | ||
afd7eef0 RE |
11646 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11647 | ||
11648 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
11649 | (set_arm_command, show_arm_command): New functions. | |
11650 | (_initialize_arm_tdep): Add them. | |
11651 | (num_disassembly_options): Renamed from num_flavor_options. | |
11652 | (valid_disassembly_styles): Renamed from valid_flavors. | |
11653 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 11654 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
11655 | set_disassembly_flavor_sfunc. |
11656 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
11657 | (arm_othernames): Updated. | |
11658 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
11659 | command. Add "set/show arm disassembly" commands. Deprecate | |
11660 | "othernames" command. | |
11661 | ||
299a7944 RE |
11662 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11663 | ||
11664 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
11665 | (arm-tdep.o): Depend on elf_arm_h. | |
11666 | ||
c1dac9e6 RE |
11667 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11668 | ||
11669 | * Makefile.in (coff_internal_h): Define. | |
11670 | (arm-tdep.o): Update dependencies. | |
11671 | ||
2702d96c RE |
11672 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
11673 | ||
11674 | * arm-tdep.c (prologue_cache): Delete. | |
11675 | (check_prologue_cache, save_prologue_cache): Delete. | |
11676 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
11677 | (arm_gdb_arch_init): Don't initialize it. | |
11678 | (_initialize_arm_tdep): Likewise. | |
11679 | ||
27d5d74b SC |
11680 | 2003-03-21 Stephane Carrez <stcarrez@nerim.fr> |
11681 | ||
11682 | * MAINTAINERS (tui): Maintainer of tui code. | |
11683 | ||
1762d96d CV |
11684 | 2003-03-21 Corinna Vinschen <vinschen@redhat.com> |
11685 | ||
11686 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
11687 | (i386-cygwin-tdep.o): Add dependencies. | |
11688 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
11689 | * i386-cygwin-tdep.c: New file. | |
11690 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
11691 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
11692 | ||
4c2e2391 AC |
11693 | 2003-03-20 Andrew Cagney <cagney@redhat.com> |
11694 | ||
f20d38b7 AC |
11695 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
11696 | (handle_inferior_event): Remove code calling | |
11697 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
11698 | ||
0022b738 AC |
11699 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
11700 | already has a full path. | |
11701 | ||
864dbc90 AC |
11702 | * main.c (gdb_main): Return 1. |
11703 | (captured_main): Call error to report an invalid interpreter. | |
11704 | ||
4c2e2391 AC |
11705 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
11706 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
11707 | ||
5ef7553b JB |
11708 | 2003-03-19 J. Brobecker <brobecker@gnat.com> |
11709 | ||
11710 | Continuing work to convert the hppa targets to multiarch partial. | |
11711 | ||
11712 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
11713 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
11714 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
11715 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
11716 | for the switch to multiarch partial. | |
11717 | ||
7bde8967 KB |
11718 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
11719 | ||
11720 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
11721 | when iss is issNull. | |
11722 | ||
b006a9e9 KB |
11723 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
11724 | ||
11725 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
11726 | NUM_REGS bounds check. | |
11727 | ||
5e2e9765 KB |
11728 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
11729 | ||
11730 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
11731 | * mips-tdep.c (gdb_assert.h): Include. | |
11732 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
11733 | (mips_register_name): Handle integer registers explicitly. Add | |
11734 | bounds checking. | |
11735 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
11736 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
11737 | handled by mips_register_name() now. | |
11738 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
11739 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
11740 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
11741 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
11742 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
11743 | ||
a2867626 AC |
11744 | 2003-03-18 Andrew Cagney <cagney@redhat.com> |
11745 | ||
11746 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
11747 | a void pointer. | |
11748 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
11749 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
11750 | ||
06600e06 JB |
11751 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11752 | ||
11753 | * infrun.c (observer.h): Add #include. | |
11754 | (normal_stop): Add call to observer_notify_normal_stop. | |
11755 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
11756 | ||
7daf4f5b JB |
11757 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11758 | ||
11759 | Continuing work to convert the hppa targets to multiarch partial. | |
11760 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
11761 | parameter. Reformat comment. | |
11762 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
11763 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
11764 | to match new profile. | |
11765 | ||
3371ccc0 JB |
11766 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11767 | ||
11768 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
11769 | appear to be working in any case. | |
11770 | ||
4fbe891e JB |
11771 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
11772 | ||
11773 | * observer.c (observer_test_first_observer): New static variable. | |
11774 | (observer_test_second_observer): Likewise. | |
11775 | (observer_test_third_observer): Likewise. | |
11776 | (observer_test_first_notification_function): New static function. | |
11777 | (observer_test_second_notification_function): Likewise. | |
11778 | (observer_test_third_notification_function): Likewise. | |
11779 | ||
a7ff40e7 JB |
11780 | 2003-03-17 J. Brobecker <brobecker@gnat.com> |
11781 | ||
11782 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
11783 | * somsolib.c (gdb_assert.h): Likewise. | |
11784 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
11785 | (somsolib.o): Likewise. | |
11786 | ||
26ca4152 AC |
11787 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
11788 | ||
11789 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
11790 | BFD. Simplify setting of di.endian. | |
11791 | ||
0a613259 AC |
11792 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
11793 | ||
11794 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
11795 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
11796 | ||
11797 | From Elena Zannoni <ezannoni@redhat.com> | |
11798 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
11799 | vector and floating-point parameters. | |
11800 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
11801 | convention. | |
11802 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
11803 | ||
1132738f FN |
11804 | 2003-03-17 Fernando Nasser <fnasser@redhat.com> |
11805 | ||
11806 | * MAINTAINERS: Remove my name from several maintainership roles. | |
11807 | ||
6dc42492 AC |
11808 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
11809 | ||
11810 | Fix frame off-by-one bug. | |
11811 | * frame-unwind.h (frame_this_id_ftype): Replace | |
11812 | frame_unwind_id_ftype. | |
11813 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
11814 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
11815 | with "prev_register". | |
11816 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
11817 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
11818 | comment. | |
11819 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
11820 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
11821 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
11822 | (dummy_frame_unwind): Update. | |
11823 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
11824 | sentinel_frame_register_unwind. | |
11825 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
11826 | (sentinel_frame_unwinder): Update. | |
11827 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
11828 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
11829 | * frame.c (create_sentinel_frame): Update. Initialize | |
11830 | "prologue_cache" instead of "unwind_cache". | |
11831 | (frame_register_unwind): Call this frame's prev_register with the | |
11832 | next frame and this frame's prologue cache. | |
11833 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
11834 | this frame and prev frame's prologue cache. Document that this | |
11835 | call is shifted one to the left when compared to the | |
11836 | frame_register_unwind call. | |
11837 | (legacy_saved_regs_prev_register): Replace | |
11838 | frame_saved_regs_register_unwind. | |
11839 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
11840 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
11841 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
11842 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
11843 | (d10v_frame_unwind): Update. | |
11844 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
11845 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
11846 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
11847 | "saved_regs" with "this_saved_regs". | |
11848 | ||
efd710d6 AC |
11849 | 2003-03-16 Andrew Cagney <cagney@redhat.com> |
11850 | ||
11851 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
11852 | problem reported by Mark Kettenis. | |
11853 | ||
4e259f09 MK |
11854 | 2003-03-16 Mark Kettenis <kettenis@gnu.org> |
11855 | ||
11856 | * i386-tdep.c (i386_register_type): Renamed from | |
11857 | i386_register_virtual_type. Adjust function signature. | |
11858 | (i386_gdbarch_init): Set register_type instead of | |
11859 | deprecated_max_register_raw_size, | |
11860 | deprecated_max_register_virtual_size and register_virtual_type. | |
11861 | ||
055bb976 AC |
11862 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
11863 | ||
11864 | * frame.c (get_prev_frame): When a legacy frame, always call | |
11865 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
11866 | the unwinder is new. | |
11867 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
11868 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
11869 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
11870 | ||
ac2adee5 AC |
11871 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
11872 | ||
11873 | * frame.c (get_saved_register): Delete function. | |
11874 | * frame.h (get_saved_register): Delete declaration. | |
11875 | * xstormy16-tdep.c: Update comment. | |
11876 | * regcache.h: Update comments. | |
11877 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
11878 | get_saved_register and extract_address, use | |
11879 | frame_read_unsigned_register. | |
11880 | (sparc_frame_saved_pc): Ditto. | |
11881 | (sparc_get_saved_register): Instead of get_saved_register, use | |
11882 | frame_register. | |
11883 | (sparc_pop_frame): Ditto. | |
11884 | * findvar.c: Update comments. | |
11885 | (value_of_register): Call frame_register instead of | |
11886 | get_saved_register. | |
11887 | (value_from_register): Ditto. | |
11888 | * config/sparc/tm-sparc.h: Update comment. | |
11889 | * breakpoint.c: Update comment. | |
11890 | ||
129c1cd6 AC |
11891 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
11892 | ||
11893 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
11894 | GET_SAVED_REGISTER. | |
11895 | * gdbarch.h, gdbarch.c: Re-generate. | |
11896 | * frame.h: Update comments. | |
11897 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11898 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11899 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11900 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11901 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11902 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11903 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11904 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11905 | * frame.c (frame_register): Update. | |
11906 | (get_saved_register): Update. | |
11907 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 11908 | |
749b82f6 AC |
11909 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
11910 | ||
11911 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
11912 | * gdbarch.h, gdbarch.c: Regenerate. | |
11913 | * valops.c (hand_function_call): Update comment. | |
11914 | * stack.c (return_command): Update comment. | |
11915 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
11916 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
11917 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11918 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11919 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11920 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11921 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11922 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11923 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11924 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11925 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11926 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11927 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11928 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11929 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11930 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11931 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
11932 | * i386-tdep.c (i386_gdbarch_init): Update. | |
11933 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11934 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
11935 | * frv-tdep.c (frv_gdbarch_init): Update. | |
11936 | * cris-tdep.c (cris_gdbarch_init): Update. | |
11937 | * avr-tdep.c (avr_gdbarch_init): Update. | |
11938 | * arm-tdep.c (arm_gdbarch_init): Update. | |
11939 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11940 | ||
1594fa56 AC |
11941 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
11942 | ||
11943 | * frame.c (legacy_frame_p): New function. | |
11944 | (get_prev_frame): Use legacy_frame_p. | |
11945 | * frame.h (legacy_frame_p): Declare. | |
11946 | ||
7717fda3 V |
11947 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
11948 | ||
fbe586ae | 11949 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
11950 | listing corrected. |
11951 | ||
0c67cbe9 V |
11952 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
11953 | ||
fbe586ae | 11954 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 11955 | |
03febf99 AC |
11956 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11957 | ||
11958 | * frame.c (get_prev_frame): Rename the frame parameter to | |
11959 | "this_frame". | |
11960 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
11961 | ||
0a1e1ca1 AC |
11962 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11963 | ||
11964 | * frame.c (get_current_frame): Check target_has_registers before | |
11965 | checking target_has_stack. | |
11966 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
11967 | instead of deprecated_selected_frame. | |
11968 | * findvar.c (value_of_register): Pass "frame", not | |
11969 | deprecated_selected_frame, to value_of_builtin_reg. | |
11970 | ||
a66a9c23 AC |
11971 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11972 | ||
11973 | * regcache.c (regcache_cooked_write_signed): New function. | |
11974 | (regcache_cooked_write_unsigned): New function. | |
11975 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
11976 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
11977 | * regcache.h (regcache_cooked_write_signed): Declare. | |
11978 | (regcache_cooked_write_unsigned): Declare. | |
11979 | ||
8bedc050 AC |
11980 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
11981 | ||
11982 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
11983 | * gdbarch.h, gdbarch.c: Re-generate. | |
11984 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
11985 | * x86-64-tdep.h: Update. | |
11986 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
11987 | * v850-tdep.c (v850_gdbarch_init): Update. | |
11988 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11989 | * sh-tdep.c (sh_gdbarch_init): Update. | |
11990 | * s390-tdep.c (s390_gdbarch_init): Update. | |
11991 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
11992 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
11993 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11994 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
11995 | * mips-tdep.c (mips_gdbarch_init): Update. | |
11996 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
11997 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11998 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
11999 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12000 | * i386-tdep.c (i386_gdbarch_init): Update. | |
12001 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
12002 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12003 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
12004 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12005 | * cris-tdep.c (cris_gdbarch_init): Update. | |
12006 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12007 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12008 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12009 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
12010 | (sh64_init_extra_frame_info): Update. | |
12011 | * ns32knbsd-nat.c (frame_num_args): Update. | |
12012 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
12013 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
12014 | (xstormy16_frame_chain_valid): Update. | |
12015 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
12016 | * v850-tdep.c (v850_frame_chain): Update. | |
12017 | (v850_pop_frame): Update. | |
12018 | (v850_init_extra_frame_info): Update. | |
12019 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
12020 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
12021 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
12022 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
12023 | (mn10300_pop_frame_regular): Update. | |
12024 | (mn10300_init_extra_frame_info): Update. | |
12025 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
12026 | (mips_frame_chain): Update. | |
12027 | (mips_pop_frame): Update. | |
12028 | * mcore-tdep.c (mcore_frame_chain): Update. | |
12029 | (mcore_pop_frame): Update. | |
12030 | (mcore_init_extra_frame_info): Update. | |
12031 | * arch-utils.c (init_frame_pc_default): Update. | |
12032 | * m68k-tdep.c (isi_frame_num_args): Update. | |
12033 | (delta68_frame_num_args): Update. | |
12034 | (news_frame_num_args): Update. | |
12035 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
12036 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
12037 | (alpha_frame_chain): Update. | |
12038 | (alpha_pop_frame): Update. | |
12039 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
12040 | (hppa_init_extra_frame_info): Update. | |
12041 | (hppa_frame_chain): Update. | |
12042 | (hppa_frame_chain_valid): Update. | |
12043 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
12044 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
12045 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
12046 | (arm_init_extra_frame_info): Update. | |
12047 | (arm_pop_frame): Update. | |
12048 | * frame.c (frame_pc_unwind): Update. | |
12049 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12050 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
12051 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
12052 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12053 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12054 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 12055 | |
7a25a7c1 AC |
12056 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
12057 | ||
12058 | Eliminate the need for POP_FRAME. | |
12059 | * frame.c (do_frame_unwind_register): New function. | |
12060 | (frame_pop): When no POP_FRAME, pop the frame using register | |
12061 | unwind and a scratch regcache. | |
12062 | (frame_saved_regs_pop): Delete function. | |
12063 | (trad_frame_unwinder): Update. | |
12064 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
12065 | (d10v_frame_unwind): Update. | |
12066 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
12067 | (sentinel_frame_unwinder): Update. | |
12068 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
12069 | (dummy_frame_unwind): Update. | |
12070 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
12071 | (struct frame_unwind): Update. | |
12072 | ||
2f38ef89 KB |
12073 | 2003-03-11 Kevin Buettner <kevinb@redhat.com> |
12074 | ||
12075 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
12076 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
12077 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
12078 | Do range checks on register number obtained from debugging info. | |
12079 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
12080 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
12081 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
12082 | mapping function. | |
12083 | (do_fp_register_row): Fix typo which caused double type to be | |
12084 | used when attempting to unpack a float. | |
12085 | ||
552f4abf JB |
12086 | 2003-03-11 J. Brobecker <brobecker@gnat.com> |
12087 | ||
12088 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
12089 | ||
e0d2ae16 AC |
12090 | 2003-03-11 Andrew Cagney <cagney@redhat.com> |
12091 | ||
12092 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
12093 | frame. Problem found by Corinna Vinschen. | |
12094 | ||
ddbfdd06 PM |
12095 | 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr> |
12096 | ||
12097 | * doublest.c (floatformat_from_length): Accept also | |
12098 | the real size of 'long double' type. | |
12099 | ||
088b2ddc | 12100 | 2003-03-10 Daniel Jacobowitz <drow@mvista.com> |
31cc81e9 | 12101 | |
088b2ddc | 12102 | From Klee Dienes <kdienes@apple.com>: |
31cc81e9 DJ |
12103 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
12104 | as the old value, to match what is freed in bpstat_clear. | |
12105 | ||
f56f77c1 DC |
12106 | 2003-03-10 David Carlton <carlton@math.stanford.edu> |
12107 | ||
12108 | * minsyms.c (add_minsym_to_hash_table): Replace | |
12109 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
12110 | (compare_minimal_symbols, compact_minimal_symbols) | |
12111 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
12112 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
12113 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
12114 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
12115 | ||
5602984a AC |
12116 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
12117 | ||
12118 | * regcache.h (regcache_cooked_read_ftype): Define. | |
12119 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
12120 | * regcache.c (regcache_save, regcache_restore): Update. | |
12121 | (do_cooked_read): New function. | |
12122 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
12123 | regcache_restore. | |
12124 | ||
8bedc050 AC |
12125 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
12126 | ||
12127 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
12128 | * gdbarch.h, gdbarch.c: Re-generate. | |
12129 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
12130 | * x86-64-tdep.h: Update. | |
12131 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
12132 | * v850-tdep.c (v850_gdbarch_init): Update. | |
12133 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12134 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12135 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12136 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
12137 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
12138 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12139 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
12140 | * mips-tdep.c (mips_gdbarch_init): Update. | |
12141 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
12142 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12143 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
12144 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12145 | * i386-tdep.c (i386_gdbarch_init): Update. | |
12146 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
12147 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12148 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
12149 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12150 | * cris-tdep.c (cris_gdbarch_init): Update. | |
12151 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12152 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12153 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12154 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
12155 | (sh64_init_extra_frame_info): Update. | |
12156 | * ns32knbsd-nat.c (frame_num_args): Update. | |
12157 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
12158 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
12159 | (xstormy16_frame_chain_valid): Update. | |
12160 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
12161 | * v850-tdep.c (v850_frame_chain): Update. | |
12162 | (v850_pop_frame): Update. | |
12163 | (v850_init_extra_frame_info): Update. | |
12164 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
12165 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
12166 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
12167 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
12168 | (mn10300_pop_frame_regular): Update. | |
12169 | (mn10300_init_extra_frame_info): Update. | |
12170 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
12171 | (mips_frame_chain): Update. | |
12172 | (mips_pop_frame): Update. | |
12173 | * mcore-tdep.c (mcore_frame_chain): Update. | |
12174 | (mcore_pop_frame): Update. | |
12175 | (mcore_init_extra_frame_info): Update. | |
12176 | * arch-utils.c (init_frame_pc_default): Update. | |
12177 | * m68k-tdep.c (isi_frame_num_args): Update. | |
12178 | (delta68_frame_num_args): Update. | |
12179 | (news_frame_num_args): Update. | |
12180 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
12181 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
12182 | (alpha_frame_chain): Update. | |
12183 | (alpha_pop_frame): Update. | |
12184 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
12185 | (hppa_init_extra_frame_info): Update. | |
12186 | (hppa_frame_chain): Update. | |
12187 | (hppa_frame_chain_valid): Update. | |
12188 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
12189 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
12190 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
12191 | (arm_init_extra_frame_info): Update. | |
12192 | (arm_pop_frame): Update. | |
12193 | * frame.c (frame_pc_unwind): Update. | |
12194 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12195 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
12196 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
12197 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12198 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
12199 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 12200 | |
12cc2063 AC |
12201 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
12202 | ||
12203 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
12204 | * gdbarch.h, gdbarch.c: Regenerate. | |
12205 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
12206 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
12207 | (frame_saved_regs_pc_unwind): Delete function. | |
12208 | (trad_frame_unwinder): Update. | |
12209 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
12210 | (struct frame_unwind): Update. | |
12211 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
12212 | (dummy_frame_unwind): Update. | |
12213 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
12214 | (sentinel_frame_unwinder): Update. | |
12215 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
12216 | (d10v_frame_unwind): Update. | |
12217 | (d10v_unwind_pc): New function. | |
12218 | (d10v_gdbarch_init): Set unwind_pc. | |
12219 | ||
ef840a37 AC |
12220 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
12221 | ||
a2ce2e56 AC |
12222 | * gdbarch.h: Re-generate. |
12223 | ||
ef840a37 AC |
12224 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
12225 | PC. | |
12226 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
12227 | the PC register. | |
12228 | ||
08f3424b MK |
12229 | 2003-03-08 Mark Kettenis <kettenis@gnu.org> |
12230 | ||
12231 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
12232 | ||
1248ede2 AC |
12233 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
12234 | ||
12235 | * cli-out.c: Update copyright. | |
12236 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
12237 | ||
f49bacc8 AC |
12238 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
12239 | ||
12240 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
12241 | the result. | |
12242 | ||
9b05f993 AC |
12243 | 2003-03-07 Andrew Cagney <cagney@redhat.com> |
12244 | ||
12245 | * gdbarch.sh: Don't generate two macro definitions when an | |
12246 | undefined macro taking no arguments. | |
12247 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 12248 | |
166f4c7b ML |
12249 | 2002-03-07 Michal Ludvig <mludvig@suse.cz> |
12250 | ||
12251 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
12252 | (x86_64_unwind_dummy_id): New functions. | |
12253 | (x86_64_init_abi): Register these two new functions. | |
12254 | ||
6d686a84 ML |
12255 | 2003-03-07 Michal Ludvig <mludvig@suse.cz> |
12256 | ||
12257 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 12258 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
12259 | separate function. |
12260 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
12261 | ||
6314f104 AC |
12262 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12263 | ||
12264 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
12265 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
12266 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
12267 | to use unwind_dummy_id when a dummy frame. | |
12268 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
12269 | predicate. | |
12270 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 12271 | |
ceea5145 AC |
12272 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12273 | ||
12274 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
12275 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
12276 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
12277 | values. | |
12278 | ||
0d843116 AC |
12279 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12280 | ||
12281 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
12282 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
12283 | "next_addr" with "sp_offset". Add "r11_offset". | |
12284 | (d10v_frame_unwind_cache): Update. | |
12285 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
12286 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
12287 | RN was saved in r11_offset. | |
12288 | ||
b2579786 AC |
12289 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12290 | ||
12291 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
12292 | cached PC value in the next frame. | |
12293 | ||
218e5956 AC |
12294 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
12295 | ||
12296 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
12297 | "id_unwind_cache" with "id". | |
12298 | (frame_id_unwind): Delete declaration. | |
12299 | * frame.c (frame_id_unwind): Delete function. | |
12300 | (get_prev_frame): Call the frame id unwind method directly. Store | |
12301 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
12302 | is a problem with the wrong unwind ID being called with the wrong | |
12303 | unwind cache. | |
12304 | ||
ed363b1b DJ |
12305 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
12306 | ||
12307 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
12308 | ||
fe1f4a5e DJ |
12309 | 2003-03-05 James Ingham <jingham@apple.com> |
12310 | Daniel Jacobowitz <drow@mvista.com> | |
12311 | ||
12312 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
12313 | (auto_cp_abi): New variable. | |
12314 | (current_cp_abi, num_cp_abis): Make static. | |
12315 | (CP_ABI_MAX): Define. | |
12316 | (cp_abis): Turn into an array. | |
12317 | (value_virtual_fn_field): Fix formatting. | |
12318 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
12319 | takes a pointer. | |
12320 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
12321 | (list_cp_abis, _initialize_cp_abi): New functions. | |
12322 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
12323 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
12324 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
12325 | * Makefile.in (cp-abi.o): Update dependencies. | |
12326 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
12327 | instead of switch_to_cp_abi. | |
12328 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
12329 | register_cp_abi. | |
12330 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
12331 | register_cp_abi. | |
12332 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
12333 | ||
e4adbba9 DJ |
12334 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
12335 | ||
12336 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
12337 | * dwarf2loc.c: Include "regcache.h". | |
12338 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
12339 | register_size. | |
12340 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
12341 | ||
91ccbfc1 TR |
12342 | 2003-03-04 Theodore A. Roth <troth@openavr.org> |
12343 | ||
12344 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
12345 | number of io registers reported by remote target is not a multiple of | |
12346 | step. | |
12347 | ||
3d4e8fd2 DC |
12348 | 2003-03-04 David Carlton <carlton@math.stanford.edu> |
12349 | ||
12350 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
12351 | (lookup_symbol_aux_psymtabs): Update call to | |
12352 | lookup_partial_symbol. | |
12353 | (lookup_transparent_type, find_main_psymtab) | |
12354 | (make_symbol_overload_list): Ditto. | |
12355 | ||
ed42d87b KH |
12356 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
12357 | ||
12358 | * MAINTAINERS (Write after approval): Update my email address. | |
12359 | ||
a0ed5532 AC |
12360 | 2003-03-03 Andrew Cagney <cagney@redhat.com> |
12361 | ||
12362 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
12363 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
12364 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
12365 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
12366 | MAX_REGISTER_VIRTUAL_SIZE. | |
12367 | * regcache.c (legacy_max_register_raw_size): New function. | |
12368 | (legacy_max_register_virtual_size): New function. | |
12369 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
12370 | (MAX_REGISTER_RAW_SIZE): Define. | |
12371 | (legacy_max_register_raw_size): Declare. | |
12372 | (legacy_max_register_virtual_size): Declare. | |
12373 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
12374 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
12375 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
12376 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
12377 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
12378 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
12379 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
12380 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
12381 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
12382 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
12383 | * vax-tdep.c (vax_gdbarch_init): Update. | |
12384 | * v850-tdep.c (v850_gdbarch_init): Update. | |
12385 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12386 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12387 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12388 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
12389 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12390 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
12391 | * mips-tdep.c (mips_gdbarch_init): Update. | |
12392 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
12393 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12394 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
12395 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12396 | * i386-tdep.c (i386_gdbarch_init): Update. | |
12397 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12398 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
12399 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12400 | * cris-tdep.c (cris_gdbarch_init): Update. | |
12401 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12402 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12403 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12404 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
12405 | max_register_raw_size or max_register_virtual_size. | |
12406 | ||
8e437497 DC |
12407 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
12408 | ||
12409 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
12410 | SYMBOL_MATCHES_NAME, add comment. | |
12411 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
12412 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
12413 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
12414 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
12415 | * symtab.c (lookup_partial_symbol): Use | |
12416 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
12417 | unhelpful comment. | |
12418 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
12419 | SYMBOL_MATCHES_NAME. | |
12420 | Fix for PR c++/33. | |
12421 | ||
25120b0d DC |
12422 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
12423 | ||
12424 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
12425 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
12426 | by regexp matching against SYMBOL_NATURAL_NAME. | |
12427 | ||
78a11fb4 DC |
12428 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
12429 | ||
12430 | * linespec.c (find_method): Extract code into collect_methods. | |
12431 | (collect_methods): New. | |
12432 | ||
645dd519 MK |
12433 | 2003-03-02 Mark Kettenis <kettenis@gnu.org> |
12434 | ||
b4700d91 MK |
12435 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
12436 | get_frame_base. | |
12437 | ||
645dd519 MK |
12438 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
12439 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
12440 | ||
0aa7e1aa SC |
12441 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
12442 | ||
8ffd9b1b | 12443 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
12444 | and not regnum when summing the size of all registers up to regnum. |
12445 | ||
f30ee0bc AC |
12446 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12447 | ||
12448 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
12449 | FRAME_INIT_SAVED_REGS. | |
12450 | * gdbarch.h, gdbarch.c: Regenerate. | |
12451 | * stack.c (frame_info): Update. | |
12452 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
12453 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
12454 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
12455 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
12456 | * mips-tdep.c (mips_pop_frame): Update. | |
12457 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
12458 | * ia64-tdep.c (ia64_frame_chain): Update. | |
12459 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
12460 | (ia64_frameless_function_invocation): Update. | |
12461 | (ia64_init_extra_frame_info): Update. | |
12462 | (ia64_pop_frame_regular): Update. | |
12463 | * frame.h (struct frame_info): Update comment. | |
12464 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
12465 | * frame.c (frame_saved_regs_register_unwind): Update. | |
12466 | (frame_saved_regs_register_unwind): Update. | |
12467 | (deprecated_generic_get_saved_register): Update. | |
12468 | * cris-tdep.c: Update comment. | |
12469 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
12470 | Rename macro. | |
12471 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
12472 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
12473 | * vax-tdep.c (vax_gdbarch_init): Update. | |
12474 | * v850-tdep.c (v850_gdbarch_init): Update. | |
12475 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12476 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12477 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12478 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
12479 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
12480 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12481 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
12482 | * mips-tdep.c (mips_gdbarch_init): Update. | |
12483 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
12484 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12485 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
12486 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12487 | * i386-tdep.c (i386_gdbarch_init): Update. | |
12488 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12489 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12490 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12491 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 12492 | |
42fa7c0f AC |
12493 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12494 | ||
12495 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
12496 | option enum and switch. When no windows, set the interpreter to | |
12497 | INTERP_CONSOLE. | |
8ffd9b1b | 12498 | |
49c7e338 AC |
12499 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12500 | ||
12501 | * main.c (captured_main): Replace magic option characters with an | |
12502 | enum. | |
12503 | ||
e9582e71 AC |
12504 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12505 | ||
12506 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
12507 | INIT_EXTRA_FRAME_INFO. | |
12508 | * gdbarch.h, gdbarch.c: Regenerate. | |
12509 | * arm-tdep.c: Update comments. | |
12510 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
12511 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
12512 | * frame.h, avr-tdep.c: Ditto. | |
12513 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
12514 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
12515 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
12516 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
12517 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
12518 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
12519 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
12520 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
12521 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
12522 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
12523 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
12524 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
12525 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
12526 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
12527 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
12528 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
12529 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
12530 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
12531 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
12532 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
12533 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
12534 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
12535 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
12536 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
12537 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
12538 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
12539 | ||
35cac7cf AC |
12540 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12541 | ||
12542 | * gdbarch.sh (register_type): New function with predicate. | |
12543 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
12544 | * gdbarch.h, gdbarch.c: Re-generate. | |
12545 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
12546 | (generic_register_size): When available, use | |
12547 | gdbarch_register_type. | |
12548 | * regcache.c (init_regcache_descr): When available, initialize the | |
12549 | register type array using gdbarch_register_type. If the | |
12550 | architecture supplies gdbarch_register_type, do not use the legacy | |
12551 | regcache layout. | |
12552 | * d10v-tdep.c (d10v_register_type): Replace | |
12553 | d10v_register_virtual_type. | |
12554 | (d10v_gdbarch_init): Set register_type instead of | |
12555 | register_virtual_type. | |
12556 | ||
7b83296f AC |
12557 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
12558 | ||
12559 | * Makefile.in (ax-gdb.o): Update dependencies. | |
12560 | * ax-gdb.c: Include "regcache.h". | |
12561 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
12562 | * findvar.c (value_of_register): Ditto. | |
12563 | * infcmd.c (default_print_registers_info): Ditto. | |
12564 | ||
eadc1c87 MK |
12565 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
12566 | ||
12567 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
12568 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
12569 | ||
14143612 MK |
12570 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
12571 | ||
12572 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
12573 | of STREQ. | |
12574 | ||
a55cc764 DJ |
12575 | 2003-02-28 Daniel Jacobowitz <drow@mvista.com> |
12576 | ||
12577 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
12578 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
12579 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
12580 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
12581 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
12582 | (locexpr_tracepoint_var_ref): New function. | |
12583 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
12584 | ||
08a617da AC |
12585 | 2003-02-28 Andrew Cagney <cagney@redhat.com> |
12586 | ||
12587 | * regcache.c (register_size): New function. | |
12588 | * regcache.h (register_size): Declare | |
12589 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
12590 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
12591 | ||
4224873a DC |
12592 | 2003-02-28 David Carlton <carlton@math.stanford.edu> |
12593 | ||
12594 | * linespec.c (decode_compound): Extract code into find_method. | |
12595 | (find_method): New. | |
12596 | ||
ccdc5d7f JB |
12597 | 2003-02-28 J. Brobecker <brobecker@gnat.com> |
12598 | ||
12599 | * Makefile.in: Add rules to build and link in observer.o. | |
12600 | ||
974e8ced JB |
12601 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
12602 | ||
12603 | * observer.c: Minor comments edits. | |
12604 | ||
7a28f973 JB |
12605 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
12606 | ||
12607 | * observer.h, observer.c: New file. | |
12608 | ||
27cddce2 AC |
12609 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
12610 | ||
12611 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
12612 | ||
b94a41a1 SC |
12613 | 2003-02-27 Stephane Carrez <stcarrez@nerim.fr> |
12614 | ||
12615 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
12616 | (M6812_OP_STS_EXT): Likewise. | |
12617 | (m6811_prologue): Use the above to recognize prologue. | |
12618 | (m6812_prologue): Likewise. | |
12619 | ||
c8be8951 DC |
12620 | 2003-02-27 David Carlton <carlton@math.stanford.edu> |
12621 | ||
12622 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
12623 | SYMBOL_PRINT_NAME. | |
12624 | (compare_psymbols): Ditto. | |
12625 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
12626 | ||
d05bb1fc MS |
12627 | 2003-02-27 Michael Snyder <msnyder@redhat.com> |
12628 | ||
4e845cd3 MS |
12629 | * f-lang.c (build_fortran_types): New function. |
12630 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
12631 | * doublest.c (extract_floating): Fix warning text. |
12632 | ||
f3824013 AC |
12633 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
12634 | ||
12635 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
12636 | predicate. Replaces PUSH_DUMMY_FRAME. | |
12637 | * gdbarch.h, gdbarch.c: Regnerate. | |
12638 | * valops.c (hand_function_call): Update. Call | |
12639 | generic_push_dummy_frame directly. | |
12640 | * vax-tdep.c (vax_gdbarch_init): Update. | |
12641 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
12642 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
12643 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12644 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12645 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12646 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
12647 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
12648 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
12649 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
12650 | push_dummy_frame to generic_push_dummy_frame. | |
12651 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
12652 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
12653 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
12654 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
12655 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
12656 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
12657 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
12658 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
12659 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
12660 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
12661 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
12662 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
12663 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
12664 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
12665 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
12666 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 12667 | |
ad188201 KB |
12668 | 2003-02-26 Kevin Buettner <kevinb@redhat.com> |
12669 | ||
12670 | * mips-tdep.c (show_mips_abi): New function. | |
12671 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
12672 | command ``show mips abi''. | |
12673 | ||
6b37567a | 12674 | 2003-02-26 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 12675 | |
6b37567a | 12676 | From Elena Zannoni <ezannoni@redhat.com> |
8ffd9b1b | 12677 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
12678 | more sline entries have been seen for the function. |
12679 | ||
d3e0a5bf MC |
12680 | 2003-02-26 Michael Chastain <mec@shout.net> |
12681 | ||
12682 | * configure: Regenerate with autoconf 000227. | |
12683 | ||
18972eea MC |
12684 | 2003-02-26 Michael Chastain <mec@shout.net> |
12685 | ||
12686 | Close PR build/660. | |
12687 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
12688 | for old libc5/glibc. | |
12689 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
12690 | ||
0bbde931 KW |
12691 | 2003-02-26 Kris Warkentin <kewarken@qnx.com> |
12692 | ||
12693 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
12694 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
12695 | ||
27ca5dad MC |
12696 | 2003-02-26 Michael Chastain <mec@shout.net> |
12697 | ||
12698 | * configure.in: New variable HAVE_UINTPTR_T. | |
12699 | * configure, config.in: Regenerated. | |
12700 | ||
6f88d630 DJ |
12701 | 2003-02-26 Daniel Jacobowitz <drow@mvista.com> |
12702 | ||
12703 | Fix PR build/1097. | |
12704 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
12705 | ||
b14185ce AC |
12706 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
12707 | ||
12708 | * frame.c (get_prev_frame): Add comment on check for | |
12709 | inside_entry_func. Only check for inside_entry_file when not a | |
12710 | dummy and not a sentinel. Check that the new frame is not inner | |
12711 | to the old frame. | |
12712 | ||
ac2bd0a9 AC |
12713 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
12714 | ||
12715 | * frame.c (frame_debug): New variable. | |
12716 | (_initialize_frame): Add "set/show debug frame" command. | |
12717 | (get_prev_frame): When frame_debug, print reason why unwind | |
12718 | failed. | |
12719 | ||
b18a0fd2 MC |
12720 | 2003-02-25 Michael Chastain <mec@shout.net> |
12721 | ||
12722 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
12723 | to avoid uintptr_t definition problems. | |
12724 | ||
22abf04a DC |
12725 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
12726 | ||
12727 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
12728 | (SYMBOL_LINKAGE_NAME): Ditto. | |
12729 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
12730 | SYMBOL_LINKAGE_NAME. | |
12731 | (struct general_symbol_info): Expand comment. | |
12732 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
12733 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
12734 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
12735 | * symtab.c (symbol_natural_name): New function. | |
12736 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
12737 | DEPRECATED_SYMBOL_NAME. | |
12738 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
12739 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
12740 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
12741 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
12742 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
12743 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
12744 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
12745 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
12746 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
12747 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
12748 | * ada-exp.y: Ditto. | |
12749 | * ada-exp.y: Update copyright. | |
12750 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
12751 | * cp-valprint.c: Ditto. | |
12752 | ||
1a5848f6 JJ |
12753 | 2003-02-25 Jeff Johnston <jjohnstn@redhat.com> |
12754 | ||
12755 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
12756 | and errno is set to ESRCH. | |
12757 | ||
7343d46a AC |
12758 | 2003-02-24 Andrew Cagney <cagney@redhat.com> |
12759 | ||
12760 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
12761 | paddr when printing udot_off's value. | |
12762 | ||
49fa1dc2 DC |
12763 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
12764 | ||
12765 | * symtab.c (make_symbol_overload_list): Only read in partial | |
12766 | symtabs containing a matching partial symbol. | |
12767 | ||
0fe19209 DC |
12768 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
12769 | ||
12770 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
12771 | do the comparison, not strcmp. | |
12772 | * symfile.c (compare_psymbols): Ditto. | |
12773 | * defs.h: Declare strcmp_iw_ordered. | |
12774 | * utils.c (strcmp_iw_ordered): New function. | |
12775 | ||
8e3ee7b5 JB |
12776 | 2003-02-24 Jim Blandy <jimb@redhat.com> |
12777 | ||
12778 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
12779 | support, shared libs): Remove my name from here, to better reflect | |
12780 | reality. | |
12781 | ||
7df1a324 KW |
12782 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
12783 | ||
12784 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
12785 | (target_ops): Add to_have_continuable_watchpoint. | |
12786 | * target.c (update_current_target): Add INHERIT line for | |
12787 | to_have_continuable_watchpoint. | |
12788 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
12789 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
12790 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
12791 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
12792 | ||
d1c76907 EZ |
12793 | 2003-02-24 Elena Zannoni <ezannoni@redhat.com> |
12794 | ||
12795 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
12796 | maintainership. | |
12797 | ||
2610b0bf KW |
12798 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
12799 | ||
f46169db KW |
12800 | * solib.c (solib_open): Call target defined search function after |
12801 | failing with solib-search-path. | |
12802 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
12803 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 12804 | |
9a3c34fe KW |
12805 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
12806 | ||
f46169db | 12807 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 12808 | |
2417dd25 SC |
12809 | 2003-02-23 Stephane Carrez <stcarrez@nerim.fr> |
12810 | ||
12811 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
12812 | ||
b631436b SC |
12813 | 2003-02-22 Stephane Carrez <stcarrez@nerim.fr> |
12814 | ||
12815 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
12816 | (m68hc11_add_reggroups): New function. | |
12817 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
12818 | (m68hc11_gdbarch_init): Install the reggroups. | |
12819 | (_initialize_m68hc11_tdep): Initialize them. | |
12820 | ||
0aa8c1e4 JW |
12821 | 2003-02-21 James E Wilson <wilson@tuliptree.org> |
12822 | ||
12823 | * MAINTAINERS: Update my email address. | |
12824 | ||
50ceaba5 DC |
12825 | 2003-02-21 David Carlton <carlton@math.stanford.edu> |
12826 | ||
12827 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
12828 | ||
4c2df51b DJ |
12829 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
12830 | ||
12831 | Based on a patch from Daniel Berlin (dberlin@dberlin.org). | |
12832 | * symtab.h: Add opaque declarations of struct axs_value and | |
12833 | struct agent_expr. | |
12834 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
12835 | (struct location_funcs): New type. | |
12836 | (struct symbol): Add "loc" to aux_value. | |
12837 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
12838 | * dwarf2read.c: Include "dwarf2expr.h". | |
12839 | (dwarf2_symbol_mark_computed): New function. | |
12840 | (read_func_scope): Use it. | |
12841 | (var_decode_location): New function. | |
12842 | (new_symbol): Use it. | |
12843 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
12844 | ||
12845 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
12846 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
12847 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
12848 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
12849 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
12850 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
12851 | LOC_COMPUTED_ARG. | |
12852 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
12853 | * m2-exp.y (yylex): Likewise. | |
12854 | * printcmd.c (address_info, print_frame_args): Likewise. | |
12855 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
12856 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
12857 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
12858 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
12859 | * symtab.c (lookup_block_symbol): Likewise. | |
12860 | ||
5784d15e AF |
12861 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
12862 | ||
12863 | * symtab.h: Remove objc_specific struct | |
12864 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
12865 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
12866 | Have language_objc use cplus_specific struct. | |
12867 | ||
d4cad8db TT |
12868 | 2003-02-20 Tom Tromey <tromey@redhat.com> |
12869 | ||
12870 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
12871 | TYPE_NAME, when printing a String value. PR java/1075. | |
12872 | ||
2f9a90b4 AF |
12873 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
12874 | ||
d38074a8 | 12875 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 12876 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 12877 | |
6f17862b CF |
12878 | 2003-02-20 Christopher Faylor <cgf@redhat.com> |
12879 | ||
12880 | * win32-nat.c (get_image_name): Check return value from | |
12881 | ReadProcessMemory. | |
12882 | (child_xfer_memory): Ditto. | |
12883 | ||
715d1656 AO |
12884 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
12885 | ||
12886 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
12887 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
12888 | '${exec_prefix}' (in addition to the expansion thereof) as | |
12889 | relocatable. | |
12890 | * configure: Rebuilt. | |
12891 | ||
b1262a02 DC |
12892 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
12893 | ||
12894 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
12895 | 2002-12-23 patch. Add comment. | |
12896 | ||
7134143f DJ |
12897 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
12898 | ||
12899 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
12900 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
12901 | install_minimal_symbols. | |
12902 | (stabsect_build_psymtabs): Likewise. | |
12903 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
12904 | earlier. | |
12905 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
12906 | and do_cleanups earlier. | |
12907 | * nlmread.c (nlm_symfile_read): Likewise. | |
12908 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
12909 | install_minimal_symbols and make appropriate cleanups. | |
12910 | ||
cf466558 KB |
12911 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
12912 | ||
12913 | * solib.c (reload_shared_libraries): New function. | |
12914 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
12915 | and ``set solib-absolute-prefix''. | |
12916 | ||
de5ad195 DC |
12917 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
12918 | ||
12919 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
12920 | expand comment. | |
12921 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
12922 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
12923 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
12924 | * ax-gdb.c (gen_var_ref): Ditto. | |
12925 | * breakpoint.c (print_one_breakpoint): Ditto. | |
12926 | * buildsym.c (finish_block): Ditto. | |
12927 | * c-valprint.c (c_val_print): Ditto. | |
12928 | * expprint.c (print_subexp): Ditto. | |
12929 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
12930 | * infcmd.c (jump_command): Ditto. |
12931 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
12932 | * maint.c (maintenance_translate_address): Ditto. | |
12933 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
12934 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
12935 | Ditto. | |
8ffd9b1b AJ |
12936 | * p-valprint.c (pascal_val_print): Ditto. |
12937 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 12938 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
12939 | (print_frame_arg_vars, return_command): Ditto. |
12940 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
12941 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
12942 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
12943 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
12944 | (rbreak_command): Ditto. |
12945 | * tracepoint.c (tracepoints_info): Ditto. | |
12946 | * typeprint.c (typedef_print): Ditto. | |
12947 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
12948 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
12949 | * ada-typeprint.c: Update Copyright. | |
12950 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
12951 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
12952 | ||
f796e4be KB |
12953 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
12954 | ||
12955 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
12956 | * frame.h (generic_unwind_get_saved_register): Declare. | |
12957 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
12958 | current regcache when frame is NULL. | |
12959 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
12960 | that must be NULL. | |
12961 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
12962 | instead of frame_register_unwind(). | |
12963 | ||
836cc9f4 AC |
12964 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
12965 | ||
12966 | * remote-sim.c (gdbsim_insert_breakpoint) | |
12967 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
12968 | code. | |
12969 | ||
501eef12 AC |
12970 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
12971 | ||
12972 | * remote.c (_initialize_remote): Add commands "set/show remote | |
12973 | hardware-watchpoint-limit" and "set/show remote | |
12974 | hardware-breakpoint-limit". | |
12975 | (remote_hw_watchpoint_limit): Initialize to -1. | |
12976 | (remote_hw_breakpoint_limit): Ditto. | |
12977 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
12978 | ||
1b6bc7e0 CF |
12979 | 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk> |
12980 | ||
12981 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
12982 | portable executable using the export table. | |
12983 | * coff-pe-read.h: New file. | |
12984 | * coffread.c: Include coff-pe-read.h. | |
12985 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
12986 | debugging symbols found. | |
12987 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
12988 | (coff_pe_read_h): Define. | |
12989 | (COMMON_OBS): Add coff-pe-read.o. | |
12990 | (coffread.o): Add coff_pe_read_h dependency. | |
12991 | (coff-pe-read.o): New target. | |
12992 | ||
fe898f56 DC |
12993 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
12994 | ||
12995 | * Makefile.in (SFILES): Add block.c. | |
12996 | (block_h): New. | |
12997 | (COMMON_OBS): Add block.o. | |
12998 | (block.o): New. | |
12999 | (x86-64-tdep.o): Add $(block_h). | |
13000 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
13001 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
13002 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
13003 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
13004 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
13005 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
13006 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
13007 | * value.h: Add opaque declaration for struct block. | |
13008 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
13009 | * ada-lang.h: Ditto. | |
13010 | * x86-64-tdep.c: #include "block.h" | |
13011 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
13012 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
13013 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
13014 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
13015 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
13016 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
13017 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
13018 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
13019 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
13020 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
13021 | * symtab.c (block_function): Ditto. | |
13022 | (contained_in): Ditto. | |
13023 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
13024 | block.h. Add opaque declaration for struct block. | |
13025 | * symtab.h: Move block_function and contained_in declarations to | |
13026 | block.h. Add opaque declarations for struct block, struct | |
13027 | blockvector. | |
13028 | (struct block): Move to block.h. | |
13029 | (struct blockvector): Ditto. | |
13030 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
13031 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
13032 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
13033 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
13034 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
13035 | Ditto. | |
13036 | * block.c: New file. | |
13037 | * block.h: New file. | |
13038 | ||
173345b5 TR |
13039 | 2003-02-19 Theodore A. Roth <troth@openavr.org> |
13040 | ||
13041 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
13042 | (avr_store_return_value): Remove function. | |
13043 | (avr_extract_struct_value_address): Remove function. | |
13044 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
13045 | ||
338ef23d AC |
13046 | 2003-02-19 Andrew Cagney <ac131313@redhat.com> |
13047 | ||
13048 | * rs6000-tdep.c: Include "gdb_assert.h". | |
13049 | (registers_e500): Add "acc" and "spefscr". | |
13050 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
13051 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
13052 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
13053 | really is "r0". | |
13054 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
13055 | ||
5412f5f3 KS |
13056 | 2003-02-18 Keith Seitz <keiths@redhat.com> |
13057 | ||
13058 | * Makefile.in: Add gdbtk-interps.c. | |
13059 | ||
881324eb KB |
13060 | 2003-02-18 Kevin Buettner <kevinb@redhat.com> |
13061 | ||
13062 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
13063 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
13064 | ||
6a2f5abf AC |
13065 | 2003-02-18 Andrew Cagney <cagney@redhat.com> |
13066 | ||
13067 | * symtab.h (struct objfile): Add opaque declaration. | |
13068 | ||
54c7009d EZ |
13069 | 2003-02-18 Elena Zannoni <ezannoni@redhat.com> |
13070 | ||
13071 | From Jim Ingham <jingham@apple.com>: | |
fbe586ae RH |
13072 | * dbxread.c (process_one_symbol): Use last_function_start rather |
13073 | than function_start_offset to find the real beginning of the | |
13074 | current function. The latter is just the text section offset on | |
13075 | some systems, the former is always the real function start. | |
54c7009d | 13076 | |
7ee6d7eb AC |
13077 | 2003-02-17 Andrew Cagney <cagney@redhat.com> |
13078 | ||
13079 | * configure.in: Revert ${target} != ${host}. | |
13080 | ||
2846da9b AC |
13081 | 2003-02-17 Andrew Cagney <ac131313@redhat.com> |
13082 | ||
13083 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
13084 | instead of the absence of the "nm.h" file, to determine of the | |
13085 | configuration non-native. | |
13086 | * configure: Regenerate. | |
8ffd9b1b | 13087 | |
3b27aeea EZ |
13088 | 2003-02-14 Elena Zannoni <ezannoni@redhat.com> |
13089 | ||
fbe586ae | 13090 | From Brian Ford <ford@vss.fsi.com> |
3b27aeea EZ |
13091 | |
13092 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
13093 | conditionalize tui_active test. | |
13094 | (lookup_cmd_1): Ditto. | |
13095 | ||
b0b1c2c0 MK |
13096 | 2003-02-14 Mark Kettenis <kettenis@gnu.org> |
13097 | ||
13098 | * configure.in: Add check for _etext. | |
13099 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
13100 | available. | |
13101 | * config.in, configure: regenerated. | |
13102 | ||
8f05cde5 DJ |
13103 | 2003-02-14 Daniel Jacobowitz <drow@mvista.com> |
13104 | ||
13105 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
13106 | ||
021e7609 AC |
13107 | 2003-02-14 Andrew Cagney <ac131313@redhat.com> |
13108 | ||
13109 | * main.c (tui_version): Delete variable. | |
13110 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
13111 | enabling tui_version. | |
13112 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
13113 | tui_version. | |
13114 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
13115 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
13116 | * defs.h (tui_version): Delete declaration. | |
13117 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
13118 | (tui-interp.o): Add rules. | |
13119 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
13120 | ||
e325dcec CF |
13121 | 2003-02-14 Christopher Faylor <cgf@redhat.com> |
13122 | ||
36ffb041 | 13123 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
13124 | just-loaded dll. |
13125 | ||
c4f90d87 JM |
13126 | 2003-02-12 Jason Molenda (jmolenda@apple.com) |
13127 | ||
fbe586ae RH |
13128 | * symmisc.c (print_objfile_statistics): Include information about |
13129 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 13130 | |
e46e5ccd KS |
13131 | 2003-02-13 Keith R Seitz <keiths@redhat.com> |
13132 | ||
13133 | * main.h (struct captured_main_args): Add interpreter_p. | |
13134 | * main.c (captured_main): Initialize interpreter_p from context. | |
13135 | * gdb.c (main): Set interpreter_p argument. | |
13136 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
13137 | ||
fe97fe9c AC |
13138 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
13139 | ||
13140 | * event-top.c (cli_command_loop): Delete declaration. | |
13141 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
13142 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
13143 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
13144 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
13145 | cli_command_loop. | |
13146 | ||
1cdac4ef AC |
13147 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
13148 | ||
13149 | * interps.h (interp_command_loop_ftype): Change return type to | |
13150 | void. | |
13151 | ||
48037ead ML |
13152 | 2003-02-12 Michal Ludvig <mludvig@suse.cz> |
13153 | ||
13154 | * x86-64-tdep.c (x86_64_extract_return_value) | |
13155 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
13156 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
13157 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
13158 | ||
033afc63 AC |
13159 | 2003-02-11 Andrew Cagney <ac131313@redhat.com> |
13160 | ||
13161 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
13162 | * aclocal.m4: Regenerate. | |
13163 | * configure: Regenerate. | |
13164 | ||
13165 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
13166 | TCL_LD_SEARCH_FLAGS. | |
13167 | ||
40d02bca ML |
13168 | 2003-02-10 Michal Ludvig <mludvig@suse.cz> |
13169 | ||
13170 | * dwarf2cfi.c: Reindented. | |
13171 | ||
11308a41 AC |
13172 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
13173 | ||
13174 | * interps.c (clear_interpreter_hooks): Convert function definition | |
13175 | to ISO C. | |
13176 | ||
e1c1c0f6 DC |
13177 | 2003-02-07 David Carlton <carlton@math.stanford.edu> |
13178 | ||
13179 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
13180 | ||
ab5d3da6 KB |
13181 | 2003-02-07 Kevin Buettner <kevinb@redhat.com> |
13182 | ||
13183 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
13184 | (struct type): ...to here. | |
13185 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
13186 | field. | |
13187 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
13188 | (replace_type): Set length on all type variants for a given type. | |
13189 | ||
b8a92b82 AC |
13190 | 2003-02-07 Andrew Cagney <ac131313@redhat.com> |
13191 | ||
13192 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
13193 | <sys/stat.h>. | |
13194 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 13195 | |
5cb316ef AC |
13196 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
13197 | ||
2555fe1a AC |
13198 | * Makefile.in (symm-nat.o): Update dependencies. |
13199 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
13200 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
13201 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
13202 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
13203 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
13204 | ||
44270758 AC |
13205 | * Makefile.in (inflow_h): Define. |
13206 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
13207 | * inftarg.c (child_stop): Delete extern declaration of | |
13208 | inferior_process_group. Include "inflow.h". | |
13209 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
13210 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
13211 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
13212 | (our_process_group, inferior_process_group): Extern declarations. | |
13213 | ||
df8f7274 AC |
13214 | * procfs.c: Include "gdb_assert.h". |
13215 | ||
5cb316ef AC |
13216 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
13217 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
13218 | * jv-typeprint.c (java_type_print_base): Ditto. | |
13219 | * typeprint.c (typedef_print): Eliminate STREQ. | |
13220 | * cli/cli-script.c (define_command, define_command): Ditto. | |
13221 | * main.c (captured_main): Ditto. | |
13222 | * values.c (lookup_internalvar): Ditto. | |
13223 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
13224 | within `if' conditional. | |
13225 | * linespec.c (decode_line_2): Ditto. | |
13226 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
13227 | (bfd_openw_with_cleanup): Ditto. | |
13228 | ||
2a28ccea MK |
13229 | 2003-02-07 Mark Kettenis <kettenis@gnu.org> |
13230 | ||
13231 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
13232 | legacy_extract_return_value and store_return_value to | |
13233 | legacy_return_value. | |
13234 | ||
786b8124 CF |
13235 | 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk> |
13236 | ||
13237 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
13238 | section load addresses for symbol handling in relocated DLLs. | |
13239 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
13240 | ||
b871e4ec FF |
13241 | 2003-02-05 Fred Fish <fnf@intrinsity.com> |
13242 | ||
13243 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
13244 | '=' and '!='. | |
13245 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
13246 | with '&' and '=='. | |
13247 | (angel_RDI_info): Ditto. | |
13248 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
13249 | with '&' and '!='. | |
13250 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 13251 | |
4389a95a | 13252 | 2003-02-05 Jim Ingham <jingham@apple.com> |
fbe586ae RH |
13253 | Keith Seitz <keiths@redhat.com> |
13254 | Elena Zannoni <ezannoni@redhat.com> | |
13255 | Andrew Cagney <ac131313@redhat.com> | |
4389a95a AC |
13256 | |
13257 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
13258 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
13259 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
13260 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
13261 | (SFILES): Add "interps.c". | |
13262 | (COMMON_OBS): Add "interps.o". | |
13263 | (interps_h, mi_main_h): Define. | |
13264 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
13265 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
13266 | * cli/cli-interp.c: New file. | |
13267 | * interps.h, interps.c: New files. | |
13268 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
13269 | by captured_main. | |
13270 | * main.c: Include "interps.h". | |
13271 | (interpreter_p): Note that it should malloc'ed. | |
13272 | (captured_command_loop): Call current_interp_command_loop. | |
13273 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
13274 | xfree and xstrdup when updating interpreter_p. Install the | |
13275 | default interpreter. Add hack to stop mi1's copyright notice | |
13276 | being encoded. | |
13277 | * event-top.h (gdb_setup_readline): Declare. | |
13278 | (gdb_disable_readline): Declare. | |
13279 | * event-top.c: Include "interps.h". | |
13280 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
13281 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
13282 | gdb_stdlog, and gdb_stdtarg. | |
13283 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
13284 | * cli-out.c (cli_out_set_stream): New function. | |
13285 | * cli-out.h (cli_out_set_stream): Declare. | |
13286 | ||
ff3b5810 MK |
13287 | 2003-02-06 Mark Kettenis <kettenis@gnu.org> |
13288 | ||
13289 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
13290 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
13291 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
13292 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
13293 | config/i386/i386v42mp.mt: Removed. | |
13294 | ||
5b729aa5 MK |
13295 | 2003-02-05 Mark Kettenis <kettenis@gnu.org> |
13296 | ||
13297 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
13298 | GDB_OSABI_SOLARIS. | |
13299 | ||
8cc15142 MC |
13300 | 2003-02-05 Michael Chastain <mec@shout.net> |
13301 | ||
13302 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
13303 | 2.12.1 and earlier versions. | |
13304 | ||
5aa5d4b9 AC |
13305 | 2003-02-05 Andrew Cagney <ac131313@redhat.com> |
13306 | ||
13307 | Remove orphaned hosts, targets and files. | |
13308 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
13309 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
13310 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
13311 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
13312 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
13313 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
13314 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
13315 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
13316 | * config/sparc/tm-sp64sim.h: Delete. | |
13317 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
13318 | hosts. | |
13319 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
13320 | mips*-dec-mach3* targets. | |
13321 | ||
b68767c1 MC |
13322 | 2003-02-04 Michael Chastain <mec@shout.net> |
13323 | ||
13324 | * NEWS: Fix typo: sepcifying -> specifying. | |
13325 | ||
5ae7ca1d MC |
13326 | 2003-02-04 Michael Chastain <mec@shout.net> |
13327 | ||
13328 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
13329 | looking towards obsoletion. | |
13330 | ||
d08a4280 MC |
13331 | 2003-02-03 Michael Chastain <mec@shout.net> |
13332 | ||
13333 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
13334 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
13335 | ||
e9be73e4 AC |
13336 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13337 | ||
13338 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
13339 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
13340 | ||
13341 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
13342 | * main.c (captured_main): Delete #ifdef MPW. | |
13343 | ||
05d57f6f AC |
13344 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13345 | ||
8ffd9b1b | 13346 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
13347 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
13348 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
13349 | * MAINTAINERS: Mark m32k as obsolete. | |
13350 | * m32r-rom.c: Obsolete file. | |
13351 | * config/m32r/m32r.mt: Obsolete file. | |
13352 | * config/m32r/tm-m32r.h: Obsolete file. | |
13353 | * m32r-stub.c: Obsolete file. | |
13354 | * m32r-tdep.c: Obsolete file. | |
13355 | ||
8b0e5691 AC |
13356 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13357 | ||
13358 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
13359 | * MAINTAINERS: Mark z8k as obsolete. | |
13360 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
13361 | * config/z8k/z8k.mt: Obsolete file. | |
13362 | * config/z8k/tm-z8k.h: Obsolete file. | |
13363 | * z8k-tdep.c: Obsolete file. | |
13364 | ||
67f16606 AC |
13365 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13366 | ||
13367 | * NEWS: Mention that the mn10200-elf is obsolete. | |
13368 | * configure.tgt: Obsolete mn10200-*-* target. | |
13369 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
13370 | mention that the mn10200 is obsolete. | |
13371 | * breakpoint.h: Ditto. | |
13372 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
13373 | * config/mn10200/mn10200.mt: Obsolete file. | |
13374 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
13375 | * mn10200-tdep.c: Obsolete file. | |
13376 | ||
fd2299bd AC |
13377 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
13378 | ||
13379 | * MAINTAINERS: Mark h8500 as obsolete. | |
13380 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
13381 | * findvar.c (value_from_register): Ditto. | |
13382 | * h8500-tdep.c: Mark file as obsolete. | |
13383 | * config/h8500/h8500.mt: Ditto. | |
13384 | * config/h8500/tm-h8500.h: Ditto. | |
13385 | * NEWS: Mention that h8500 is obsolete. | |
13386 | ||
eb9a305d DC |
13387 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13388 | ||
13389 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
13390 | start of function. | |
13391 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
13392 | ||
406fc7fb DC |
13393 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13394 | ||
13395 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
13396 | * printcmd.c (build_address_symbolic): Replace uses of | |
13397 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
13398 | SYMBOL_NAME, and asm_demangle. | |
13399 | Update copyright. | |
13400 | ||
93d91629 DC |
13401 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13402 | ||
13403 | * linespec.c (decode_compound): Extract code into | |
13404 | lookup_prefix_sym. | |
13405 | (lookup_prefix_sym): New function. | |
13406 | ||
1c5cb38e DC |
13407 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
13408 | ||
13409 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
13410 | FLOAT_COERCION_BADNESS. | |
13411 | * gdbtypes.c (rank_one_type): Replace all uses of | |
13412 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
13413 | ||
0cf824c9 JB |
13414 | 2003-02-04 Jim Blandy <jimb@redhat.com> |
13415 | ||
13416 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
13417 | section, let dwarf_macinfo_section point to it, not | |
13418 | dwarf_loc_section. | |
13419 | ||
a2d356b0 DJ |
13420 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
13421 | ||
13422 | Pointed out by Anton Blanchard <anton@samba.org>. | |
13423 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
13424 | (ppc_linux_at_sigtramp_return_path): Use it. | |
13425 | ||
2de7ced7 DJ |
13426 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
13427 | ||
13428 | * defs.h (streq): Add prototype. | |
13429 | * utils.c (streq): New function. | |
13430 | ||
13431 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
13432 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
13433 | * mdebugread.c (new_symbol): Likewise. | |
13434 | * stabsread.c (define_symbol): Likewise. | |
13435 | * coffread.c (process_coff_symbol): Likewise. | |
13436 | * dwarfread.c (new_symbol): Likewise. | |
13437 | ||
13438 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
13439 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
13440 | here. | |
13441 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
13442 | SYMBOL_INIT_DEMANGLED_NAME. | |
13443 | * objfiles.c: Include "hashtab.h". | |
13444 | (allocate_objfile): Call htab_set_functions_ex for the | |
13445 | demangled_names_hash. | |
13446 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
13447 | * objfiles.h (struct htab): Add declaration. | |
13448 | (struct objfile): Add demangled_names_hash. | |
13449 | * symfile.c: Include "hashtab.h". | |
13450 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
13451 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
13452 | SYMBOL_NAME in the bcache. | |
13453 | * symtab.c: Include "hashtab.h". Update comments. | |
13454 | (create_demangled_names_hash, symbol_set_names): New functions. | |
13455 | (symbol_find_demangled_name): New function, broken out from | |
13456 | symbol_init_demangled_names. | |
13457 | (symbol_init_demangled_names): Use it. | |
13458 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
13459 | (SYMBOL_SET_NAMES): New macro. | |
13460 | (symbol_set_names): Add prototype. | |
13461 | ||
15831452 JB |
13462 | 2003-02-03 Jim Blandy <jimb@redhat.com> |
13463 | ||
13464 | Use a single, consistent representation for an empty minimal | |
13465 | symbol table in an objfile. | |
13466 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
13467 | (allocate_objfile): Call it. | |
13468 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
13469 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 13470 | non-NULL. |
15831452 JB |
13471 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
13472 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
13473 | instead of comparing msymbols with NULL. | |
13474 | * objfiles.c (have_minimal_symbols): Same. | |
13475 | * solib-sunos.c (solib_add_common_symbols): Call | |
13476 | terminate_minimal_symbol_table. | |
13477 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 13478 | |
ffc65945 KB |
13479 | 2003-02-03 Kevin Buettner <kevinb@redhat.com> |
13480 | ||
13481 | * s390-tdep.c (s390_address_class_type_flags) | |
13482 | (s390_address_class_type_flags_to_name) | |
13483 | (s390_address_class_name_to_type_flags): New functions. | |
13484 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
13485 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
13486 | ||
f211c6d4 MS |
13487 | 2003-02-03 Michael Snyder <msnyder@redhat.com> |
13488 | ||
13489 | * arm-tdep.c: Fix spell-o in comment. | |
13490 | ||
659b0389 ML |
13491 | 2003-02-03 Michal Ludvig <mludvig@suse.cz> |
13492 | ||
13493 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
13494 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 13495 | error messages to contain BFD filename. |
659b0389 | 13496 | |
3b31d625 EZ |
13497 | 2003-02-02 Elena Zannoni <ezannoni@redhat.com> |
13498 | ||
997b089a | 13499 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
13500 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
13501 | (do_mixed_source_and_assembly): Use | |
13502 | make_cleanup_ui_out_tuple_begin_end and | |
13503 | make_cleanup_ui_out_tuple_begin_end. | |
13504 | (do_mixed_source_and_assembly): Ditto. | |
13505 | * thread.c (do_captured_list_thread_ids): Ditto. | |
13506 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
13507 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
13508 | ui_out_tuple_end): Delete prototypes. | |
13509 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
13510 | ui_out_list_end, ui_out_tuple_end): Delete. | |
13511 | ||
13512 | From Kevin Buettner <kevinb@redhat.com>: | |
13513 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
13514 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
13515 | (do_cleanup_table_end): New functions. | |
13516 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
13517 | Use cleanups to invoke_ui_out_tuple_end(). | |
13518 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
13519 | * cli/cli-setshow.c (cmd_show_list): Use |
13520 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 13521 | |
5b181d62 AC |
13522 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
13523 | ||
13524 | * frame.c (frame_unwind_register): New function. | |
13525 | (frame_unwind_unsigned_register): Use. | |
13526 | (frame_unwind_signed_register): Use. | |
13527 | (frame_read_register): New function. | |
13528 | * frame.h (frame_unwind_register): Declare. | |
13529 | (frame_read_register): Declare. | |
13530 | ||
13531 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
13532 | and frame_unwind_register instead of read_memory, write_register | |
13533 | and deprecated_write_register_bytes. | |
13534 | ||
5f601589 AC |
13535 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
13536 | ||
13537 | * frame.h: Note that namelen can be negative. | |
13538 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
13539 | NAME's length. | |
13540 | ||
13541 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
13542 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
13543 | (d10v_print_registers_info): New function. | |
13544 | (show_regs): Call d10v_print_registers_info. | |
13545 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
13546 | ||
6a3fe0a4 MK |
13547 | 2003-02-02 Mark Kettenis <kettenis@gnu.org> |
13548 | ||
13549 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
13550 | lost in the previous patch. | |
13551 | ||
075559bc AC |
13552 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13553 | ||
13554 | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) | |
fbe586ae RH |
13555 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
13556 | for synthesized frames. | |
075559bc | 13557 | |
6789195b AC |
13558 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
13559 | ||
13560 | * mips-nat.c (zerobuf): Delete. | |
13561 | (fetch_inferior_registers): Alloc local zerobuf. | |
13562 | (fetch_core_registers): Alloc local zerobuf. | |
13563 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
13564 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
13565 | * thread-db.c (thread_db_store_registers): Ditto. | |
13566 | * sh-tdep.c (sh_do_register): Ditto. | |
13567 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
13568 | * remote-sim.c (gdbsim_store_register): Ditto. | |
13569 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
13570 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
13571 | * monitor.c (monitor_supply_register): Ditto. | |
13572 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
13573 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
13574 | * m68klinux-nat.c (fetch_register): Ditto. | |
13575 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
13576 | (fetch_inferior_registers): Ditto. | |
13577 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
13578 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
13579 | (hpux_thread_store_registers): Ditto. | |
13580 | * hppah-nat.c (fetch_register): Ditto. | |
13581 | * hppab-nat.c (fetch_register): Ditto. | |
13582 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
13583 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
13584 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
13585 | ||
e669114a AC |
13586 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13587 | ||
13588 | * gdbarch.sh: Explictly specify all method levels. When a | |
13589 | variable with an empty level, provide a non-multi-arch default. | |
13590 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
13591 | * gdbarch.h: Re-generate. | |
13592 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
13593 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
13594 | ||
9a043c1d AC |
13595 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13596 | ||
13597 | * defs.h (host_pointer_to_address): Delete declaration. | |
13598 | (address_to_host_pointer): Delete declaration. | |
13599 | * utils.c (host_pointer_to_address): Delete function. | |
13600 | (address_to_host_pointer): Delete function. | |
13601 | * procfs.c (procfs_address_to_host_pointer): New function. | |
13602 | * procfs.c (proc_set_watchpoint): Use. | |
13603 | (procfs_can_use_hw_breakpoint): Update comments. | |
13604 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
13605 | (som_solib_add): Use. | |
13606 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
13607 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 13608 | |
7ca9f392 AC |
13609 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13610 | ||
94bbfd30 AC |
13611 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
13612 | strlen d_name. | |
13613 | ||
7ca9f392 AC |
13614 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
13615 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
13616 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
13617 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
13618 | (define_symbol): Update. | |
13619 | * symfile.c (generic_load): Remove references to nindy. | |
13620 | * symtab.c: Remove references to nindy. | |
13621 | ||
31a85ea2 AC |
13622 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
13623 | ||
13624 | * infcmd.c (print_float_info): Delete code conditional on | |
13625 | FLOAT_INFO. | |
13626 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
13627 | * config/m68k/nm-apollo68b.h: Ditto. | |
13628 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
13629 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
13630 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
13631 | ||
f6e85fc8 MK |
13632 | 2003-02-01 Mark Kettenis <kettenis@gnu.org> |
13633 | ||
6015b6a0 MK |
13634 | * config/i386/tm-i386os9k.h: Removed. |
13635 | ||
f7a30bdf MK |
13636 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
13637 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
13638 | they're identical to i[3456]86-*-sysv* now. | |
13639 | * config/i386/i386v32.mh: Removed. | |
13640 | * config/i386/xm-i386v32.h: Removed. | |
13641 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
13642 | ||
28d52111 MK |
13643 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
13644 | ||
4d3f6bce MK |
13645 | * config/i386/i386dgux.mh: Removed. |
13646 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
13647 | ||
f6e85fc8 MK |
13648 | * configure.in: Fix typo. |
13649 | * configure: Regenerated. | |
13650 | ||
53955967 DC |
13651 | 2003-01-31 David Carlton <carlton@math.stanford.edu> |
13652 | ||
13653 | * dwarf2read.c (dwarf2_locate_sections): Set | |
13654 | dwarf_ranges_section. | |
13655 | ||
b1364885 AC |
13656 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
13657 | ||
8dbb1c65 AC |
13658 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
13659 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 13660 | |
8731e58e AC |
13661 | * utils.c: Re-indent. |
13662 | ||
b1364885 AC |
13663 | * config/djgpp/fnchange.lst: Delete nindy files. |
13664 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
13665 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
13666 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
13667 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
13668 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
13669 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
13670 | * Makefile.in (init.c): Remove nindy references. | |
13671 | (saber_gdb): Delete rule. | |
13672 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
13673 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
13674 | and a68v-nat.c. | |
13675 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
13676 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
13677 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
13678 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
13679 | nindy-share/stop.h. | |
13680 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
13681 | * saber.suppress: Delete file. | |
13682 | ||
086df311 DJ |
13683 | 2003-01-31 Daniel Jacobowitz <drow@mvista.com> |
13684 | ||
13685 | * dbxread.c (stabs_data): New static variable. | |
13686 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
13687 | (stabs_seek): New function. | |
13688 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
13689 | (read_ofile_symtab): Use stabs_seek. | |
13690 | (elfstab_build_psymtabs): Take an asection* instead of | |
13691 | an offset and size. Relocate the stabs data if necessary. | |
13692 | Save the section* for dbx_psymtab_to_symtab. | |
13693 | * dwarf2read.c: Add section variables for each debug section. | |
13694 | (dwarf2_locate_sections): Fill them in. | |
13695 | (dwarf2_read_section): Take an asection* argument. | |
13696 | Relocate the section contents if necessary. | |
13697 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
13698 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
13699 | it to dwarf2_read_section. | |
13700 | (dwarf2_build_frame_info): Update callers. | |
13701 | * elfread.c (elf_symfile_read): Update call to | |
13702 | elfstab_build_psymtabs. | |
13703 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
13704 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 13705 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
13706 | * symfile.c (symfile_dummy_outputs): New function. |
13707 | (symfile_relocate_debug_section): New function. | |
13708 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
13709 | ||
87d1b352 RH |
13710 | 2003-01-31 Richard Henderson <rth@redhat.com> |
13711 | ||
13712 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
13713 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
13714 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
13715 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
13716 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
13717 | (ALPHA_UNIQUE_REGNUM): New. | |
13718 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
13719 | ||
c48861fb AC |
13720 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
13721 | ||
13722 | * README: Remove reference to Ericsson 1800 monitor. | |
13723 | * Makefile.in (remote-es.o): Delete rule. | |
13724 | (ALLDEPFILES): Delete remote-es.c. | |
13725 | * remote-es.c: Delete file. | |
13726 | * config/m68k/es1800.mt: Delete file. | |
13727 | * config/djgpp/fnchange.lst: Update. | |
13728 | * configure.tgt: Delete m68*-ericsson-* target. | |
13729 | ||
d764a824 AF |
13730 | 2003-01-31 Adam Fedor <fedor@gnu.org> |
13731 | ||
13732 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
13733 | Remove duplicate/shadowing variable of same name. | |
13734 | ||
fe36c4f4 JB |
13735 | 2003-01-30 Jim Blandy <jimb@redhat.com> |
13736 | ||
13737 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
13738 | directory name we compute ends with a slash, and then assume that | |
13739 | that's so everywhere we use it. | |
13740 | ||
cb741690 DJ |
13741 | 2003-01-30 Daniel Jacobowitz <drow@mvista.com> |
13742 | ||
13743 | * valops.c (value_assign): Flush frame cache after stores to memory | |
13744 | also. | |
13745 | ||
96ee5227 AC |
13746 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
13747 | ||
13748 | * Makefile.in (mon960-rom.o): Delete rule. | |
13749 | * mon960-rom.c: Delete file. | |
13750 | ||
7f6104a9 AC |
13751 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
13752 | ||
13753 | * d10v-tdep.c: Include "frame-unwind.h". | |
13754 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
13755 | list. | |
13756 | (next_addr, uses_frame): Delete. | |
13757 | (struct d10v_unwind_cache): Define. | |
13758 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
13759 | Use info instead of next_addr and uses_frame globals. | |
13760 | (d10v_frame_init_saved_regs): Delete function. | |
13761 | (d10v_init_extra_frame_info): Delete function. | |
13762 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
13763 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
13764 | init_frame_pc or frame_saved_pc. | |
13765 | (d10v_pop_frame): Delete function. | |
13766 | (do_d10v_pop_frame): Delete function. | |
13767 | (d10v_frame_chain): Delete function. | |
13768 | (d10v_frame_chain_valid): Delete function. | |
13769 | (d10v_frame_pc_unwind): New function. | |
13770 | (d10v_frame_id_unwind): New function. | |
13771 | (saved_regs_unwinder): New function. | |
13772 | (d10v_frame_register_unwind): New function. | |
13773 | (d10v_frame_pop): New function. | |
13774 | (d10v_frame_unwind): New variable. | |
13775 | (d10v_frame_p): New function. | |
13776 | (d10v_frame_saved_pc): Delete function. | |
13777 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
13778 | ||
cad2e848 JB |
13779 | 2003-01-30 J. Brobecker <brobecker@gnat.com> |
13780 | ||
13781 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
13782 | causing some regressions due to a change in the default value | |
13783 | for this macro. | |
13784 | ||
af34e669 DJ |
13785 | 2003-01-29 Richard Henderson <rth@redhat.com> |
13786 | Elena Zannoni <ezannoni@redhat.com> | |
13787 | Daniel Jacobowitz <drow@mvista.com> | |
13788 | ||
13789 | Fix PR gdb/961. | |
8ffd9b1b | 13790 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
13791 | variables. |
13792 | (RANGES_SECTION): New. | |
13793 | (dwarf_ranges_buffer): New variable. | |
13794 | (struct comp_unit_head): Add member "die". | |
13795 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
13796 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
13797 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
13798 | (dwarf2_locate_sections): Likewise. | |
13799 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
13800 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
13801 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
13802 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
13803 | Look for DW_AT_ranges and return the bounding box. | |
13804 | ||
baa93fa6 CF |
13805 | 2003-01-29 Brian Ford <ford@vss.fsi.com> |
13806 | ||
13807 | * win32-nat.c (cygwin_pid): Removed as unused. | |
13808 | (child_attach): Try fall back to Cygwin pid. | |
13809 | ||
c63f977f JB |
13810 | 2003-01-29 Jim Blandy <jimb@redhat.com> |
13811 | ||
13812 | * objfiles.h (struct objfile): Doc fix. | |
13813 | ||
d62d1979 AC |
13814 | 2003-01-29 Andrew Cagney <ac131313@redhat.com> |
13815 | ||
13816 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
13817 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
13818 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
13819 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
13820 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
13821 | (FRAME_SAVED_PC): Change to a function with predicate. | |
13822 | * gdbarch.h, gdbarch.c: Re-generate. | |
13823 | ||
1ae18a04 AC |
13824 | 2003-01-28 Andrew Cagney <ac131313@redhat.com> |
13825 | ||
52287340 AC |
13826 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
13827 | ||
1ae18a04 AC |
13828 | * complaints.c (complain): Delete function. |
13829 | * complaints.h (struct deprecated_complaint): Delete definition. | |
13830 | (complain): Delete declaration. | |
13831 | ||
f2c16bd6 KB |
13832 | 2003-01-28 Kevin Buettner <kevinb@redhat.com> |
13833 | ||
13834 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
13835 | dummy frames. | |
13836 | ||
a94dd1fd AC |
13837 | 2003-01-27 Andrew Cagney <ac131313@redhat.com> |
13838 | ||
13839 | * sentinel-frame.h, sentinel-frame.c: New files. | |
13840 | * Makefile.in (frame.o): Update dependencies. | |
13841 | (SFILES): Add sentinel-frame.c. | |
13842 | (sentinel_frame_h): Define. | |
13843 | (COMMON_OBS): Add sentinel-frame.o. | |
13844 | (sentinel-frame.o): Specify dependencies. | |
13845 | * frame.c: Include "sentinel-frame.h". | |
13846 | (frame_register_unwind): Rewrite assuming that there is always a a | |
13847 | ->next frame. | |
13848 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
13849 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
13850 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
13851 | (get_current_frame): Rewrite using create_sentinel_frame and | |
13852 | unwind_to_current_frame. When possible, always create a frame. | |
13853 | (create_new_frame): Set next to the sentinel frame. | |
13854 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
13855 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
13856 | ID cache when necessary. | |
13857 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
13858 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
13859 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
13860 | get_next_frame. | |
13861 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
13862 | frame_register. | |
13863 | ||
5378adc4 DJ |
13864 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
13865 | ||
13866 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
13867 | ||
51ee2ddc DJ |
13868 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
13869 | ||
13870 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
13871 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
13872 | ||
d9feb4e7 DJ |
13873 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
13874 | ||
13875 | * configure.in: Check that -pg works if using --enable-profiling. | |
13876 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
13877 | * maint.c: Check for monstartup and _mcleanup before using them. | |
13878 | * config.in: Regenerated. | |
13879 | * configure: Regenerated. | |
13880 | ||
2d188dd3 NC |
13881 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
13882 | ||
13883 | * Add sh2e support: | |
13884 | ||
13885 | 2002-04-02 Elena Zannoni <ezannoni@redhat.com> | |
13886 | ||
13887 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
13888 | (sh2e_show_regs): New. | |
13889 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
13890 | * config/sh/tm-sh.h: Added sh2e to comments. | |
13891 | ||
cb3c37b2 JB |
13892 | 2003-01-23 Jim Blandy <jimb@redhat.com> |
13893 | ||
13894 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
13895 | symbols found)" message here; we haven't checked for a separate | |
13896 | debug info file yet, so we don't know yet. | |
13897 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
13898 | we've looked everywhere. Also, there's no need to print a special | |
13899 | message when we're loading the separate debug info file: the one | |
13900 | symbol_file_add prints is fine. | |
13901 | ||
5b5d99cf JB |
13902 | 2003-01-23 Alexander Larsson <alexl@redhat.com> |
13903 | Jim Blandy <jimb@redhat.com> | |
13904 | ||
13905 | Add support for executables whose debug info has been separated | |
13906 | out into a separate file, leaving only a link behind. | |
13907 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
13908 | and separate_debug_objfile_backlink. | |
13909 | (put_objfile_before): New declaration. | |
13910 | * symfile.c: #include "filenames.h". | |
13911 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
13912 | debug info in a separate file, read that, too. Save the addrs | |
13913 | argument, so we can use it again to read the separated debug info; | |
13914 | syms_from_objfile modifies the table we pass it. | |
13915 | (reread_symbols): After re-reading an objfile, call | |
13916 | reread_separate_symbols to refresh its separate debug info | |
13917 | objfile, if it has one. | |
13918 | (reread_separate_symbols, find_separate_debug_file, | |
13919 | get_debug_link_info, separate_debug_file_exists): New functions. | |
13920 | (debug_file_directory): New global var. | |
13921 | (_initialize_symfile): Initialize debug_file_directory, and | |
13922 | provide the new `set debug-file-directory' command to let the user | |
13923 | change it. | |
13924 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
13925 | a separate objfile, free that one too. If this is itself a | |
13926 | separate debug info objfile, clear our parent's backlink. | |
13927 | (put_objfile_before): New function. | |
13928 | * utils.c (gnu_debuglink_crc32): New function. | |
13929 | * defs.h (gnu_debuglink_crc32): New declaration. | |
13930 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
13931 | * configure.in: Handle --with-separate-debug-dir config option. | |
13932 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
13933 | * acconfig.h (DEBUGDIR): New macro. | |
13934 | * configure, aclocal.m4, config.in: Regenerated. | |
13935 | ||
7e8580c1 JB |
13936 | 2003-01-22 Jim Blandy <jimb@redhat.com> |
13937 | ||
7904e09f JB |
13938 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
13939 | like the old symbol_file_add, but taking new arguments: you can | |
13940 | now pass in either a `struct section_addr_info' list to say where | |
13941 | each section is loaded, or a `struct section_offsets' table. Pass | |
13942 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 13943 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
13944 | with the appropriate quiescent values for the new arguments. |
13945 | ||
7e8580c1 JB |
13946 | * symfile.c: #include "gdb_assert.h". |
13947 | (syms_from_objfile): Add the ability to pass in a section offset | |
13948 | table directly, as an alternative to the section_addr_info table. | |
13949 | Document arguments better. | |
13950 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
13951 | * symfile.h (syms_from_objfile): Update declaration. | |
13952 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
13953 | syms_from_objfile. | |
13954 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
13955 | ||
d28f9cdf DJ |
13956 | 2003-01-22 Daniel Jacobowitz <drow@mvista.com> |
13957 | ||
13958 | Original patch by Tom Tromey <tromey@cygnus.com> and | |
13959 | Jason Molenda <jmolenda@apple.com>. | |
13960 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
13961 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
13962 | * NEWS: Mention profiling. | |
13963 | * configure.in (--enable-gdbtk): Fix typo. | |
13964 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
13965 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
13966 | Fill in function. | |
13967 | (profiling_state): New variable. | |
13968 | (mcleanup_wrapper): New function. | |
13969 | (_initialize_maint): Remove NOTYET, fix call to | |
13970 | add_setshow_boolean_cmd for "maint set profile". | |
13971 | * configure: Regenerated. | |
13972 | ||
df21e465 MH |
13973 | 2003-01-21 Martin M. Hunt <hunt@redhat.com> |
13974 | ||
13975 | * Makefile.in (install-gdbtk): Install PNG images too. | |
13976 | ||
73c1f219 AC |
13977 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
13978 | ||
13979 | * exec.c (text_start): Delete global variable. | |
13980 | (exec_file_attach): Make text_start local to the function. | |
13981 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
13982 | * valops.c (hand_function_call): Delete code that handles | |
13983 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
13984 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
13985 | of CALL_DUMMY_LOCATION. | |
13986 | * gdbarch.c: Regenerate. | |
13987 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
13988 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
13989 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
13990 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
13991 | (text_end): Delete extern declaration. | |
13992 | ||
eb4f72c5 AC |
13993 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
13994 | ||
13995 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
13996 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
13997 | (frame_chain_valid): Delete check for backtrace_below_main. | |
13998 | (_initialize_blockframe): Delete initialization, move ``set | |
13999 | backtrace-below-main'' command to "frame.c". | |
14000 | (do_flush_frames_sfunc): Delete function. | |
14001 | * frame.c: Include "command.h" and "gdbcmd.h". | |
14002 | (frame_type_from_pc): New function. | |
14003 | (create_new_frame): Use frame_type_from_pc. | |
14004 | (legacy_get_prev_frame): New function. | |
14005 | (get_prev_frame): Rewrite. When an old style frame, call | |
14006 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
14007 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
14008 | * Makefile.in (frame.o): Update dependencies. | |
14009 | ||
778ce8cc AC |
14010 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
14011 | ||
14012 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
14013 | DEPRECATED_REGISTERS_INFO. | |
14014 | ||
01c193c8 AC |
14015 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
14016 | ||
14017 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
14018 | Maintainers'. Update `Various Maintainers'. | |
14019 | ||
dedc2a2b AC |
14020 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
14021 | ||
14022 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
14023 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
14024 | Suppress actual parameters when `-'. | |
14025 | * gdbarch.h, gdbarch.c: Regenerate. | |
14026 | ||
b7261c70 AC |
14027 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
14028 | ||
14029 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
14030 | code handling dummy frames. | |
14031 | ||
dbe9fe58 AC |
14032 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
14033 | ||
14034 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
14035 | (struct frame_unwind): Add field pop. | |
14036 | * frame.h (frame_pop): Declare. | |
14037 | * frame.c (frame_saved_regs_pop): New function. | |
14038 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
14039 | (frame_pop): New function. | |
14040 | * dummy-frame.c (dummy_frame_pop): New function. | |
14041 | (discard_innermost_dummy): New function. | |
14042 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
14043 | (dummy_frame_unwind): Add dummy_frame_pop. | |
14044 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
14045 | * valops.c (hand_function_call): Ditto. | |
14046 | * stack.c (return_command): Ditto. | |
14047 | ||
570b8f7c AC |
14048 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
14049 | ||
14050 | * cris-tdep.c: Fix function declaration indentation. | |
14051 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
14052 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
14053 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
14054 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
14055 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
14056 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
14057 | ||
14058 | 2003-01-18 Michael Chastain <mec@shout.net> | |
eaec4d85 MC |
14059 | |
14060 | * README (Unpacking and Installation -- quick overview): | |
14061 | Warn against ".../gdb-5.3/gdb/configure". | |
14062 | ||
494cca16 AC |
14063 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
14064 | ||
14065 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
14066 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
14067 | (struct frame_unwind): Declare opaque. | |
14068 | (dummy_frame_p): Declare function. | |
14069 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
14070 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
14071 | * dummy-frame.c: Include "frame-unwind.h". | |
14072 | (dummy_frame_p): New function. | |
14073 | (dummy_frame_unwind): New variable. | |
14074 | * frame.c: Include "frame-unwind.h". | |
14075 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
14076 | to use the new unwind field. | |
14077 | (set_unwind_by_pc): Delete function. | |
14078 | (create_new_frame, get_prev_frame): Set unwind field using | |
14079 | frame_unwind_find_by_pc. | |
14080 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
14081 | * frame.h (trad_frame_unwind): Declare variable. | |
14082 | (frame_id_unwind_ftype): Delete declaration. | |
14083 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
14084 | (struct frame_unwind): Declare opaque. | |
14085 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
14086 | register_unwind with a single unwind pointer. | |
14087 | * frame-unwind.h, frame-unwind.c: New files. | |
14088 | * Makefile.in (SFILES): Add frame-unwind.c. | |
14089 | (frame_unwind_h): Define. | |
14090 | (COMMON_OBS): Add frame-unwind.o. | |
14091 | (frame-unwind.o): Specify dependencies. | |
14092 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 14093 | |
4efb68b1 AC |
14094 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
14095 | ||
14096 | * ada-valprint.c: Eliminate PTR. | |
14097 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
14098 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
14099 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
14100 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
14101 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
14102 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
14103 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 14104 | |
a84d24ee AC |
14105 | 2003-01-17 Andrew Cagney <ac131313@redhat.com> |
14106 | ||
762f08a3 AC |
14107 | * main.c (captured_main): Don't use PTR. |
14108 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
14109 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
14110 | (lookup_struct_elt_type): Ditto. | |
14111 | * f-valprint.c (info_common_command): Ditto. | |
14112 | (list_all_visible_commons): Ditto. | |
14113 | * jv-typeprint.c (java_type_print_base): Ditto. | |
14114 | ||
a84d24ee AC |
14115 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
14116 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
14117 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
14118 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
14119 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
14120 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
14121 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
14122 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
14123 | * main.c (captured_main): Use xfree, not free. | |
14124 | ||
c170fb60 AC |
14125 | 2003-01-16 Andrew Cagney <ac131313@redhat.com> |
14126 | ||
14127 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
14128 | ID back using a parameter. | |
14129 | * frame.c (frame_id_unwind): Update call. | |
14130 | (frame_saved_regs_id_unwind): Update. | |
14131 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
14132 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
14133 | (dummy_frame_id_unwind): Update declaration. | |
14134 | ||
867f3898 AC |
14135 | 2003-01-15 Andrew Cagney <ac131313@redhat.com> |
14136 | ||
14137 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
14138 | ||
40622be8 | 14139 | 2003-01-15 Stephen P. Smith <ischis2@cox.net> |
de3a8c23 | 14140 | |
40622be8 | 14141 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 14142 | |
ae66c1fc EZ |
14143 | 2003-01-14 Elena Zannoni <ezannoni@redhat.com> |
14144 | ||
997b089a | 14145 | Fix PR gdb/898 |
ae66c1fc EZ |
14146 | * breakpoint.c (until_break_command): Add new argument. Use it to |
14147 | decide whether to stop only at the current frame or not. | |
14148 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 14149 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
14150 | call. |
14151 | (advance_command): New function. | |
14152 | (_initialize_infcmd): Update help string for 'until' command. | |
14153 | Add new 'advance' command. | |
14154 | ||
a04257e6 DC |
14155 | 2003-01-14 David Carlton <carlton@math.stanford.edu> |
14156 | ||
14157 | * linespec.c (decode_line_1): Normalize comments. | |
14158 | (set_flags): Ditto. | |
14159 | (locate_first_half): Ditto. | |
14160 | (decode_compound): Ditto. | |
14161 | (symtab_from_filename): Ditto. | |
14162 | (decode_all_digits): Ditto. | |
14163 | (decode_dollar): Ditto. | |
14164 | (find_methods): Ditto. | |
14165 | (find_toplevel_char): Ditto. | |
14166 | ||
1bac305b AC |
14167 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
14168 | ||
14169 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
14170 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
14171 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
14172 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
14173 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
14174 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
14175 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
14176 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
14177 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
14178 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
14179 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
14180 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
14181 | ||
25caa7a8 EZ |
14182 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
14183 | ||
14184 | * stabsread.h (process_later, resolve_cfront_continuation): | |
14185 | Obsolete. | |
14186 | Update copyright years. | |
14187 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
14188 | Update copyright year. | |
14189 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 14190 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
14191 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
14192 | Update copyright year. | |
14193 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
14194 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
14195 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
14196 | (parse_partial_symbols): Obsolete cfront support. | |
14197 | * stabsread.c | |
14198 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
14199 | macros. | |
14200 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
14201 | read_cfront_baseclasses, read_cfront_member_functions, | |
14202 | resolve_cfront_continuation,read_cfront_static_fields, | |
14203 | copy_cfront_struct_fields): Obsolete functions. | |
14204 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
14205 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
14206 | Update Copyright year. | |
14207 | ||
7789c6f5 EZ |
14208 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
14209 | ||
14210 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
14211 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
14212 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
14213 | print_only_stack_frame): Delete functions. | |
14214 | (print_stack_frame_stub): Call print_frame_info instead of | |
14215 | print_frame_info_base. | |
14216 | (print_frame_info_base): Rename to print_frame_info. | |
14217 | (backtrace_command_1): Call print_frame_info, instead of | |
14218 | print_frame_info_base. | |
14219 | (current_frame_command): Call print_stack_frame, instead of | |
14220 | print_only_stack_frame. | |
14221 | (frame_command): Call print_stack_frame, instead of | |
14222 | show_and_print_stack_frame. | |
14223 | (up_command): Ditto. | |
14224 | (down_command): Ditto. | |
14225 | * frame.h (print_only_stack_frame): Delete prototype. | |
14226 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
14227 | show_and_print_stack_frame. | |
14228 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
14229 | of print_only_stack_frame. | |
14230 | ||
3f5a3016 AC |
14231 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
14232 | ||
d99ba314 AC |
14233 | * README (Graphical interface to GDB): Update URL. Point at |
14234 | gdb/links/. | |
14235 | ||
3f5a3016 AC |
14236 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
14237 | version match. | |
14238 | ||
083ae935 DJ |
14239 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14240 | ||
14241 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
14242 | lines. | |
14243 | ||
5365276c DJ |
14244 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14245 | ||
14246 | * thread-db.c (attach_thread): Prototype. | |
14247 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
14248 | thread information (ti), and valid flags (th_valid, ti_valid). | |
14249 | (attach_thread): Move target_pid_to_str call to after the thread | |
14250 | is added to GDB's list. Initialize the cache. | |
14251 | (thread_get_info_callback, thread_db_map_id2thr) | |
14252 | (thread_db_get_info): New functions. | |
14253 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
14254 | (thread_db_store_registers, thread_db_thread_alive) | |
14255 | (thread_db_get_thread_local_address): Use them. | |
14256 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
14257 | of calling error() for threads in unknown state. | |
14258 | ||
14259 | (clear_lwpid_callback): New function. | |
14260 | (thread_db_resume): Use it to clear the cache. | |
14261 | ||
9fc30b6b DJ |
14262 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14263 | ||
14264 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
14265 | (resume_callback): Remove dead code. | |
14266 | ||
8f871025 AC |
14267 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
14268 | ||
14269 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
14270 | predicate. | |
14271 | * gdbarch.h, gdbarch.c: Regenerate. | |
14272 | * stack.c (frame_info): Only initialize the saved registers when | |
14273 | FRAME_INIT_SAVED_REGS_P. | |
14274 | * frame.c (frame_saved_regs_register_unwind): Assert | |
14275 | FRAME_INIT_SAVED_REGS_P. | |
14276 | (deprecated_generic_get_saved_register): Ditto. | |
14277 | ||
3f565f1e DJ |
14278 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14279 | ||
14280 | * source.c (openp): Squelch warning about "filename". | |
14281 | ||
072b1022 DJ |
14282 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14283 | ||
14284 | * source.c (openp): If the file does not exist don't necessarily | |
14285 | search the path. | |
14286 | ||
973ccf8b DJ |
14287 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14288 | ||
14289 | Fix PR gdb/872. | |
14290 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
14291 | (integer_types_same_name_p): New function. | |
14292 | (rank_one_type): Use it. | |
14293 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
14294 | ||
030292b7 DJ |
14295 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
14296 | ||
14297 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
14298 | variables. | |
14299 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
14300 | * configure.in: Add --with-sysroot. | |
14301 | * configure: Regenerated. | |
14302 | * main.c (gdb_sysroot): New variable. | |
14303 | (captured_main): Initialize gdb_sysroot. | |
14304 | * defs.h (gdb_sysroot): New extern declaration. | |
14305 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
14306 | ||
afb5d334 MC |
14307 | 2003-01-12 Michael Chastain <mec@shout.net> |
14308 | ||
14309 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
14310 | ||
751ceeb4 MC |
14311 | 2003-01-12 Michael Chastain <mec@shout.net> |
14312 | ||
14313 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
14314 | ||
94cd26f8 DC |
14315 | 2003-01-12 David Carlton <carlton@bactrian.org> |
14316 | ||
14317 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
14318 | 'file_symtab'. | |
14319 | ||
1ce79225 AC |
14320 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
14321 | ||
14322 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
14323 | dummy frame. | |
14324 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
14325 | ||
fa1fd571 AC |
14326 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
14327 | ||
14328 | * d10v-tdep.c: Include "gdb_assert.h". | |
14329 | (d10v_store_return_value): Rewrite to match current interface. | |
14330 | (d10v_extract_struct_value_address): Ditto. | |
14331 | (d10v_extract_return_value): Ditto. | |
14332 | (d10v_gdbarch_init): Set store_restore_value, | |
14333 | extract_struct_value_address and extract_return_value. | |
14334 | ||
68b8d23e JB |
14335 | 2003-01-12 J. Brobecker <brobecker@gnat.com> |
14336 | ||
14337 | * hpread.c (set_namestring): New procedure replacing the | |
14338 | SET_NAMESTRING macro. | |
14339 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
14340 | by calls to set_namestring. | |
14341 | ||
14342 | 2003-01-11 J. Brobecker <brobecker@gnat.com> | |
1fb309ea JB |
14343 | |
14344 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
14345 | a compilation warning. | |
14346 | (hpread_process_one_debug_symbol): Likewise. | |
14347 | ||
88d262ca DC |
14348 | 2003-01-10 David Carlton <carlton@math.stanford.edu> |
14349 | ||
14350 | * linespec.c (decode_line_1): Rename variable 's' to | |
14351 | 'file_symtab'. | |
14352 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
14353 | (decode_dollar): Ditto. | |
14354 | (decode_variable): Ditto. | |
14355 | (symbol_found): Ditto. | |
14356 | ||
86669319 MC |
14357 | 2003-01-09 Michael Chastain <mec@shout.net> |
14358 | ||
14359 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
14360 | ||
616a9dc4 CV |
14361 | 2003-01-07 Corinna Vinschen <vinschen@redhat.com> |
14362 | ||
14363 | * win32-nat.c (set_process_privilege): New function. | |
14364 | (child_attach): Call set_process_privilege() to enable the | |
14365 | SE_DEBUG_NAME user privilege if available in process token. | |
14366 | ||
3269bcfa JB |
14367 | 2003-01-10 J. Brobecker <brobecker@gnat.com> |
14368 | ||
14369 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
14370 | compilation error in the previous revision. | |
14371 | ||
2b0ee454 DC |
14372 | 2003-01-09 David Carlton <carlton@math.stanford.edu> |
14373 | ||
14374 | * linespec.c: Update copyright. | |
14375 | ||
b3ba1b44 DJ |
14376 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
14377 | ||
14378 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
14379 | than inferior_ptid. | |
14380 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
14381 | ||
4ef3f3be AC |
14382 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
14383 | ||
479ab5a0 AC |
14384 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
14385 | Update comments. | |
14386 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
14387 | (frame_saved_regs_zalloc): Update. | |
14388 | (frame_saved_regs_register_unwind): Update. | |
14389 | (create_new_frame): Update. | |
14390 | (get_prev_frame): Update. | |
14391 | (frame_extra_info_zalloc): Update. | |
14392 | (deprecated_get_frame_saved_regs): Update. | |
14393 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
14394 | * cris-tdep.c: Update comment. | |
14395 | ||
bde58177 AC |
14396 | * somsolib.h: Fix function indentation. |
14397 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
14398 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
14399 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
14400 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
14401 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
14402 | ||
4ef3f3be AC |
14403 | * infrun.c (follow_fork): Use ISO C definition. |
14404 | * expprint.c (print_subexp): Use xfree instead of free. | |
14405 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
14406 | (register_iconv_charsets): Use ISO C definition. | |
14407 | (host_charset, target_charset): Ditto. | |
14408 | * Makefile.in (charset.o): Update dependencies. | |
14409 | (mi-cmd-env.o): Update dependencies. | |
14410 | ||
1c615f7a AC |
14411 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14412 | ||
14413 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
14414 | get_frame_base. | |
14415 | ||
c9a1dc08 AC |
14416 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
14417 | ||
14418 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
14419 | build directories. Save edited gdb output in Mbuild.log. If a | |
14420 | build fails, remove any final GDB executable. | |
14421 | ||
dbad9d94 AC |
14422 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
14423 | ||
14424 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
14425 | replacing hex constants with function names and stripping leading | |
14426 | file name directory prefixes. | |
14427 | ||
8d357cca AC |
14428 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14429 | ||
14430 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
14431 | get_frame_base. | |
14432 | ||
bca02a8a DC |
14433 | 2003-01-08 David Carlton <carlton@math.stanford.edu> |
14434 | ||
14435 | * linespec.c (decode_line_1): Move code into decode_variable. | |
14436 | (decode_variable): New function. | |
14437 | ||
7f8ab3a0 AC |
14438 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
14439 | ||
14440 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
14441 | ||
7b5849cc AC |
14442 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14443 | ||
14444 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
14445 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
14446 | saved_regs buffer. | |
14447 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
14448 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
14449 | (sh_fp_frame_init_saved_regs): Ditto. | |
14450 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
14451 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
14452 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
14453 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
14454 | ||
72a5efb3 DJ |
14455 | 2003-01-08 Daniel Jacobowitz <drow@mvista.com> |
14456 | ||
14457 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
14458 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
14459 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
14460 | ||
11c02a10 AC |
14461 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
14462 | ||
aab3ea25 AC |
14463 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
14464 | frame_relative_level. | |
14465 | ||
da50a4b7 AC |
14466 | * alpha-tdep.c: Use get_frame_extra_info. |
14467 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14468 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
14469 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
14470 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
14471 | ||
11c02a10 AC |
14472 | * alpha-tdep.c: Use get_next_frame. |
14473 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14474 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
14475 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
14476 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
14477 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
14478 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
14479 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 14480 | |
1e2330ba AC |
14481 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14482 | ||
14483 | * alpha-tdep.c: Use get_frame_base. | |
14484 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14485 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
14486 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
14487 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
14488 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
14489 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
14490 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
14491 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 14492 | |
2d75187b AC |
14493 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14494 | ||
14495 | * frame.c (deprecated_get_frame_context): New function. | |
14496 | (deprecated_set_frame_context): New function. | |
14497 | * frame.h (deprecated_get_frame_context): Declare. | |
14498 | (deprecated_set_frame_context): Declare. | |
14499 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
14500 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 14501 | |
483d36b2 AC |
14502 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14503 | ||
14504 | * frame.c (deprecated_set_frame_next_hack): New function. | |
14505 | (deprecated_set_frame_prev_hack): New function. | |
14506 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
14507 | (deprecated_set_frame_prev_hack): Declare. | |
14508 | * mcore-tdep.c (analyze_dummy_frame): Use | |
14509 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
14510 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
14511 | ||
14e91ac5 DC |
14512 | 2003-01-07 David Carlton <carlton@math.stanford.edu> |
14513 | ||
14514 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
14515 | (decode_dollar): New function. | |
14516 | ||
b0c6b05c AC |
14517 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14518 | ||
14519 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
14520 | deprecated_update_frame_base_hack. | |
14521 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
14522 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
14523 | (fix_frame_pointer): Ditto. | |
14524 | (mn10300_analyze_prologue): Ditto. | |
14525 | ||
a00a19e9 AC |
14526 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
14527 | ||
14528 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
14529 | extra_info using frame_extra_info_zalloc. | |
14530 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
14531 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
14532 | (sh64_init_extra_frame_info): Ditto. | |
14533 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
14534 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
14535 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
14536 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
14537 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
14538 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
14539 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
14540 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
14541 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
14542 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
14543 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
14544 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
14545 | ||
14546 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
14547 | deprecated_set_frame_extra_info_hack. | |
14548 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
14549 | ||
1fb4c65b JB |
14550 | 2003-01-07 J. Brobecker <brobecker@gnat.com> |
14551 | ||
14552 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
14553 | class is not scText. These do not define "real" procedures. | |
14554 | (parse_partial_symbols): Likewise. | |
14555 | ||
9fe7d6bf MS |
14556 | 2003-01-06 Michael Snyder <msnyder@redhat.com> |
14557 | ||
14558 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
14559 | ||
f6c609c4 AC |
14560 | 2003-01-06 Andrew Cagney <ac131313@redhat.com> |
14561 | ||
14562 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
14563 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
14564 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
14565 | deprecated_frame_xmalloc_with_cleanup. | |
14566 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
14567 | deprecated_frame_xmalloc. | |
14568 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
14569 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
14570 | ||
d995ff4b AC |
14571 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
14572 | ||
84dc46cb AC |
14573 | * x86-64-linux-tdep.c: Include "osabi.h". |
14574 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
14575 | ||
d995ff4b AC |
14576 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
14577 | ||
66140c26 AC |
14578 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
14579 | ||
14580 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
14581 | arm-elf. Can be built with -Werror, has been multiarched. | |
14582 | ||
14583 | * value.h (unpack_long): Make buffer parameter constant. | |
14584 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
14585 | * scm-lang.h (scm_parse): Ditto. | |
14586 | * defs.h (extract_typed_address, extract_address): Ditto. | |
14587 | (extract_long_unsigned_integer): Ditto. | |
14588 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
14589 | (signed_pointer_to_address): Ditto. | |
14590 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
14591 | * gdbarch.h, gdbarch.c: Regenerate. | |
14592 | * findvar.c (extract_long_unsigned_integer): Update. | |
14593 | (extract_address): Update. | |
14594 | (extract_typed_address): Update. | |
14595 | (unsigned_pointer_to_address): Update. | |
14596 | * values.c (unpack_long): Update. | |
14597 | (unpack_double): Update. | |
14598 | (unpack_pointer): Update. | |
14599 | (unpack_field_as_long): Update. | |
14600 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
14601 | * avr-tdep.c (avr_pointer_to_address): Update. | |
14602 | * scm-lang.c (scm_unpack): Update. | |
14603 | * findvar.c (signed_pointer_to_address): Update. | |
14604 | ||
b089b3da ML |
14605 | 2003-01-06 Michal Ludvig <mludvig@suse.cz> |
14606 | ||
8ffd9b1b | 14607 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
14608 | since it is in i386-tdep.c. |
14609 | ||
aff87235 JB |
14610 | 2003-01-06 J. Brobecker <brobecker@gnat.com> |
14611 | ||
14612 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
14613 | failure introduced in the previous change. | |
14614 | ||
34f5e845 MC |
14615 | 2003-01-05 Michael Chastain <mec@shout.net> |
14616 | ||
14617 | * README: Remove references to deleted remote-*.c files: | |
14618 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
14619 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
14620 | ||
28bcfd30 MK |
14621 | 2003-01-05 Mark Kettenis <kettenis@gnu.org> |
14622 | ||
14623 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
14624 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
14625 | i386_get_longjmp_target. | |
14626 | ||
15a5b3ee AC |
14627 | 2003-01-05 Andrew Cagney <ac131313@redhat.com> |
14628 | ||
14629 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
14630 | (_initialize_arm_tdep): Allocate prologue_cache. | |
14631 | (check_prologue_cache): Update. | |
14632 | (save_prologue_cache): Update. | |
14633 | (arm_gdbarch_init): Update. | |
14634 | ||
c263362b DJ |
14635 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14636 | ||
14637 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
14638 | instead of error. | |
14639 | ||
51603483 DJ |
14640 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14641 | ||
14642 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
14643 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
14644 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
14645 | ||
14646 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
14647 | (backtrace_below_main): New variable. | |
14648 | (file_frame_chain_valid, func_frame_chain_valid) | |
14649 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
14650 | (generic_func_frame_chain_valid): Remove functions. | |
14651 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
14652 | (_initialize_blockframe): New function. | |
14653 | * Makefile.in (blockframe.o): Update dependencies. | |
14654 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
14655 | comment. Call frame_chain_valid (). | |
14656 | * frame.h: Remove old prototypes. Add prototype for | |
14657 | frame_chain_valid and update comments to match. | |
14658 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
14659 | Remove old comment. | |
14660 | * gdbarch.h: Regenerated. | |
14661 | * gdbarch.c: Regenerated. | |
14662 | ||
14663 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
14664 | set_gdbarch_frame_chain_valid. | |
14665 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
14666 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
14667 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
14668 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
14669 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
14670 | (i386_nw_init_abi): Likewise. | |
14671 | (i386_gdbarch_init): Likewise. | |
14672 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
14673 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
14674 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
14675 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
14676 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
14677 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
14678 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
14679 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
14680 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
14681 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
14682 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
14683 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
14684 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
14685 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
14686 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
14687 | ||
14688 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
14689 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
14690 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
14691 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
14692 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
14693 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
14694 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
14695 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
14696 | ||
b00a8037 DJ |
14697 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
14698 | ||
14699 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
14700 | (config_h): Define. | |
14701 | (osabi.o): Update dependencies. | |
14702 | * configure.tgt: Set gdb_osabi based on target triplet. | |
14703 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
14704 | * configure: Regenerated. | |
14705 | * config.in: Regenerated. | |
14706 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
14707 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
14708 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
14709 | (set_osabi_string): New variables. | |
14710 | (gdbarch_register_osabi): Add new OS ABI to | |
14711 | gdb_osabi_available_names. | |
14712 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
14713 | (set_osabi, show_osabi): New functions. | |
14714 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
14715 | ||
4be87837 DJ |
14716 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14717 | ||
14718 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
14719 | GDB_OSABI_UNINITIALIZED. | |
14720 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
14721 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
14722 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
14723 | * gdbarch.c: Regenerated. | |
14724 | * gdbarch.h: Regenerated. | |
14725 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
14726 | there's no BFD. | |
14727 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
14728 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
14729 | (gdbarch_init_osabi): Update prototype. | |
14730 | * defs.h (enum gdb_osabi): Moved here. | |
14731 | * Makefile.in: Update dependencies. | |
14732 | ||
14733 | * alpha-tdep.h: Don't include "osabi.h". | |
14734 | (struct gdbarch_tdep): Remove osabi member. | |
14735 | * alpha-tdep.c: Include "osabi.h". | |
14736 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14737 | iterate over arches. Update call to gdbarch_init_osabi. | |
14738 | (alpha_dump_tdep): Don't dump osabi. | |
14739 | * alpha-linux-tdep.c: Include "osabi.h". | |
14740 | * alpha-osf1-tdep.c: Include "osabi.h". | |
14741 | * alphafbsd-tdep.c: Include "osabi.h". | |
14742 | * alphanbsd-tdep.c: Include "osabi.h". | |
14743 | ||
14744 | * arm-tdep.h: Don't include "osabi.h". | |
14745 | (struct gdbarch_tdep): Remove osabi member. | |
14746 | * arm-tdep.c: Include "osabi.h". | |
14747 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14748 | iterate over arches. Update call to gdbarch_init_osabi. | |
14749 | (arm_dump_tdep): Don't dump osabi. | |
14750 | * arm-linux-tdep.c: Include "osabi.h". | |
14751 | * armnbsd-tdep.c: Include "osabi.h". | |
14752 | ||
14753 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
14754 | Update call to gdbarch_init_osabi. | |
14755 | ||
14756 | * i386-tdep.h: Don't include "osabi.h". | |
14757 | (struct gdbarch_tdep): Remove osabi member. | |
14758 | * i386-tdep.c: Include "osabi.h". | |
14759 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14760 | iterate over arches. Update call to gdbarch_init_osabi. | |
14761 | (i386_dump_tdep): Don't dump osabi. | |
14762 | * i386-linux-tdep.c: Include "osabi.h". | |
14763 | * i386-sol2-tdep.c: Include "osabi.h". | |
14764 | * i386bsd-tdep.c: Include "osabi.h". | |
14765 | * i386gnu-tdep.c: Include "osabi.h". | |
14766 | * i386ly-tdep.c: Include "osabi.h". | |
14767 | * i386nbsd-tdep.c: Include "osabi.h". | |
14768 | * i386obsd-tdep.c: Include "osabi.h". | |
14769 | ||
14770 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
14771 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14772 | check osabi when iterating over arches. Update call to | |
14773 | gdbarch_init_osabi. | |
14774 | (mips_dump_tdep): Don't dump osabi. | |
14775 | ||
14776 | * ns32k-tdep.h: Don't include "osabi.h". | |
14777 | (struct gdbarch_tdep): Remove. | |
14778 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
14779 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
14780 | allocate tdep. Update call to gdbarch_init_osabi. | |
14781 | (ns32k_dump_tdep): Remove. | |
14782 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
14783 | * ns32knbsd-tdep.c: Include "osabi.h". | |
14784 | ||
14785 | * ppc-tdep.h: Don't include "osabi.h". | |
14786 | (struct gdbarch_tdep): Remove osabi member. | |
14787 | * rs6000-tdep.c: Include "osabi.h". | |
14788 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
14789 | osabi when iterating over arches. Update call to | |
14790 | gdbarch_init_osabi. | |
14791 | (rs6000_dump_tdep): Don't dump osabi. | |
14792 | * ppc-linux-tdep.c: Include "osabi.h". | |
14793 | * ppcnbsd-tdep.c: Include "osabi.h". | |
14794 | ||
14795 | * sh-tdep.h: Don't include "osabi.h". | |
14796 | (struct gdbarch_tdep): Remove osabi member. | |
14797 | * sh-tdep.c: Include "osabi.h". | |
14798 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14799 | iterate over arches. Update call to gdbarch_init_osabi. | |
14800 | (sh_dump_tdep): Don't dump osabi. | |
14801 | * shnbsd-tdep.c: Include "osabi.h". | |
14802 | ||
14803 | * sparc-tdep.c: Include "osabi.h". | |
14804 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14805 | iterate over arches. Update call to gdbarch_init_osabi. | |
14806 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
14807 | tdep structure. | |
14808 | ||
14809 | * vax-tdep.h: Don't include "osabi.h". | |
14810 | (struct gdbarch_tdep): Remove. | |
14811 | * vax-tdep.c: Include "osabi.h". | |
14812 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
14813 | iterate over arches. Don't allocate tdep. Update call | |
14814 | to gdbarch_init_osabi. | |
14815 | (vax_dump_tdep): Remove. | |
14816 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
14817 | ||
a881cf8e DJ |
14818 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14819 | ||
14820 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
14821 | entirely. | |
14822 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
14823 | watchpoint. | |
14824 | ||
1e698235 DJ |
14825 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14826 | ||
14827 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
14828 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
14829 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14830 | * gdbarch.c: Regenerate. | |
14831 | * gdbarch.h: Regenerate. | |
14832 | * Makefile.in: Remove value_h from gdbarch_h. | |
14833 | * valops.c (coerce_float_to_double): New variable. | |
14834 | (default_coerce_float_to_double): Remove. | |
14835 | (standard_coerce_float_to_double): Remove. | |
14836 | (value_arg_coerce): Use coerce_float_to_double. | |
14837 | (_initialize_valops): Add "set coerce-float-to-double". | |
14838 | * value.h (default_coerce_float_to_double): Remove prototype. | |
14839 | (standard_coerce_float_to_double): Remove prototype. | |
14840 | ||
14841 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
14842 | prototyped. | |
14843 | * mdebugread.c (parse_symbol): Likewise. | |
14844 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
14845 | ||
14846 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
14847 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
14848 | set_gdbarch_coerce_float_to_double. | |
14849 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
14850 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
14851 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
14852 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
14853 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
14854 | (mips_coerce_float_to_double): Remove. | |
14855 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
14856 | (rs6000_coerce_float_to_double): Remove. | |
14857 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
14858 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
14859 | (sh_coerce_float_to_double): Remove. | |
14860 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
14861 | (sparc_coerce_float_to_double): Remove. | |
14862 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
14863 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
14864 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14865 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14866 | (hppa_coerce_float_to_double): Remove prototype. | |
14867 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
14868 | ||
f436a26a DJ |
14869 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14870 | ||
14871 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
14872 | ||
248f8055 DJ |
14873 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
14874 | ||
14875 | Suggested by Stewart Brown <sb24@avaya.com>: | |
14876 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
14877 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
14878 | (c_type_print_varspec_suffix): Likewise. | |
14879 | ||
72cfdc76 MK |
14880 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
14881 | ||
bfd260bb MK |
14882 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
14883 | * configure: Regenerated. | |
14884 | ||
72cfdc76 MK |
14885 | * configure.in: Remove code dealing with shared libraries. |
14886 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
14887 | * configure: Regenerated. | |
14888 | ||
c8b8a898 AC |
14889 | 2003-01-04 Andrew Cagney <ac131313@redhat.com> |
14890 | ||
14891 | * frame.c (deprecated_frame_xmalloc): New function. | |
14892 | (deprecated_set_frame_saved_regs_hack): New function. | |
14893 | (deprecated_set_frame_extra_info_hack): New function. | |
14894 | * frame.h (deprecated_frame_xmalloc): Declare. | |
14895 | (deprecated_set_frame_saved_regs_hack): Declare. | |
14896 | (deprecated_set_frame_extra_info_hack): Declare. | |
14897 | ||
14abd0fb MK |
14898 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
14899 | ||
8ee53726 MK |
14900 | * configure.in: Move code that provides the --enable-gdbtk option |
14901 | right after the code that handles the --enable-tui option, and | |
14902 | polish it somewhat. | |
14903 | * configure: Regenerated. | |
14904 | ||
14abd0fb MK |
14905 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
14906 | AC_CHECK_FUNCS and remove the old check for pread64. | |
14907 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
14908 | * acconfig.h (_GNU_SOURCE): Add. | |
14909 | (HAVE_PREAD64): Remove. | |
14910 | * configure, aclocal.m4, config.in: Regenerated. | |
14911 | ||
b2fb4676 AC |
14912 | 2003-01-03 Andrew Cagney <ac131313@redhat.com> |
14913 | ||
14914 | * alpha-tdep.c: Use get_frame_saved_regs. | |
14915 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14916 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
14917 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
14918 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
14919 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
14920 | ||
8dcde887 MK |
14921 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
14922 | ||
14923 | * configure.in: Remove all use of the SUBDIRS variable; add | |
14924 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
14925 | code providing the --enable-multi-ice option, and move it right in | |
14926 | front of the code that checks whether gdbserver is supported. | |
14927 | Polish that too. | |
14928 | * configure: Regenerated. | |
14929 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
14930 | @SUBDIRS@. | |
14931 | ||
8ccd593b AC |
14932 | 2003-01-03 Andrew Cagney <cagney@redhat.com> |
14933 | ||
14934 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
14935 | * avr-tdep.c, cris-tdep.c: Ditto. | |
14936 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
14937 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 14938 | |
91151a06 MK |
14939 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
14940 | ||
14941 | * configure.in: Remove --enable-netrom option. | |
14942 | * configure: Regenerated. | |
14943 | ||
8fe84d01 MK |
14944 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
14945 | ||
14946 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
14947 | declaration for `struct re_pattern_buffer' instead. | |
14948 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
14949 | ||
f0394be6 JB |
14950 | 2003-01-03 J. Brobecker <brobecker@gnat.com> |
14951 | ||
14952 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
14953 | the structure name. | |
14954 | ||
27e9bf90 MK |
14955 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
14956 | ||
93d331ba MK |
14957 | * configure.in: Remove --with-cpu option. |
14958 | subscripts. Remove evil changequotes here. | |
14959 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
14960 | * config.in, configure: Regenerated. | |
8ffd9b1b | 14961 | |
27e9bf90 MK |
14962 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
14963 | * configure.in: Cleanup section that sources GDB and BFD configure | |
14964 | subscripts. Remove evil changequotes here. | |
14965 | * config.in, configure: Regenerated. | |
14966 | ||
50abf9e5 AC |
14967 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
14968 | ||
14969 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
14970 | frame accessor methods. | |
14971 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
14972 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
14973 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
14974 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
14975 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
14976 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
14977 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 14978 | |
287c1a40 MK |
14979 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
14980 | ||
f5dbc56d MK |
14981 | * configure.in: Remove UI_OUT configuration code. |
14982 | * ada-lang.c: Update assuming UI_OUT is always true. | |
14983 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
14984 | * configure: Regenerated. | |
14985 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
14986 | ||
627af7ea MK |
14987 | * configure.in: Move code that provides the --enable-gdbcli, |
14988 | --enable-gdbmi options right before the code that handles the | |
14989 | --enable-tui option. Polish a bit. | |
14990 | * configure: Regenerated. | |
14991 | ||
06825bd1 MK |
14992 | * configure.in: Rewrite check for GNU regex and the |
14993 | --without-included regex option, and move it into the "Checks for | |
14994 | library functions" section. This makes us use the system regex | |
14995 | again by default on systems with version 2 of the GNU C library. | |
14996 | This was apparently broken. | |
14997 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
14998 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
14999 | * config.in, configure: Regenerated. | |
15000 | ||
287c1a40 MK |
15001 | * configure.in: Move code that provides the --enable-tui option |
15002 | before the "Checks for libraries" section. Polish the code | |
15003 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
15004 | code that looks for a library providing termcap functionality to | |
15005 | match more closely what's done in the Readline library, and move | |
15006 | it into to the "Checks for libraries" section. | |
15007 | * configure: Regenerated. | |
15008 | * Makefile.in (TERMCAP): Remove variable. | |
15009 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
15010 | ||
684e56bf AC |
15011 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
15012 | ||
15013 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
15014 | * gdb_mbuild.sh: Rewrite. | |
15015 | ||
e1ea1d75 MK |
15016 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
15017 | ||
15018 | * configure.in: Fix typo in last change. | |
15019 | * config.in, configure: Regenerated. | |
15020 | ||
1b831c93 AC |
15021 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
15022 | ||
15023 | * valarith.c (value_binop): Delete obsolete code and comments. | |
15024 | * configure.host: Ditto. | |
15025 | * buildsym.h (make_blockvector): Ditto. | |
15026 | * buildsym.c (make_blockvector): Ditto. | |
15027 | * defs.h (enum language): Ditto. | |
15028 | (chill_demangle): Ditto. | |
15029 | * elfread.c (elf_symtab_read): Ditto. | |
15030 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
15031 | (set_cu_language): Ditto. | |
15032 | (handle_producer): Ditto. | |
15033 | * expprint.c (print_subexp): Ditto. | |
15034 | * gdbtypes.c (chill_varying_type): Ditto. | |
15035 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
15036 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
15037 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
15038 | (chill_varying_type): Ditto. | |
15039 | * language.h (_LANG_chill): Ditto. | |
15040 | * language.c (binop_result_type, integral_type): Ditto. | |
15041 | (character_type, string_type, structured_type): Ditto. | |
15042 | (lang_bool_type, binop_type_check): Ditto. | |
15043 | * stabsread.h (os9k_stabs): Ditto. | |
15044 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
15045 | (define_symbol, read_type, read_struct_fields): Ditto. | |
15046 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
15047 | (read_range_type, start_stabs): Ditto. | |
15048 | * symfile.c (init_filename_language_table): Ditto. | |
15049 | (add_psymbol_with_dem_name_to_list): Ditto. | |
15050 | * symtab.c (symbol_init_language_specific): Ditto. | |
15051 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
15052 | * symtab.h (struct general_symbol_info): Ditto. | |
15053 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
15054 | * typeprint.c (typedef_print): Ditto. | |
15055 | * utils.c (fprintf_symbol_filtered): Ditto. | |
15056 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
15057 | obsolete code. | |
15058 | (varying_to_slice): Delete function. | |
15059 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
15060 | (varying_to_slice): Delete declaration. | |
15061 | * MAINTAINERS: Update. | |
15062 | ||
8bb2c122 MK |
15063 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
15064 | ||
97bf5e38 MK |
15065 | * configure.in: Reorganize "Checks for library functions section" |
15066 | a bit. Remove check for `btowc' and `isascii' functions. | |
15067 | * configure: Regenerated. | |
15068 | ||
5ee754fc MK |
15069 | * acconfig.h (_MSE_INT_H): Remove. |
15070 | * configure.in: Create "Checks for header files" section, and move | |
15071 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
15072 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
15073 | misdetection fix. Also add "Checks for types", "Checks for | |
15074 | compiler characteristics" and "Checks for library functions" | |
15075 | sections. | |
15076 | * config.in, configure: Regenerated. | |
15077 | ||
8bb2c122 MK |
15078 | * configure.in: Create "Checks for programs" section, and move |
15079 | appropriate tests there. | |
15080 | ||
9a156167 MK |
15081 | 2003-01-01 Mark Kettenis <kettenis@gnu.org> |
15082 | ||
15083 | * configure.in: Create "Checks for libraries" section, and move | |
15084 | appropriate tests there. Cleanup check for wctype in libw. Use | |
15085 | AC_SEARCH_LIBS to see whether we need libsocket. | |
15086 | * configure: Regenerated. | |
15087 | ||
a80e2bcb | 15088 | For older changes see ChangeLog-2002 |
c906108c SS |
15089 | \f |
15090 | Local Variables: | |
15091 | mode: change-log | |
15092 | left-margin: 8 | |
15093 | fill-column: 74 | |
15094 | version-control: never | |
15095 | End: |