Commit | Line | Data |
---|---|---|
932644f0 JJ |
1 | 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> |
2 | ||
3 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
4 | Fix typo for high range of floating registers. | |
5 | ||
91c24f0a DC |
6 | 2003-09-09 David Carlton <carlton@kealia.com> |
7 | ||
8 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
9 | highpc initialization here out of scan_partial_symbols. | |
10 | (scan_partial_symbols): Restructure into a recursive version, | |
11 | calling add_partial_namespace and add_partial_enumeration when | |
12 | appropriate. | |
13 | (add_partial_namespace): New. | |
14 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
15 | ||
c9263853 AC |
16 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
17 | ||
e56a0ecc AC |
18 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
19 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
20 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
21 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
22 | ||
794a477a AC |
23 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
24 | (rs6000_push_dummy_call): Set the "TOC" register. | |
25 | ||
c9263853 AC |
26 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
27 | methods "max_register_raw_size", "max_register_virtual_size" or | |
28 | "register_virtual_size". | |
29 | ||
afa7d0b2 ILT |
30 | 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com> |
31 | ||
32 | * MAINTAINERS: Update my e-mail address. | |
33 | ||
7a41266b AC |
34 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
35 | ||
36 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
37 | (rs6000_push_dummy_call): Store the struct return address. | |
38 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
39 | ||
77b2b6d4 AC |
40 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
41 | ||
42 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
43 | "ppc_sysv_abi_push_arguments". | |
44 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
45 | "ppc_sysv_abi_push_arguments". | |
46 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
47 | instead of "push_arguments". | |
48 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
49 | ||
e8a7b686 AC |
50 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
51 | ||
52 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
53 | instead of CALL_DUMMY_ADDRESS. | |
54 | ||
f86f5ca3 PH |
55 | 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com> |
56 | ||
57 | * p-lang.c: Eliminate "register". | |
58 | * c-lang.c: Ditto. | |
59 | * expprint.c: Ditto. | |
60 | * f-lang.c: Ditto. | |
61 | * jv-lang.c: Ditto. | |
62 | * language.c: Ditto. | |
63 | * m2-lang.c: Ditto. | |
64 | * parse.c: Ditto. | |
65 | * scm-lang.c: Ditto. | |
66 | * objc-lang.c: Ditto. | |
67 | ||
83ee270e NC |
68 | 2003-09-09 Nick Clifton <nickc@redhat.com> |
69 | ||
70 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
71 | ||
a89aa300 AC |
72 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
73 | ||
74 | * avr-tdep.c: Include "dis-asm.h". | |
75 | * cris-tdep.c: Include "dis-asm.h". | |
76 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
77 | instead of corresponding typedef. | |
78 | * h8300-tdep.c: Include "dis-asm.h". | |
79 | * ia64-tdep.c: Include "dis-asm.h". | |
80 | * i386-tdep.c: Include "dis-asm.h". | |
81 | (i386_print_insn): Use "struct disassemble_info" instead of | |
82 | corresponding typedef. | |
83 | * m68k-tdep.c: Include "dis-asm.h". | |
84 | * mcore-tdep.c: Include "dis-asm.h". | |
85 | * mips-tdep.c: Include "dis-asm.h". | |
86 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
87 | instead of corresponding typedef. | |
88 | * ns32k-tdep.c: Include "dis-asm.h". | |
89 | * s390-tdep.c: Include "dis-asm.h". | |
90 | * sparc-tdep.c: Include "dis-asm.h". | |
91 | * vax-tdep.c: Include "dis-asm.h". | |
92 | * v850-tdep.c: Include "dis-asm.h". | |
93 | * mn10300-tdep.c: Include "dis-asm.h". | |
94 | * rs6000-tdep.c: Include "dis-asm.h". | |
95 | * xstormy16-tdep.c: Include "dis-asm.h". | |
96 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
97 | print_insn_xstormy16. | |
98 | * Makefile.in (v850-tdep.o): Update dependencies. | |
99 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
100 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
101 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
102 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
103 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
104 | (gdbarch_h): Remove $(dis_asm_h). | |
105 | * disasm.c: Include "dis-asm.h". | |
106 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
107 | corresponding typedef. | |
108 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
109 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
110 | * gdbarch.sh: Do not include "dis-asm.h". | |
111 | (struct disassemble_info): Declare opaque. | |
112 | (TARGET_PRINT_INSN): Update declaration. | |
113 | * gdbarch.h, gdbarch.c: Re-generate. | |
114 | ||
88a82a65 AC |
115 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
116 | ||
117 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
118 | CALL_DUMMY_ADDRESS, change to a predicate. | |
119 | * gdbarch.h, gdbarch.c: Re-generate. | |
120 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
121 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
122 | * infcall.c (call_function_by_hand): Ditto. | |
123 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
124 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
125 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
126 | CALL_DUMMY_ADDRESS with entry_point_address. | |
127 | * v850-tdep.c (v850_push_return_address): Ditto. | |
128 | * s390-tdep.c (s390_push_return_address): Ditto. | |
129 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
130 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
131 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
132 | * cris-tdep.c (cris_push_return_address): Ditto. | |
133 | * arm-tdep.c (arm_push_return_address): Ditto. | |
134 | ||
3e2c4033 AC |
135 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
136 | ||
137 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
138 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
139 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
140 | (execute_cfa_program): Update. | |
141 | (dwarf2_frame_cache): Update. Initialize table to | |
142 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
143 | location. | |
144 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
145 | ||
39efb398 AC |
146 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
147 | ||
148 | * gnu-nat.c: Remove "inline" function attribute. | |
149 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
150 | ||
f5cb5aca KB |
151 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
152 | ||
153 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
154 | target. | |
155 | ||
1cb761c7 KB |
156 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
157 | ||
158 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
159 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
160 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
161 | Add fields ``prev_sp'' and ``base''. | |
162 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
163 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
164 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
165 | Delete. | |
166 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
167 | Revise all callers. Fill in the unwind cache argument and make | |
168 | other adjustments to account for new frame mechanisms. | |
169 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
170 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
171 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
172 | (frv_frame_unwind, frv_frame_base): New structs. | |
173 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
174 | additional arguments expected by this method and adjust function | |
175 | body accordingly. | |
176 | (frv_gdbarch_init): Remove calls to the following functions: | |
177 | set_gdbarch_deprecated_init_frame_pc(), | |
178 | set_gdbarch_deprecated_saved_pc_after_call(), | |
179 | set_gdbarch_deprecated_frame_chain(), | |
180 | set_gdbarch_deprecated_frame_saved_pc(), | |
181 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
182 | set_gdbarch_deprecated_push_arguments(), | |
183 | set_gdbarch_deprecated_push_return_address(), | |
184 | set_gdbarch_deprecated_pop_frame(), | |
185 | set_gdbarch_deprecated_call_dummy_words(), | |
186 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
187 | set_gdbarch_deprecated_init_extra_frame_info(), | |
188 | set_gdbarch_deprecated_dummy_write_sp(), and | |
189 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
190 | Add calls to the following functions: | |
191 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
192 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
193 | frame_base_set_default(). | |
194 | * Makefile.in (frv-tdep.o): Update dependencies. | |
195 | ||
68f6cf99 MK |
196 | 2003-09-09 Mark Kettenis <kettenis@gnu.org> |
197 | ||
198 | * dwarf2-frame.c (read_encoded_value): Add support for | |
199 | DW_EH_PE_aligned encoding. | |
200 | ||
73b65bb0 DJ |
201 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
202 | ||
203 | * infrun.c (normal_stop): Don't print a message if the inferior | |
204 | has exited. | |
205 | ||
7c8a5605 JB |
206 | 2003-09-08 Jim Blandy <jimb@redhat.com> |
207 | ||
208 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
209 | * dbxread.c: #include "gdb_assert.h". | |
210 | (read_dbx_symtab): If the objfile has no .data section, use the | |
211 | section index for the .bss section instead. | |
212 | ||
7dd88986 DJ |
213 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
214 | ||
215 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
216 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
217 | * findvar.c (read_var_value): Call it. | |
218 | ||
55ff77ac CV |
219 | 2003-09-08 Corinna Vinschen <vinschen@redhat.com> |
220 | ||
221 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
222 | (sh64-tdep.o): Add dependencies. | |
223 | * configure.tgt: Add FIXME to sh-*-linux*. | |
224 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
225 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
226 | pointer. Call sh64_gdbarch_init() if machine type is sh5. | |
227 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. | |
228 | * sh64-tdep.c: New file, containing all sh64 related code from | |
229 | sh-tdep.c. | |
230 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
231 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
232 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
233 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. | |
234 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
235 | ||
bfb39158 DJ |
236 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
237 | ||
238 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
239 | (stop_wait_callback): Handle !lp->signalled also. | |
240 | (lin_lwp_has_pending, flush_callback): New functions. | |
241 | (lin_lwp_wait): Call flush_callback. | |
242 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
243 | (linux_proc_pending_signals): New function. | |
244 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
245 | ||
9407de8e DJ |
246 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
247 | ||
248 | From Nick Kelsey <nickk@ubicom.com>: | |
249 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
250 | when the stop PC is at the beginning of a function also. | |
251 | ||
2ef47cd0 DJ |
252 | 2003-09-06 Daniel Jacobowitz <drow@mvista.com> |
253 | ||
254 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
255 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
256 | ||
6f4492c8 MK |
257 | 2003-09-06 Mark Kettenis <kettenis@gnu.org> |
258 | ||
259 | * sol-thread.c: Include "gdb_string.h". | |
260 | ||
d3420b2f MK |
261 | 2003-09-03 Mark Kettenis <m.kettenis@osp.nl> |
262 | ||
263 | * gcore.c: Reorder include files in alphabetical order. Include | |
264 | "gdb_assert.h". Various coding style fixes. | |
265 | (derive_stack_segment, derive_heap_segment): Replace check for | |
266 | non-null BOTTOM and TOP with gdb_assert. | |
267 | (derive_heap_segment): Replace check for successful creation of | |
268 | ZERO with gdb_assert. | |
269 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
270 | ||
5220ea4c AC |
271 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
272 | ||
273 | * thread-db.c (verbose_dlsym): New function. | |
274 | (thread_db_load): Use verbose_dlsym | |
275 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
276 | that thread debugging was enabled. | |
277 | ||
6e8c2c06 AC |
278 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
279 | ||
280 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
281 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
282 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
283 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
284 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
285 | mips*-sony-*, and mips64*-*-elf* targets. | |
286 | * config/mips/embedl.mt: Delete file. | |
287 | * config/mips/embedl64.mt: Delete file. | |
288 | * config/mips/mips.mt: Delete file. | |
289 | * config/mips/mips64.mt: Delete file. | |
290 | * config/mips/tm-embed.h: Delete file. | |
291 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
292 | * config/mips/embed64.mt: Delete out-of-date comment. | |
293 | ||
3a3bc038 AC |
294 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
295 | ||
296 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
297 | "have_nonsteppable_watchpoint". | |
298 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
299 | * mips-tdep.c (mips_dump_tdep): Do not print | |
300 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
301 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
302 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
303 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
304 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
305 | ||
a957e642 CV |
306 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
307 | ||
308 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
309 | unused code. Add comment. | |
310 | ||
a6fbcf2f CV |
311 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
312 | ||
313 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
314 | epilogue if watchpoint frame couldn't be found. | |
315 | ||
c14a44d5 AC |
316 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
317 | ||
318 | * Makefile.in: Re-generate all dependencies. | |
319 | ||
f6c40618 AC |
320 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
321 | ||
322 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
323 | * arch-utils.c (legacy_print_insn): Delete function. | |
324 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
325 | (_initialize_disasm): Delete function, contained code initializing | |
326 | deprecated_tm_print_insn_info. | |
327 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
328 | (deprecated_tm_print_insn_info): Delete. | |
329 | (TARGET_PRINT_INSN): Do not provide a default. | |
330 | * gdbarch.h, gdbarch.c: Re-generate. | |
331 | ||
242e8be5 AC |
332 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
333 | ||
334 | * disasm.c (fprintf_disasm): New function. | |
335 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
336 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
337 | reverts 2003-08-14 change. | |
338 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
339 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
340 | ||
3ffc3dda MS |
341 | 2003-09-03 Michael Snyder <msnyder@redhat.com> |
342 | ||
343 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
344 | ||
52d16ba8 AC |
345 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
346 | ||
347 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
348 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
349 | * symfile.c (syms_from_objfile): Update. | |
350 | (reread_symbols): `Update | |
351 | * exec.c (exec_file_attach): Update. | |
352 | (exec_file_attach): Update. | |
353 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
354 | 2003-08-29 change. | |
355 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
356 | ||
eb5492fa DJ |
357 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
358 | ||
359 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
360 | trad-frame.h. | |
361 | (arm_get_cache): Delete macro. | |
362 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
363 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
364 | to prev_sp. | |
365 | (thumb_scan_prologue): Update for cache changes. Don't call | |
366 | DEPRECATED_PC_IN_CALL_DUMMY. | |
367 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
368 | argument and use it in desperation search for our prologue. Do not | |
369 | search past the specified PC. | |
370 | (arm_make_prologue_cache): Simplify. | |
371 | ||
372 | (arm_prologue_this_id, arm_prologue_prev_register) | |
373 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
374 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
375 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
376 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
377 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
378 | ||
379 | (arm_frame_chain_valid, arm_find_callers_reg) | |
380 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
381 | (arm_pop_frame): Delete obsolete methods. | |
382 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
383 | ||
384 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
385 | and sigtramp unwinders. Set the default frame base method. | |
386 | ||
387 | * Makefile.in (arm-tdep.o): Update dependencies. | |
388 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
389 | get_frame_base_address. | |
390 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
391 | ||
24de872b DJ |
392 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
393 | ||
394 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
395 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
396 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
397 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
398 | Take NEXT_FRAME and CACHE arguments. Call | |
399 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
400 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
401 | Don't bother checking the frame type when looking for sigtramp | |
402 | frames. | |
403 | (arm_make_prologue_cache, arm_frame_chain) | |
404 | (arm_init_extra_frame_info): New functions. | |
405 | ||
9b8d791a DJ |
406 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
407 | ||
408 | * arm-tdep.c (arm_get_cache): Define. | |
409 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
410 | unwound_sp, unwound_pc, and saved_regs. | |
411 | (thumb_scan_prologue): Take a cache instead of the frame. | |
412 | (arm_scan_prologue): Likewise. | |
413 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
414 | instead of a temporary frame. | |
415 | (arm_init_extra_frame_info): Allocate and use a cache. | |
416 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
417 | ||
7ee3275f AC |
418 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
419 | ||
420 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
421 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
422 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
423 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
424 | * config/sparc/sp64.mt (CC): Delete. | |
425 | ||
57b29be7 AC |
426 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
427 | ||
428 | * defs.h: Do not include "arch-utils.h". | |
429 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
430 | GDB_MULTI_ARCH_PURE. | |
431 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
432 | * configure, config.in: Regenerate. | |
433 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
434 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
435 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
436 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
437 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
438 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
439 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
440 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
441 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
442 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
443 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
444 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
445 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
446 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
447 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
448 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
449 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
450 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
451 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
452 | ||
12e035e2 MC |
453 | 2003-08-30 Michael Chastain <mec@shout.net> |
454 | ||
455 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
456 | * config/m68k/nm-hp300hpux.h: Delete. | |
457 | * config/m68k/tm-hp300hpux.h: Delete. | |
458 | * config/m68k/xm-hp300hpux.h: Delete. | |
459 | * config/m68k/xm-hp300bsd.h: Delete. | |
460 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
461 | tm-hp300hpux.h, xm-hp300hpux.h. | |
462 | * somsolib.c: Remove comment about hp300 shared libraries. | |
463 | ||
bda34dc2 MK |
464 | 2003-08-31 Mark Kettenis <kettenis@gnu.org> |
465 | ||
5bca7895 MK |
466 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
467 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
468 | Various style fixes in code and comments and some additional | |
469 | spelling fixes in comments. Move after functions dealing with | |
470 | debug registers. | |
471 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
472 | Fix coding-style. | |
473 | ||
bda34dc2 MK |
474 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
475 | frame_unwind_register_unsigned instead of | |
476 | frame_unwind_unsigned_register. | |
477 | ||
c890192f MK |
478 | 2003-08-30 Mark Kettenis <kettenis@gnu.org> |
479 | ||
480 | * configure.in: Search for gethostbyname in libnsl. | |
481 | * configure: Regenerated. | |
482 | ||
60fac5b8 MK |
483 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
484 | ||
e294916c MK |
485 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
486 | uintptr_t in stdint.h. | |
487 | * configure: Regenerated. | |
488 | ||
c40d267a MK |
489 | * amd64-nat.h (struct regcache): Add opaque declaration. |
490 | ||
60fac5b8 MK |
491 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
492 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
493 | Change "register array" to "register cache" in comments. | |
494 | (x86_64_linux_gregset64_reg_offset): New variable. | |
495 | (GETREGS_SUPPLIES): Remove macro. | |
496 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
497 | x86_64_linux_supply_gregset. | |
498 | (fill_gregset): Rename `regno' to `regnum'. Call | |
499 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
500 | (store_regs): Rename `regno' to `regnum'. | |
501 | (store_fpregs): Rename `regno' to `regnum'. | |
502 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
503 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
504 | Reorganize function a bit. | |
505 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
506 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
507 | Reorganize function a bit. | |
508 | (_initialize_x86_64_linux_nat): New function. | |
509 | * config/i386/x86-64linux.mh. | |
510 | ||
546143b6 AC |
511 | 2003-08-29 Andrew Cagney <cagney@redhat.com> |
512 | ||
513 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
514 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
515 | (target_remove_watchpoint): Delete macro. | |
516 | (target_insert_watchpoint): Delete macro. | |
517 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
518 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
519 | (remote_mips_remove_watchpoint): Delete declaration. | |
520 | (remote_mips_set_watchpoint): Delete declaration. | |
521 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
522 | * remote-mips.c (_initialize_remote_mips): Set | |
523 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
524 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
525 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
526 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
527 | (mips_stopped_by_watchpoint): Rename | |
528 | remote_mips_stopped_by_watchpoint. | |
529 | (mips_can_hardware_watchpoint): Rename | |
530 | remote_mips_can_use_hardware_watchpoint, update function | |
531 | signature. | |
532 | ||
7bace51b MK |
533 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
534 | ||
b0f5c6f2 MK |
535 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
536 | USER_DS. We haven't given them a register number yet. | |
537 | ||
2a6d284d MK |
538 | * amd64-nat.h: New file. |
539 | * amd64-nat.c: New file. | |
540 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
541 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
542 | (amd64fbsd32_r_reg_offset): New variable. | |
543 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
544 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
545 | amd64_collect_native_gregset. | |
546 | (fill_fpregset): Rename `regno' to `regnum'. | |
547 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
548 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
549 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
550 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
551 | supply_gregset. Call x86_64_supply_fxsave instead of | |
552 | supply_fpregset. | |
553 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
554 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
555 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
556 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
557 | fill_gregset. Call x86_64_collect_fxsave instead of | |
558 | fill_fpregset. | |
559 | (_initialize_am64fbsd_nat): Initialize | |
560 | amd64_native_gregset32_reg_offset and | |
561 | amd64_native_gregset64_reg_offset. | |
562 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
563 | ||
a16d75cc MK |
564 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
565 | null pointer. Fix typo in comment. | |
566 | ||
7bace51b MK |
567 | * regcache.c (supply_register): Reimplement to call |
568 | regcache_raw_supply. | |
569 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
570 | ||
9a661b68 MK |
571 | 2003-08-28 Mark Kettenis <kettenis@gnu.org> |
572 | ||
573 | * regcache.c (register_buffer): Consitify first argument. | |
574 | (regcache_raw_supply, regcache_raw_collect): New | |
575 | functions. | |
576 | ||
e94cc8fa DJ |
577 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
578 | ||
579 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
580 | by Nathan J. Williams. | |
581 | ||
c64bd0ce DJ |
582 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
583 | ||
584 | * lin-lwp.c (wait_lwp): New function, copied from | |
585 | stop_wait_callback. Clean up. | |
586 | (stop_wait_callback): Use wait_lwp. | |
587 | ||
e5ab0dce AC |
588 | 2003-08-28 Andrew Cagney <cagney@redhat.com> |
589 | ||
590 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
591 | flavour and disassembler options. | |
592 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
593 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
594 | deprecated_tm_print_insn_info. | |
595 | ||
a788de9b AC |
596 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
597 | ||
598 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
599 | Use target_read_memory. | |
600 | (s390_get_frame_info): Update. Do not reference | |
601 | deprecated_tm_print_insn_info. | |
602 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
603 | ||
36482093 AC |
604 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
605 | ||
606 | * Makefile.in (cris-tdep.o): Update dependencies. | |
607 | * cris-tdep.c: Include "gdb_assert.h". | |
608 | (cris_gdbarch_init): Set print_insn. | |
609 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
610 | (cris_delayed_get_disassembler): Simplify, directly call the | |
611 | disassembler returned by cris_get_disassembler. | |
612 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
613 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
614 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
615 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
616 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
617 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
618 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
619 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
620 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
621 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
622 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
623 | (gdb_print_insn_sparc): Delete function. | |
624 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
625 | deprecated_tm_print_insn_info. | |
626 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
627 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
628 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
629 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
630 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
631 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
632 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
633 | (s390_gdbarch_init): Set print_insn. | |
634 | ||
0285512f AC |
635 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
636 | ||
637 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
638 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
639 | * infcall.c (call_function_by_hand): Convert the entry point | |
640 | address into a code address. | |
641 | ||
cdcd5552 AC |
642 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
643 | ||
644 | * dsrec.c: Include "gdb_string.h". | |
645 | * Makefile.in (dsrec.o): Update dependencies. | |
646 | ||
e85cddad MC |
647 | 2003-08-27 Michael Chastain <mec@shout.net> |
648 | ||
649 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
650 | ||
8bbfbb23 AC |
651 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
652 | ||
653 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
654 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
655 | ||
ba058b66 DC |
656 | 2003-08-27 David Carlton <carlton@kealia.com> |
657 | ||
658 | From Randolph Chung <tausq@debian.org>: | |
659 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
660 | compiles with -Wformat-nonliteral -Werror. | |
661 | ||
87f84c9d JB |
662 | 2003-08-26 Jim Blandy <jimb@redhat.com> |
663 | ||
664 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
665 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
666 | bfd_lookup_symbol, since we only want symbols in code sections. | |
667 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
668 | bfd_lookup_symbol, since we're not concerned about which section | |
669 | the symbol is in. | |
670 | ||
102d615a JJ |
671 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
672 | ||
673 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
674 | we are frameless or the return address register is already known. | |
675 | ||
cc7ad3ea AC |
676 | 2003-08-26 Andrew Cagney <cagney@redhat.com> |
677 | ||
678 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
679 | in size. Add comments. | |
680 | ||
af8b88dd JJ |
681 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
682 | ||
683 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
684 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
685 | ||
e0a4f5a1 JM |
686 | 2003-08-26 Jason Merrill <jason@redhat.com> |
687 | ||
688 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
689 | case out of #ifdef MIPS block. | |
690 | ||
4ae9ee8e DJ |
691 | 2003-08-25 Daniel Jacobowitz <drow@mvista.com> |
692 | ||
693 | PR java/1322 | |
694 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
695 | available before calling SECT_OFF_TEXT. | |
3c164570 | 696 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 697 | |
004d836a JJ |
698 | 2003-08-25 Jeff Johnston <jjohnstn@redhat.com> |
699 | ||
700 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
701 | bof, and nat0-nat127 as pseudo-registers. | |
702 | (ia64_frame_cache): New struct used to cache frame info. | |
703 | (ia64_register_reggroup_p): New routine used to override default | |
704 | register grouping so registers without names are still saved and | |
705 | restored. | |
706 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
707 | pseudo values. | |
708 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
709 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
710 | (ia64_alloc_frame_cache): New routine to create a new | |
711 | ia64_frame_cache. | |
712 | (examine_prologue): Change prototype to add next_frame pointer. | |
713 | Assume frameless until otherwise proven. Verify that the cfm for | |
714 | current frame matches the cfm that should occur for the prologues | |
715 | alloc insn and if equal, mark as not frameless. At end of routine, | |
716 | if not frameless, calculate registers for the previous frame and store | |
717 | in the cache, if a cache is provided. | |
718 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
719 | and pass 0 for next_frame. | |
720 | (ia64_store_return_value): Change to use convert_typed_floating() | |
721 | instead of calling ia64_convert_to_raw(). | |
722 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
723 | instead of calling ia64_convert_to_virtual(). | |
724 | (ia64_frame_cache): New routine to support new frame model. | |
725 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
726 | (ia64_frame_sniffer): Ditto. | |
727 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
728 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
729 | (ia64_sigtramp_frame_prev_register): Ditto. | |
730 | (ia64_sigtramp_frame_sniffer): Ditto. | |
731 | (ia64_frame_base_address): Ditto. | |
732 | (ia64_extract_struct_value_address): Change to issue error message. | |
733 | (ia64_frame_align): New routine to align sp. | |
734 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
735 | (ia64_push_arguments): Removed. Logic moved to | |
736 | ia64_push_dummy_call(). | |
737 | (ia64_push_return_address): Ditto. | |
738 | (ia64_unwind_dummy_id): New function. | |
739 | (ia64_unwind_pc): Ditto. | |
740 | (ia64_convert_register_p): Ditto. | |
741 | (ia64_register_to_value): Ditto. | |
742 | (ia64_value_to_register): Ditto. | |
743 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
744 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
745 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
746 | (ia64_saved_pc_after_call): Ditto. | |
747 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
748 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
749 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
750 | (ia64_register_convert_to_raw): Ditto. | |
751 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
752 | (ia64_init_extra_frame_info): Ditto. | |
753 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
754 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
755 | are no longer used. Add registration of new gdbarch functions. | |
756 | Remove registering deprecated_write_sp. Replace | |
757 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
758 | Delete set_gdbarch_deprecated_register_convertible(), | |
759 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
760 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
761 | set_gdbarch_deprecated_register_size(), | |
762 | set_gdbarch_deprecated_register_bytes(), | |
763 | set_gdbarch_pcregnum(), | |
764 | set_gdbarch_deprecated_register_byte(), | |
765 | set_gdbarch_deprecated_register_raw_size(), | |
766 | set_gdbarch_deprecated_max_register_raw_size(), | |
767 | set_gdbarch_deprecated_register_virtual_size(), | |
768 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
769 | Replace set_gdbarch_deprecated_extract_return_value() with | |
770 | set_gdbarch_extract_return_value(). Remove calls to: | |
771 | set_gdbarch_deprecated_saved_pc_after_call(); | |
772 | set_gdbarch_deprecated_frame_chain(), | |
773 | set_gdbarch_deprecated_frame_saved_pc(), | |
774 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
775 | set_gdbarch_deprecated_get_saved_register(), | |
776 | set_gdbarch_deprecated_call_dummy_words(), | |
777 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
778 | set_gdbarch_deprecated_init_extra_frame_info(), | |
779 | set_gdbarch_deprecated_frame_args_address(), | |
780 | set_gdbarch_deprecated_frame_locals_address(), | |
781 | and set_gdbarch_deprecated_dummy_write_sp(). | |
782 | Add set_gdbarch_convert_register_p(), | |
783 | set_gdbarch_register_to_value(), | |
784 | set_gdbarch_value_to_register(), | |
785 | set_gdbarch_push_dummy_call(), | |
786 | set_gdbarch_frame_align(), | |
787 | set_gdbarch_unwind_dummy_id(), | |
788 | set_gdbarch_unwind_pc(), | |
789 | frame_unwind_append_sniffer(), | |
790 | frame_unwind_append_sniffer(), | |
791 | and frame_base_set_default(). | |
792 | ||
aede7613 CD |
793 | 2003-08-25 Chris Demetriou <cgd@broadcom.com> |
794 | ||
795 | * configure.tgt: Document need for special "mipsisa64" handling. | |
796 | (mipsisa64*-*-linux64): Handle as target linux64. | |
797 | (mipsisa64*-*-*): Handle as target embed64. | |
798 | ||
43c3a82e MC |
799 | 2003-08-18 Michael Chastain <mec@shout.net> |
800 | ||
801 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
802 | objfile bug. | |
803 | ||
6564f77d MK |
804 | 2003-08-24 Mark Kettenis <kettenis@gnu.org> |
805 | ||
2de139ba MK |
806 | * i387-tdep.h: Update copyright date. |
807 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
808 | ||
6564f77d MK |
809 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
810 | CFLAGS games to reflect reality. | |
811 | ||
42cf1509 AC |
812 | 2003-08-24 Andrew Cagney <cagney@redhat.com> |
813 | ||
814 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
815 | GDB_MULTI_ARCH is always non-zero. | |
816 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
817 | (gdbarch_init_osabi): Ditto. | |
818 | * sparc-tdep.c: Ditto for #if code. | |
819 | ||
0485f6ad MK |
820 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
821 | ||
822 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
823 | Update comments. | |
824 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
825 | comments. | |
826 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
827 | x86_64_supply_fxsave. | |
828 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
829 | x86_64_supply_fxsave. | |
830 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
831 | x86_64_supply_fxsave. | |
832 | ||
c7716133 AJ |
833 | 2003-08-23 Andreas Jaeger <aj@suse.de> |
834 | ||
835 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
836 | i387_supply_fxsave. | |
837 | ||
ed504bdf MK |
838 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
839 | ||
840 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
841 | i387_supply_register. | |
842 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
843 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
844 | i387_supply_fsave. | |
845 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
846 | i387_supply_fxsave. | |
847 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
848 | i387_supply_fsave. | |
849 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
850 | i387_supply_fsave. | |
851 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
852 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
853 | supply_fpregset. | |
854 | (store_inferior_registers): Remove extraneous whitespace. Call | |
855 | i387_fill_fsave instead of fill_fpregset. | |
856 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
857 | (supply_fpregset): Likewise. | |
858 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
859 | i387_supply_fsave. | |
860 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
861 | i387_supply_fsave. | |
862 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
863 | i387_supply_fsave. | |
864 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
865 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
866 | i387supply_fsave and i387_supply_fxsave. | |
867 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
868 | Incorporate code from `i387_supply_register. | |
869 | (i387_supply_register): Remove. | |
870 | (i387_supply_fxsave): Add `regnum' argument. | |
871 | Update comments. | |
872 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
873 | prototype. | |
874 | (i387_supply_register): remove prototype. | |
875 | Update comments. | |
876 | ||
4be5d520 MC |
877 | 2003-08-22 Michael Chastain <mec@shout.net> |
878 | ||
879 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
880 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
881 | still not 8.3 unique. | |
882 | ||
7ed85d26 DJ |
883 | 2003-08-22 Daniel Jacobowitz <drow@mvista.com> |
884 | ||
885 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
886 | TYPE_VPTR_FIELDNO is valid. | |
887 | ||
eb0d3137 MK |
888 | 2003-08-19 Mark Kettenis <kettenis@gnu.org> |
889 | ||
890 | * utils.c (set_width_command): Remove prototypes. | |
891 | (set_screen_size): New prototype. | |
892 | (init_page_info): Simplify by fetching the screen size from | |
893 | Readline. Call set_screen_size. | |
894 | (set_screen_size): New function. | |
895 | (set_width): Add missing whitespace in comment. | |
896 | (set_width_command): Call set_screen_size. | |
897 | (set_height_command): New function. | |
898 | (initialize_utils): Fix formatting. Make "set height" command | |
899 | call set_height_command. Remove redundant code that turns off | |
900 | pagination if output isn't a terminal. Remove redundant call to | |
901 | set_width_command. | |
902 | ||
7e6d0ac8 MK |
903 | 2003-08-22 Mark Kettenis <kettenis@gnu.org> |
904 | ||
3567a8ea MK |
905 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
906 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
907 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
908 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
909 | `case' keyword. | |
910 | (sparc64_register_info): Give the reister with number | |
911 | SPARC64_STATE_REGNUM a name. | |
912 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
913 | %asi and %ccr. | |
914 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
915 | stcak alignment. | |
916 | (sparc_software_single_step): Remove assertions that check whether | |
917 | NPC and NNPC were zero. | |
918 | (sparc_supply_rwindow): Make public. Merge functionality with | |
919 | sparc64_supply_rwindow. | |
920 | (sparc_fill_rwindow): Make public. Merge functionality with | |
921 | sparc64_fill_rwindow. | |
922 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
923 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
924 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
925 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
926 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
927 | ||
7e6d0ac8 MK |
928 | * reggroups.c: Add whitespace after declarations of local |
929 | variables in functions. | |
930 | ||
72e5f484 MC |
931 | 2003-08-21 Michael Chastain <mec@shout.net> |
932 | ||
933 | * gdbtypes.h: Change array bound type from an int to enum. | |
934 | ||
435ac228 AC |
935 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
936 | ||
937 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
938 | * config/sparc/tm-sparc.h: Ditto. | |
939 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
940 | unconditionally. | |
941 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
942 | ||
0d0e1a63 MK |
943 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
944 | ||
945 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
946 | (register_objfile_data, set_objfile_data, objfile_data): New | |
947 | prototypes. | |
948 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
949 | prototypes. | |
950 | (allocate_objfile): Call objfile_alloc_data. | |
951 | (free_objfile): Call objfile_free_data. | |
952 | (struct objfile_data): New. | |
953 | (struct objfile_data_registration): New. | |
954 | (struct objfile_data_registry): New. | |
955 | (objfile_data_registry): New variable. | |
956 | (register_objfile_data): New function. | |
957 | (objfile_alloc_data, objfile_free_data): New functions. | |
958 | (set_objfile_data, objfile_data): New functions. | |
959 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
960 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
961 | (_initialize_dwarf2_frame): New function and prototype. | |
962 | ||
d90cf509 AC |
963 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
964 | ||
965 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
966 | a specific architecture. | |
967 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
968 | declaration. | |
969 | (target_architecture_hook): Delete declaration. | |
970 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
971 | (default_float_format): Assume GDB_MULTI_ARCH. | |
972 | (default_double_format): Assume GDB_MULTI_ARCH. | |
973 | (set_endian_from_file): Delete function. | |
974 | (arch_ok): Delete function. | |
975 | (set_arch): Delete function. | |
976 | (set_architecture_from_arch_mach): Delete function. | |
977 | (set_architecture_from_file): Delete function. | |
978 | (set_architecture): Assume GDB_MULTI_ARCH. | |
979 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
980 | ||
8b39fe56 MK |
981 | 2003-08-21 Mark Kettenis <kettenis@gnu.org> |
982 | ||
983 | Rewrite FreeBSD/sparc64 native configuration. | |
984 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
985 | * sparc64fbsd-nat.c: New file. | |
986 | * sparc64fbsd-tdep.c: New file. | |
987 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
988 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
989 | sparc64fbsd-tdep.o): New dependencies. | |
990 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
991 | and sparc64fbsd-tdep.c. | |
992 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
993 | * config/sparc/fbsd.mh: Remove copyright notice. | |
994 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
995 | sparcbsd-nat.o. | |
996 | * config/sparc/fbsd.mt: Remove copyright notice. | |
997 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
998 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
999 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
1000 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
1001 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
1002 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
1003 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
1004 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
1005 | "sparc/tm-sp64.h". | |
1006 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
1007 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
1008 | ||
a7f19c79 MC |
1009 | 2003-08-21 Michael Chastain <mec@shout.net> |
1010 | ||
1011 | * symtab.h: Add doco on the space critical structures and | |
1012 | some measurements of space usage. | |
1013 | ||
da08ea5b MS |
1014 | 2003-08-21 Michael Snyder <msnyder@redhat.com> |
1015 | ||
1016 | * tracepoint.c (trace_dump_command): Trace break address | |
1017 | is subject to DECR_PC_AFTER_BREAK. | |
1018 | (set_traceframe_context): Make "trace_line" an int. | |
1019 | Fixes suggested by Mark Newman <mark.newman@lmco.com> | |
1020 | ||
6df2bf50 MS |
1021 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
1022 | ||
1023 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
1024 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
1025 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
1026 | argument passing. | |
1027 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
1028 | functions, replace sh_push_dummy_call. | |
1029 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
1030 | ||
0955bbf0 MC |
1031 | 2003-08-20 Michael Chastain <mec@shout.net> |
1032 | ||
1033 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
1034 | ||
260a4188 MS |
1035 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
1036 | ||
1037 | * trad-frame.c: Comment typo fix. | |
1038 | ||
8baa6f92 KB |
1039 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
1040 | Kevin Buettner <kevinb@redhat.com> | |
1041 | ||
1042 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
1043 | (frv_frame_init_saved_regs): Add declaration. | |
1044 | (frame_extra_info): Add new field ``saved_regs''. | |
1045 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
1046 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
1047 | Update frame related code. | |
1048 | (frv_extract_struct_value_address): Adjust formatting. | |
1049 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1050 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
1051 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
1052 | (target_remove_hw_breakpoint): Delete these macros. | |
1053 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
1054 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
1055 | these declarations. | |
1056 | ||
87193939 MC |
1057 | 2003-08-20 Michael Chastain <mec@shout.net> |
1058 | ||
1059 | * defs.h (ENUM_BITFIELD): New macro. | |
1060 | * symtab.h (ENUM_BITFIELD): Use it. | |
1061 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
1062 | ||
062103ba SA |
1063 | 2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com> |
1064 | ||
1065 | * MAINTAINERS (write after approval): Add myself. | |
1066 | ||
8b148df9 AC |
1067 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
1068 | ||
1069 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
1070 | * gdbarch.h, gdbarch.c: Re-generate. | |
1071 | * infcall.c (call_function_by_hand): Adjust the SP by | |
1072 | frame_red_zone_size before allocating any stack space. | |
1073 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
1074 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
1075 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
1076 | ||
1077 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
1078 | Remove code adjusting SP so that it skips over the Red Zone. | |
1079 | ||
954a4db8 MK |
1080 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
1081 | ||
1082 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
1083 | ||
1a241548 AC |
1084 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
1085 | ||
1086 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
1087 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
1088 | "m68k_frame_p". | |
1089 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
1090 | ||
f82b2acd MK |
1091 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
1092 | ||
1093 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
1094 | ||
4056d258 ML |
1095 | 2003-08-18 Michal Ludvig <mludvig@suse.cz> |
1096 | ||
1097 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
1098 | Define. | |
1099 | * i386-linux-nat.c: Include "linux-nat.h". | |
1100 | (child_post_startup_inferior): New function. | |
1101 | ||
99ab4326 MK |
1102 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
1103 | ||
1104 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
1105 | at the start of a frameless function. This probably fixes PR | |
1106 | backtrace/1338. | |
1107 | ||
c8d5f0d6 MC |
1108 | 2003-08-17 Michael Chastain <mec@shout.net> |
1109 | ||
1110 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
1111 | ||
9016a515 DJ |
1112 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
1113 | ||
1114 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
1115 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
1116 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
1117 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
1118 | (linux_supports_tracevforkdone): New function. | |
1119 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
1120 | TRACEVFORKDONE. | |
1121 | (child_follow_fork): Handle vfork. | |
1122 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
1123 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
1124 | * NEWS: Mention fork tracing. | |
1125 | ||
c538c11c DJ |
1126 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
1127 | ||
1128 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
1129 | ||
4de4c07c DJ |
1130 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
1131 | ||
1132 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
1133 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
1134 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
1135 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
1136 | * i386-linux-nat.c: Include "linux-nat.h". | |
1137 | (child_post_startup_inferior): New function. | |
1138 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
1139 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
1140 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
1141 | attaching to each LWP. | |
1142 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
1143 | (init_lin_lwp_ops): Fill in some more operations. | |
1144 | * linux-nat.h (linux_enable_event_reporting) | |
1145 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
1146 | prototypes. | |
1147 | * linux-nat.c (linux_enable_event_reporting): New function. | |
1148 | (child_post_attach, linux_child_post_startup_inferior) | |
1149 | (child_post_startup_inferior, child_follow_fork) | |
1150 | (linux_handle_extended_wait, kill_inferior): New functions. | |
1151 | ||
7996bcec AC |
1152 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
1153 | ||
1154 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
1155 | * gdbarch.h, gdbarch.c: Re-generate. | |
1156 | ||
3d48a7a0 MK |
1157 | 2003-08-16 Mark Kettenis <kettenis@gnu.org> |
1158 | ||
1159 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
1160 | ||
7989c619 AC |
1161 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
1162 | ||
1163 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
1164 | * top.c (get_prompt_1): Delete function. | |
1165 | (gdb_prompt_escape): | |
1166 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
1167 | prompt-escape-char" command. | |
1168 | (MAX_PROMPT_SIZE): Delete macro. | |
1169 | (get_prompt): Simplify, do not call get_prompt_1. | |
1170 | ||
07978cd8 AC |
1171 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
1172 | ||
1173 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
1174 | -Werror. -Wformat-nonliteral problems. | |
1175 | ||
3ff7cf9e JB |
1176 | 2003-08-15 J. Brobecker <brobecker@gnat.com> |
1177 | ||
1178 | Further multiarching work mostly for hppa64-*-hpux11: | |
1179 | * hppa-tdep.h: New file. | |
1180 | * hppa-tdep.c: #include hppa-tdep.c. | |
1181 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
1182 | (hppa64_num_regs): New constant. | |
1183 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
1184 | (hppa32_call_dummy_length): New constant. | |
1185 | (hppa64_call_dummy_length): New constant. | |
1186 | (hppa32_stack_align): Make name 32bit explicit. | |
1187 | (hppa32_register_virtual_type): Likewise. | |
1188 | (hppa32_extract_return_value): Likewise. | |
1189 | (hppa32_use_struct_convention): Likewise. | |
1190 | (hppa32_store_return_value): Likewise. | |
1191 | (hppa64_register_virtual_type): New function. | |
1192 | (hppa64_extract_return_value): New function. | |
1193 | (hppa64_use_struct_convention): New function. | |
1194 | (hppa64_store_return_value): New function. | |
1195 | (hppa_frame_locals_address): Remove declaration, function does | |
1196 | not exist anymore. | |
1197 | (hppa_register_byte): Add support for PA64 ABI. | |
1198 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
1199 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
1200 | Make name 32bit explicit. | |
1201 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
1202 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
1203 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
1204 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
1205 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
1206 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
1207 | necessary now that the gdbarch vector is properly setup. | |
1208 | Transform some macros into function calls. Some minor cleanup. | |
1209 | * config/pa/tm-hppah.h: Update function calls in macros | |
1210 | following the function renaming in hppa-hpux-tdep.c. | |
1211 | * Makefile.in (hppa_tdep_h): New variable. | |
1212 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
1213 | ||
5d05ca6d MS |
1214 | 2003-08-14 Michael Snyder <msnyder@redhat.com> |
1215 | ||
1216 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
1217 | ||
37ba2569 JB |
1218 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
1219 | ||
1220 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
1221 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
1222 | routine. | |
1223 | ||
aed7f26a MS |
1224 | 2003-08-13 Michael Snyder <msnyder@redhat.com> |
1225 | ||
1226 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
1227 | (frv_saved_pc_after_call): Use deprecated ftype. | |
1228 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
1229 | (frv_remote_translate_xfer_address): Remove. | |
1230 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
1231 | ||
752d4ac1 JB |
1232 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
1233 | ||
1234 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
1235 | initialization after the common gdbarch initialization, not before. | |
1236 | ||
1426ac1d JB |
1237 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
1238 | ||
1239 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
1240 | (ADDR_BITS_REMOVE): Remove, redundant. | |
1241 | ||
b6fbdd1d JB |
1242 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
1243 | ||
1244 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
1245 | gdbarch method to clear the 2 low bits of text addresses. | |
1246 | ||
44160db3 AC |
1247 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
1248 | ||
1249 | * Makefile.in (dsrec.o): Update dependencies. | |
1250 | * dsrec.c: Include "gdb_assert.h". | |
1251 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
1252 | string. | |
1253 | ||
bcf7d3ca AC |
1254 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
1255 | ||
1256 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
1257 | FRAME_OBSTACK_ZALLOC. | |
1258 | ||
49ed40de KB |
1259 | 2003-08-12 Kevin Buettner <kevinb@redhat.com> |
1260 | ||
1261 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
1262 | SSE registers. | |
1263 | ||
b246147c MK |
1264 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
1265 | ||
1266 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
1267 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
1268 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
1269 | declarations. | |
1270 | ||
d95fdc0d BE |
1271 | 2003-08-11 Ben Elliston <bje@wasabisystems.com> |
1272 | ||
1273 | * MAINTAINERS (write after approval): Update my mail address. | |
1274 | ||
cf6a0e73 AC |
1275 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
1276 | ||
1277 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
1278 | ||
f837910f MK |
1279 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
1280 | ||
e2dbbd2d MK |
1281 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
1282 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
1283 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
1284 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
1285 | i386bsd_sc_reg_offset): Add extern declarations. | |
1286 | * i386obsd-nat.c: Include "i386-tdep.h" | |
1287 | (_initialize_i386obsd_nat): Remove extern declarations. | |
1288 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
1289 | declarations. | |
1290 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
1291 | declarations. | |
1292 | ||
f837910f MK |
1293 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
1294 | instead of frame_read_register. | |
1295 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
1296 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
1297 | SP_REGNUM. | |
1298 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
1299 | instead of frame_unwind_unsigned_register. Use | |
1300 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
1301 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
1302 | instead of read_register. Use builtin_type_void_data_ptr instead | |
1303 | of builtin_type_void_func_ptr when extracting the address of the | |
1304 | jmp_buf. | |
1305 | (i386_extract_return_value, i386_store_return_value, | |
1306 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
1307 | register_size instead REGISTER_RAW_SIZE. | |
1308 | ||
edcf254d AC |
1309 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
1310 | ||
1311 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
1312 | sprintf. Make "name" constant. | |
1313 | ||
26604a34 MK |
1314 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
1315 | ||
192285c6 MK |
1316 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
1317 | instead of frame_read_register. | |
f837910f MK |
1318 | (i387_print_float_info): Use get_frame_register and |
1319 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 1320 | |
f0925262 MK |
1321 | * i386fbsd-nat.c: Include "i386-tdep.h". |
1322 | (child_resume): Make `eflags' an ULONGEST. Use | |
1323 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
1324 | instead of register_read and register_write. | |
1325 | ||
a144416f MK |
1326 | * i386bsd-nat.c (fetch_inferior_registers, |
1327 | store_inferior_registers): Don't use && at the end of a line. | |
1328 | (_initialize_i386bsd_nat): Fix typo. | |
1329 | ||
fec74868 MK |
1330 | * frame.c (_initialize_frame): Add missing backslash. |
1331 | ||
87232496 MK |
1332 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
1333 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
1334 | and supply_register instead of manipulating the register buffer | |
1335 | directly. | |
1336 | ||
c9b9de0b MK |
1337 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
1338 | * config/i386/nm-i386sol2.h | |
1339 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
1340 | ||
26604a34 MK |
1341 | Based on a patch from Michael Elizabeth Chastain (mec@shout.net): |
1342 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
1343 | instructions that GCC likes to mingle into the prologue. Fixes | |
1344 | gdb/1253 and gdb/1255. | |
1345 | ||
25d29d70 AC |
1346 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
1347 | ||
1348 | Fix GDB PR cli/926. | |
1349 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
1350 | * command.h (add_setshow_uinteger_cmd): Declare. | |
1351 | * frame.c (set_backtrace_cmd): New function. | |
1352 | (show_backtrace_cmd): New function. | |
1353 | * frame.c (_initialize_frame): Replace "set/show | |
1354 | backtrace-below-main" with "set/show backtrace past-main". Add | |
1355 | command "set/show backtrace limit". | |
1356 | (backtrace_past_main): Rename "backtrace_below_main". | |
1357 | (backtrace_limit): New variable. | |
1358 | (get_prev_frame): Update. Check the backtrace_limit. | |
1359 | ||
9ebf4acf AC |
1360 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
1361 | ||
1362 | * defs.h (xstrprintf): Declare. | |
1363 | * utils.c (xstrprintf): New function. | |
1364 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
1365 | non-literal format strings, with xstrprintf and cleanups. | |
1366 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
1367 | (commands_command, insert_breakpoints): Ditto. | |
1368 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
1369 | (break_at_finish_command_1): Ditto. | |
1370 | ||
3771659b AC |
1371 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
1372 | ||
1373 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
1374 | maintainer. | |
1375 | ||
b4263afa JB |
1376 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
1377 | ||
1378 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
1379 | are now multiarched. | |
1380 | ||
d84defb1 JB |
1381 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
1382 | ||
1383 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
1384 | longer necessary now that hppa64 is partially multiarch'ed. | |
1385 | ||
f786f615 AC |
1386 | 2003-08-08 Andrew Cagney <cagney@redhat.com> |
1387 | ||
1388 | * interps.c (interp_set): Check for a NULL "old_interp". | |
1389 | ||
c938e9b0 L |
1390 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
1391 | ||
1392 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
1393 | (install-only): Support DESTDIR. | |
1394 | (uninstall): Likewise. | |
1395 | (install-gdbtk): Likewise. | |
1396 | ||
9a146a11 EZ |
1397 | 2003-08-08 Elena Zannoni <ezannoni@redhat.com> |
1398 | ||
1399 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
1400 | contains something meaningful at all times. | |
1401 | ||
1402 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <blc@redhat.com> | |
7a76ced5 | 1403 | |
62599e99 | 1404 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 1405 | |
56296155 BC |
1406 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com> |
1407 | ||
62599e99 | 1408 | * MAINTAINERS (write after approval): Added self. |
56296155 | 1409 | |
9710e734 AC |
1410 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
1411 | ||
1412 | * inferior.h (AT_SYMBOL): Define. | |
1413 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
1414 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
1415 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
1416 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
1417 | set call_dummy_address. | |
1418 | ||
98b3ab73 AC |
1419 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
1420 | ||
1421 | * language.c (op_error): Delete function. | |
1422 | (binop_type_check): Delete function. | |
1423 | * language.h (type_op_error, range_op_error): Delete macros. | |
1424 | (op_error): Delete declaration. | |
1425 | ||
2fcf52f0 AC |
1426 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
1427 | ||
1428 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
1429 | ||
abd4220e | 1430 | 2003-08-07 Michal Ludvig <mludvig@suse.cz> |
fd83bada | 1431 | |
abd4220e | 1432 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 1433 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 1434 | |
9dd5f34f AC |
1435 | 2003-08-05 Andrew Cagney <cagney@redhat.com> |
1436 | ||
1437 | * reggroups.c (reggroup_next): Check for the final entry. | |
1438 | ||
e5e78edc AC |
1439 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
1440 | ||
ab4e3d93 AC |
1441 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
1442 | * cli/cli-script.c (define_command): Call query directly, instead | |
1443 | of passing it a buffer. | |
1444 | * ocd.c (ocd_error): Pass error a constant format string. | |
1445 | * remote-mips.c (mips_error): Use fputs_filtered. | |
1446 | ||
1062ca82 AC |
1447 | * solib-svr4.c (_initialize_svr4_solib): Update |
1448 | register_gdbarch_data call. | |
1449 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
1450 | ||
fcc1c85c AC |
1451 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
1452 | (register_gdbarch_data): Delete "free" parameter. Update | |
1453 | comments. | |
1454 | * gdbarch.h, gdbarch.c: Re-generate. | |
1455 | * reggroups.c (_initialize_reggroup): Update. | |
1456 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
1457 | * frame-base.c (_initialize_frame_base): Update. | |
1458 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
1459 | * user-regs.c (_initialize_user_regs): Update. | |
1460 | * remote.c (_initialize_remote): Update. | |
1461 | * regcache.c (_initialize_regcache): Update. | |
1462 | ||
116f06ea AC |
1463 | * regcache.c (xfree_regcache_descr): Delete function. |
1464 | (_initialize_regcache): Update call to register_gdbarch_data. | |
1465 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
1466 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
1467 | ||
e5e78edc AC |
1468 | * remote.c (free_remote_state): Delete function. |
1469 | (_initialize_remote): Update register_gdbarch_data. | |
1470 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
1471 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
1472 | ||
6c7d17ba AC |
1473 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
1474 | ||
1475 | * reggroups.c (struct reggroup_el): Define. | |
1476 | (struct reggroups): Delete field "nr_group". Replace array | |
1477 | "group" with a "first" to "last" linked list. | |
1478 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
1479 | (reggroups_free): Delete function. | |
1480 | (add_group): Update. Add "el" parameter. | |
1481 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
1482 | (default_groups): Update. | |
1483 | (reggroup_next): Replace reggroups. | |
1484 | (reggroups_dump): Update. | |
1485 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
1486 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
1487 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
1488 | ||
89b7795b DJ |
1489 | 2003-08-04 Daniel Jacobowitz <drow@mvista.com> |
1490 | ||
1491 | * Makefile.in (tui-interp.o): Update dependencies. | |
1492 | ||
306d9ac5 DC |
1493 | 2003-08-04 David Carlton <carlton@kealia.com> |
1494 | ||
1495 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
1496 | to internal_error call. | |
1497 | * source.c (forward_search_command): Add "%s" format argument. | |
1498 | (reverse_search_command): Ditto. | |
1499 | * top.c (quit_confirm): Ditto. | |
1500 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
1501 | * cp-valprint.c (cp_print_class_method): Replace | |
1502 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
1503 | (cp_print_class_member): Ditto. | |
1504 | * event-top.c (command_line_handler): Ditto. | |
1505 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
1506 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
1507 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
1508 | (pascal_object_print_class_member): Ditto. | |
1509 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
1510 | * remote.c (remote_cisco_section_offsets): Ditto. | |
1511 | * top.c (command_line_input): Ditto. | |
1512 | * utils.c (vwarning,error_stream,quit): Ditto. | |
1513 | * valprint.c (print_floating,print_binary_chars) | |
1514 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
1515 | ||
57bfe177 AC |
1516 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
1517 | ||
1518 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
1519 | ||
e546b999 AC |
1520 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
1521 | ||
1522 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
1523 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
1524 | amd64fbsd-nat.c. | |
1525 | ||
91092ee5 AC |
1526 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
1527 | ||
1528 | * Makefile.in: Update all dependencies and definitions. | |
1529 | ||
889f28e2 AF |
1530 | 2003-08-02 Adam Fedor <fedor@gnu.org> |
1531 | ||
1532 | * linespec.c (is_objc_method_format): New function | |
1533 | (decode_line_1, locate_first_half): Use it. | |
1534 | Fixes PR objc/1298 | |
1535 | ||
880bc914 AC |
1536 | 2003-08-01 Andrew Cagney <cagney@redhat.com> |
1537 | ||
1538 | * NEWS: Mention that m32r is multi-arch. | |
1539 | From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
1540 | * configure.tgt: Recognize m32r-*-*. | |
1541 | * config/m32r/tm-m32r.h: Delete file. | |
1542 | * config/m32r/m32r.mt: New file. | |
1543 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
1544 | gethostname succeeds, in order to avoid a compilation | |
1545 | warning. | |
1546 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
1547 | compiler warning. | |
1548 | ||
19f59343 MS |
1549 | 2003-08-01 Michael Snyder <msnyder@redhat.com> |
1550 | ||
1551 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
1552 | (sh_gdbarch_init): Set up frame_align method. | |
1553 | ||
4e7d7511 MS |
1554 | 2003-07-31 Michael Snyder <msnyder@redhat.com> |
1555 | ||
1556 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
1557 | which is already covered by the new frames infrastructure. | |
1558 | ||
63022984 AC |
1559 | 2003-07-31 Andrew Cagney <cagney@redhat.com> |
1560 | ||
1561 | * user-regs.c (struct user_reg): Add "next" link. | |
1562 | (struct user_regs): Replace "user" with "first" and "last" links. | |
1563 | (append_user_reg): Add pre-allocated "reg" parameter. | |
1564 | (builtin_user_regs): Provide initial value for "last". | |
1565 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
1566 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
1567 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
1568 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
1569 | linked list. | |
1570 | (usernum_to_user_reg): New function. | |
1571 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
1572 | (value_of_user_reg): Use usernum_to_user_reg. | |
1573 | (user_regs_free): Delete function. | |
1574 | (_initialize_user_regs): Update register_gdbarch_data call. | |
1575 | ||
7cf6e574 DJ |
1576 | 2003-07-31 Daniel Jacobowitz <drow@mvista.com> |
1577 | ||
1578 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
1579 | ||
c48a845b MS |
1580 | 2003-07-30 Michael Snyder <msnyder@redhat.com> |
1581 | ||
4e7d7511 | 1582 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
1583 | * infcall.c (call_function_by_hand): Pass struct_addr to |
1584 | value_being_returned. | |
1585 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
1586 | * values.c (value_being_returned): If struct_addr is passed, | |
1587 | use it instead of trying to recover it from the inferior. | |
1588 | ||
f0d8db19 KB |
1589 | 2003-07-30 Kevin Buettner <kevinb@redhat.com> |
1590 | ||
1591 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
1592 | the prologue analyzer won't need to attempt to extract the pc | |
1593 | value from the woefully incomplete dummy frame. | |
1594 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
1595 | possible. Disable code which modifies the frame. | |
1596 | ||
e5c113a1 AC |
1597 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
1598 | ||
1599 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
1600 | to level 2. | |
1601 | (annotate_breakpoints_table, annotate_record): Ditto. | |
1602 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
1603 | (annotate_field_name_end, annotate_field_value): Ditto. | |
1604 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
1605 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
1606 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
1607 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
1608 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
1609 | (annotate_frame_args, annotate_frame_end): Ditto. | |
1610 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
1611 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
1612 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
1613 | (annotate_function_call, annotate_signal_name): Ditto. | |
1614 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
1615 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
1616 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
1617 | (annotate_value_history_end, annotate_value_end): Ditto. | |
1618 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
1619 | (annotate_display_format, annotate_display_expression): Ditto. | |
1620 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
1621 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
1622 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
1623 | (annotate_elt, annotate_array_section_end): Ditto. | |
1624 | ||
bb1db049 AC |
1625 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
1626 | ||
1627 | * regcache.c (struct regcache_descr): Update comments on | |
1628 | nr_raw_registers. | |
1629 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
1630 | sizeof_raw_register_valid_p. | |
1631 | (init_regcache_descr): Set nr_raw_registers and | |
1632 | sizeof_raw_register_valid_p before calling | |
1633 | init_legacy_regcache_descr. | |
1634 | ||
20e6603c AC |
1635 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
1636 | ||
1637 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
1638 | MOD NUM_REGS. | |
1639 | ||
db742940 DJ |
1640 | 2003-07-28 Daniel Jacobowitz <drow@mvista.com> |
1641 | ||
1642 | * thread.c (info_threads_command): Use get_selected_frame (). | |
1643 | Check that there is at least one non-sentinel frame. | |
1644 | ||
ce7f4371 SC |
1645 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
1646 | ||
1647 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
1648 | (m68hc11_pop_frame): Remove. | |
1649 | (m68hc11_frame_saved_pc): Remove. | |
1650 | (m68hc11_frame_chain): Remove. | |
1651 | (m68hc11_frame_init_saved_regs): Remove. | |
1652 | (m68hc11_init_extra_frame_info): Remove. | |
1653 | (m68hc11_store_struct_return): Remove. | |
1654 | (m68hc11_saved_pc_after_call): Remove. | |
1655 | ||
1ea653ae SC |
1656 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
1657 | ||
1658 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
1659 | frame unwind information. | |
1660 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
1661 | and adapted for frame unwinding. | |
1662 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
1663 | (m68hc11_unwind_pc): New function. | |
1664 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
1665 | (m68hc11_frame_this_id): New function to create new frame struct. | |
1666 | (m68hc11_frame_prev_register): New function to unwind a register from | |
1667 | the frame. | |
1668 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
1669 | (m68hc11_frame_p): New function for the above. | |
1670 | (m68hc11_frame_base_address): New function to return fp of frame. | |
1671 | (m68hc11_frame_args_address): Update for frame. | |
1672 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
1673 | (m68hc11_unwind_sp): New function. | |
1674 | (m68hc11_unwind_dummy_id): New function. | |
1675 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
1676 | calls. | |
1677 | ||
c8a7f6ac SC |
1678 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
1679 | ||
1680 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
1681 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
1682 | when we are beyond the current pc. | |
1683 | ||
3dc990bf SC |
1684 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
1685 | ||
1686 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
1687 | from m68hc11_push_arguments. | |
1688 | (m68hc11_push_arguments): Remove. | |
1689 | (m68hc11_push_return_address): Remove. | |
1690 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
1691 | handlers; remove deprecated_extra_stack_alignment_needed. | |
1692 | ||
222e5d1d AC |
1693 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
1694 | ||
1695 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
1696 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
1697 | REAL_PC and not the pointer. | |
1698 | * hppa-hpux-tdep.c: Include frame.h | |
1699 | ||
a7e9a47e AC |
1700 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
1701 | ||
1702 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
1703 | GDB_MULTI_ACH_PARTIAL. | |
1704 | ||
7e3dd49e AC |
1705 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
1706 | ||
1707 | Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
1708 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
1709 | operator at start and not end of line. | |
1710 | (decode_prologue): Ditto. | |
1711 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
1712 | frame_unwind_register_unsigned instead of | |
1713 | frame_unwind_unsigned_register. | |
1714 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
1715 | read_register. | |
1716 | (m32r_push_dummy_call): Use register_size instead of | |
1717 | REGISTER_RAW_SIZE. | |
1718 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
1719 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
1720 | * m32r-rom.c (report_transfer_performance): Delete extern | |
1721 | declaration. | |
1722 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
1723 | instead of report_transfer_performance. | |
1724 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
1725 | / add_show_from_set. | |
1726 | ||
0880807f AC |
1727 | 2003-07-26 Andrew Cagney <cagney@redhat.com> |
1728 | ||
1729 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
1730 | store_return_value and extract_struct_value_address. | |
1731 | ||
64ae9269 DJ |
1732 | 2003-07-26 Daniel Jacobowitz <drow@mvista.com> |
1733 | ||
1734 | PR c++/1267 | |
1735 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
1736 | NULL, default to the section containing PC. | |
1737 | ||
e286caf2 SC |
1738 | 2003-07-24 Stephane Carrez <stcarrez@nerim.fr> |
1739 | ||
1740 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
1741 | ||
1742 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
1743 | (m68hc11_print_register): New function to print out one register. | |
1744 | (m68hc11_print_registers_info): New function to print registers. | |
1745 | (show_regs): Deprecate and use the above. | |
1746 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
1747 | ||
705b278b JJ |
1748 | 2003-07-24 Jeff Johnston <jjohnstn@redhat.com> |
1749 | ||
1750 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
1751 | that we have a SIGTRAP before returning non-zero. | |
1752 | ||
63cd4198 EZ |
1753 | 2003-07-23 Michal Ludvig <mludvig@suse.cz> |
1754 | Elena Zannoni <ezannoni@redhat.com> | |
1755 | ||
1756 | * linespec.c (decode_line_2): Avoid crash if | |
1757 | find_function_start_sal() returns empty record. | |
1758 | ||
6926787d AS |
1759 | 2003-07-23 Andreas Schwab <schwab@suse.de> |
1760 | ||
1761 | * ia64-tdep.c (ia64_print_insn): New function. | |
1762 | (ia64_gdbarch_init): Set print_insn to it. | |
1763 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
1764 | deprecated_tm_print_insn_info. | |
1765 | ||
708cc1b6 MS |
1766 | 2003-07-22 Michael Snyder <msnyder@redhat.com> |
1767 | ||
1768 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
1769 | handle 8-bit returns (long long). | |
1770 | (h8300h_extract_return_value): Ditto. | |
1771 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
1772 | ||
aebd7893 AC |
1773 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
1774 | ||
1775 | * gdbarch.c Include "gdb_obstack.h". | |
1776 | (struct gdbarch): Add an "obstack". | |
1777 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
1778 | GDBARCH_OBSTACK_CALLOC. | |
1779 | (free_gdbarch_data): Delete function. | |
1780 | (gdbarch_obstack_zalloc): New function. | |
1781 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
1782 | Assert that the architecture is not initialized. | |
1783 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
1784 | vector from the obstack. | |
1785 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
1786 | architecture obstack. | |
1787 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
1788 | (set_gdbarch_data): Assert that the data is not initialized. | |
1789 | (struct gdbarch_data): Delete member "free". | |
1790 | (register_gdbarch_data): Do not initialize "free". | |
1791 | * gdbarch.h, gdbarch.c: Re-generate. | |
1792 | ||
153721e6 AC |
1793 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
1794 | ||
1795 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
1796 | * configure: Re-generate. | |
1797 | ||
c193f044 | 1798 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
32ffcbed EZ |
1799 | |
1800 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 1801 | |
c3228f12 EZ |
1802 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
1803 | ||
1804 | * findvar.c (read_var_value): Remove case for thread local storage | |
1805 | variables. It is now entirely handled by the dwarf2 location | |
1806 | expression code. | |
1807 | * printcmd.c (address_info): Ditto. | |
1808 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
1809 | enumeration value. | |
1810 | (struct symbol): Remove objfile field, which was used by | |
1811 | LOC_THREAD_LOCAL_STATIC only. | |
1812 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
1813 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
1814 | usage of objfile pointer. | |
1815 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
1816 | thread local variables. | |
1817 | Add include of objfiles.h. | |
1818 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
1819 | storage variables. | |
1820 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
1821 | ||
aef9bcd2 AC |
1822 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
1823 | ||
1824 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
1825 | get_frame_base. | |
1826 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
1827 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
1828 | (struct value): Add opaque declaration. | |
1829 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
1830 | ||
d95a8903 AC |
1831 | 2003-07-21 Andrew Cagney <cagney@redhat.com> |
1832 | ||
1833 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
1834 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
1835 | ||
4db73d49 SC |
1836 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
1837 | ||
1838 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
1839 | regcache_cooked_read_unsigned instead of read_register. | |
1840 | (m68hc11_saved_pc_after_call): Likewise. | |
1841 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
1842 | instead of write_register. | |
1843 | (m68hc11_register_type): New function. | |
1844 | (m68hc11_register_virtual_type): Remove. | |
1845 | (m68hc11_store_return_value): Convert to use the regcache. | |
1846 | (m68hc11_extract_struct_value_address): Likewise. | |
1847 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
1848 | m68hc11_register_type; undeprecate store_return_value and | |
1849 | extract_struct_value_address. | |
1850 | ||
ef2b8fcd SC |
1851 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
1852 | ||
1853 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
1854 | and translate to use regcache. | |
1855 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
1856 | ||
625b0b97 AC |
1857 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
1858 | ||
1859 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
1860 | * gdbarch.h, gdbarch.c: Re-generate. | |
1861 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
1862 | DWARF2_BUILD_FRAME_INFO. | |
1863 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
1864 | unconditionally. | |
1865 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
1866 | DWARF2_BUILD_FRAME_INFO. | |
1867 | ||
22b0d388 AC |
1868 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
1869 | ||
1870 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
1871 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
1872 | ||
1ce5d6dd AC |
1873 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
1874 | ||
1875 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
1876 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
1877 | (dwarf2_frame_cache): Ditto. | |
1878 | ||
e6e5e94c AC |
1879 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
1880 | ||
1881 | * user-regs.h (struct gdbarch): Declare opaque. | |
1882 | * ui-out.h (struct ui_file): Declare opaque. | |
1883 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
1884 | ||
5483d879 KW |
1885 | 2003-07-18 Kris Warkentin <kewarken@qnx.com> |
1886 | ||
1887 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
1888 | #include "...". | |
1889 | (procfs_meminfo): Change strerror to safe_strerror. | |
1890 | (procfs_can_run): Remove K&R badness. | |
1891 | ||
278a7cf7 MS |
1892 | 2003-07-17 Michael Snyder <msnyder@redhat.com> |
1893 | ||
1894 | * remote-sim.c: Comment typo fix. | |
1895 | ||
606e3b82 AC |
1896 | 2003-07-17 Andrew Cagney <cagney@redhat.com> |
1897 | ||
1898 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
1899 | configure. | |
1900 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
1901 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
1902 | GDB_MULTI_ARCH_PARTIAL. | |
1903 | ||
c43af07c EZ |
1904 | 2003-07-17 Elena Zannoni <ezannoni@redhat.com> |
1905 | ||
1906 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
1907 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
1908 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
1909 | ||
3b85b0f1 TR |
1910 | 2003-07-16 Theodore A. Roth <troth@openavr.org> |
1911 | ||
1912 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
1913 | found. | |
1914 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
1915 | Update a comment. | |
1916 | Save the computed prev_sp. | |
1917 | (avr_saved_regs_unwinder): Remove function. | |
1918 | (avr_frame_prev_register): Use PC unwind logic from | |
1919 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
1920 | ||
336d1bba AC |
1921 | 2003-07-16 Andrew Cagney <cagney@redhat.com> |
1922 | ||
1923 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
1924 | (frame_base_append_predicate): Delete declaration. | |
1925 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
1926 | (frame_unwind_append_predicate): Delete declaration. | |
1927 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
1928 | (append_predicate): Delete parameter "p". | |
1929 | (frame_unwind_append_predicate): Delete function. | |
1930 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
1931 | (frame_unwind_free): Delete function. | |
1932 | (_initialize_frame_unwind): Pass NULL as "free" to | |
1933 | register_gdbarch_data. | |
1934 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
1935 | (frame_unwind_find_by_frame): Simplify. | |
1936 | * frame-base.c (struct frame_base_table): Delete field "p". | |
1937 | (append_predicate): Delete parameter "p". | |
1938 | (frame_base_append_predicate): Delete function. | |
1939 | (frame_base_append_sniffer): Update call to append_predicate. | |
1940 | (frame_base_free): Delete function. | |
1941 | (frame_base_find_by_frame): Simplify. | |
1942 | (_initialize_frame_base): Pass NULL as "free" to | |
1943 | register_gdbarch_data. | |
1944 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
1945 | (x86_64_sigtramp_frame_sniffer): Replace | |
1946 | "x86_64_sigtramp_frame_p". | |
1947 | (x86_64_init_abi): Set the frame unwind sniffers. | |
1948 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
1949 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
1950 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
1951 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
1952 | "i386_sigtramp_frame_p". | |
1953 | (i386_frame_sniffer): Replace "i386_frame_p". | |
1954 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
1955 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
1956 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
1957 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
1958 | "alpha_sigtramp_frame_p" | |
1959 | (alpha_heuristic_frame_sniffer): Replace | |
1960 | "alpha_heuristic_frame_p". | |
1961 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
1962 | (alpha_dwarf2_init_abi): Ditto. | |
1963 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
1964 | "alpha_debug_frame_p". | |
1965 | (alpha_mdebug_frame_base_sniffer): Replace | |
1966 | "alpha_mdebug_frame_base_p". | |
1967 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
1968 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
1969 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
1970 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
1971 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
1972 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
1973 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
1974 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
1975 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
1976 | ||
48db5a3c CV |
1977 | 2003-07-16 Michael Snyder <msnyder@redhat.com> |
1978 | ||
1979 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
1980 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
1981 | will not get the right values. | |
1982 | ||
1983 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
1984 | ||
1985 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
1986 | deprecated_store_floating by call to store_typed_floating. | |
1987 | (sh_sh4_register_convert_to_raw): Substitute call to | |
1988 | deprecated_extract_floating by call to extract_typed_floating. | |
1989 | ||
1990 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
1991 | ||
1992 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
1993 | ||
1994 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
1995 | ||
1996 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
1997 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
1998 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
1999 | as possible. | |
2000 | (do_pseudo_register): Remove. | |
2001 | (sh_push_dummy_code): New function. | |
2002 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
2003 | Only called for sh64 now. | |
2004 | (sh_extract_struct_value_address): Regcache'ify. | |
2005 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
2006 | and accomodate new tasks. | |
2007 | (sh64_push_return_address): Rename from sh_push_return_address. | |
2008 | Only called for sh64 now. | |
2009 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
2010 | Regcache'ify. | |
2011 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
2012 | (sh_default_store_return_value): Ditto. | |
2013 | (sh3e_sh4_store_return_value): Ditto. | |
2014 | (sh_default_register_byte): Remove. | |
2015 | (sh_sh4_register_byte): Remove. | |
2016 | (sh_default_register_raw_size): Remove. | |
2017 | (sh_sh4_register_raw_size): Remove. | |
2018 | (sh_register_virtual_size): Remove. | |
2019 | (sh_sh3e_register_virtual_type): Remove. | |
2020 | (sh_sh3e_register_type): New function. | |
2021 | (sh_sh4_register_virtual_type): Remove. | |
2022 | (sh_sh4_register_type): New function. | |
2023 | (sh_default_register_virtual_type): Remove. | |
2024 | (sh_default_register_type): New function. | |
2025 | (do_fv_register_info): Add parameters to accomodate call from | |
2026 | sh_print_registers_info. | |
2027 | (do_dr_register_info): Ditto. | |
2028 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
2029 | Add parameters to accomodate call from sh_print_registers_info. | |
2030 | (sh_do_fp_register): Ditto. | |
2031 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
2032 | do_fv_register_info and sh_do_fp_register with default parameters. | |
2033 | (sh_do_register): Add parameters to accomodate call from | |
2034 | sh_print_registers_info. | |
2035 | (sh_print_register): Ditto. | |
2036 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
2037 | Add parameters to be used as gdbarch_print_registers_info | |
2038 | implementation. Accomodate removed do_pseudo_register function | |
2039 | pointer. | |
2040 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
2041 | function pointer. Call sh_print_register with default parameters. | |
2042 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
2043 | sh_do_registers_info. | |
2044 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
2045 | detection of deprecated vs. non-deprecated functionality. | |
2046 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
2047 | function pointer assignments by direct function calls. | |
2048 | ||
e8a89fe2 AC |
2049 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
2050 | ||
2051 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
2052 | (frame_register_unwind, create_new_frame): Ditto. | |
2053 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
2054 | (get_frame_base_address): Use frame_base_find_by_frame. | |
2055 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
2056 | (get_frame_args_address): Use frame_base_find_by_frame. | |
2057 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
2058 | (frame_base_append_sniffer): Declare. | |
2059 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
2060 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
2061 | (frame_base_append_sniffer): New function. | |
2062 | (frame_base_append_predicate): Add a NULL sniffer. | |
2063 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
2064 | (struct frame_base_table): Add "sniffer". | |
2065 | (frame_base_free): Free the "sniffer" table. | |
2066 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
2067 | (frame_unwind_append_sniffer): Declare. | |
2068 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2069 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
2070 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
2071 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
2072 | (frame_unwind_init): Update append_predicate call. | |
2073 | (frame_unwind_append_sniffer): New function. | |
2074 | (frame_unwind_append_predicate): Update append_predicate call. | |
2075 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2076 | ||
0714963c AC |
2077 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
2078 | ||
2079 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
2080 | before code inhibiting repeated unwind attempts. Add to | |
2081 | commentary on that test's problems. | |
2082 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
2083 | symbol table. | |
2084 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
2085 | identical. | |
2086 | ||
d9170e22 AC |
2087 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
2088 | ||
2089 | * complaints.c (struct explanation): Define. | |
2090 | (struct complaints): Change type of "explanation" to "struct | |
2091 | explanation". | |
2092 | (symfile_explanations): Convert to a "struct explanation" table. | |
2093 | (vcomplaint): Update. | |
2094 | ||
eba29c8c ML |
2095 | 2003-07-15 Michal Ludvig <mludvig@suse.cz> |
2096 | ||
2097 | * x86-64-linux-nat.c (regmap): Removed. | |
2098 | (supply_gregset, fill_gregset): Call | |
2099 | x86_64_linux_(fill,supply)_gregset functions. | |
2100 | * x86-64-linux-tdep.c (USER_*): New defines. | |
2101 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
2102 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
2103 | New functions. | |
2104 | (fetch_core_registers): Ditto. | |
2105 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
2106 | * x86-64-linux-tdep.h: New file. | |
2107 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
2108 | and core-regset.o. | |
2109 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
2110 | ||
68cc0bfb MK |
2111 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
2112 | ||
88a115f7 MK |
2113 | * x86-64-tdep.c (x86_64_store_return_value): Use |
2114 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 2115 | |
68cc0bfb MK |
2116 | * configure.host: Add x86_64-*-freebsd*. |
2117 | * configure.tgt: Add x86_64-*-freebsd*. | |
2118 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
2119 | * amd64fbsd-nat.c: New file. | |
2120 | * amd64fbsd-tdep.c: New file. | |
2121 | * config/i386/nm-fbsd64.h: New file. | |
2122 | * config/i386/fbsd64.mh: New file. | |
2123 | * config/i386/fbsd64.mt: New file. | |
2124 | ||
138e7be5 MK |
2125 | 2003-07-11 Mark Kettenis <kettenis@gnu.org> |
2126 | ||
2127 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
2128 | `sc_regs_offset' and `sc_fpregs_offset'. | |
2129 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
2130 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
2131 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
2132 | `struct gdbarch_tdep'. | |
2133 | (alpha_gdbarch_init): Initialize new members of struct | |
2134 | gdbarch_tdep'. | |
2135 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
2136 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
2137 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
2138 | (alphafbsd_pc_in_sigtramp): Implement. | |
2139 | (alphafbsd_sigtramp_offset): New function. | |
2140 | (alphafbsd_sigcontext_addr): New function. | |
2141 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
2142 | of `struct gdbarch_tdep'. | |
2143 | (_initialize_alphafbsd_tdep): Add prototype. | |
2144 | ||
95303a68 TR |
2145 | 2003-07-11 Theodore A. Roth <troth@openavr.org> |
2146 | ||
ba292e4c TR |
2147 | * Makefile.in (install-only): Quote sed expression when generating |
2148 | transformed_name. | |
95303a68 | 2149 | |
6896c0c7 RH |
2150 | 2003-07-11 Richard Henderson <rth@redhat.com> |
2151 | ||
2152 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
2153 | * dwarf2-frame.c: Include complaints.h. | |
2154 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
2155 | variable initialization; return NULL on error. | |
2156 | (decode_frame_entry): New. | |
2157 | ||
8edd5d01 AC |
2158 | 2003-07-11 Andrew Cagney <cagney@redhat.com> |
2159 | ||
c4a09524 AC |
2160 | * frame.h (frame_address_in_block): Delete declaration. |
2161 | * blockframe.c (frame_address_in_block): Delete function. | |
2162 | (get_frame_block): Use get_frame_address_in_block. | |
2163 | (block_innermost_frame): Ditto. | |
2164 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
2165 | ||
8edd5d01 AC |
2166 | * frame.h (get_frame_address_in_block): Declare. |
2167 | (frame_unwind_address_in_block): Declare. | |
2168 | * frame.c (frame_unwind_address_in_block): New function. | |
2169 | (get_frame_address_in_block): New function. | |
2170 | ||
f7968451 AC |
2171 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
2172 | ||
2173 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
2174 | pre-default. Note: re-generate has no effect. | |
2175 | ||
ae99b398 AC |
2176 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
2177 | ||
2178 | * gdbarch.sh: When a variable, but not a function, compare against | |
2179 | 0. Fix problem in previous patch. | |
2180 | * gdbarch.c: Re-generate. | |
2181 | ||
956ac328 AC |
2182 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
2183 | ||
2184 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
2185 | functions against NULL, not 0. | |
2186 | * gdbarch.c: Re-generate. | |
2187 | ||
287c3240 FF |
2188 | 2003-07-10 Fred Fish <fnf@ninemoons.com> |
2189 | ||
2190 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
2191 | null string instead of a null pointer. | |
2192 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
2193 | ||
32f63c4b MS |
2194 | 2003-07-09 Michael Snyder <msnyder@redhat.com> |
2195 | ||
2196 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
2197 | ||
402ecd56 MK |
2198 | 2003-07-09 Mark Kettenis <kettenis@gnu.org> |
2199 | ||
2200 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
2201 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
2202 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
2203 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
2204 | * x86-64-tdep.c: ... from here. | |
2205 | ||
c481dac7 AS |
2206 | 2003-07-09 Andreas Schwab <schwab@suse.de> |
2207 | ||
2208 | * m68k-tdep.h (enum struct_return): Define. | |
2209 | (struct gdbarch_tdep): Add struct_return. | |
2210 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
2211 | bytes are padded to the right, not to the left. Pass struct value | |
2212 | address in register %a1, not on stack. | |
2213 | (m68k_use_struct_convention): New function. | |
2214 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
2215 | struct_return in tdep to pcc_struct_return. | |
2216 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
2217 | reg_struct_return. | |
2218 | ||
64176fa3 JB |
2219 | 2003-07-09 Joel Brobecker <brobecker@gnat.com> |
2220 | ||
2221 | * somread.c (som_symfile_offsets): Fix compilation error. | |
2222 | ||
96a4ee76 AC |
2223 | 2003-07-09 Andrew Cagney <cagney@redhat.com> |
2224 | ||
2225 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
2226 | Add comments about the checks. | |
2227 | ||
1517c6d1 AC |
2228 | 2003-07-08 Andrew Cagney <cagney@redhat.com> |
2229 | ||
2230 | * Makefile.in: Make dependency section headers consistent. | |
2231 | (config_h): Move to $BUILD headers section. | |
2232 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
2233 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
2234 | (ada-exp.tab.c): Move to YACC/LEX section. | |
2235 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
2236 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
2237 | ||
dc5dd1eb KW |
2238 | 2003-07-08 Kris Warkentin <kewarken@qnx.com> |
2239 | ||
2240 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
2241 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
2242 | of strerror with safe_strerror, use ISO C function definitions, | |
2243 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 2244 | |
612dde91 AC |
2245 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
2246 | ||
2247 | * frame.c (get_prev_frame): Enable check for identical frames. | |
2248 | Update comments. Update error messages. | |
2249 | ||
492c11d3 JB |
2250 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
2251 | ||
2252 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
2253 | ||
376a5a49 JB |
2254 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
2255 | ||
2256 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
2257 | sort_symtab_syms, no longer necessary. | |
2258 | ||
22b4a9ad JB |
2259 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
2260 | ||
2261 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
2262 | ||
5bbcb741 JB |
2263 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
2264 | ||
2265 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
2266 | (mips_register_byte): Likewise. | |
2267 | ||
c139e7d9 DJ |
2268 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
2269 | ||
2270 | * Makefile.in (sparc_tdep_h): New. | |
2271 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
2272 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
2273 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
2274 | * sparc-nat.c: Likewise. | |
2275 | * sparc-tdep.c: Likewise. | |
2276 | * sparc64nbsd-nat.c: Likewise. | |
2277 | * sparcnbsd-nat.c: Likewise. | |
2278 | * sparcnbsd-tdep.c: Likewise. | |
2279 | * sparc-tdep.h: New file. | |
2280 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
2281 | and sparc_npc_regnum. | |
2282 | ||
fd8f87c5 DJ |
2283 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
2284 | ||
2285 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
2286 | (mips_linux_cannot_store_register): List supported instead of | |
2287 | unsupported registers. | |
2288 | ||
13adf674 DJ |
2289 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
2290 | ||
2291 | * disasm.c (dump_insns): Separate instructions from addresses. | |
2292 | ||
8de307e0 AS |
2293 | 2003-07-07 Andreas Schwab <schwab@suse.de> |
2294 | ||
2295 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
2296 | dependencies. | |
2297 | * m68k-tdep.c (NUM_FREGS): Delete. | |
2298 | (SIG_PC_FP_OFFSET): Delete. | |
2299 | (TARGET_M68K): Delete. | |
2300 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
2301 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
2302 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
2303 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
2304 | P_TRAP): Delete. | |
2305 | (m68k_register_raw_size): Delete. | |
2306 | (m68k_register_virtual_size): Delete. | |
2307 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
2308 | add gdbarch argument. | |
2309 | (m68k_store_struct_return): Delete. | |
2310 | (m68k_deprecated_extract_return_value): Delete. | |
2311 | (m68k_deprecated_extract_struct_value_address): Delete. | |
2312 | (m68k_frame_chain): Delete. | |
2313 | (m68k_frame_saved_pc): Delete. | |
2314 | (m68k_fix_call_dummy): Delete. | |
2315 | (m68k_push_dummy_frame): Delete. | |
2316 | (m68k_pop_frame): Delete. | |
2317 | (m68k_extract_return_value): New function. | |
2318 | (m68k_store_return_value): Rewrite using regcache. | |
2319 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
2320 | (m68k_push_dummy_call): New function. | |
2321 | (struct m68k_frame_cache): Define. | |
2322 | (m68k_alloc_frame_cache): New function. | |
2323 | (m68k_analyze_frame_setup): New function. | |
2324 | (m68k_analyze_register_saves): New function. | |
2325 | (m68k_analyze_prologue): New function. | |
2326 | (m68k_skip_prologue): Rewrite using above functions. | |
2327 | (m68k_unwind_pc): New function. | |
2328 | (m68k_frame_cache): New function. | |
2329 | (m68k_frame_this_id): New function. | |
2330 | (m68k_frame_prev_register): New function. | |
2331 | (m68k_frame_unwind): New variable. | |
2332 | (m68k_frame_p): New function. | |
2333 | (m68k_sigtramp_frame_cache): New function. | |
2334 | (m68k_sigtramp_frame_this_id): New function. | |
2335 | (m68k_sigtramp_frame_prev_register): New function. | |
2336 | (m68k_sigtramp_frame_unwind): New variable. | |
2337 | (m68k_sigtramp_frame_p): New function. | |
2338 | (m68k_frame_base_address): New function. | |
2339 | (m68k_frame_base): New function. | |
2340 | (m68k_unwind_dummy_id): New function. | |
2341 | (fill_gregset): Use regcache_collect. | |
2342 | (fill_fpregset): Likewise. | |
2343 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
2344 | defined. | |
2345 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
2346 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
2347 | deprecated_extract_return_value, deprecated_store_return_value, | |
2348 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
2349 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
2350 | deprecated_register_virtual_size, | |
2351 | deprecated_max_register_raw_size, | |
2352 | deprecated_max_register_virtual_size, | |
2353 | deprecated_register_virtual_type, deprecated_register_size, | |
2354 | deprecated_register_byte, deprecated_register_bytes, | |
2355 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
2356 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
2357 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
2358 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
2359 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
2360 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
2361 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
2362 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
2363 | store_return_value, extract_struct_value_address, register_type, | |
2364 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
2365 | predicates. | |
2366 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
2367 | M68K_MAX_REGISTER_SIZE): Define. | |
2368 | (struct m68k_sigtramp_info): Define. | |
2369 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
2370 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
2371 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
2372 | (store_register): Likewise. | |
2373 | (fetch_inferior_registers): Likewise. | |
2374 | (store_inferior_registers): Likewise. | |
2375 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
2376 | (m68k_linux_frame_saved_pc): Delete. | |
2377 | (m68k_linux_sigcontext_reg_offset, | |
2378 | m68k_linux_ucontext_reg_offset): Define. | |
2379 | (m68k_linux_get_sigtramp_info): New function. | |
2380 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
2381 | (m68k_linux_store_return_value): Likewise. | |
2382 | (m68k_linux_extract_struct_value_address): Likewise. | |
2383 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
2384 | Don't set deprecated_frame_saved_pc, | |
2385 | deprecated_extract_return_value, deprecated_store_return_value, | |
2386 | deprecated_extract_struct_value_address. Set | |
2387 | extract_return_value, store_return_value, | |
2388 | extract_struct_value_address. | |
2389 | ||
eb8bc282 AC |
2390 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
2391 | ||
2392 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
2393 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
2394 | frame_map_regnum_to_name. | |
2395 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2396 | (frame_map_name_to_regnum): Simplify, call | |
2397 | user_reg_map_name_to_regnum. | |
2398 | (frame_map_regnum_to_name): Simplify, call | |
2399 | user_reg_map_regnum_to_name. | |
2400 | (frame_register_unwind): Update. | |
2401 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2402 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
2403 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2404 | (value_of_register): Use value_of_user_reg. | |
2405 | * eval.c (evaluate_subexp_standard): Update. | |
2406 | * parse.c (write_dollar_variable): Update. | |
2407 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
2408 | * infcmd.c (registers_info): Update. | |
2409 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
2410 | (builtin_regs_h): Delete macro. | |
2411 | (user_regs_h): Define. | |
2412 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
2413 | (builtin-regs.o): Delete target. | |
2414 | (user-regs.o): Specify dependencies. | |
2415 | (expprint.o): Update dependencies. | |
2416 | (findvar.o): Update dependencies. | |
2417 | (frame.o): Update dependencies. | |
2418 | (std-regs.o): Update dependencies. | |
2419 | ||
9f476a01 CF |
2420 | 2003-07-06 Christopher Faylor <cgf@redhat.com> |
2421 | ||
2422 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
2423 | address stuff. Pass variable rather than address of variable to | |
2424 | safe_symbol_file_add. | |
2425 | ||
a731b831 AS |
2426 | 2003-07-06 Andreas Schwab <schwab@suse.de> |
2427 | ||
2428 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
2429 | ||
9f83329d JB |
2430 | 2003-07-04 Joel Brobecker <brobecker@gnat.com> |
2431 | ||
2432 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
2433 | ||
27e28cc5 KW |
2434 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> |
2435 | ||
2436 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
2437 | ||
2438 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> | |
2439 | ||
2440 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
2441 | * config/i386/nto.mh: New file. | |
2442 | * config/i386/nm-nto.h: New file. | |
2443 | * configure.host: Add i[3456]86-*-nto*. | |
2444 | ||
100f2e98 JB |
2445 | 2003-07-03 Joel Brobecker <brobecker@gnat.com> |
2446 | ||
2447 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
2448 | ||
e23457df AC |
2449 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
2450 | ||
2451 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
2452 | * gdbarch.h, gdbarch.c: Re-generate. | |
2453 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
2454 | (legacy_register_name): Declare. | |
2455 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
2456 | (REGISTER_NAME): Define. | |
2457 | * sparc-tdep.c (legacy_register_name): New function. | |
2458 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
2459 | (REGISTER_NAME): Define. | |
2460 | (hppa64_register_name): Declare. | |
2461 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
2462 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
2463 | (hppa64_register_name): New function. | |
2464 | (hppa_register_name): New function. | |
2465 | * arch-utils.c (legacy_register_name): Delete. | |
2466 | * arch-utils.h (legacy_register_name): Delete. | |
2467 | ||
38caaeec DJ |
2468 | 2003-07-03 Daniel Jacobowitz <drow@mvista.com> |
2469 | ||
2470 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
2471 | cli_uiout's stream to gdb_stdout. | |
2472 | ||
dadd712e AC |
2473 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
2474 | ||
2475 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
2476 | predicate. | |
2477 | * gdbarch.h, gdbarch.c: Re-generate. | |
2478 | * regcache.c (init_regcache_descr): Use legacy code when either | |
2479 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
2480 | ||
c7f1390e DJ |
2481 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
2482 | ||
2483 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
2484 | ||
4bc8c588 JB |
2485 | 2003-07-02 Jim Blandy <jimb@redhat.com> |
2486 | ||
a9dd42f1 JB |
2487 | * s390-tdep.c (struct frame_extra_info): new member: |
2488 | 'stack_bought_valid'. | |
2489 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
2490 | initialize fextra_info->stack_bought. | |
2491 | (s390_frameless_function_invocation): Don't trust the value of | |
2492 | fextra_info_ptr->stack_bought unless | |
2493 | fextra_info->stack_bought_valid is set. | |
2494 | ||
4bc8c588 JB |
2495 | New S390 prologue analyzer. |
2496 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
2497 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
2498 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
2499 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
2500 | compute_x_addr, s390_on_stack, s390_store, | |
2501 | s390_get_signal_frame_info): New functions. | |
2502 | (S390_NUM_SPILL_SLOTS): New macro. | |
2503 | (s390_get_frame_info): Rewritten. | |
2504 | (is_arg_reg): Deleted. | |
2505 | ||
2506 | Break out the decoding of S/390 instructions into separate | |
2507 | functions, to make it more legible, and easier to check | |
2508 | against the spec. | |
2509 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
2510 | is_rx, is_rxe): New functions. | |
2511 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
2512 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
2513 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
2514 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
2515 | enums for opcode values. (Is this an improvement?) | |
2516 | ||
fd13a04a AC |
2517 | 2003-07-02 Andrew Cagney <cagney@redhat.com> |
2518 | ||
2519 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
2520 | below. | |
2521 | ||
3f8091c1 DJ |
2522 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
2523 | ||
2524 | * breakpoint.c (insert_catchpoint): Make static. | |
2525 | ||
8dd5115e AS |
2526 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
2527 | ||
2528 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
2529 | former ia64_push_arguments and ia64_push_return_address, and use | |
2530 | regcache functions instead of read/write_register. | |
2531 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
2532 | deprecated_push_arguments and deprecated_push_return_address. | |
2533 | ||
a2229c23 AJ |
2534 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
2535 | ||
2536 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
2537 | before the call. | |
2538 | Set %rax only to number of SSE registers used. | |
2539 | ||
3b3850e8 AC |
2540 | 2003-07-01 Andrew Cagney <cagney@redhat.com> |
2541 | ||
2542 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
2543 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
2544 | (trad_frame_reg_p): Declare. | |
2545 | (trad_frame_set_value): Rename trad_frame_register_value. | |
2546 | (trad_frame_set_unknown): Declare. | |
2547 | * trad-frame.c (trad_frame_realreg_p): New function. | |
2548 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
2549 | (trad_frame_set_unknown): New function. | |
2550 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
2551 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
2552 | trad_frame_addr_p and trad_frame_value_p. | |
2553 | (trad_frame_set_value): Rename trad_frame_register_value. | |
2554 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
2555 | and trad_frame_set_value. | |
a2229c23 | 2556 | |
4d819d0e JB |
2557 | 2003-06-30 Jim Blandy <jimb@redhat.com> |
2558 | ||
2559 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
2560 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
2561 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
2562 | for 16 registers, and then 32 more bytes. | |
2563 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
2564 | New macros. | |
2565 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
2566 | Move up in the file, since it's now used by is_simple_arg. | |
2567 | (is_simple_arg): Don't assume registers are four bytes long. | |
2568 | Exclude all double arguments. Extended floats are not simple | |
2569 | args. | |
2570 | (is_power_of_two): New function. | |
2571 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
2572 | length fits in a register, rather than listing all the acceptable | |
2573 | sizes. Extended floats are not passed by reference. | |
2574 | (s390_push_arguments): Don't assume registers are four bytes long. | |
2575 | Reserve an argument register to point to the buffer for structures | |
2576 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
2577 | S390_STACK_FRAME_OVERHEAD. | |
2578 | ||
1ad828f1 AS |
2579 | 2003-06-30 Andreas Schwab <schwab@suse.de> |
2580 | ||
2581 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
2582 | format error message. | |
2583 | ||
39b00981 JB |
2584 | 2003-06-30 Joel Brobecker <brobecker@gnat.com> |
2585 | ||
2586 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
2587 | ||
b2a7f303 DC |
2588 | 2003-06-30 David Carlton <carlton@kealia.com> |
2589 | ||
2590 | Band-aid for PR c++/1245. | |
2591 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
2592 | * cp-support.c: Include complaints.h. Add declaration for | |
2593 | find_last_component. | |
2594 | (cp_find_first_component): Separate code into | |
2595 | cp_find_first_component_aux. | |
2596 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
2597 | (demangled_name_complaint): New. | |
2598 | ||
a257b5bb AC |
2599 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
2600 | ||
2601 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
2602 | the payload size. Update comments to reflect. Fixes problem of | |
2603 | GDB not sending small packets as found by Fred Fish. | |
2604 | ||
0a2cfde4 AC |
2605 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
2606 | ||
2607 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
2608 | ||
3fcb8548 AC |
2609 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
2610 | ||
2611 | * remote.c (remote_wait): Call error, and not warning, when the | |
2612 | packet is corrupt. | |
2613 | (remote_async_wait): Ditto. | |
2614 | ||
9f9970a3 DJ |
2615 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
2616 | ||
2617 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
2618 | ||
83a8ccca DJ |
2619 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
2620 | ||
2621 | * cli/cli-logging.c (pop_output_files): Add void to function | |
2622 | definition. | |
2623 | ||
d2cf594a AC |
2624 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
2625 | ||
2626 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
2627 | the buffer contents. | |
2628 | ||
0fac0b41 DJ |
2629 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
2630 | ||
2631 | * cli/cli-logging.c: New file. | |
2632 | * cli-out.c (struct ui_out_data): Add original_stream. | |
2633 | (cli_redirect): New function. | |
2634 | (cli_ui_out_impl): Add cli_redirect. | |
2635 | (cli_out_new): Initialize original_stream. | |
2636 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
2637 | (uo_redirect, ui_out_redirect): New. | |
2638 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
2639 | (redirect_ftype): New. | |
2640 | (ui_out_redirect): Add prototype. | |
2641 | * Makefile.in: Add rules for cli-logging.c. | |
2642 | * NEWS: Mention "set logging". | |
2643 | ||
88a07d7c EZ |
2644 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
2645 | ||
2646 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
2647 | ||
4eb58876 AC |
2648 | 2003-06-27 Andrew Cagney <cagney@redhat.com> |
2649 | ||
2650 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
2651 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
2652 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
2653 | (avr_gdbarch_init): Do not set call_dummy_address. | |
2654 | ||
1549f619 EZ |
2655 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
2656 | ||
2657 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
2658 | Move the checks for the non-mainline case a bit earlier to avoid | |
2659 | doing some useless computations. | |
2660 | ||
3cb3398d EZ |
2661 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
2662 | ||
2663 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
2664 | ||
3799ccc6 EZ |
2665 | 2003-06-26 Elena Zannoni <ezannoni@redhat.com> |
2666 | ||
2667 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
2668 | sections. | |
2669 | ||
ce1f6491 MC |
2670 | 2003-06-26 Michael Chastain <mec@shout.net> |
2671 | ||
2672 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
2673 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
2674 | ||
d958dfd0 AC |
2675 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
2676 | ||
2677 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
2678 | altivec_expression.h and altivec_registers.h. | |
2679 | ||
d31431ed AC |
2680 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
2681 | ||
2682 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
2683 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
2684 | ||
714b1282 AC |
2685 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
2686 | ||
2687 | * utils.c (internal_vproblem): Print the problem to a reason | |
2688 | buffer and then pass to query. Make the msg variable more local. | |
2689 | ||
42efa47a AC |
2690 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
2691 | ||
2692 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
2693 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
2694 | * gdbarch.h, gdbarch.c: Re-generate. | |
2695 | * frame-base.c (default_frame_args_address): Update. Use | |
2696 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
2697 | not available. | |
2698 | (default_frame_locals_address): Ditto for | |
2699 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
2700 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
2701 | (vax_frame_num_args): Update. | |
2702 | (vax_gdbarch_init): Update. | |
2703 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2704 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2705 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2706 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2707 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2708 | * symtab.h (address_class): Update comments. | |
2709 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
2710 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2711 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2712 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2713 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2714 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2715 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2716 | * alpha-mdebug-tdep.c: Update. | |
2717 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
2718 | ||
8ffd9b1b AJ |
2719 | 2003-06-26 Andreas Jaeger <aj@suse.de> |
2720 | ||
2721 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
2722 | of SSE registers so that varargs functions work. Rework handling | |
2723 | of passing arguments on the stack. | |
2724 | (x86_64_store_return_value): Return double and float values in SSE | |
2725 | register. | |
2726 | ||
e8ac10a6 MC |
2727 | 2003-06-24 Michael Chastain <mec@shout.net> |
2728 | ||
2729 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
2730 | the "constructor breakpoints ignored" bug. | |
2731 | ||
986af8e6 DC |
2732 | 2003-06-25 David Carlton <carlton@kealia.com> |
2733 | ||
2734 | * MAINTAINERS: Update e-mail address. | |
2735 | ||
d64558a5 JB |
2736 | 2003-06-24 Jim Blandy <jimb@redhat.com> |
2737 | ||
e538d2d7 JB |
2738 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
2739 | ||
02631ec0 JB |
2740 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
2741 | function. | |
2742 | (ppc_linux_init_abi): Register it as the | |
2743 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
2744 | ||
e716d87a JB |
2745 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
2746 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
2747 | method. | |
2748 | ||
d64558a5 JB |
2749 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
2750 | (ppc64_standard_linkage_target): Use it. | |
2751 | ||
449a5da4 AC |
2752 | 2003-06-23 Andrew Cagney <cagney@redhat.com> |
2753 | ||
2754 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
2755 | for 0 "int0" and 4 "int32" sized registers. | |
2756 | * gdbtypes.c (builtin_type_int0): Define. | |
2757 | (build_gdbtypes): Initialize builtin_type_int0. | |
2758 | * gdbtypes.h (builtin_type_int0): Declare. | |
2759 | ||
b2a02dda SC |
2760 | 2003-06-23 Stephane Carrez <stcarrez@nerim.fr> |
2761 | ||
2762 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
2763 | as characters are unsigned. | |
2764 | ||
fba3138e DJ |
2765 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
2766 | ||
2767 | PR gdb/1179 | |
2768 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
2769 | ||
f6c8180b AC |
2770 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
2771 | ||
2772 | GDB 6.0 branch created. | |
f2c06f52 AC |
2773 | * README: Update. |
2774 | * PROBLEMS: Update. Empty. | |
2775 | * NEWS: Update. | |
f6c8180b | 2776 | |
ae822768 DJ |
2777 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
2778 | ||
2779 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
2780 | Suggested by Nick Hibma <n_hibma@webweaving.org>. | |
2781 | ||
261de166 AC |
2782 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
2783 | ||
2784 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
2785 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
2786 | Velikov. | |
2787 | ||
30e94205 DJ |
2788 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
2789 | ||
2790 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
2791 | compilers. | |
2792 | ||
9e14d721 DJ |
2793 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
2794 | ||
2795 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
2796 | argument of val_print. | |
2797 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
2798 | to the address argument of baseclass_offset or target_read_memory. | |
2799 | Do add it to the argument of cp_print_value_fields. | |
2800 | ||
a4b8ebc8 AC |
2801 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
2802 | ||
2803 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
2804 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
2805 | instead of 0..NUM_REGS. | |
2806 | (mips_register_reggroup_p): New function. | |
2807 | (mips_pseudo_register_write): New function. | |
2808 | (mips_pseudo_register_read): New function. | |
2809 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
2810 | based on the register's type. | |
2811 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
2812 | cooked. | |
2813 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
2814 | pseudo / cooked. | |
2815 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
2816 | (mips_register_type): Replace mips_register_virtual_type. Map | |
2817 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
2818 | when available. | |
2819 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
2820 | that the register is cooked / virtual. | |
2821 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
2822 | Only get the extra info when needed. | |
2823 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
2824 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
2825 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
2826 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
2827 | (mips_print_register): Use gdbarch_register_type, instead of | |
2828 | REGISTER_VIRTUAL_TYPE. | |
2829 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
2830 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
2831 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
2832 | Print the pseudo / cooked registers. | |
2833 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
2834 | Print the pseudo / cooked registers. | |
2835 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
2836 | REG_NUM is pseudo / cooked. | |
2837 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
2838 | (mips_n32n64_xfer_return_value): Ditto. | |
2839 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
2840 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
2841 | (mips_register_sim_regno): New function. | |
2842 | (mips_gdbarch_init): Set deprecated_register_byte, | |
2843 | register_group_p, pseudo_register_write, pseudo_register_read, | |
2844 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
2845 | instead of register_virtual_type. | |
2846 | * Makefile.in (mips-tdep.o): Update dependencies. | |
2847 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
2848 | REGISTER_VIRTUAL_TYPE. | |
2849 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
2850 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
2851 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
2852 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
2853 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
2854 | ||
325ed089 DJ |
2855 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
2856 | ||
2857 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
2858 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
2859 | (shell_escape): Use vfork. | |
2860 | ||
f0e7d0e8 AC |
2861 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
2862 | ||
c57bb9fa AC |
2863 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
2864 | 32 bit floating-point register saves. | |
2865 | ||
6e51443a AC |
2866 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
2867 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
2868 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
2869 | and deprecated_get_next_frame_hack instead of | |
2870 | deprecated_unwind_get_saved_register. | |
2871 | ||
ed183c7c AC |
2872 | * mips-tdep.c (mips_dump_tdep): Do not print |
2873 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
2874 | ||
f0e7d0e8 AC |
2875 | * frame.c (get_frame_register): New function. |
2876 | (frame_unwind_register_signed): New function. | |
2877 | (get_frame_register_signed): New function. | |
2878 | (frame_unwind_register_unsigned): New function. | |
2879 | (get_frame_register_unsigned): New function. | |
2880 | * frame.h: Add comments on naming schema. | |
2881 | (get_frame_register, frame_unwind_register_signed): Declare. | |
2882 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
2883 | (frame_unwind_register_unsigned): Declare. | |
2884 | (get_frame_register_unsigned): Declare. | |
2885 | ||
2224d941 TR |
2886 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
2887 | ||
2888 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
2889 | ||
8619218d TR |
2890 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
2891 | ||
2892 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
2893 | (avr_read_sp): Ditto. | |
2894 | ||
0b1b50c0 DJ |
2895 | 2003-06-20 Daniel Jacobowitz <drow@mvista.com> |
2896 | ||
2897 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
2898 | * config/arm/nm-linux.h: Likewise. | |
2899 | * config/arm/tm-linux.h: Likewise. | |
2900 | * config/ia64/nm-linux.h: Likewise. | |
2901 | * config/ia64/tm-ia64.h: Likewise. | |
2902 | * config/s390/tm-linux.h: Likewise. | |
2903 | * config/s390/tm-s390.h: Likewise. | |
2904 | * s390-nat.c: Likewise. | |
2905 | * s390-tdep.c: Likewise. | |
2906 | ||
2907 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
2908 | * config/ia64/linux.mt: Likewise. | |
2909 | * config/m68k/linux.mh: Likewise. | |
2910 | * config/mips/linux.mt: Likewise. | |
2911 | * config/powerpc/linux.mh: Likewise. | |
2912 | * config/sh/linux.mt: Likewise. | |
2913 | ||
c8c18e65 KW |
2914 | 2003-06-19 Kris Warkentin <kewarken@qnx.com> |
2915 | ||
2916 | * solib.c (solib_open): Change tests for whether to search | |
2917 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
2918 | comments. | |
2919 | ||
dcccef2e TR |
2920 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
2921 | ||
2922 | * avr-tdep.c (avr_frame_address): Delete function. | |
2923 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
2924 | set_gdbarch_frame_args_address. | |
2925 | ||
5861a190 AC |
2926 | 2003-06-19 Andrew Cagney <cagney@redhat.com> |
2927 | ||
2928 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
2929 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
2930 | (mips_register_convert_to_type): Delete declaration. | |
2931 | (mips_register_convert_from_type): Delete declaration. | |
2932 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
2933 | kernel/. | |
2934 | ||
0274a8ce MS |
2935 | 2003-06-19 Michael Snyder <msnyder@redhat.com> |
2936 | ||
2937 | * linux-nat.h: New file. | |
2938 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 2939 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 2940 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 2941 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
2942 | (linux_make_note_section): Iterate over lwps instead of threads. |
2943 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
2944 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 2945 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
2946 | Add dependency on linux_nat_h. |
2947 | ||
adf5f719 TR |
2948 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
2949 | ||
2950 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
2951 | ||
6766a268 DJ |
2952 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
2953 | ||
2954 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
2955 | ||
1171114a DJ |
2956 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
2957 | ||
2958 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
2959 | ||
adcf68a2 TR |
2960 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
2961 | ||
2962 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
2963 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
2964 | ||
ea67f13b DJ |
2965 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
2966 | ||
2967 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
2968 | (generic_prepare_to_proceed): Remove. | |
2969 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
2970 | (generic_prepare_to_proceed): Remove prototype. | |
2971 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
2972 | * gdbarch.c: Regenerate. | |
2973 | * gdbarch.h: Regenerate. | |
2974 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
2975 | * hppah-nat.c (hppa_switched_threads): Remove. | |
2976 | * infrun.c (prepare_to_proceed): New static function, copied from | |
2977 | generic_prepare_to_proceed. Remove select_it argument. | |
2978 | (proceed): Call prepare_to_proceed. | |
2979 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
2980 | variables. | |
2981 | (ptrace_wait): Don't set the removed variables. | |
2982 | (hppa_switched_threads): Remove. | |
2983 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
2984 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
2985 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
2986 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
2987 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
2988 | ||
4add8633 TR |
2989 | 2003-06-18 Theodore A. Roth <troth@openavr.org> |
2990 | ||
2991 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
2992 | trad-frame.h. | |
2993 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
2994 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
2995 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
2996 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
2997 | (struct frame_extra_info): Remove. | |
2998 | (struct avr_unwind_cache): Define. | |
2999 | (avr_write_sp): Delete function. | |
3000 | (avr_read_fp): Ditto. | |
3001 | (avr_init_extra_frame_info): Ditto. | |
3002 | (avr_pop_frame): Ditto. | |
3003 | (avr_frame_saved_pc): Ditto. | |
3004 | (avr_saved_pc_after_call): Ditto. | |
3005 | (avr_push_return_address): Ditto. | |
3006 | (avr_frame_chain): Ditto. | |
3007 | (avr_store_struct_return): Ditto. | |
3008 | (avr_push_arguments): Ditto. | |
3009 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
3010 | cache unwinding. Now returns end of prologue PC. | |
3011 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
3012 | by using avr_scan_prologue. | |
3013 | (avr_scan_arg_moves): New function. | |
3014 | (avr_saved_regs_unwinder): Ditto. | |
3015 | (avr_frame_unwind_cache): Ditto. | |
3016 | (avr_unwind_pc): Ditto. | |
3017 | (avr_frame_this_id): Ditto. | |
3018 | (avr_frame_prev_register): Ditto. | |
3019 | (avr_frame_p): Ditto. | |
3020 | (avr_frame_base_address ): Ditto. | |
3021 | (avr_unwind_dummy_id): Ditto. | |
3022 | (avr_push_dummy_code): Ditto. | |
3023 | (push_stack_item): Ditto. | |
3024 | (pop_stack_item): Ditto. | |
3025 | (avr_push_dummy_call): Ditto. | |
3026 | (struct stack_item): Define. | |
3027 | (avr_frame_unwind): Declare structure. | |
3028 | (avr_frame_base): Ditto. | |
3029 | (avr_gdbarch_init): Remove calls to | |
3030 | set_gdbarch_deprecated_init_frame_pc, | |
3031 | set_gdbarch_deprecated_target_read_fp, | |
3032 | set_gdbarch_deprecated_dummy_write_sp, | |
3033 | set_gdbarch_deprecated_fp_regnum, | |
3034 | set_gdbarch_deprecated_push_arguments, | |
3035 | set_gdbarch_deprecated_push_return_address, | |
3036 | set_gdbarch_deprecated_pop_frame, | |
3037 | set_gdbarch_deprecated_store_struct_return, | |
3038 | set_gdbarch_deprecated_frame_init_saved_regs, | |
3039 | set_gdbarch_deprecated_init_extra_frame_info, | |
3040 | set_gdbarch_deprecated_frame_chain, | |
3041 | set_gdbarch_deprecated_frame_saved_pc, | |
3042 | set_gdbarch_deprecated_saved_pc_after_call. | |
3043 | Add calls to set_gdbarch_push_dummy_call, | |
3044 | set_gdbarch_push_dummy_code, | |
3045 | frame_unwind_append_predicate, | |
3046 | frame_base_set_default, | |
3047 | set_gdbarch_unwind_dummy_id, | |
3048 | set_gdbarch_unwind_pc. | |
3049 | Wrap a long line. | |
3050 | ||
7be04a68 MS |
3051 | 2003-06-18 Corinna Vinschen <vinschen@redhat.com> |
3052 | ||
3053 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
3054 | registers for H8/300S. | |
3055 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 3056 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 3057 | |
ae087d01 DJ |
3058 | 2003-06-18 Daniel Jacobowitz <drow@mvista.com> |
3059 | ||
3060 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
3061 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
3062 | (lin_lwp_wait): Likewise. Update comments. | |
3063 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
3064 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
3065 | ||
07d8f827 SC |
3066 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
3067 | ||
3068 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
3069 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
3070 | declared by ALL_BLOCK_SYMBOLS. | |
3071 | ||
7cb47b14 SC |
3072 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
3073 | ||
3074 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
3075 | ("regcache.h"): Include it. | |
3076 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
3077 | ||
6ad8ae5c DJ |
3078 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
3079 | ||
3080 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
3081 | * infcmd.c (disconnect_command): New function. | |
3082 | (_initialize_infcmd): Add ``disconnect'' command. | |
3083 | * remote.c (remote_async_detach): Delete. | |
3084 | (remote_detach): Merge remote_async_detach. | |
3085 | (remote_disconnect): New. | |
3086 | (init_remote_ops): Set to_disconnect. | |
3087 | (init_remote_cisco_ops): Likewise. | |
3088 | (init_remote_async_ops): Likewise. Use remote_detach. | |
3089 | * target.c (cleanup_target): Default to_disconnect. | |
3090 | (update_current_target): Inherit to_disconnect. | |
3091 | (target_disconnect, debug_to_disconnect): New functions. | |
3092 | (setup_target_debug): Set to_disconnect. | |
3093 | * target.h (struct target_ops): Add to_disconnect. | |
3094 | (target_disconnect): Add prototype. | |
3095 | ||
687595f9 DJ |
3096 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
3097 | ||
3098 | * breakpoint.c (insert_catchpoint): New function. | |
3099 | (insert_breakpoints): Use catch_exceptions to call | |
3100 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
3101 | ||
29239a8f DJ |
3102 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
3103 | ||
3104 | * symfile.c (reread_symbols): Clear sym_private. | |
3105 | ||
2cdf3c63 AC |
3106 | 2003-06-17 Andrew Cagney <cagney@redhat.com> |
3107 | ||
3108 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
3109 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
3110 | declaration. | |
3111 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
3112 | comments. | |
3113 | ||
cf0e1e0d DJ |
3114 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
3115 | ||
3116 | * remote.c (remote_prepare_to_store): Replace call to | |
3117 | deprecated_read_register_bytes with multiple regcache_raw_read | |
3118 | calls. | |
3119 | ||
192cdb19 KW |
3120 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
3121 | ||
3122 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
3123 | (nto_find_and_open_solib): Likewise. | |
3124 | (nto_init_solib_absolute_prefix): Likewise. | |
3125 | (_initialize_nto_tdep): Fix indentation. | |
3126 | ||
89929b45 KW |
3127 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
3128 | ||
3129 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
3130 | ||
46019f27 KW |
3131 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
3132 | ||
3133 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
3134 | ||
1a38736e JB |
3135 | 2003-06-17 Jim Blandy <jimb@redhat.com> |
3136 | ||
3137 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
3138 | ||
3605c34a TR |
3139 | 2003-06-16 Theodore A. Roth <troth@openavr.org> |
3140 | ||
3141 | * avr-tdep.c (avr_extract_return_value): New function. | |
3142 | (avr_gdbarch_init): Set extract_return_value method. | |
3143 | ||
870b3035 AC |
3144 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
3145 | ||
3146 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
3147 | * frame.c (legacy_saved_regs_prev_register): Only require | |
3148 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
3149 | there are always saved regs. | |
3150 | (deprecated_generic_get_saved_register): Do not require | |
3151 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
3152 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
3153 | use frame ID unwind instead. | |
3154 | (deprecated_get_next_frame_hack): New function. | |
3155 | ||
63d47a7d CV |
3156 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
3157 | ||
3158 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
3159 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
3160 | (h8300_push_return_address): Remove. | |
3161 | (h8300_gdbarch_init): Remove calls to | |
3162 | set_gdbarch_deprecated_dummy_write_sp, | |
3163 | set_gdbarch_deprecated_push_arguments and | |
3164 | set_gdbarch_deprecated_push_return_address. | |
3165 | Add call to set_gdbarch_push_dummy_call. | |
3166 | ||
4bb1dc5e CV |
3167 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
3168 | ||
3169 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
3170 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
3171 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 3172 | registers into safe registers. |
4bb1dc5e CV |
3173 | (h8300_skip_prologue): Check for stm instruction to push registers |
3174 | used for register variables onto stack. | |
3175 | (gdb_print_insn_h8300): Remove. | |
3176 | (h8300_examine_prologue): Add a comment. | |
3177 | (h8300_register_name): Take pseudo registers into account. | |
3178 | (h8300s_register_name): Ditto. | |
3179 | (h8300sx_register_name): Ditto. | |
3180 | (h8300_print_register): Ditto. | |
3181 | (h8300_print_registers_info): Define "nice" printing order. | |
3182 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
3183 | (h8300_register_type): Ditto. Return type used for remote connection | |
3184 | when requesting real CCR or EXR register, return actual type when | |
3185 | requesting pseudo CCR or EXR. | |
3186 | (h8300_pseudo_register_read): New function. | |
3187 | (h8300_pseudo_register_write): Ditto. | |
3188 | (h8300_dbg_reg_to_regnum): Ditto. | |
3189 | (h8300s_dbg_reg_to_regnum): Ditto. | |
3190 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
3191 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
3192 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
3193 | set_gdbarch_print_insn architecture dependent. | |
3194 | Call set_gdbarch_pseudo_register_read and | |
3195 | set_gdbarch_pseudo_register_write. | |
3196 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
3197 | ||
a59fe496 AC |
3198 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
3199 | ||
3200 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
3201 | * gdbarch.h, gdbarch.c: Re-generate. | |
3202 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3203 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3204 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3205 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3206 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3207 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3208 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3209 | * infcall.c (call_function_by_hand): Update. | |
3210 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
3211 | * frame.c (legacy_get_prev_frame): Do not assume | |
3212 | SAVE_DUMMY_FRAME_TOS_P. | |
3213 | * dummy-frame.c (find_dummy_frame): Update comment. | |
3214 | ||
6f4e5a41 AC |
3215 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
3216 | ||
3217 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
3218 | ||
72fab697 TR |
3219 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
3220 | ||
3221 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
3222 | (avr_scan_prologue): Correct some comments. | |
3223 | ||
e3d8b004 TR |
3224 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
3225 | ||
3226 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
3227 | prologue types. | |
8ffd9b1b | 3228 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
3229 | option. |
3230 | Add code to scan -mcall-prologues for mega devices. | |
3231 | ||
866b76ea TR |
3232 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
3233 | ||
3234 | * avr-tdep.c (avr_register_byte): Delete function. | |
3235 | (avr_register_raw_size): Delete function. | |
3236 | (avr_register_virtual_size): Delete function. | |
3237 | (avr_register_virtual_type): Delete function. | |
3238 | (avr_register_type): New function. | |
3239 | (avr_address_to_pointer): Remove unused code. | |
3240 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
3241 | avr_register_type() usage. | |
3242 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
3243 | Don't set deprecated_register_bytes. | |
3244 | Don't set deprecated_register_byte. | |
3245 | Don't set deprecated_register_raw_size. | |
3246 | Don't set deprecated_max_register_raw_size. | |
3247 | Don't set deprecated_register_virtual_size. | |
3248 | Don't set deprecated_max_register_virtual_size. | |
3249 | Don't set deprecated_register_virtual_type. | |
3250 | Set register_type method. | |
3251 | ||
3993f6b1 DJ |
3252 | 2003-06-15 Daniel Jacobowitz <drow@mvista.com> |
3253 | ||
3254 | * Makefile.in (linux-nat.o): Add rule. | |
3255 | * linux-nat.c: New file. | |
3256 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
3257 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
3258 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
3259 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3260 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
3261 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3262 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3263 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
3264 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
3265 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
3266 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
3267 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
3268 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
3269 | ||
786a90bb MK |
3270 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
3271 | ||
3272 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
3273 | replace out-of-date comment. | |
3274 | ||
3bd3f01e AC |
3275 | 2003-06-15 Andrew Cagney <cagney@redhat.com> |
3276 | ||
3277 | * rdi-share/host.h (Fail): Change to a varargs function. | |
3278 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 3279 | |
de5b9bb9 MK |
3280 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
3281 | ||
3282 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
3283 | (i386_convert_register_p, i386_register_to_value, | |
3284 | i386_register_from_value): Handle types longer than 8 bytes. | |
3285 | ||
d532c08f MK |
3286 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
3287 | ||
3288 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
3289 | Move floating-point code to new function in i387-tdep.c. | |
3290 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
3291 | New functions containing code moved here from i386-tdep.c. | |
3292 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
3293 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
3294 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
3295 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
3296 | value_to_register here. | |
8ffd9b1b | 3297 | |
42c466d7 AC |
3298 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
3299 | ||
3300 | * mips-tdep.c (mips_register_to_value): Make static. | |
3301 | (mips_value_to_register): Make static. | |
3302 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
3303 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
3304 | (ia64_register_virtual_size): Make static. | |
3305 | (ia64_register_byte): Make static. | |
3306 | * i387-tdep.c: Include "i387-tdep.h". | |
3307 | (print_387_control_word): Delete function. | |
3308 | (print_387_status_word): Delete function. | |
3309 | (print_387_status_bits): Delete function. | |
3310 | (print_387_control_bits): Delete function. | |
3311 | * Makefile.in (i387-tdep.o): Update dependencies. | |
3312 | * rdi-share/host.h (Fail): Declare. | |
3313 | * remote-rdi.c (Fail): Update to match declaration. | |
3314 | ||
2a9cda49 AC |
3315 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
3316 | ||
3317 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
3318 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
3319 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
3320 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
3321 | * README: Delete reference to remote-array. | |
3322 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
3323 | (remote-array.o): Delete target. | |
3324 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
3325 | * remote-array.c: Delete file. | |
3326 | ||
ff2e87ac AC |
3327 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
3328 | Mark Kettenis <kettenis@gnu.org> | |
3329 | ||
3330 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
3331 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
3332 | parameter with "frame". | |
3333 | * gdbarch.h, gdbarch.c: Re-generate. | |
3334 | * frame.h (put_frame_register): Declare. | |
3335 | * frame.c (put_frame_register): New function. | |
3336 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
3337 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
3338 | register value. | |
3339 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
3340 | register's location before storing. | |
3341 | * arch-utils.h (legacy_convert_register_p): Update. | |
3342 | (legacy_register_to_value, legacy_value_to_register): Update. | |
3343 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
3344 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
3345 | "frame" to REGISTER_TO_VALUE. | |
3346 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
3347 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
3348 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
3349 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
3350 | I386_EDI_REGNUM): New defines. | |
3351 | (i386_next_regnum, i386_convert_register_p, | |
3352 | i386_register_to_value, i386_value_to_register): New functions. | |
3353 | (i386_register_convertible, i386_register_convert_to_virtual, | |
3354 | i386_convert_to_raw): Remove functions. | |
3355 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
3356 | value_to_register instead of register_convertible, | |
3357 | register_convert_to_virtual and register_convert_to_raw. | |
3358 | * mips-tdep.c (mips_convert_register_p): New function. | |
3359 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
3360 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
3361 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
3362 | register_to_value. | |
3363 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
3364 | (alpha_value_to_register): Update, store the register. | |
3365 | (alpha_register_to_value): Update, fetch the register. | |
3366 | ||
98be1e77 TR |
3367 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
3368 | ||
3369 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
3370 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
3371 | Don't set deprecated_call_dummy_words. | |
3372 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
3373 | Don't set remote_translate_xfer_address. | |
3374 | (avr_io_reg_read_command): Remove commented out debug printf. | |
3375 | Wrap a long line. | |
3376 | ||
57bc6122 TR |
3377 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
3378 | ||
3379 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
3380 | causes gdb to seg fault. | |
3381 | ||
eb01fc62 DJ |
3382 | 2003-06-14 Daniel Jacobowitz <drow@mvista.com> |
3383 | ||
3384 | * sparc-nat.c (fetch_inferior_registers): Correct | |
3385 | a reference to "registers". | |
3386 | ||
3b3e6bee DJ |
3387 | 2003-06-14 Jeroen Dekkers <jeroen@dekkers.cx> |
3388 | ||
3389 | * Makefile.in (exc_request_U_h): Define | |
3390 | (exc_request_S_h): Likewise. | |
3391 | (msg_reply_S_h): Likewise. | |
3392 | (msg_U_h): Likewise. | |
3393 | (notify_S_h): Likewise. | |
3394 | (process_reply_S_h): Likewise. | |
3395 | (gnu-nat.o): Depend on gdb_obstack_h | |
3396 | * gnu-nat.c: Include "gdb_obstack.h". | |
3397 | ||
b8de8283 AC |
3398 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
3399 | ||
3400 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
3401 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 3402 | |
f3be58bc AC |
3403 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
3404 | ||
3405 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
3406 | when deprecated REGISTER macros can be deleted. | |
3407 | * gdbarch.h, gdbarch.c: Re-generate. | |
3408 | ||
4c0122c8 JB |
3409 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
3410 | ||
3411 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
3412 | Linux entry point symbols for _dl_debug_state, too. | |
3413 | ||
3e210248 AC |
3414 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
3415 | ||
3416 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
3417 | available, do not use the FP register, and always save the TOS. | |
3418 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
3419 | SAVE_DUMMY_FRAME_TOS. | |
3420 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
3421 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
3422 | (i386_push_dummy_call): Add 8 to the returned SP. | |
3423 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
3424 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
3425 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
3426 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
3427 | (x86_64_push_dummy_call): Return "sp + 16". | |
3428 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
3429 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
3430 | save_dummy_frame_tos. | |
3431 | ||
0b65af49 JB |
3432 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
3433 | ||
3434 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
3435 | declaration for function deleted in my change of 2003-06-12. | |
3436 | ||
4ea2465e TR |
3437 | 2003-06-13 Theodore A. Roth <troth@openavr.org> |
3438 | ||
3439 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
3440 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
3441 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
3442 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
3443 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
3444 | ||
1581182a MK |
3445 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
3446 | ||
3447 | From Kelley Cook <kelleycook@wideopenwest.com>: | |
3448 | * configure.host: Accept i[34567]86 variants. | |
3449 | * configure.tgt: Likewise. | |
3450 | * nlm/configure.in: Likewise. | |
3451 | * nlm/configure: Regenerated. | |
3452 | ||
7aa1783e RE |
3453 | 2003-06-13 Richard Earnshaw <rearnsha@arm.com> |
3454 | ||
3455 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
3456 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
3457 | * arm-linux-tdep.c: ... here. Make static. | |
3458 | (arm_linux_init_abi): Register it. | |
3459 | (solib-svr4.h): Include it. | |
3460 | * Makefile.in: Update dependencies. | |
3461 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
3462 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
3463 | ||
0261a0d0 CV |
3464 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
3465 | ||
3466 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
3467 | indicate registers used for return values. | |
3468 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
3469 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
3470 | members. | |
3471 | (h8300_init_extra_frame_info): Ditto. | |
3472 | (h8300_frame_locals_address): Removed. | |
3473 | (h8300_frame_args_address): Removed. | |
3474 | (h8300_extract_return_value): Use new regcache structure. Only care | |
3475 | for 16 bit CPUs. | |
3476 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
3477 | (h8300_store_return_value): Use new regcache structure. Only care | |
3478 | for 16 bit CPUs. | |
3479 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
3480 | (h8300_store_struct_return): Removed. | |
3481 | (h8300_extract_struct_value_address): Use new regcache structure. | |
3482 | (h8300h_extract_struct_value_address): Removed. | |
3483 | (h8300_push_dummy_code): New function. | |
3484 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
3485 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
3486 | set_gdbarch_store_return_value architecture dependent. | |
3487 | Call set_gdbarch_push_dummy_code and | |
3488 | set_gdbarch_extract_struct_value_address. | |
3489 | Remove calls to set_gdbarch_frame_args_address, | |
3490 | set_gdbarch_frame_locals_address, | |
3491 | set_gdbarch_deprecated_store_struct_return, | |
3492 | set_gdbarch_deprecated_extract_return_value, | |
3493 | set_gdbarch_deprecated_extract_struct_value_address, | |
3494 | set_gdbarch_deprecated_call_dummy_words and | |
3495 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
3496 | ||
055c394a CV |
3497 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
3498 | ||
3499 | * h8300-tdep.c (h8300_register_byte): Remove. | |
3500 | (h8300h_register_byte): Remove. | |
3501 | (h8300_register_virtual_type): Remove. Substitute by... | |
3502 | (h8300_register_type): New function. | |
3503 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
3504 | (h8300h_extract_struct_value_address): Ditto. | |
3505 | (h8300_gdbarch_init): Drop calls to | |
3506 | set_gdbarch_deprecated_register_byte and | |
3507 | set_gdbarch_deprecated_register_virtual_type. | |
3508 | Add call to set_gdbarch_register_type. | |
3509 | ||
9c04cab7 AC |
3510 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
3511 | ||
3512 | * gdbarch.sh: Update comments on registers. | |
3513 | (deprecated_register_byte): Rename register_byte. | |
3514 | (deprecated_register_raw_size): Rename register_raw_size. | |
3515 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
3516 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
3517 | * gdbarch.h, gdbarch.c: Re-generate. | |
3518 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3519 | * vax-tdep.c (vax_gdbarch_init): Update. | |
3520 | * v850-tdep.c (v850_gdbarch_init): Update. | |
3521 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3522 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3523 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3524 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3525 | * ns32k-tdep.c: Update. | |
3526 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3527 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3528 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3529 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3530 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3531 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3532 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3533 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
3534 | * frv-tdep.c (frv_gdbarch_init): Update. | |
3535 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3536 | * avr-tdep.c (avr_gdbarch_init): Update. | |
3537 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
3538 | * arm-tdep.c (arm_gdbarch_init): Update. | |
3539 | ||
b060cbea AC |
3540 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
3541 | ||
3542 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
3543 | mips_o32_use_struct_convention with always_use_struct_convention. | |
3544 | ||
0fc9922a DC |
3545 | 2003-06-12 David Carlton <carlton@kealia.com> |
3546 | ||
3547 | * cp-namespace.c (cp_set_block_scope): Comment out | |
3548 | processing_has_namespace_info branch. | |
3549 | ||
1fd35568 JB |
3550 | 2003-06-12 Jim Blandy <jimb@redhat.com> |
3551 | ||
f470a70a JB |
3552 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
3553 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
3554 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
3555 | functions, macros, and types for working with PPC instructions. | |
3556 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
3557 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
3558 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
3559 | for recognizing and skipping linkage functions. | |
3560 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
3561 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
3562 | ||
49ff75ad JB |
3563 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
3564 | register offsets for both the 32- and 64-bit interfaces. | |
3565 | ||
bd918c83 JB |
3566 | Actually finish the job started by my change of 2003-05-29. |
3567 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
3568 | other #definition of this. | |
3569 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
3570 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
3571 | static. | |
3572 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
3573 | method for GDBARCH. | |
3574 | ||
3575 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
3576 | 'long' on ppc64-*-linux*. | |
3577 | ||
f8c59253 JB |
3578 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
3579 | isn't #defined, assume the register doesn't exist: act as if | |
3580 | tdep->ppc_mq_regnum were -1. | |
3581 | ||
8fbb30b1 JB |
3582 | * configure.host, configure.tgt: Add entries for |
3583 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
3584 | powerpc/linux.mt. | |
3585 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
3586 | New files. | |
3587 | ||
1fd35568 JB |
3588 | * arch-utils.c (always_use_struct_convention): New function. |
3589 | * arch-utils.h (always_use_struct_convention): New prototype. | |
3590 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
3591 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
3592 | instead of alpha_use_struct_convention. | |
3593 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
3594 | (cris_gdbarch_init): Register always_use_struct_convention, | |
3595 | instead of cris_use_struct_convention. | |
3596 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
3597 | (frv_gdbarch_init): Register always_use_struct_convention, | |
3598 | instead of frv_use_struct_convention. | |
3599 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
3600 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
3601 | instead of h8300_use_struct_convention. | |
e3305dd9 | 3602 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
3603 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
3604 | instead of mips_o32_use_struct_convention. | |
3605 | ||
e14e6e9c AC |
3606 | 2003-06-12 Andrew Cagney <cagney@redhat.com> |
3607 | ||
3608 | * wince.c: Include "mips-tdep.h". | |
3609 | * mips-tdep.h (mips_next_pc): Declare. | |
3610 | * mcore-tdep.c: Make more local functions static. | |
3611 | * Makefile.in (wince.o): Update dependencies. | |
3612 | ||
2335f48e DC |
3613 | 2003-06-12 David Carlton <carlton@kealia.com> |
3614 | ||
3615 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
3616 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
3617 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
3618 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
3619 | SYMBOL_NATURAL_NAME. | |
3620 | ||
f70a7d61 AS |
3621 | 2003-06-12 Andreas Schwab <schwab@suse.de> |
3622 | ||
3623 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
3624 | ||
b6429628 DC |
3625 | 2003-06-12 David Carlton <carlton@bactrian.org> |
3626 | ||
3627 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
3628 | Add declaration of lookup_partial_symbol. | |
3629 | * symtab.c (remove_params): Move to cp-support.c. | |
3630 | (overload_list_add_symbol, make_symbol_overload_list) | |
3631 | (sym_return_val_size, sym_return_val_index): Ditto. | |
3632 | (lookup_partial_symbol): Make extern. | |
3633 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
3634 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
3635 | symtab.h, and block.h. | |
3636 | (remove_params): Move here from symtab.c. | |
3637 | (overload_list_add_symbol, make_symbol_overload_list) | |
3638 | (sym_return_val_size, sym_return_val_index): Ditto. | |
3639 | * valops.c: Include cp-support.h. | |
3640 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
3641 | frame_h, and block_h. | |
3642 | (valops.o): Depend on cp_support_h. | |
3643 | ||
084edea5 CV |
3644 | 2003-06-12 Corinna Vinschen <vinschen@redhat.com> |
3645 | ||
3646 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
3647 | substitute by NUM_REGS throughout. | |
3648 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
3649 | (h8300s_register_name): New function for H8S registers. | |
3650 | (h8300sx_register_name): Ditto for H8SX registers. | |
3651 | (h8300_print_register): Revise register printing, avoid depending | |
3652 | on 32 bit long. | |
0261a0d0 | 3653 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
3654 | (h8300h_register_byte): New function for any other architecture. |
3655 | (h8300_register_raw_size): Remove. | |
3656 | (h8300_register_virtual_type): Revise to return actually useful | |
3657 | type. | |
3658 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
3659 | (h8300h_extract_struct_value_address): New function for any other | |
3660 | architecture. | |
3661 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
3662 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
3663 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
3664 | Remove calls to set_gdbarch_deprecated_register_size, | |
3665 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
3666 | set_gdbarch_deprecated_max_register_raw_size, | |
3667 | set_gdbarch_register_virtual_size and | |
3668 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
3669 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
3670 | set_gdbarch_long_double_bit. | |
3671 | ||
06194148 JJ |
3672 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
3673 | ||
8ffd9b1b AJ |
3674 | * doublest.c (convert_doublest_to_floatformat): When dealing |
3675 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
3676 | processing a full 32 bits of mantissa. |
3677 | ||
de4f826b DC |
3678 | 2003-06-11 David Carlton <carlton@bactrian.org> |
3679 | ||
3680 | * dictionary.h: New. | |
3681 | * dictionary.c: New. | |
3682 | * block.h: Add opaque declaration for struct dictionary. | |
3683 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
3684 | 'sym' members. | |
3685 | (BLOCK_DICT): New macro. | |
3686 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
3687 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
3688 | BLOCK_SHOULD_SORT. | |
3689 | (ALL_BLOCK_SYMBOLS): Update definition. | |
3690 | * Makefile.in (SFILES): Add dictionary.c. | |
3691 | (dictionary_h): New. | |
3692 | (COMMON_OBS): Add dictionary.o. | |
3693 | (dictionary.o): New. | |
3694 | (ada-lang.o): Depend on dictionary_h. | |
3695 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
3696 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
3697 | (mi-cmd-stack.o): Ditto. | |
3698 | (gdbtk-cmds.o): Update dependencies. | |
3699 | (gdbtk-stack.o): Ditto. | |
3700 | * ada-lang.c: Include dictionary.h. | |
3701 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
3702 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
3703 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
3704 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
3705 | 'is_sorted'. | |
3706 | * mdebugread.c: Include dictionary.h. | |
3707 | (struct parse_stack): Delete 'maxsyms' member. | |
3708 | (parse_symbol): Update calls to new_block. Delete calls to | |
3709 | shrink_block. Use dictionary methods. | |
3710 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
3711 | Update calls to new_symtab. Don't maintain maxsyms data. | |
3712 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
3713 | (add_symbol): Just call dict_add_symbol. | |
3714 | (new_symtab): Delete 'maxsyms' argument. | |
3715 | (new_symtab): Update calls to new_block. | |
3716 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
3717 | (shrink_block): Delete function. | |
3718 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
3719 | dict_add_symbol. | |
3720 | * jv-lang.c: Include dictionary.h. | |
3721 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
3722 | appropriately. Set class_symtab->free_func. Make sure the | |
3723 | blockvector is big enough to hold two blocks. | |
3724 | (add_class_symtab_symbol): Use dictionary methods. | |
3725 | (free_class_block): New function. | |
3726 | (type_from_class): Replace explicit iteration by | |
3727 | ALL_BLOCK_SYMBOLS. | |
3728 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
3729 | 'free_func'. | |
3730 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
3731 | sort_symtab_syms. | |
3732 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
3733 | sort_symtab_syms. | |
3734 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
3735 | Include dictionary.h. | |
3736 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
3737 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
3738 | sort_symtab_syms. | |
3739 | * objfiles.c: Include dictionary.h. | |
3740 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
3741 | * buildsym.c: Include dictionary.h. | |
3742 | (finish_block): Use dictionary methods. | |
3743 | (end_symtab): Set free_func to NULL, not free_ptr. | |
3744 | * tracepoint.c: Include dictionary.h. | |
3745 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
3746 | (scope_info): Ditto. | |
3747 | * stack.c: Include dictionary.h. | |
3748 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
3749 | (print_block_frame_labels, print_frame_arg_vars) | |
3750 | (print_frame_args): Ditto. | |
3751 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
3752 | (dump_symtab): Ditto. | |
3753 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
3754 | Include dictionary.h. | |
3755 | * symfile.h: Delete declarations of sort_block_syms, | |
3756 | sort_symtab_syms. | |
3757 | * symfile.c (sort_block_syms): Delete. | |
3758 | (sort_symtab_syms): Delete. | |
3759 | * symtab.c: Include dictionary.h. | |
3760 | (lookup_block_symbol): Use dictionary iterators. | |
3761 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
3762 | (search_symbols, make_symbol_completion_list): Ditto. | |
3763 | (make_symbol_overload_list): Ditto. | |
3764 | * valops.c (value_of_local): Use dict_empty. | |
3765 | Include dictionary.h. | |
3766 | ||
a31f978c JB |
3767 | 2003-06-11 J. Brobecker <brobecker@gnat.com> |
3768 | ||
3769 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
3770 | ||
526e70c0 DC |
3771 | 2003-06-11 David Carlton <carlton@bactrian.org> |
3772 | ||
3773 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
3774 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
3775 | blocks. | |
3776 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
3777 | * symfile.c (sort_block_syms): Delete. | |
3778 | (sort_symtab_syms): Ditto. | |
3779 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
3780 | declarations. | |
3781 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
3782 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
3783 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
3784 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
3785 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
3786 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
3787 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
3788 | ||
33c08150 JJ |
3789 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
3790 | ||
8ffd9b1b | 3791 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
3792 | bits to 128. |
3793 | ||
781a750d AC |
3794 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
3795 | ||
3796 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
3797 | REGISTER_CONVERTIBLE. | |
3798 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
3799 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
3800 | * gdbarch.h, gdbarch.c: Re-generate. | |
3801 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
3802 | generic_register_convertible_not. | |
3803 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
3804 | generic_register_convertible. | |
3805 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
3806 | * sh-tdep.c (sh64_push_arguments): Update. | |
3807 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
3808 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
3809 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
3810 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
3811 | * arch-utils.c (legacy_value_to_register): Update. | |
3812 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3813 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
3814 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3815 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
3816 | * infcmd.c (default_print_registers_info): Update. | |
3817 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3818 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
3819 | * i386-tdep.c (i386_gdbarch_init): Update. | |
3820 | (i386_register_convert_to_raw): Update. | |
3821 | ||
cd90e54f AC |
3822 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
3823 | ||
3824 | * remote-fileio.c: Include "remote-fileio.h". | |
3825 | * Makefile.in (remote-fileio.o): Update dependencies. | |
3826 | (remote_fileio_h): Fix typo. | |
3827 | ||
a78f21af AC |
3828 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
3829 | ||
3830 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
3831 | (xstormy16_save_dummy_frame_tos): Make static. | |
3832 | (_initialize_xstormy16_tdep): Add declaration. | |
3833 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
3834 | * v850-tdep.c: Make local functions static. | |
3835 | (_initialize_v850_tdep): Add declaration. | |
3836 | * sparc-tdep.c: Make local functions static. | |
3837 | (_initialize_sparc_tdep): Add declaration. | |
3838 | * sh-tdep.c: Make local functions static. | |
3839 | (_initialize_sh_tdep): Add declaration. | |
3840 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
3841 | * s390-tdep.c: Make local functions static. | |
3842 | (_initialize_s390_tdep): Add declaration. | |
3843 | * dbxread.c (find_stab_function_addr): Make static. | |
3844 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
3845 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
3846 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
3847 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
3848 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
3849 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
3850 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
3851 | * remote-array.c (_initialize_array): Add declaration. | |
3852 | (_initialize_remote_monitors): Add declaration. | |
3853 | * remote-mips.c: Make local functions static. | |
3854 | (_initialize_remote_mips): Add declaration. | |
3855 | * mcore-tdep.c: Make all local functions static. | |
3856 | (_initialize_mcore_tdep): Add declaration. | |
3857 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
3858 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
3859 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
3860 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
3861 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
3862 | * remote-est.c (_initialize_est): Add declaration. | |
3863 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
3864 | (m68hc11_call_dummy_address): Make static. | |
3865 | * ia64-tdep.c: Make local functions static. | |
3866 | (_initialize_ia64_tdep): Add declaration. | |
3867 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
3868 | * monitor.c (monitor_wait_filter): Make static. | |
3869 | (_initialize_remote_monitors): Add declaration. | |
3870 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
3871 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
3872 | (expect_n): Make static. | |
3873 | (_initialize_remote_e7000): Add declaration. | |
3874 | * ser-e7kpc.c: Always include "defs.h". | |
3875 | (_initialize_ser_e7000pc): Add declaration. | |
3876 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
3877 | * cris-tdep.c: Make all but one function static. | |
3878 | (_initialize_cris_tdep): Add declaration. | |
3879 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
3880 | * solib.c (update_solib_list): Make static. | |
3881 | (_initialize_solib): Add declaration. | |
3882 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
3883 | (_initialize_avr_tdep): Add declaration. | |
3884 | * remote-rdi.c (voiddummy): Make static. | |
3885 | (_initialize_remote_rdi): Add declaration. | |
3886 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
3887 | * remote-rdp.c (send_rdp): Make static. | |
3888 | (_initialize_remote_rdp): Add declaration. | |
3889 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
3890 | ||
cbcdb1f5 CV |
3891 | 2003-06-11 Corinna Vinschen <vinschen@redhat.com> |
3892 | ||
3893 | * remote-fileio.c: Make ari happy. | |
3894 | ||
a191ea8d JB |
3895 | 2003-06-10 J. Brobecker <brobecker@gnat.com> |
3896 | ||
3897 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
3898 | fetching the trailing bytes of the buffer we are about to write. | |
3899 | ||
0ef75e11 AC |
3900 | 2003-06-10 Andrew Cagney <cagney@redhat.com> |
3901 | ||
3902 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
3903 | * Makefile.in (remote-fileio.o): Update dependencies. | |
3904 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
3905 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
3906 | (remote_fio_jmp_buf): Delete global variable. | |
3907 | ||
449092f6 | 3908 | 2003-06-10 Corinna Vinschen <vinschen@redhat.com> |
559fa028 | 3909 | Martin M. Hunt <hunt@redhat.com> |
449092f6 | 3910 | |
559fa028 AC |
3911 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
3912 | (SFILES): Add remote-fileio.c. | |
3913 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
3914 | dependencies for building remote.o. | |
449092f6 CV |
3915 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
3916 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 3917 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
3918 | static storage class. |
3919 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
3920 | 'F' packet. | |
3921 | (_initialize_remote): Call initialize_remote_fileio(). | |
3922 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
3923 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
3924 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
3925 | (captured_main): Initialize new ui_files. | |
3926 | * ui-file.c: Add read and fgets input functions. | |
3927 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
3928 | (null_file_read): New function. | |
3929 | (ui_file_read): New function. | |
3930 | (set_ui_file_read): New function. | |
3931 | (stdio_file_read): New function. | |
3932 | * ui-file.h: New type ui_file_read_ftype. | |
3933 | (set_ui_file_read): Declare. | |
3934 | (ui_file_read): Declare. | |
3935 | ||
248de703 AC |
3936 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
3937 | ||
3938 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
3939 | generic_unwind_get_saved_register, update comments. | |
3940 | * mips-tdep.c (mips_get_saved_register): Update. | |
3941 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
3942 | ||
0ed8aa57 AC |
3943 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
3944 | ||
3945 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
3946 | (vax_gdbarch_init): Do not set frame_locals_address. | |
3947 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
3948 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
3949 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
3950 | (s390_gdbarch_init): Do not set frame_args_address or | |
3951 | frame_locals_address. | |
3952 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
3953 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
3954 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
3955 | (hppa_frame_locals_address): Delete function. | |
3956 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
3957 | frame_locals_address. | |
3958 | * arm-tdep.c (arm_frame_args_address): Delete. | |
3959 | (arm_frame_locals_address): Delete. | |
3960 | (arm_gdbarch_init): Do not set frame_args_address, or | |
3961 | frame_locals_address. | |
3962 | ||
983a287a AC |
3963 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
3964 | ||
3965 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
3966 | * gdbarch.h, gdbarch.c: Re-generate. | |
3967 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
3968 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
3969 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
3970 | (frame_info): Use FRAME_NUM_ARGS_P. | |
3971 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
3972 | (arm_gdbarch_init): Do not set frame_num_args. | |
3973 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
3974 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
3975 | (hppa_gdbarch_init): Do not set frame_num_args. | |
3976 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
3977 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
3978 | frame_num_args to default frame_num_args_unknown. | |
3979 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
3980 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
3981 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3982 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
3983 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3984 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
3985 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
3986 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
3987 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
3988 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
3989 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
3990 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
3991 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
3992 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
3993 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
3994 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
3995 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
3996 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
3997 | ||
8d3b0994 AC |
3998 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
3999 | ||
4000 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
4001 | (print_frame_args): Moved to "stack.c". | |
4002 | * stack.c: Include "gdb_assert.h". | |
4003 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
4004 | (print_frame_args): Moved from "printcmd.c". | |
4005 | * frame.h (print_frame_args): Delete declaration. | |
4006 | * Makefile.in (stack.o): Update dependencies. | |
4007 | ||
25e3a86b AC |
4008 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
4009 | ||
4010 | * frame.c (get_prev_frame): Remove reference to | |
4011 | frame_args_address_correct in comments. | |
4012 | * frame-base.c (default_frame_args_address): Delete code | |
4013 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
4014 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
4015 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
4016 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
4017 | (vax_frame_args_address_correct): Delete declaration. | |
4018 | ||
a9e5fdc2 AC |
4019 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
4020 | ||
4021 | * gdbarch.sh (UNWIND_SP): Add. | |
4022 | * gdbarch.h, gdbarch.c: Re-generate. | |
4023 | * frame.c (frame_sp_unwind): New function. | |
4024 | (get_frame_sp): New function. | |
4025 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
4026 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
4027 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
4028 | value. | |
4029 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
4030 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
4031 | ||
8983bd83 AC |
4032 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
4033 | ||
7fec2c59 AC |
4034 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
4035 | REMOTE_BREAKPOINT. | |
4036 | * remote.c: Update. | |
4037 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
4038 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
4039 | * config/m68k/tm-sun3.h: Update. | |
4040 | * config/m68k/tm-m68klynx.h: Update. | |
4041 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
4042 | ||
8983bd83 AC |
4043 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
4044 | trad_frame". Update comments. | |
4045 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
4046 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
4047 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
4048 | ||
b9362cc7 AC |
4049 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
4050 | ||
4051 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
4052 | from GCC's acinclude.m4. | |
4053 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 4054 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
4055 | * main.c (error_init): Delete declaration. |
4056 | * defs.h (error_init): Declare. | |
4057 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
4058 | (rs6000_convert_from_func_ptr_addr): Make static. | |
4059 | (_initialize_rs6000_tdep): Add declaration. | |
4060 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
4061 | (show_commands, set_verbose, show_history): Delete declaration. | |
4062 | * top.h (set_verbose): Add declaration. | |
4063 | (show_history, set_history, show_commands): Add declaration. | |
4064 | (do_restore_instream_cleanup): Add declaration. | |
4065 | * objc-lang.c (specialcmp): Make static. | |
4066 | (print_object_command): Make static. | |
4067 | (find_objc_msgsend): Make static. | |
4068 | (find_objc_msgcall_submethod_helper): Make static. | |
4069 | (find_objc_msgcall_submethod): Make static. | |
4070 | (_initialize_objc_language): Add declaration. | |
4071 | (find_implementation_from_class): Make static. | |
4072 | (find_implementation): Make static. | |
4073 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
4074 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
4075 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
4076 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
4077 | (do_restore_user_call_depth): Make static. | |
4078 | (do_restore_instream_cleanup): Delete declaration. | |
4079 | (dont_repeat): Delete declaration. | |
4080 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
4081 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
4082 | * reggroups.c (_initialize_reggroup): Add declaration. | |
4083 | * cp-support.c (_initialize_cp_support): Add declaration. | |
4084 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
4085 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
4086 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
4087 | (_initialize_gnu_v3_abi): Add declaration. | |
4088 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
4089 | (_initialize_gnu_v2_abi): Add declaration. | |
4090 | * frame-base.c (_initialize_frame_base): Add declaration. | |
4091 | * doublest.c (floatformat_from_length): Make static. | |
4092 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
4093 | * frame.c (create_sentinel_frame): Make static. | |
4094 | (_initialize_frame): Add declaration. | |
4095 | * top.c (do_catch_errors): Make static. | |
4096 | (gdb_rl_operate_and_get_next_completion): Make static. | |
4097 | * typeprint.c: Include "typeprint.h". | |
4098 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
4099 | (sentinel_frame_this_id): Make static. | |
4100 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
4101 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
4102 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
4103 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
4104 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
4105 | * maint.c (maintenance_print_architecture): Make static. | |
4106 | * signals/signals.c (_initialize_signals): Add declaration. | |
4107 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
4108 | * jv-exp.y (push_variable): ISO C definition. | |
4109 | (push_qualified_expression_name): Ditto. | |
4110 | * memattr.c (_initialize_mem): Add declaration. | |
4111 | * remote.c (remote_check_watch_resources): Make static. | |
4112 | (remote_stopped_by_watchpoint): Make static. | |
4113 | (remote_stopped_data_address): Make static. | |
4114 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
4115 | (a0_regnum): Make static. | |
4116 | (d10v_frame_unwind_cache): Make static. | |
4117 | (d10v_frame_p): Make static. | |
4118 | * osabi.c (show_osabi): Make static. | |
4119 | (_initialize_gdb_osabi): Add extern declaration. | |
4120 | * gdbtypes.c (make_qualified_type): Make static. | |
4121 | (safe_parse_type): Make static. | |
4122 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
4123 | * macrotab.c (macro_bcache_free): Make static. | |
4124 | * interps.c (interp_set_quiet): Make static. | |
4125 | (interpreter_exec_cmd): Make static. | |
4126 | * stack.h (select_frame_command): New file. | |
4127 | * stack.c: Include "stack.h". | |
4128 | (select_frame_command_wrapper): Delete function. | |
4129 | (select_frame_command): Make global. | |
4130 | * infcall.c: Include "infcall.h". | |
4131 | * linespec.c: Include "linespec.h". | |
4132 | * symfile.c (sections_overlap): Make static. | |
4133 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
4134 | * charset.c (_initialize_charset): Add missing prototype. | |
4135 | * regcache.c (init_legacy_regcache_descr): Make static. | |
4136 | (do_regcache_xfree): Make static. | |
4137 | (regcache_xfer_part): Make static. | |
4138 | (_initialize_regcache): Add missing prototype. | |
4139 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
4140 | (breakpoint_sals_to_pc): Make static. | |
4141 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
4142 | * Makefile.in (stack_h): Define. | |
4143 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
4144 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
4145 | ||
a0f267c7 AC |
4146 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
4147 | ||
4148 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
4149 | (SFILES): Add trad-frame.c. | |
4150 | (trad_frame_h): Define. | |
4151 | (COMMON_OBS): Add trad-frame.o. | |
4152 | (trad-frame.o): Specify dependencies. | |
4153 | * d10v-tdep.c: Include "trad-frame.h". | |
4154 | (saved_regs_unwinder): Delete function. | |
4155 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
4156 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
4157 | trad_frame", delete "regs" and "prev_sp". | |
4158 | (prologue_find_regs): Use trad-frame. | |
4159 | * trad-frame.h, trad-frame.c: New files. | |
4160 | ||
4538b4f4 MK |
4161 | 2003-06-08 Mark Kettenis <kettenis@gnu.org> |
4162 | ||
4163 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
4164 | ||
a0273b2f AF |
4165 | 2003-06-07 Adam Fedor <fedor@gnu.org> |
4166 | ||
4167 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
4168 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
4169 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
4170 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 4171 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
4172 | Use it. |
4173 | ||
3a6c3343 AC |
4174 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4175 | ||
4176 | * symfile.h: Re-indent, clean up comments. | |
4177 | ||
b46e02f6 AC |
4178 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4179 | ||
4180 | * inferior.h (deprecated_write_sp): Replace | |
4181 | generic_target_write_sp. | |
4182 | * regcache.c (deprecated_write_sp): Replace | |
4183 | generic_target_write_sp. | |
4184 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4185 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4186 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4187 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4188 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4189 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4190 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4191 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4192 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4193 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4194 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4195 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4196 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4197 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4198 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4199 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4200 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
4201 | ||
a42e117c AC |
4202 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4203 | ||
4204 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
4205 | Assert that PC_REGNUM is valid. | |
4206 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
4207 | ||
bd1ce8ba AC |
4208 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4209 | ||
4210 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
4211 | * gdbarch.h, gdbarch.c: Regenerate. | |
4212 | * mn10300-tdep.c: Include "gdb_assert.h". | |
4213 | (mn10300_read_fp): New function. | |
4214 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
4215 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
4216 | * ia64-tdep.c: Include "gdb_assert.h". | |
4217 | (ia64_read_fp): New function. | |
4218 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
4219 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
4220 | * regcache.c (generic_target_read_sp): Delete function. | |
4221 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
4222 | * inferior.h (generic_target_read_sp): Delete declaration. | |
4223 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
4224 | generic_target_read_sp. | |
4225 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4226 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
4227 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4228 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4229 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
4230 | ||
ec5cbaec AC |
4231 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4232 | ||
4233 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
4234 | * gdbarch.h, gdbarch.c: Re-generate. | |
4235 | ||
cde9ea48 AC |
4236 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4237 | ||
4238 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
4239 | * gdbarch.h, gdbarch.c: Re-generate. | |
4240 | * regcache.c: Update comments on read_pc et.al. | |
4241 | (generic_target_read_pc): Delete function. | |
4242 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
4243 | * inferior.h (generic_target_read_pc): Delete declaration. | |
4244 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
4245 | generic_target_read_pc. | |
4246 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4247 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4248 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4249 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 4250 | |
9a90a780 AC |
4251 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
4252 | ||
4253 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
4254 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
4255 | Append period to coments. | |
4256 | ||
a39a16c4 MM |
4257 | 2003-06-06 Mark Mitchell <mark@codesourcery.com> |
4258 | ||
4259 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
4260 | (elfstab_offset_sections): Likewise. | |
4261 | * gdb-stabs.h (stab_section_info): Likewise. | |
4262 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
4263 | * objfiles.c (objfile_relocate): Likewise. | |
4264 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
4265 | * remote.c (get_offsets): Likewise. | |
4266 | (remote_cisco_objfile_relocate): Likewise. | |
4267 | * somread.c (som_symfile_offsets): Likewise. | |
4268 | * symfile.c (alloc_section_addr_info): New function. | |
4269 | (build_section_addr_info_from_section_tab): Use it. | |
4270 | (free_section_addr_info): Adjust. | |
4271 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
4272 | (syms_from_objfile): Allocate local_addr dynamically. | |
4273 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
4274 | dynamically. | |
4275 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
4276 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
4277 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
4278 | (alloc_section_addr_info): Declare it. | |
4279 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
4280 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
4281 | dynamically. | |
4282 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 4283 | |
20c6c2f8 AC |
4284 | 2003-06-06 Andrew Cagney <cagney@redhat.com> |
4285 | ||
4286 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
4287 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
4288 | ||
884a26c8 MS |
4289 | 2003-06-06 Michael Snyder <msnyder@redhat.com> |
4290 | ||
4291 | * h8300-tdep.c: Make tidy (long lines). | |
4292 | ||
088ce440 ML |
4293 | 2003-06-06 Michal Ludvig <mludvig@suse.cz> |
4294 | ||
8ffd9b1b | 4295 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
4296 | to regcache_collect(). |
4297 | ||
7d773d96 JB |
4298 | 2003-06-05 J. Brobecker <brobecker@gnat.com> |
4299 | ||
4300 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
4301 | pc_in_sigtramp multiarch method. | |
4302 | (hppa_hpux_som_init_abi): Use it. | |
4303 | (hppa_hpux_elf_init_abi): Likewise. | |
4304 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
4305 | macro has been multiarched. | |
4306 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
4307 | macro here, as hppa64 isn't multiarched yet. | |
4308 | ||
1df6926e AC |
4309 | 2003-06-05 Andrew Cagney <cagney@redhat.com> |
4310 | ||
4311 | * Makefile.in (value_h): Add $(frame_h). | |
4312 | * value.h: Include "frame.h". | |
4313 | (struct value): Replace "frame_addr" with "frame_id". | |
4314 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
4315 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
4316 | (value_copy): Use VALUE_FRAME_ID. | |
4317 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
4318 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
4319 | ||
6b53acc6 ML |
4320 | 2003-06-05 Michal Ludvig <mludvig@suse.cz> |
4321 | ||
4322 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
4323 | in each pass. | |
4324 | ||
4d9850d3 JJ |
4325 | 2003-06-05 Jeff Johnston <jjohnstn@redhat.com> |
4326 | ||
4327 | * thread-db.c (check_event): For create/death event breakpoints, | |
4328 | loop through all messages to ensure that we read the message | |
4329 | corresponding to the breakpoint we are at. | |
4330 | ||
8efca6ba MS |
4331 | 2003-06-04 Michael Snyder <msnyder@redhat.com> |
4332 | ||
4333 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
4334 | ||
0912c7f2 MK |
4335 | 2003-06-04 Mark Kettenis <kettenis@gnu.org> |
4336 | ||
4337 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
4338 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
4339 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
4340 | when handling .eh_frame sections. | |
4341 | ||
4e370325 JB |
4342 | 2003-06-04 J. Brobecker <brobecker@gnat.com> |
4343 | ||
4344 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
4345 | prepare_to_proceed procedure instead of the hppa-specific one. | |
4346 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
4347 | ||
b757528f | 4348 | 2003-06-04 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 4349 | |
b757528f JJ |
4350 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
4351 | * config.in: Regenerated. | |
4352 | * configure.in: Add test for syscall function and check for | |
4353 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
4354 | * configure: Regenerated. | |
4355 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
4356 | <sys/syscall.h>. | |
4357 | (kill_lwp): New function that uses tkill syscall or | |
4358 | uses kill, depending on whether threading model is nptl or not. | |
4359 | All callers of kill() changed to use kill_lwp(). | |
4360 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
4361 | see if all threads have already exited in the nptl model. | |
4362 | (stop_and_resume_callback): New callback function used by the | |
4363 | lin_lwp_wait thread exit handling code. | |
4364 | (stop_wait_callback): Check for threads already having exited and | |
4365 | delete such threads fromt the lwp list when discovered. | |
4366 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 4367 | |
b757528f JJ |
4368 | Roland McGrath <roland@redhat.com> |
4369 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
4370 | nptl libthread_db. | |
4371 | ||
087779b1 RH |
4372 | 2003-06-03 Richard Henderson <rth@redhat.com> |
4373 | ||
b21fd293 RH |
4374 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
4375 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
4376 | (alpha_sigtramp_frame_prev_register): Likewise. | |
4377 | (alpha_heuristic_frame_prev_register): Likewise. | |
4378 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
4379 | ||
8ffd9b1b | 4380 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
4381 | alpha-specific register id names. |
4382 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
4383 | (alpha_mdebug_frame_prev_register): Likewise. | |
4384 | ||
baa490c4 RH |
4385 | 2003-06-03 Richard Henderson <rth@redhat.com> |
4386 | ||
4387 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
4388 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
4389 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
4390 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
4391 | unwind routines. | |
4392 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4393 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4394 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
4395 | ||
4396 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
4397 | * Makefile.in (alpha-linux-tdep.o): Update. | |
4398 | ||
4399 | 2003-06-03 Richard Henderson <rth@redhat.com> | |
4400 | ||
4401 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
4402 | (alphabsd_fill_fpreg): Likewise. | |
4403 | ||
f534e522 JB |
4404 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
4405 | ||
4406 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
4407 | references to struct frame_info fields by calls to the equivalent | |
4408 | accessors. Necessary now that frame_info is opaque. | |
4409 | ||
4035536b JB |
4410 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
4411 | ||
4412 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
4413 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
4414 | structure, field no longer exists. | |
4415 | ||
0bd79c5c JB |
4416 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
4417 | ||
4418 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4419 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
4420 | ||
37bb6d9f JB |
4421 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
4422 | ||
4423 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
4424 | references to struct frame_info fields by calls to the equivalent | |
4425 | accessors. Necessary now that frame_info is opaque. | |
4426 | ||
852ee05c JB |
4427 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
4428 | ||
4429 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
4430 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
4431 | structure, field no longer exists. | |
4432 | ||
7d58c67d TR |
4433 | 2003-06-03 Theodore A. Roth <troth@openavr.org> |
4434 | ||
8ffd9b1b | 4435 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
4436 | accumulation of the size of all registers instead of blindly using |
4437 | DEPRECATED_REGISTER_BYTES. | |
4438 | ||
0a48e7e8 MS |
4439 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
4440 | ||
4441 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
4442 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
4443 | for h8300sx. | |
4444 | ||
9798ab0d JB |
4445 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
4446 | ||
4447 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
4448 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
4449 | ||
00b037e2 AC |
4450 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
4451 | ||
4452 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
4453 | (sparc_convert_to_raw): Delete function. | |
4454 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
4455 | register_convert_to_virtual. | |
4456 | ||
043b2f77 JJ |
4457 | 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> |
4458 | ||
4459 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
4460 | layer if not dealing with a statically-linked threaded program. | |
4461 | ||
f43caff8 KW |
4462 | 2003-06-03 Kris Warkentin <kewarken@qnx.com> |
4463 | ||
4464 | * solib.c (solib_open): Update comment to reflect actual search order. | |
4465 | ||
ae1e7417 AC |
4466 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
4467 | ||
4468 | * frame.c (get_frame_memory_signed): New function. | |
4469 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
4470 | (get_frame_arch): New function. | |
4471 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
4472 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
4473 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
4474 | get_frame_memory_unsigned and get_frame_arch. | |
4475 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
4476 | ||
cb123844 RG |
4477 | 2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk> |
4478 | ||
4479 | * MAINTAINERS (write after approval): Add myself. | |
4480 | ||
1bb792e9 JB |
4481 | 2003-06-03 Jim Blandy <jimb@redhat.com> |
4482 | ||
4483 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
4484 | elements of gregset_t are 64 bits each, but access registers | |
4485 | are still 32 bits, so they're packed two per gregset_t | |
4486 | element. Unpack/pack them properly. | |
4487 | ||
aee8d8ba DC |
4488 | 2003-06-02 David Carlton <carlton@bactrian.org> |
4489 | ||
4490 | * linespec.c (find_methods): Break out code into | |
4491 | add_matching_methods and add_constructors. | |
4492 | (add_matching_methods): New. | |
4493 | (add_constructors): Ditto. | |
4494 | ||
bf7488d2 AC |
4495 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
4496 | ||
bf7488d2 AC |
4497 | * sparc-tdep.c (sparc_print_registers): Delete call to |
4498 | REGISTER_CONVERTIBLE. | |
4499 | (sparc_gdbarch_init): Do not set register_convertible. | |
4500 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4501 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4502 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4503 | ||
adedef68 EZ |
4504 | 2003-06-02 Elena Zannoni <ezannoni@redhat.com> |
4505 | ||
8ffd9b1b | 4506 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
4507 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
4508 | (syms_from_objfile): Ditto. | |
4509 | ||
650fcc91 AS |
4510 | 2003-06-03 Andreas Schwab <schwab@suse.de> |
4511 | ||
4512 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
4513 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
4514 | ||
df4a182b RH |
4515 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4516 | ||
4517 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
4518 | a member of all_reggroup. | |
4519 | ||
c483c494 RH |
4520 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4521 | ||
4522 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
4523 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
4524 | (alpha_lds, alpha_sts): New. | |
4525 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 4526 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
4527 | restructure and fail for type sizes other than 4 or 8. |
4528 | (alpha_value_to_register): Similarly. | |
4529 | (alpha_extract_return_value): Use alpha_sts. | |
4530 | (alpha_store_return_value): Use alpha_lds. | |
4531 | (alpha_gdbarch_init): Update hooks. | |
4532 | ||
b38b6be2 RH |
4533 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4534 | ||
4535 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
4536 | regnum identifiers. | |
4537 | (alpha_sigtramp_register_address): Likewise. | |
4538 | ||
98a8e1e5 RH |
4539 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4540 | ||
4541 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
4542 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
4543 | * alpha-tdep.h: Declare them. | |
4544 | ||
4545 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
4546 | Remove zerobuf. Don't error on UNIQUE. | |
4547 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
4548 | (ALPHA_REGSET_UNIQUE): Provide default. | |
4549 | (supply_gregset): Use alpha_supply_int_regs. | |
4550 | (fill_gregset): Use alpha_fill_int_regs. | |
4551 | (supply_fpregset): Use alpha_supply_fp_regs. | |
4552 | (fill_fpregset): Use alpha_fill_fp_regs. | |
4553 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
4554 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
4555 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
4556 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
4557 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
4558 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
4559 | ||
67dfac52 RH |
4560 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4561 | ||
f75d70cc RH |
4562 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
4563 | ||
67dfac52 RH |
4564 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
4565 | (alpha_store_return_value): Likewise. | |
4566 | ||
0cf566ec DC |
4567 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
4568 | ||
4569 | * block.c (contained_in): Add 'const' to arguments. | |
4570 | (block_function): Ditto. | |
4571 | * block.h: Update declarations for block_function and | |
4572 | contained_in. | |
4573 | ||
cdef89d0 DC |
4574 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
4575 | ||
4576 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
4577 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
4578 | * p-valprint.c (pascal_val_print): Ditto. | |
4579 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
4580 | ||
72667056 RH |
4581 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4582 | ||
98a8e1e5 RH |
4583 | * alpha-tdep.c (alpha_push_dummy_call): Use |
4584 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 4585 | |
8ffd9b1b | 4586 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
4587 | sign-extension of 32-bit values. |
4588 | (alpha_store_return_value): Similarly. | |
0ede8eca | 4589 | |
98a8e1e5 RH |
4590 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
4591 | (alpha_extract_return_value): Likewise. | |
4592 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 4593 | |
98a8e1e5 RH |
4594 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
4595 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 4596 | |
98a8e1e5 RH |
4597 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
4598 | (alpha_extract_struct_value_address): Likewise. | |
4599 | (alpha_store_return_value): Likewise. | |
4600 | (alpha_store_struct_return): Remove. | |
4601 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 4602 | |
98a8e1e5 RH |
4603 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
4604 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
4605 | macros where appropriate. | |
4606 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
4607 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 4608 | |
98a8e1e5 RH |
4609 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
4610 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
4611 | for all others. | |
4612 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 4613 | |
6dd77b81 RH |
4614 | 2003-06-02 Richard Henderson <rth@redhat.com> |
4615 | ||
4616 | * top.h (lim_at_start): Declare. | |
4617 | * main.c (captured_main): Set it. | |
4618 | * top.c (lim_at_start): Define. | |
4619 | (command_loop): Use it instead of &environ. | |
4620 | * event-top.c (command_handler): Likewise. | |
4621 | ||
f4dbdb54 JT |
4622 | 2003-06-01 Jason Thorpe <thorpej@wasabisystems.com> |
4623 | ||
4624 | * mipsnbsd-tdep.c: Update copyright years. | |
4625 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
4626 | ||
8f285956 RH |
4627 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4628 | ||
98a8e1e5 RH |
4629 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
4630 | (alpha-linux-tdep.o): Update dependencies. | |
4631 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
4632 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 4633 | |
615967cb RH |
4634 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4635 | ||
98a8e1e5 RH |
4636 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
4637 | (alpha_gdbarch_init): Register it. | |
615967cb | 4638 | |
b59661bd AC |
4639 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
4640 | ||
4641 | * dwarfread.c: Eliminate "register" | |
4642 | (decode_die_type): Eliminate assignment within "if". | |
4643 | (struct_type, decode_array_element_type): Ditto. | |
4644 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
4645 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
4646 | (decode_modified_type, completedieinfo): Ditto. | |
4647 | * block.c: Eliminate "register". | |
4648 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
4649 | * cp-support.h (struct symbol): Opaque declaration. | |
4650 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
4651 | ||
5ef165c2 RH |
4652 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4653 | ||
98a8e1e5 RH |
4654 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
4655 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 4656 | |
143985b7 AF |
4657 | 2003-06-01 Adam Fedor <fedor@gnu.org> |
4658 | ||
4659 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
4660 | * gdbarch.[ch]: Regenerate. | |
4661 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
4662 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
4663 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
4664 | (i386_gdbarch_init): Set it into gdbarch. | |
4665 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
4666 | (rs6000_gdbarch_init): Set it in gdbarch. | |
4667 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
4668 | (sparc_gdbarch_init): Set it in gdbarch. | |
4669 | ||
ae0167b9 AC |
4670 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
4671 | ||
7c0b4a20 AC |
4672 | * defs.h (extract_address): Delete declaration. |
4673 | * findvar.c (extract_address): Delete function. | |
4674 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
4675 | extract_address with the inline equivalent, | |
4676 | extract_unsigned_integer. | |
4677 | (xstormy16_extract_struct_value_address): Ditto. | |
4678 | (xstormy16_pointer_to_address): Ditto. | |
4679 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
4680 | * v850-tdep.c (v850_push_arguments): Ditto. | |
4681 | (v850_extract_return_value): Ditto. | |
4682 | (v850_extract_struct_value_address): Ditto. | |
4683 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
4684 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
4685 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
4686 | (get_longjmp_target): Ditto. | |
4687 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
4688 | (sh64_extract_struct_value_address): Ditto. | |
4689 | (sh_push_arguments): Ditto. | |
4690 | (sh64_push_arguments): Ditto. | |
4691 | * remote-vxsparc.c (vx_read_register): Ditto. | |
4692 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
4693 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
4694 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
4695 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
4696 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
4697 | * mips-nat.c (get_longjmp_target): Ditto. | |
4698 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
4699 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
4700 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
4701 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
4702 | * irix5-nat.c (get_longjmp_target): Ditto. | |
4703 | * irix4-nat.c (get_longjmp_target): Ditto. | |
4704 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
4705 | (ia64_push_arguments): Ditto. | |
4706 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
4707 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
4708 | (h8300_store_return_value): Ditto. | |
4709 | (h8300_extract_struct_value_address): Ditto. | |
4710 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
4711 | (frv_push_arguments): Ditto. | |
4712 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
4713 | (avr_push_arguments): Ditto. | |
4714 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
4715 | (arm_get_longjmp_target): Ditto. | |
4716 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
4717 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
4718 | (alpha_get_longjmp_target): Ditto. | |
4719 | ||
ae0167b9 AC |
4720 | * solib-irix.c (extract_mips_address): Inline extract_address, |
4721 | replacing it with extract_signed_integer. | |
4722 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
4723 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
4724 | (first_link_map_member, open_symbol_file_object): Ditto. | |
4725 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
4726 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
4727 | (LM_NEXT, LM_NAME): Ditto. | |
4728 | ||
44d88583 RH |
4729 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4730 | ||
98a8e1e5 RH |
4731 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
4732 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
4733 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
4734 | (alpha_cannot_store_register): Likewise. | |
4735 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
4736 | * alpha-nat.c (supply_gregset): Likewise. | |
4737 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 4738 | |
310e9b6a AC |
4739 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
4740 | ||
4741 | * infcall.c (call_function_by_hand): Update comment on | |
4742 | DEPRECATED_DUMMY_WRITE_SP. | |
4743 | ||
4744 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
4745 | deprecated_dummy_write_sp. | |
4746 | (mips_eabi_push_dummy_call): Set the SP register. | |
4747 | (mips_o64_push_dummy_call): Set the SP register. | |
4748 | (mips_o32_push_dummy_call): Set the SP register. | |
4749 | (mips_n32n64_push_dummy_call): Set the SP register. | |
4750 | ||
5ab84872 RH |
4751 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4752 | ||
98a8e1e5 RH |
4753 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
4754 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
4755 | (supply_gregset): Likewise. | |
4756 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
4757 | (alpha_get_longjmp_target): Likewise. | |
4758 | (alpha_register_name): Constify array. | |
4759 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
4760 | deprecated_register_size, deprecated_register_bytes, | |
4761 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
4762 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
4763 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 4764 | |
09cc52fd RH |
4765 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4766 | ||
4767 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
4768 | from arg_reg_buffer to regcache to avoid double conversion. | |
4769 | ||
c7f16359 MK |
4770 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
4771 | ||
4772 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
4773 | SP_REGNUM. | |
4774 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
4775 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
4776 | ||
7131cb6e RH |
4777 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4778 | ||
98a8e1e5 RH |
4779 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
4780 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 4781 | |
f3e0f90b RH |
4782 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4783 | ||
98a8e1e5 RH |
4784 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
4785 | not overlapping PC_REGNUM. | |
f3e0f90b | 4786 | |
c88e30c0 RH |
4787 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4788 | ||
98a8e1e5 RH |
4789 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
4790 | alpha_push_arguments. Don't dump argument register data to | |
4791 | the target stack. Fix float and 128-bit long double semantics. | |
4792 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
4793 | (alpha_fix_call_dummy): Remove. | |
4794 | (alpha_call_dummy_words): Remove. | |
4795 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 4796 | |
f1a559ae RH |
4797 | 2003-06-01 Richard Henderson <rth@redhat.com> |
4798 | ||
4799 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
4800 | ||
5e045346 AC |
4801 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
4802 | ||
95404a3e AC |
4803 | * mips-tdep.c (is_mips16_addr): New function. |
4804 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
4805 | (pc_is_mips16, mips_fetch_instruction): Use. | |
4806 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
4807 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
4808 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
4809 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
4810 | TARGET_MIPS. | |
4811 | * config/mips/tm-mips.h: Update copyright. | |
4812 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
4813 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
4814 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
4815 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
4816 | (TM_PRINT_INSN_MACH): Delete. | |
4817 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
4818 | ||
5e045346 AC |
4819 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
4820 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
4821 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
4822 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
4823 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
4824 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
4825 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
4826 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
4827 | * config/mips/mips64.mt: New file. | |
4828 | * config/mips/mips.mt: New file. | |
4829 | * config/mips/littlemips.mt: Delete file. | |
4830 | * config/mips/decstation.mt: Delete file. | |
4831 | * config/mips/vr4300el.mt: Delete file. | |
4832 | * config/mips/vr5000el.mt: Delete file. | |
4833 | * config/mips/vr5000.mt: Delete file. | |
4834 | * config/mips/vr4100.mt: Delete file. | |
4835 | * config/mips/vr4xxxel.mt: Delete file. | |
4836 | * config/mips/vr4300.mt: Delete file. | |
4837 | * config/mips/vr4xxx.mt: Delete file. | |
4838 | * config/mips/bigmips.mt: Delete file. | |
4839 | * config/mips/bigmips64.mt: Delete file. | |
4840 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
4841 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
4842 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
4843 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
4844 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
4845 | "tm-bigmips.h". | |
4846 | * config/mips/tm-irix3.h: Ditto. | |
4847 | * config/mips/tm-mipsv4.h: Ditto. | |
4848 | * config/mips/tm-embed.h: Ditto. | |
4849 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
4850 | "tm-bigmips64.h". | |
4851 | * config/mips/tm-vr5000el.h: Delete file. | |
4852 | * config/mips/tm-tx39l.h: Delete file. | |
4853 | * config/mips/tm-vr4300el.h: Delete file. | |
4854 | * config/mips/tm-vr4xxxel.h: Delete file. | |
4855 | * config/mips/tm-vr4300.h: Delete file. | |
4856 | * config/mips/tm-vr4100.h: Delete file. | |
4857 | * config/mips/tm-vr4xxx.h: Delete file. | |
4858 | * config/mips/tm-vr5000.h: Delete file. | |
4859 | * config/mips/tm-embedl64.h: Delete file. | |
4860 | * config/mips/tm-embedl.h: Delete file. | |
4861 | * config/mips/tm-embed64.h: Delete file. | |
4862 | * config/mips/tm-bigmips64.h: Delete file. | |
4863 | * config/mips/tm-bigmips.h: Delete file. | |
4864 | ||
2473a4a9 MK |
4865 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
4866 | ||
97a5b208 MK |
4867 | Fix gdb/1216. |
4868 | * shnbsd-nat.c: Include "sh-tdep.h". | |
4869 | ||
2473a4a9 MK |
4870 | From Richard Henderson <rth@redhat.com>: |
4871 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
4872 | ||
e0f7ec59 AC |
4873 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
4874 | ||
4875 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
4876 | forward declaration. | |
4877 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
4878 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
4879 | (mips_find_saved_regs): Use set_reg_offset. | |
4880 | (mips_frame_init_saved_regs): Delete function. | |
4881 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
4882 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4883 | ||
68dcc709 AC |
4884 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
4885 | ||
4886 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
4887 | deprecated_max_register_raw_size, register_virtual_size, and | |
4888 | deprecated_max_register_virtual_size. | |
4889 | ||
cfc14b3a MK |
4890 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
4891 | ||
6405b0a6 MK |
4892 | * i386-tdep.c: Include "dwarf2-frame.h". |
4893 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
4894 | * Makefile.in (i386-tdep.o): Update dependencies. | |
4895 | ||
cfc14b3a MK |
4896 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
4897 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
4898 | (dwarf2_frame_h): Define. | |
4899 | (COMMON_OBS): Add dwarf2-frame.o. | |
4900 | (dwarf2-frame.o): Add dependencies. | |
4901 | ||
6a2751d2 AJ |
4902 | 2003-05-31 Andreas Jaeger <aj@suse.de> |
4903 | ||
4904 | * x86-64-linux-nat.c: Fix comment. | |
4905 | ||
1c3545ae MK |
4906 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
4907 | ||
10f93086 MK |
4908 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
4909 | function signature. | |
4910 | ||
1c3545ae MK |
4911 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
4912 | have a sigcontext_addr handler. | |
4913 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
4914 | sigcontext_addr handler. | |
4915 | ||
e11c53d2 AC |
4916 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
4917 | ||
4918 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
4919 | (print_fp_register_row): Replace do_fp_register_row. | |
4920 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
4921 | (mips_print_register): Add "file" and "frame" parameters. | |
4922 | (mips_print_registers_info): Replace mips_do_registers_info. | |
4923 | (mips_gdbarch_init): Set print_registers_info instead of | |
4924 | deprecated_do_registers_info. | |
4925 | (mips_read_fp_register_single): Add "frame" parameter. | |
4926 | (mips_read_fp_register_double): Add "frame" parameter. | |
4927 | ||
a3386186 MK |
4928 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
4929 | ||
70913449 MK |
4930 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
4931 | Fixes a bug where GDB would print the wrong register names for | |
4932 | targets without SSE. | |
4933 | ||
2b5e0749 MK |
4934 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
4935 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
4936 | registers. | |
4937 | ||
4938 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
4939 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
4940 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4941 | TDEP->sc_sp_offset. | |
4942 | ||
a3386186 MK |
4943 | From Michal Ludvig <mludvig@suse.cz>: |
4944 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
4945 | and `sc_num_regs'. | |
4946 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
4947 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
4948 | I386_ST0_REGNUM): Move here from... | |
4949 | * i386-tdep.c: ... here. | |
4950 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
4951 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
4952 | registers if possible. | |
4953 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
4954 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
4955 | Remove variables. | |
4956 | (i386bsd_sc_reg_offset): New variable. | |
4957 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4958 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4959 | TDEP->sc_sp_offset. | |
4960 | (i386fbsd_sc_reg_offset): New variable. | |
4961 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
4962 | TDEP->sc_num_regs. | |
4963 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
4964 | variables. | |
4965 | (i386fbsd4_sc_reg_offset): New variable. | |
4966 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
4967 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4968 | TDEP->sc_sp_offset. | |
4969 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
4970 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
4971 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
4972 | Remove variables. | |
4973 | (i386nbsd_sc_reg_offset): New variable. | |
4974 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4975 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4976 | TDEP->sc_sp_offset. | |
4977 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
4978 | Remove variables. | |
4979 | (i386obsd_sc_reg_offset): New variable. | |
4980 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4981 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4982 | TDEP->sc_sp_offset. | |
4983 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
4984 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
4985 | for frame pointer offset in `struct sigcontext'. | |
4986 | ||
25ab4790 AC |
4987 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
4988 | ||
4989 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
4990 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
4991 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
4992 | push_dummy_call instead of deprecated_push_arguments. | |
4993 | (mips_store_struct_return): Delete function. | |
4994 | (mips_fix_call_dummy): Delete function. | |
4995 | (mips_push_return_address): Delete function. | |
4996 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
4997 | RA_REGNUM and T9_REGNUM. | |
4998 | (mips_n32n64_push_dummy_call): Ditto for | |
4999 | mips_n32n64_push_arguments. | |
5000 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
5001 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
5002 | ||
6a65450a AC |
5003 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
5004 | ||
5005 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
5006 | "dummy_addr" to "bp_addr". | |
5007 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
5008 | gdbarch_push_dummy_call. | |
5009 | * gdbarch.h, gdbarch.c: Re-generate. | |
5010 | * i386-tdep.c (i386_push_dummy_call): Update. | |
5011 | * arm-tdep.c (arm_push_dummy_call): Update. | |
5012 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
5013 | ||
c4f35dd8 MK |
5014 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
5015 | ||
5016 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
5017 | variable declarations. | |
5018 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
5019 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
5020 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
5021 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
5022 | x86_64_function_has_prologue): Remove prototypes. | |
5023 | (X86_64_NUM_GREGS): New define. | |
5024 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
5025 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
5026 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
5027 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
5028 | XMM1_REGNUM): Remove defines. | |
5029 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
5030 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
5031 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
5032 | X86_64_XMM1_REGNUM): New defines. | |
5033 | (struct x86_64_register_info): Renamed from `struct | |
5034 | register_info'. Remove `size' member. | |
5035 | (x86_64_register_info_table): Remove variable. | |
5036 | (x86_64_register_info): New variable. | |
5037 | (X86_64_NUM_REGS): New define. | |
5038 | (X86_64_NUM_GREGS): Remove define. | |
5039 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
5040 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
5041 | Remove variables. | |
5042 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
5043 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
5044 | (x86_64_dwarf_reg_to_regnum): New function. | |
5045 | (x86_64_register_name): Rewrite. | |
5046 | (x86_64_register_raw_size): Remove function. | |
5047 | (x86_64_register_byte_table): Remove variable. | |
5048 | (x86_64_register_byte): Remove function. | |
5049 | (x86_64_register_virtual_type): Remove function. | |
5050 | (x86_64_register_type): New function. | |
5051 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
5052 | x86_64_register_convert_to_raw): Remove functions. | |
5053 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
5054 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
5055 | defines. | |
5056 | (x86_64_frame_init_saved_regs): Remove function. | |
5057 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
5058 | as argument. | |
5059 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
5060 | static. Rewrite based on i386 counterparts. | |
5061 | (x86_64_push_dummy_call): New function. | |
5062 | (X86_64_NUM_SAVED_REGS): New define. | |
5063 | (x86_64_register_number): Remove function. | |
5064 | (x86_64_store_struct_return): Remove function. | |
5065 | (x86_64_frameless_function_invocation, | |
5066 | x86_64_function_has_prologue): Remove functions. | |
5067 | (PROLOG_BUFSIZE): Remove define. | |
5068 | (struct x86_64_frame_cache): New structure. | |
5069 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
5070 | x86_64_frame_cache, x86_64_frame_this_id, | |
5071 | x86_64_frame_prev_register, x86_64_frame_p, | |
5072 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
5073 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
5074 | functions. | |
5075 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
5076 | variables. | |
5077 | (x86_64_skip_prologue): Rewrite in terms of | |
5078 | x86_64_analyze_prologue. | |
5079 | (x86_64_frame_base_address): New function. | |
5080 | (x86_64_frame_base): New variable. | |
5081 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
5082 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
5083 | set deprecated_fp_regnum, deprecated_register_size, | |
5084 | deprecated_register_bytes, register_raw_size, register_byte, | |
5085 | register_virtual_type, register_convertiable, | |
5086 | register_convert_to_virtual, convert_to_raw, | |
5087 | deprecated_get_saved_register, deprecated_target_read_fp, | |
5088 | deprecated_push_arguments, deprecated_push_return_address, | |
5089 | deprecated_pop_frame, deprecated_store_struct_return, | |
5090 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
5091 | frameless_function_invocation, deprecated_frame_saved_pc, | |
5092 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
5093 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
5094 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
5095 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
5096 | and x86_64_frame_p. Call frame_base_set_default to register | |
5097 | x86_64_frame_base. | |
5098 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
5099 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
5100 | (_initialize_x86_64_tdep): Remove function. | |
5101 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
5102 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
5103 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
5104 | define. | |
5105 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
5106 | (x86_64_linux_sigcontext_addr): Rewrite. | |
5107 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
5108 | x86_64_linux_frame_saved_pc): Remove functions. | |
5109 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
5110 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
5111 | trampoline. | |
5112 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
5113 | Remove_functions. | |
5114 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
5115 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5116 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
5117 | (x86_64_regmap): Rename to regmap. | |
5118 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
5119 | x86_64_num_gregs. | |
5120 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
5121 | x86_64_regmap. | |
5122 | (x86_64_fxsave_offset): Remove function. | |
5123 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
5124 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
5125 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
5126 | asignment in if-statement. | |
5127 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
5128 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
5129 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
5130 | (fetch_core_registers): Remove function. | |
5131 | (linux_elf_core_fns): Remove. | |
5132 | (offsetoff): Don't define. | |
5133 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
5134 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
5135 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
5136 | add core-regset.o. | |
5137 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
5138 | protection against multiple includes instead of NM_X86_64_h. Add | |
5139 | various comments. Include "config/nm-linux.h". Don't include | |
5140 | <signal.h>. | |
5141 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
5142 | GET_THREAD_SIGNALS): Remove defines. | |
5143 | (x86_64_register_u_addr, kernel_u_size, | |
5144 | lin_thread_get_thread_signals): Remove prototypes. | |
5145 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
5146 | [HAVE_LINK_H]: Don't include "solib.h". | |
5147 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
5148 | * config/i386/tm-x86-64linux.h: Fix comments. | |
5149 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
5150 | x86-64-tdep.o): Update dependencies. | |
5151 | ||
c25083af AC |
5152 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
5153 | ||
c8f55a7b AC |
5154 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
5155 | Change parameter type to a "struct regcache *". | |
5156 | ||
c25083af AC |
5157 | * gdbarch.sh: Regardless of the multi-arch level, always define |
5158 | the macro when not already defined. | |
5159 | * gdbarch.h, gdbarch.c: Re-generate. | |
5160 | ||
fbe586ae RH |
5161 | 2003-05-30 Richard Henderson <rth@redhat.com> |
5162 | ||
5163 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
5164 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
5165 | (alpha_mdebug_frame_this_id): Likewise. | |
5166 | (alpha_mdebug_frame_prev_register): Likewise. | |
5167 | (alpha_mdebug_frame_base_address): Likewise. | |
5168 | (alpha_mdebug_frame_locals_address): Likewise. | |
5169 | (alpha_mdebug_frame_args_address): Likewise. | |
5170 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
5171 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
5172 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
5173 | loop increment. | |
5174 | (alpha_heuristic_frame_this_id): Make static. | |
5175 | (alpha_heuristic_frame_prev_register): Likewise. | |
5176 | (alpha_heuristic_frame_base_address): Likewise. | |
5177 | * alpha-tdep.h: Update. | |
5178 | ||
acd5c798 MK |
5179 | 2003-05-30 Mark Kettenis <kettenis@gnu.org> |
5180 | ||
5181 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
5182 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
5183 | defenitions. | |
5184 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
5185 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
5186 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5187 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5188 | I386_ST0_REGNUM): New defines. | |
5189 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
5190 | codestream_get): Remove define. | |
5191 | (codestream_next_addr, condestream_addr, condestream_buf, | |
5192 | codestream_off, codestream_cnt): Remove variables. | |
5193 | (codestream_fill, codestream_seek, codestream_read): Remove | |
5194 | functions. | |
5195 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
5196 | functionality. | |
5197 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
5198 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
5199 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
5200 | i386_frame_num_args, i386_frame_init_saved_regs, | |
5201 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
5202 | i386_push_arguments): Remove functions. | |
5203 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
5204 | functionality. Use i386_analyze_prologue instead of | |
5205 | i386_get_frame_setup. | |
5206 | (I386_NUM_SAVED_REGS): New define. | |
5207 | (struct i386_frame_cache): New structure. | |
5208 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
5209 | i386_skip_probe, i386_analyze_frame_setup, | |
5210 | i386_analyze_register_saves, i386_analyze_prologue, | |
5211 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
5212 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
5213 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
5214 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
5215 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
5216 | New functions. | |
5217 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
5218 | New variables. | |
5219 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
5220 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
5221 | (i386_extract_return_value, i386_store_return_value): Use | |
5222 | I386_ST0_REGNUM where appropriate. | |
5223 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
5224 | (i386_svr4_pc_in_sigtramp): Add comment. | |
5225 | (i386_svr4_sigcontext_addr): Rewrite. | |
5226 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
5227 | TDEP->sc_sp_offset. | |
5228 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
5229 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
5230 | of new defines. Set push_dummy_call, don't set | |
5231 | deprecated_push_arguments, deprecated_push_return_address, | |
5232 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
5233 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
5234 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
5235 | save_dummy_frame_tos, unwind_pc. Call | |
5236 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
5237 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
5238 | Don't set frameless_function_invocation. Don't set | |
5239 | deprecated_register_bytes, deprecated_register_size, | |
5240 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
5241 | * i386-linux-tdep.c: Fix formatting in some comments. | |
5242 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
5243 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
5244 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
5245 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
5246 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
5247 | redundant parentheses. | |
5248 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
5249 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
5250 | (find_minsym_and_objfile): Change name of second argument. | |
5251 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
5252 | changed. Use frame_pc_unwind instead of | |
5253 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
5254 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
5255 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
5256 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
5257 | unwinder. | |
5258 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
5259 | "dummy-frame.h". | |
5260 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
5261 | (_initialize_i386_cygwin_tdep): New prototype. | |
5262 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
5263 | deprecated_frame_chain_valid. | |
5264 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
5265 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5266 | Rely on the SVR4 defaults. | |
5267 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
5268 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
5269 | ||
c89b70f1 AC |
5270 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
5271 | ||
5272 | * infcall.c (call_function_by_hand): Always call | |
5273 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
5274 | ||
85b32d22 RH |
5275 | 2003-05-30 Richard Henderson <rth@redhat.com> |
5276 | ||
c89b70f1 AC |
5277 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
5278 | increment. | |
85b32d22 | 5279 | |
bfe51b1e JB |
5280 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
5281 | ||
5282 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
5283 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
5284 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
5285 | show through. | |
5286 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
5287 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
5288 | giving the same effect as the #definitions above. | |
5289 | ||
1abf022c AF |
5290 | 2003-05-29 Adam Fedor <fedor@gnu.org> |
5291 | ||
5292 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
5293 | (find_implementation_from_class): Replace it with the standard | |
5294 | case i.e. do nothing. | |
5295 | ||
d2427a71 RH |
5296 | 2003-05-29 Richard Henderson <rth@redhat.com> |
5297 | ||
5298 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
5299 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
5300 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
5301 | update for new frame model. | |
5302 | * alpha-mdebug-tdep.c: New file. | |
5303 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
5304 | (alpha_osf1_init_abi): Install it. | |
5305 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
5306 | (linked_proc_desc_table): Remove. | |
5307 | (alpha_frame_past_sigtramp_frame): Remove. | |
5308 | (alpha_dynamic_sigtramp_offset): Remove. | |
5309 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
5310 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
5311 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
5312 | (push_sigtramp_desc): Remove. | |
5313 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
5314 | (alpha_cannot_store_register): Likewise. | |
5315 | (alpha_sigcontext_addr): Remove. | |
5316 | (alpha_find_saved_regs): Remove. | |
5317 | (alpha_frame_init_saved_regs): Remove. | |
5318 | (alpha_init_frame_pc_first): Remove. | |
5319 | (read_next_frame_reg): Remove. | |
5320 | (alpha_frame_saved_pc): Remove. | |
5321 | (alpha_saved_pc_after_call): Remove. | |
5322 | (temp_proc_desc, temp_saved_regs): Remove. | |
5323 | (alpha_about_to_return): Remove. | |
5324 | (cached_proc_desc): Remove. | |
5325 | (alpha_frame_chain): Remove. | |
5326 | (alpha_print_extra_frame_info): Remove. | |
5327 | (alpha_init_extra_frame_info): Remove. | |
5328 | (alpha_frame_locals_address): Remove. | |
5329 | (alpha_frame_args_address): Remove. | |
5330 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
5331 | (alpha_push_dummy_frame): Remove. | |
5332 | (alpha_pop_frame): Remove. | |
5333 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
5334 | (alpha_read_insn): New. | |
5335 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
5336 | for different insn encodings. | |
5337 | (alpha_in_lenient_prologue): Remove. | |
5338 | (struct alpha_sigtramp_unwind_cache): New. | |
5339 | (alpha_sigtramp_frame_unwind_cache): New. | |
5340 | (alpha_sigtramp_register_address): New. | |
5341 | (alpha_sigtramp_frame_this_id): New. | |
5342 | (alpha_sigtramp_frame_prev_register): New. | |
5343 | (alpha_sigtramp_frame_unwind): New. | |
5344 | (alpha_sigtramp_frame_p): New. | |
5345 | (struct alpha_heuristic_unwind_cache): New. | |
5346 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
5347 | don't count nop insns that occur between functions. | |
5348 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
5349 | heuristic_proc_desc, but without the mdebug wrapping. | |
5350 | (alpha_heuristic_frame_this_id): New. | |
5351 | (alpha_heuristic_frame_prev_register): New. | |
5352 | (alpha_heuristic_frame_unwind): New. | |
5353 | (alpha_heuristic_frame_p): New. | |
5354 | (alpha_heuristic_frame_base_address): New. | |
5355 | (alpha_heuristic_frame_base): New. | |
5356 | (alpha_unwind_dummy_id): New. | |
5357 | (alpha_unwind_pc): New. | |
5358 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
5359 | frame related deprecated initializations; install replacements. | |
5360 | (alpha_dump_tdep): Remove. | |
5361 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
5362 | (alpha_read_insn, alpha_after_prologue, | |
5363 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
5364 | alpha_heuristic_frame_prev_register, | |
5365 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
5366 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5367 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
5368 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
5369 | ||
93ec1121 AC |
5370 | 2003-05-29 Andrew Cagney <cagney@redhat.com> |
5371 | ||
5372 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
5373 | dependant on the availability of ASSERT_FUNCTION. | |
5374 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
5375 | ||
98f08d3d KB |
5376 | 2003-05-29 Kevin Buettner <kevinb@redhat.com> |
5377 | ||
5378 | From Jimi X <jimix@watson.ibm.com>: | |
5379 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
5380 | ||
0897f59b JB |
5381 | 2003-05-28 Jim Blandy <jimb@redhat.com> |
5382 | ||
5383 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
5384 | argument to ptrace to int; the system headers should give it the | |
5385 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
5386 | ||
14898363 L |
5387 | 2003-05-28 H.J. Lu <hongjiu.lu@intel.com> |
5388 | ||
5389 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
5390 | DW_TAG_catch_block. | |
5391 | ||
a7a48797 EZ |
5392 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
5393 | ||
5394 | * stabsread.c (dbx_lookup_type): Make static. | |
5395 | (read_type): Ditto. | |
5396 | (add_undefined_type): Ditto. | |
5397 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
5398 | not export. | |
5399 | ||
f5479e9c EZ |
5400 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
5401 | ||
5402 | * hpread.c (hpread_has_name): Make static. | |
5403 | (hpread_psymtab_to_symtab): Ditto. | |
5404 | (file_exists): Ditto. | |
5405 | (hpread_call_pxdb): Ditto. | |
5406 | (hpread_pxdb_needed): Ditto. | |
5407 | (hpread_quick_traverse): Ditto. | |
5408 | (hpread_get_header): Ditto. | |
5409 | (hpread_get_lntt): Ditto. | |
5410 | (hpread_get_slt): Ditto. | |
5411 | (class_of): Ditto. | |
5412 | ||
eb2e12d7 AS |
5413 | 2003-05-25 Andreas Schwab <schwab@suse.de> |
5414 | ||
78bf922a AS |
5415 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
5416 | stack_align and deprecated_extra_stack_alignment_needed. | |
5417 | (m68k_stack_align): Delete. | |
5418 | ||
eb2e12d7 AS |
5419 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
5420 | (m68k_register_virtual_size): Likewise. | |
5421 | (altos_skip_prologue): Remove obsolete function. | |
5422 | (isi_frame_num_args): Likewise. | |
5423 | (news_frame_num_args): Likewise. | |
5424 | (m68k_fix_call_dummy): Make static. | |
5425 | (m68k_push_dummy_frame): Likewise. | |
5426 | (m68k_pop_frame): Likewise. | |
5427 | (m68k_skip_prologue): Likewise. | |
5428 | (m68k_frame_init_saved_regs): Likewise. | |
5429 | (m68k_saved_pc_after_call): Likewise. | |
5430 | (m68k_get_longjmp_target): Make multi-arch. | |
5431 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
5432 | structure. Register m68k_get_longjmp_target if enabled. | |
5433 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
5434 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
5435 | ||
5436 | * Makefile.in (config.status): Also depend on configure.tgt | |
5437 | and configure.host. | |
5438 | (m68klinux-tdep.o): Update dependencies. | |
5439 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
5440 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
5441 | (M68K_LINUX_JB_PC): Define. | |
5442 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
5443 | and take additional parameter. | |
5444 | (m68k_linux_sigtramp_saved_pc): Update. | |
5445 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
5446 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
5447 | find_solib_trampoline_target. | |
5448 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
5449 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
5450 | (JB_ELEMENT_SIZE): Likewise. | |
5451 | (JB_PC): Likewise. | |
5452 | (GET_LONGJMP_TARGET): Likewise. | |
5453 | (IN_SIGTRAMP): Likewise. | |
5454 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
5455 | ||
eb2c22dc MK |
5456 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
5457 | ||
5458 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
5459 | (sparc32_push_arguments): Re-implement by calling | |
5460 | sparc32_do_push_arguments. | |
5461 | ||
44b7b84e MK |
5462 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
5463 | ||
5464 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
5465 | SPARC_O1_REGNUM): New defines. | |
5466 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
5467 | (sparc32_store_return_value): New function. | |
5468 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
5469 | regcache. | |
5470 | (sparc_gdbarch_init): Don't set | |
5471 | deprecated_extract_struct_value_address. Set | |
5472 | extract_struct_value_address instead. Don't set | |
5473 | deprecated_extract_return_value and deprecated_store_return_value | |
5474 | for 32-bit targets. Set extract_return_value and | |
5475 | store_return_value instead. | |
5476 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
5477 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
5478 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
5479 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
5480 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
5481 | (sparc_store_return_value): Remove prototype. | |
5482 | (sparc32_store_return_value): New prototype. | |
5483 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
5484 | Adjust prototypes. | |
5485 | ||
f6ad61e3 MK |
5486 | 2003-05-24 Mark Kettenis <kettenis@gnu.org> |
5487 | ||
5488 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
5489 | ||
b276f1bb AC |
5490 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
5491 | ||
5492 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
5493 | the inline equivalent extract_unsigned_integer. | |
5494 | * jv-valprint.c (java_value_print): Ditto. | |
5495 | * ada-valprint.c (ada_val_print_1): Ditto. | |
5496 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
5497 | ||
e76c5fcc TR |
5498 | 2003-05-23 Theodore A. Roth <troth@openavr.org> |
5499 | ||
5500 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
5501 | after_prologue variable. | |
5502 | ||
2cdd89cb MK |
5503 | 2003-05-23 Mark Kettenis <kettenis@gnu.org> |
5504 | ||
5505 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
5506 | asignments in if-statements. | |
5507 | ||
182d43bc EZ |
5508 | 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk> |
5509 | ||
5510 | Committed by Elena Zannoni <ezannoni@redhat.com>. | |
8ffd9b1b | 5511 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
5512 | files, don't relocate absolute symbols (and do use mst_abs). |
5513 | ||
e8f3fcdd AC |
5514 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
5515 | ||
5516 | * objc-lang.c: Include "gdb_assert.h". | |
5517 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
5518 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
5519 | (gdb_check, gdb_check_fatal): Delete functions. | |
5520 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
5521 | gdb_assert. | |
5522 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
5523 | * Makefile.in (objc-lang.o): Update dependencies. | |
5524 | ||
3c23e6fb ILT |
5525 | 2003-05-22 Ian Lance Taylor <ian@airs.com> |
5526 | ||
5527 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
5528 | with fprintf_filtered, not fprintf_unfiltered. | |
5529 | ||
af1342ab AC |
5530 | 2003-05-22 Andrew Cagney <cagney@redhat.com> |
5531 | ||
5532 | * stack.c (frame_info): Inline extract_address, replacing it with | |
5533 | extract_unsigned_integer. | |
5534 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
5535 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
5536 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
5537 | * frame.c (frame_pc_unwind): Update comment. | |
5538 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
5539 | ||
47e242ec JJ |
5540 | 2003-05-22 Jeff Johnston <jjohnstn@redhat.com> |
5541 | ||
5542 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
5543 | perror_with_name to issue warning message when errno is non-zero | |
5544 | after calling ptrace detach. | |
5545 | ||
e2ac8128 JB |
5546 | 2003-05-21 J. Brobecker <brobecker@gnat.com> |
5547 | ||
5548 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
5549 | macro definitions from here... | |
5550 | * hppa-tdep.c: ...to there. | |
5551 | ||
92b3541e KB |
5552 | 2003-05-20 Kevin Buettner <kevinb@redhat.com> |
5553 | ||
5554 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
5555 | register_ptrace_addr(). Fix all callers. | |
5556 | ||
55809acb AS |
5557 | 2003-05-21 Andreas Schwab <schwab@suse.de> |
5558 | ||
5559 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
5560 | dependencies. | |
5561 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
5562 | end. | |
5563 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
5564 | (_initialize_m68k_linux_tdep): New function. | |
5565 | (m68k_linux_frame_saved_pc): Make static. | |
5566 | (m68k_linux_extract_return_value): Likewise. | |
5567 | (m68k_linux_store_return_value): Likewise. | |
5568 | (m68k_linux_extract_struct_value_address): Likewise. | |
5569 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
5570 | Remove. | |
5571 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
5572 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
5573 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
5574 | ||
0fbc10f7 KW |
5575 | 2003-05-20 Kris Warkentin <kewarken@qnx.com> |
5576 | ||
5577 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
5578 | regset numbering rather than our own. | |
5579 | ||
58da2eb2 DC |
5580 | 2003-05-19 David Carlton <carlton@bactrian.org> |
5581 | ||
5582 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
5583 | ||
1fcb5155 DC |
5584 | 2003-05-19 David Carlton <carlton@bactrian.org> |
5585 | ||
5586 | Partial fix for PR c++/827. | |
5587 | * cp-support.h: Include symtab.h. | |
5588 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
5589 | * cp-namespace.c: Update contributors. | |
5590 | (cp_lookup_symbol_nonlocal): New. | |
5591 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
5592 | (lookup_symbol_file): Ditto. | |
5593 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
5594 | * block.h: Declare block_scope, block_using, block_global_block. | |
5595 | * block.c (block_scope): New. | |
5596 | (block_using, block_global_block): Ditto. | |
5597 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
5598 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
5599 | ||
5f9a71c3 DC |
5600 | 2003-05-19 David Carlton <carlton@bactrian.org> |
5601 | ||
5602 | * language.h (struct language_defn): Add 'la_value_of_this' | |
5603 | and 'la_lookup_symbol_nonlocal' members. | |
5604 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
5605 | lookup_symbol_static, lookup_symbol_global, | |
5606 | lookup_symbol_aux_block. | |
5607 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
5608 | if we should search fields of this and how to do static/global | |
5609 | lookup. | |
5610 | (lookup_symbol_aux_block): Make extern. | |
5611 | (basic_lookup_symbol_nonlocal): New. | |
5612 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
5613 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
5614 | 'la_lookup_symbol_nonlocal' members. | |
5615 | * c-lang.c (c_language_defn, cplus_language_defn) | |
5616 | (asm_language_defn, minimal_language_defn): Ditto. | |
5617 | * jv-lang.c (java_language_defn): Ditto. | |
5618 | * language.c (unknown_language_defn, auto_language_defn) | |
5619 | (local_language_defn): Ditto. | |
5620 | * m2-lang.c (m2_language_defn): Ditto. | |
5621 | * objc-lang.c (objc_language_defn): Ditto. | |
5622 | * scm-lang.c (scm_language_defn): Ditto. | |
5623 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
5624 | * p-lang.c (pascal_language_defn): Ditto for both. | |
5625 | * Makefile.in (f-lang.o): Depend on value_h. | |
5626 | (p-lang.o): Ditto. | |
5627 | ||
89a9d1b1 DC |
5628 | 2003-05-19 David Carlton <carlton@bactrian.org> |
5629 | ||
5630 | * block.h: Declare block_static_block. | |
5631 | * block.c (block_static_block): New. | |
5632 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
5633 | lookup_symbol_aux_local, calling block_static_block instead. | |
5634 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
5635 | ||
eed3f8ab DC |
5636 | 2003-05-19 David Carlton <carlton@bactrian.org> |
5637 | ||
5638 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
5639 | ||
a09d8bda ML |
5640 | 2003-05-19 Michal Ludvig <mludvig@suse.cz> |
5641 | ||
5642 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
5643 | register numbers mapping. | |
5644 | ||
69636828 AF |
5645 | 2003-05-18 Adam Fedor <fedor@gnu.org> |
5646 | ||
5647 | * symtab.c (completion_list_objc_symbol): New function. | |
5648 | (make_symbol_completion_list): Use it to add ObjC symbols | |
5649 | when looking though the list. | |
5650 | (language_search_unquoted_string): New function. | |
5651 | (make_file_symbol_completion_list): Use it. | |
5652 | ||
55baeb84 AS |
5653 | 2003-05-18 Andreas Schwab <schwab@suse.de> |
5654 | ||
d0b45d99 AS |
5655 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
5656 | dependencies. | |
5657 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
5658 | as m68k_linux_extract_return_value. | |
5659 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
5660 | m68k_linux_store_return_value. | |
5661 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
5662 | m68k_linux_extract_struct_value_address. | |
5663 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
5664 | get_next_frame, get_frame_base, get_frame_pc. | |
5665 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
5666 | (m68k_linux_extract_return_value): New function. | |
5667 | (m68k_linux_store_return_value): New function. | |
5668 | (m68k_linux_extract_struct_value_address): New function. | |
5669 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
5670 | ||
55baeb84 AS |
5671 | * c-exp.y (typebase): Remove duplicate occurence of |
5672 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 5673 | of lookup_signed_typename. |
55baeb84 | 5674 | |
b6b08ebf MK |
5675 | 2003-05-18 Mark Kettenis <kettenis@gnu.org> |
5676 | ||
5677 | * dwarf2loc.c (find_location_expression): Change type of second | |
5678 | argument to `size_t *'. | |
5679 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
5680 | for size variable. | |
5681 | ||
5ad1c190 DC |
5682 | 2003-05-18 David Carlton <carlton@bactrian.org> |
5683 | ||
5684 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
5685 | 'linkage_name'. Add comment. | |
5686 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
5687 | 'linkage_name'. | |
5688 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
5689 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
5690 | (lookup_block_symbol): Ditto. | |
5691 | ||
b8b527c5 AC |
5692 | 2003-05-16 Andrew Cagney <cagney@redhat.com> |
5693 | ||
5694 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
5695 | * gdbarch.h, gdbarch.c: Re-generate. | |
5696 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
5697 | * TODO (REGISTER_BYTES): Delete reference. | |
5698 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5699 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5700 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
5701 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5702 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5703 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5704 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5705 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5706 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5707 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
5708 | (ns32k_gdbarch_init_32382): Update. | |
5709 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5710 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5711 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5712 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5713 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5714 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5715 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
5716 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5717 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5718 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5719 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5720 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5721 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5722 | * sparc-tdep.c (sparc_pop_frame): Update. | |
5723 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
5724 | * remote.c (init_remote_state): Update. | |
5725 | (remote_prepare_to_store): Update. | |
5726 | * remote-vx.c (vx_prepare_to_store): Update. | |
5727 | * remote-sds.c (sds_fetch_registers): Update. | |
5728 | (sds_prepare_to_store): Update. | |
5729 | * remote-array.c: Update. | |
5730 | * regcache.c (init_legacy_regcache_descr): Update. | |
5731 | (init_regcache_descr): Update. | |
5732 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
5733 | (mips_o64_extract_return_value): Update. | |
5734 | * irix5-nat.c (fetch_core_registers): Update. | |
5735 | * irix4-nat.c (fetch_core_registers): Update. | |
5736 | * i386-tdep.h: Update. | |
5737 | * hppa-tdep.c (pa_do_registers_info): Update. | |
5738 | (pa_do_strcat_registers_info): Update. | |
5739 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
5740 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
5741 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
5742 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
5743 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
5744 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
5745 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5746 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
5747 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5748 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
5749 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
5750 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
5751 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
5752 | (REGISTER_BYTES_OK): Update. | |
5753 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
5754 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5755 | ||
ee2842e2 ILT |
5756 | 2003-05-16 Ian Lance Taylor <ian@airs.com> |
5757 | ||
5758 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
5759 | (vax_print_insn, print_insn_arg): Remove static functions. | |
5760 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
5761 | print_insn_vax from opcodes library. | |
5762 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
5763 | ||
973177d3 AC |
5764 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
5765 | ||
aaab4dba AC |
5766 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
5767 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
5768 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
5769 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
5770 | * monitor.c (monitor_insert_breakpoint): Use | |
5771 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
5772 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
5773 | * gdbarch.h, gdbarch.c: Re-generate. | |
5774 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
5775 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
5776 | sparc_breakpoint_from_pc. | |
5777 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
5778 | (BREAKPOINT_FROM_PC): Define. | |
5779 | (sparc_breakpoint_from_pc): Declare. | |
5780 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
5781 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
5782 | (BREAKPOINT_FROM_PC): Define. | |
5783 | (BREAKPOINT): Delete macro. | |
5784 | * target.h: Update comment. | |
5785 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
5786 | * remote.c: Update comments. | |
5787 | * remote-mips.c: Update comments. | |
5788 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
5789 | * mem-break.c: Update comment. | |
5790 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
5791 | (ia64_memory_insert_breakpoint): Update. | |
5792 | * config/sparc/tm-sparc.h: Update comment. | |
5793 | * config/pa/tm-hppa64.h: Update comment. | |
5794 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
5795 | (rs6000_breakpoint_from_pc): Update. | |
5796 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
5797 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
5798 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
5799 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
5800 | (mips_breakpoint_from_pc): Update. | |
5801 | (mips_dump_tdep): Update. | |
5802 | ||
e06963ff AC |
5803 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
5804 | * minsyms.c (lookup_minimal_symbol): Inline | |
5805 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
5806 | ||
973177d3 AC |
5807 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
5808 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
5809 | * p-lang.c (pascal_printstr): Ditto. | |
5810 | * objc-lang.c (objc_printstr): Ditto. | |
5811 | * m2-lang.c (m2_printstr): Ditto. | |
5812 | * jv-valprint.c (java_print_value_fields): Ditto. | |
5813 | * f-lang.c (f_printstr): Ditto. | |
5814 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
5815 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
5816 | for repeat_count_threshold. | |
5817 | * Makefile.in (cp-valprint.o): Update dependencies. | |
5818 | ||
5ea2bd7f | 5819 | 2003-05-15 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 5820 | |
5ea2bd7f JJ |
5821 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
5822 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
5823 | they start with mov r2,r12. Support skipping over indirect stores |
5824 | of the input registers. Upon hitting a non-nop branch instruction | |
5825 | or predicated instruction, bail out by setting lim_pc to the current | |
5826 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
5827 | beyond our calculated value and we have trust_limit set, |
5828 | use the lim_pc value. | |
5829 | ||
cc8c88f3 AC |
5830 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
5831 | ||
5832 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
5833 | generic_find_dummy_frame. | |
5834 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
5835 | (deprecated_generic_find_dummy_frame): Update. | |
5836 | (deprecated_read_register_dummy): Update. | |
5837 | * frame.c (deprecated_generic_get_saved_register): Update. | |
5838 | ||
909cd28e TR |
5839 | 2003-05-15 Theodore A. Roth <troth@openavr.org> |
5840 | ||
5841 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
5842 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
5843 | ||
b923b08d AC |
5844 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
5845 | ||
5846 | * regcache.c (build_regcache): Set deprecated_register_valid | |
5847 | directly. | |
5848 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
5849 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
5850 | declaration. | |
5851 | ||
ae2f03ac | 5852 | 2003-05-15 David Carlton <carlton@bactrian.org> |
8ffd9b1b AJ |
5853 | |
5854 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
fbe586ae RH |
5855 | * symtab.c (lookup_symbol_aux): Delete calls to |
5856 | lookup_symbol_aux_minsyms. | |
5857 | (lookup_symbol_aux_minsyms): Comment out function and | |
5858 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 5859 | |
18ec9831 KB |
5860 | 2003-05-14 Kevin Buettner <kevinb@redhat.com> |
5861 | ||
5862 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
5863 | correctly indicate an empty stack and ``stack_allocated'' to the | |
5864 | indicate the number of elements initially allocated. | |
5865 | (dwarf_expr_grow_stack): Simplify method for computing new | |
5866 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
5867 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
5868 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
5869 | be used in conjuction with DW_OP_piece. Revise error message | |
5870 | accordingly. | |
5871 | ||
de18ac1f TR |
5872 | 2003-05-14 Theodore A. Roth <troth@openavr.org> |
5873 | ||
5874 | * MAINTAINERS: Update my email address. | |
5875 | * avr-tdep.c: Ditto. | |
5876 | ||
176620f1 EZ |
5877 | 2003-05-14 Elena Zannoni <ezannoni@redhat.com> |
5878 | ||
5879 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
5880 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
5881 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
5882 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
5883 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
5884 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
5885 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
5886 | (struct symbol, struct partial_symbol): Rename field | |
5887 | 'namespace_enum namespace' to 'domain_enum domain'. | |
5888 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
5889 | Delete old define kludge for namespace. | |
5890 | ||
5891 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
5892 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
5893 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
5894 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
5895 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
5896 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
5897 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
5898 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
5899 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
5900 | occurrences of the above. | |
5901 | ||
b7f31508 ILT |
5902 | 2003-05-14 Ian Lance Taylor <ian@airs.com> |
5903 | ||
5904 | * Makefile.in (install-only): Use $(SHELL) when running | |
5905 | mkinstalldirs. | |
5906 | ||
2fdbdd39 ILT |
5907 | 2003-05-13 Ian Lance Taylor <ian@airs.com> |
5908 | ||
a208d82c ILT |
5909 | * MAINTAINERS (write after approval): Add myself. |
5910 | ||
2fdbdd39 ILT |
5911 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
5912 | second and third arguments. | |
5913 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
5914 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
5915 | ||
fbd9dcd3 AC |
5916 | 2003-05-13 Andrew Cagney <cagney@redhat.com> |
5917 | ||
5918 | * defs.h (store_address): Delete declaration. | |
5919 | findvar.c (store_address): Delete function. | |
5920 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
5921 | store_unsigned_integer. | |
5922 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
5923 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5924 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
5925 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
5926 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
5927 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
5928 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
5929 | (mips_get_saved_register): Ditto. | |
5930 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
5931 | (find_func_descr, ia64_push_arguments): Ditto. | |
5932 | * i386-tdep.c (i386_push_arguments): Ditto. | |
5933 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
5934 | * frv-tdep.c (frv_push_arguments): Ditto. | |
5935 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
5936 | (deprecated_generic_get_saved_register): Ditto. | |
5937 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
5938 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
5939 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5940 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
5941 | ||
6760f9e6 JB |
5942 | 2003-05-12 J. Brobecker <brobecker@gnat.com> |
5943 | ||
5944 | * NEWS: Mention that the hppa-hpux port has been partially | |
5945 | multiarched (32bit ABIT only, so far). | |
5946 | ||
30e221b4 AC |
5947 | 2003-05-11 Andrew Cagney <cagney@redhat.com> |
5948 | ||
5949 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
5950 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
5951 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
5952 | sim/testsuite/sim/arm/misaligned2.ms, and | |
5953 | sim/testsuite/sim/arm/misaligned3.ms. | |
5954 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
5955 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
5956 | * frame.h (struct ui_file): Ditto. | |
5957 | ||
dea7f9ba MK |
5958 | 2003-05-11 Mark Kettenis <kettenis@gnu.org> |
5959 | ||
5960 | * value.h: Pretty print. | |
5961 | ||
01986c48 MK |
5962 | 2003-05-10 Mark Kettenis <kettenis@gnu.org> |
5963 | ||
5964 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
5965 | ||
123a958e AC |
5966 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
5967 | ||
5968 | * regcache.h (max_register_size): Delete declaration. | |
5969 | * regcache.c (max_register_size): Delete function. | |
5970 | (struct regcache_descr): Delete field "max_register_size". | |
5971 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
5972 | registers fit in MAX_REGISTER_SIZE. | |
5973 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
5974 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
5975 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
5976 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
5977 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
5978 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
5979 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
5980 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
5981 | ||
eb294659 DC |
5982 | 2003-05-08 David Carlton <carlton@math.stanford.edu> |
5983 | ||
5984 | * valops.c (push_word): Fix typo. | |
5985 | ||
d9d9c31f AC |
5986 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
5987 | ||
5988 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
5989 | * gdbarch.h: Re-generate. | |
5990 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
5991 | (legacy_max_register_raw_size): Delete declaration. | |
5992 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
5993 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
5994 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
5995 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
5996 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
5997 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
5998 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
5999 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
6000 | * findvar.c, dwarf2cfi.c: Ditto. | |
6001 | ||
22540ece AC |
6002 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
6003 | ||
6004 | * mips-tdep.c (read_signed_register): New function, moved to here | |
6005 | from "regcache.c". | |
6006 | (read_signed_register_pid): Ditto. | |
6007 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
6008 | "mips-tdep.c". | |
6009 | (read_signed_register): Ditto. | |
6010 | * regcache.h (read_signed_register): Delete declaration. | |
6011 | (read_signed_register_pid): Delete declaration. | |
6012 | ||
0c92afe8 AC |
6013 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
6014 | ||
6015 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
6016 | * gdbarch.h: Re-generate. | |
6017 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
6018 | (legacy_max_register_virtual_size): Delete declaration. | |
6019 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
6020 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
6021 | * tracepoint.c (memrange_sortmerge): Ditto. | |
6022 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
6023 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
6024 | ||
6037b830 JB |
6025 | 2002-05-08 J. Brobecker <brobecker@gnat.com> |
6026 | ||
6027 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
6028 | (fork_inferior): Escape '!' characters in quoted arguments | |
6029 | only when needed. | |
6030 | ||
5d62c8b1 JB |
6031 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
6032 | ||
6033 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
6034 | the language of the CU is not currently supported by GDB. | |
6035 | ||
20a0e81d JB |
6036 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
6037 | ||
6038 | * defs.h (language): Add language_minimal enum value. | |
6039 | * c-lang.c (minimal_language_defn): New language definition. | |
6040 | (_initialize_c_language): Add the new minimal language to the list | |
6041 | of languages known to GDB. | |
6042 | ||
710ee10a KB |
6043 | 2003-05-08 Kevin Buettner <kevinb@redhat.com> |
6044 | ||
6045 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
6046 | frame's unwinder for legacy frames. | |
6047 | ||
1750fa04 AC |
6048 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
6049 | ||
6050 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
6051 | and "regcache" parameters. | |
6052 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
6053 | ||
ddf9f258 | 6054 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
6055 | |
6056 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
6057 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
6058 | the current address. |
6059 | ||
87767c29 AC |
6060 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
6061 | ||
6062 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
6063 | code. | |
6064 | ||
5e7b2f39 JB |
6065 | 2003-05-07 Jim Blandy <jimb@redhat.com> |
6066 | ||
6067 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
6068 | 'maint info symtabs' and 'maint info psymtabs'. | |
6069 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6070 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
6071 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6072 | Declarations updated. | |
6073 | * maint.c (maintenance_list_command): Delete. | |
6074 | (_initialize_maint_cmds): Update calls to add_cmd. | |
6075 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
6076 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
6077 | (init_cmd_lists): Don't initialize it. | |
6078 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
6079 | ||
f6684c31 AC |
6080 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
6081 | ||
6082 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
6083 | "regcache". | |
6084 | (d10v_print_registers_info): Update. | |
6085 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
6086 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
6087 | and "imap_register". | |
6088 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
6089 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
6090 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
6091 | "regcache" and "gdbarch" parameters. | |
6092 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
6093 | parameter. Change class to multi-arch. | |
6094 | * gdbarch.h, gdbarch.c: Re-generate. | |
6095 | * remote.c (remote_xfer_memory): Use | |
6096 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 6097 | |
e4846b08 JJ |
6098 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
6099 | ||
6100 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
6101 | (proceed): Refresh prev_pc value before resuming. | |
6102 | (stop_stepping): Remove code to refresh prev_pc. | |
6103 | ||
6b71b8ac KW |
6104 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
6105 | ||
6106 | * nto-tdep.c: Removed stray comment. | |
6107 | ||
47979a4b KW |
6108 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
6109 | ||
6110 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
6111 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
6112 | Also change add_show_from_set() call to add_setshow_cmd(). | |
6113 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
6114 | ||
00905d52 AC |
6115 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
6116 | ||
6117 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
6118 | (fprint_dummy_frames): New function. | |
6119 | (maintenance_print_dummy_frames): New function. | |
6120 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
6121 | * frame.c (fprint_frame_id): Make global. | |
6122 | * frame.h (fprint_frame_id): Declare. | |
6123 | * Makefile.in (dummy-frame.o): Update dependencies. | |
6124 | ||
b1e29e33 AC |
6125 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
6126 | ||
6127 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
6128 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
6129 | SIZEOF_CALL_DUMMY_WORDS. | |
6130 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
6131 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
6132 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
6133 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
6134 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
6135 | CALL_DUMMY_START_OFFSET. | |
6136 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
6137 | * gdbarch.h, gdbarch.c: Re-generate. | |
6138 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
6139 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
6140 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
6141 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
6142 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
6143 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
6144 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
6145 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
6146 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
6147 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
6148 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
6149 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
6150 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
6151 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
6152 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
6153 | |
6154 | 2003-05-05 Kris Warkentin <kewarken@qnx.com> | |
6155 | ||
6156 | * configure.tgt: Add i[3456]86-*-nto*. | |
6157 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
6158 | * nto-tdep.c: New file. Neutrino target support routines. | |
6159 | * nto-tdep.h: New file. Neutrino target header. | |
6160 | * config/tm-qnxnto.h: New file. | |
6161 | * config/i386/i386nto.mt: New file. | |
6162 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 6163 | |
0ce3d317 AC |
6164 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
6165 | ||
6166 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
6167 | (load_infrun_state): Ditto. | |
6168 | (struct thread_info): Drop "prev_func_name" field. | |
6169 | * thread.c (load_infrun_state): Update. | |
6170 | (save_infrun_state): Update. | |
6171 | * infrun.c (prev_func_name): Delete variable. | |
6172 | (init_wait_for_inferior): Do not clear prev_func_name. | |
6173 | (stop_stepping, keep_going, context_switch): Do not swap | |
6174 | prev_func_name. | |
6175 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
6176 | instead of PC_IN_SIGTRAMP. | |
6177 | ||
46654a5b AC |
6178 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
6179 | ||
6180 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
6181 | REGISTER_BYTE with register_offset_hack. | |
6182 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
6183 | that REGISTER_BYTE is consistent with the regcache. | |
6184 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
6185 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 6186 | |
14b08c1b MK |
6187 | 2003-05-04 Mark Kettenis <kettenis@gnu.org> |
6188 | ||
04c8243f MK |
6189 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
6190 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
6191 | ||
14b08c1b MK |
6192 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
6193 | ||
c7a11e01 JB |
6194 | 2003-05-03 J. Brobecker <brobecker@gnat.com> |
6195 | ||
6196 | From Thierry Schneider <tpschneider1@yahoo.com> | |
6197 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
6198 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
6199 | (mi-cmd-symbol.o): Add rule. | |
6200 | ||
7043d8dc AC |
6201 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
6202 | ||
6203 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
6204 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
6205 | * gdbarch.h, gdbarch.c: Re-generate. | |
6206 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
6207 | (d10v_gdbarch_init): Set push_dummy_code. | |
6208 | * infcall.c (legacy_push_dummy_code): New function. | |
6209 | (generic_push_dummy_code): New function. | |
6210 | (push_dummy_code): New function. | |
6211 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
6212 | instead of dummy_addr, to push_dummy_call. Move call to | |
6213 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
6214 | switch. | |
6215 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
6216 | ||
92bf2b80 AC |
6217 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
6218 | ||
6219 | * disasm.h (print_insn): Declare. | |
6220 | * disasm.c (init_gdb_disassemble_info): New function. | |
6221 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
6222 | (gdb_print_insn): New function. | |
6223 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
6224 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
6225 | * mcore-tdep.c: Include "disasm.h" | |
6226 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
6227 | * d10v-tdep.c: Include "disasm.h". | |
6228 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
6229 | (print_insn): Delete function. | |
6230 | * printcmd.c: Include "disasm.h". | |
6231 | (print_insn): Delete function. | |
6232 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
6233 | * Makefile.in (printcmd.o): Update dependencies. | |
6234 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 6235 | |
27d94c49 AC |
6236 | 2003-05-02 Andrew Cagney <cagney@redhat.com> |
6237 | ||
82de1e5b AC |
6238 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
6239 | PC_REGNUM, re-indent. | |
6240 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
6241 | PC_REGNUM isn't set. | |
6242 | ||
27d94c49 AC |
6243 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
6244 | * gdbarch.h, gdbarch.c: Re-generate. | |
6245 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
6246 | register_virtual_size, pc_regnum, or register_bytes. | |
6247 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
6248 | (d10v_register_type): Use D10V_PC_REGNUM. | |
6249 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
6250 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
6251 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
6252 | ||
a9c0dc7f DC |
6253 | 2003-05-02 David Carlton <carlton@bactrian.org> |
6254 | ||
6255 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
6256 | the name with mstrsave. | |
6257 | ||
e33d66ec EZ |
6258 | 2003-05-02 Elena Zannoni <ezannoni@redhat.com> |
6259 | ||
6260 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
6261 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
6262 | (host_charset_name, target_charset_name): New vars for use by | |
6263 | set/show commands. | |
6264 | (host_charset_enum, target_charset_enum): New enums for set/show | |
6265 | commands. | |
6266 | (set_charset_sfunc, set_host_charset_sfunc, | |
6267 | set_target_charset_sfunc): New functions. | |
6268 | (set_host_charset, set_target_charset): Make static. | |
6269 | (list_charsets, set_host_charset_command, | |
6270 | set_target_charset_command): Delete functions. | |
6271 | (show_charset_command): Rewrite as.... | |
6272 | (show_charset): Hook this up with the set/show command mechanism. | |
6273 | (_initialize_charset): Change names of charsets to match the | |
6274 | set/show enums. Use host_charset_name and target_charset_name. | |
6275 | Use set/show mechanism for charset, host-charset, target-charset | |
6276 | commands. Do not make 'show host-charset' and 'show | |
6277 | target-charset' be aliases of 'show charset'. | |
6278 | ||
6279 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
6280 | they are not used outside the file. | |
6281 | ||
2b6fd0d8 AC |
6282 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
6283 | ||
6284 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
6285 | (gdb_disassembly): Make "di" non static, always initialize and | |
6286 | cleanup. Always use dis_asm_read_memory. | |
6287 | (gdb_dis_asm_read_memory): Delete function. | |
6288 | ||
6ae2f580 AC |
6289 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
6290 | ||
6291 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
6292 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
6293 | ||
810ecf9f AC |
6294 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
6295 | ||
6296 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
6297 | "tm_print_insn_info". | |
6298 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
6299 | (dis_asm_read_memory): Delete function declaration. | |
6300 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6301 | (tm_print_insn_info): Delete variable definition. | |
6302 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
6303 | * gdbarch.h, gdbarch.c: Re-generate. | |
6304 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
6305 | "deprecated_tm_print_insn_info". | |
6306 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
6307 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6308 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
6309 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
6310 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
6311 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
6312 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
6313 | * s390-tdep.c (s390_get_frame_info): Instead of | |
6314 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
6315 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
6316 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
6317 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6318 | * disasm.c: Include "gdbcore.h". | |
6319 | (_initialize_disasm): New function, initialize | |
6320 | "deprecated_tm_print_insn_info". | |
6321 | (deprecated_tm_print_insn_info): New variable. | |
6322 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
6323 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
6324 | * Makefile.in (disasm.o): Update dependencies. | |
6325 | ||
07020390 AC |
6326 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
6327 | ||
6328 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
6329 | ||
a9fa03de AF |
6330 | 2003-04-29 Adam Fedor <fedor@gnu.org> |
6331 | ||
6332 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
6333 | * infcall.c (find_function_addr): Make non-static. | |
6334 | * infcall.h (find_function_addr): Declare. | |
6335 | * Makefile.in (eval.o): Update dependencies. | |
6336 | ||
1bae87b9 AF |
6337 | 2003-04-28 Adam Fedor <fedor@gnu.org> |
6338 | ||
6339 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
6340 | ObjC symbols. | |
6341 | (symbol_init_demangled_name): Init for language_objc as well. | |
6342 | ||
0ba6dca9 AC |
6343 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
6344 | ||
6345 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
6346 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
6347 | * gdbarch.h, gdbarch.c: Re-generate. | |
6348 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
6349 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
6350 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
6351 | (generic_target_read_fp): Delete declaration. | |
6352 | * regcache.c (generic_target_read_fp): Delete function. | |
6353 | (deprecated_read_fp): Replace read_fp, use | |
6354 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
6355 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
6356 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
6357 | ||
6358 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
6359 | deprecated_target_read_fp to generic_target_read_fp. | |
6360 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6361 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6362 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6363 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6364 | ||
6365 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
6366 | deprecated_fp_regnum. | |
6367 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
6368 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
6369 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6370 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6371 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6372 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6373 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6374 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6375 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6376 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
6377 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6378 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6379 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
6380 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6381 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
6382 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6383 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6384 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6385 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6386 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
6387 | ||
6388 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
6389 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6390 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6391 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6392 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6393 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6394 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6395 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6396 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6397 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6398 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6399 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6400 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6401 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6402 | ||
6403 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
6404 | DEPRECATED_FP_REGNUM. | |
6405 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
6406 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
6407 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
6408 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
6409 | (sparc32_register_virtual_type): Ditto. | |
6410 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
6411 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
6412 | (sh_nofp_frame_init_saved_regs): Ditto. | |
6413 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
6414 | (sh_fp_frame_init_saved_regs): Ditto. | |
6415 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
6416 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
6417 | * procfs.c (procfs_fetch_registers): Ditto. | |
6418 | (procfs_store_registers): Ditto. | |
6419 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
6420 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6421 | (fetch_kcore_registers, clear_regs): Ditto. | |
6422 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
6423 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
6424 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
6425 | * nlm/i386.c (do_status): Ditto. | |
6426 | * mipsv4-nat.c (supply_gregset): Ditto. | |
6427 | * mips-tdep.c: Ditto for comments. | |
6428 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
6429 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6430 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
6431 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
6432 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
6433 | (i386_do_pop_frame, i386_register_type): Ditto. | |
6434 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
6435 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
6436 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
6437 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
6438 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
6439 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
6440 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
6441 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6442 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
6443 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6444 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6445 | * blockframe.c: Ditto for comments. | |
6446 | * arch-utils.h: Ditto for comments. | |
6447 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
6448 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
6449 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
6450 | * alpha-tdep.h: Ditto for comments. | |
6451 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
6452 | (alpha_cannot_store_register): Ditto. | |
6453 | (alpha_push_dummy_frame): Ditto. | |
6454 | * alpha-nat.c (supply_gregset): Ditto. | |
6455 | ||
6456 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6457 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6458 | * config/sparc/tm-sparc.h: Update comment. | |
6459 | ||
6460 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
6461 | deprecated_read_fp instead of TARGET_READ_FP. | |
6462 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
6463 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
6464 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
6465 | deprecated_read_fp instead of read_fp. | |
6466 | * s390-tdep.c (s390_push_arguments): Ditto. | |
6467 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6468 | * frame.h: Ditto in comments. | |
6469 | * frame.c (legacy_get_prev_frame): Ditto. | |
6470 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
6471 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
6472 | ||
d7a27068 AC |
6473 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
6474 | ||
6475 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
6476 | * gdbarch.h, gdbarch.c: Re-generate. | |
6477 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
6478 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
6479 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
6480 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
6481 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
6482 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
6483 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
6484 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
6485 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
6486 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
6487 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
6488 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
6489 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
6490 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
6491 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
6492 | (_initialize_cris_tdep): Update. | |
6493 | * arch-utils.c (legacy_print_insn): Update. | |
6494 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
6495 | ||
d2630e69 AF |
6496 | 2003-04-26 Adam Fedor <fedor@gnu.org> |
6497 | ||
6498 | * linespec.c (decode_objc): New function to decode ObjC calls | |
6499 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
6500 | * Makefile (linespec.o): Update dependencies. | |
6501 | ||
3086aeae DJ |
6502 | 2003-04-26 Daniel Jacobowitz <drow@mvista.com> |
6503 | ||
6504 | * breakpoint.h (struct breakpoint_ops): New. | |
6505 | (struct breakpoint): Add ops member. | |
6506 | ||
6507 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
6508 | (mention): Use new breakpoint ops member. | |
6509 | (set_raw_breakpoint): Initialize ops field to NULL. | |
6510 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
6511 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
6512 | (gnu_v3_exception_catchpoint_ops): New. | |
6513 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
6514 | ||
1fbec6c3 AF |
6515 | 2003-04-25 Adam Fedor <fedor@gnu.org> |
6516 | ||
6517 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
6518 | ||
0ef21242 AC |
6519 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
6520 | ||
6521 | * d10v-tdep.c (print_insn): Delete function. | |
6522 | (display_trace): Use TARGET_PRINT_INSN. | |
6523 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
6524 | (d10v_gdbarch_init): Set print_insn. | |
6525 | ||
f75493ed AC |
6526 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
6527 | ||
6528 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
6529 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
6530 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
6531 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
6532 | (nr_dmap_regs, a0_regnum): ... new functions. | |
6533 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
6534 | (d10v_register_byte): Delete function. | |
6535 | (d10v_register_raw_size): Delete function. | |
6536 | (d10v_register_type): Use a0_regnum. | |
6537 | (d10v_print_registers_info): Use a0_regnum. | |
6538 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
6539 | (d10v_gdbarch_init): Do not set register_byte or | |
6540 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
6541 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
6542 | extract_address. | |
6543 | (trace_command): Use XCALLOC. | |
6544 | (print_insn): Delete reference to tm_print_insn. | |
6545 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
6546 | store_address. | |
6547 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
6548 | ||
2202b100 DC |
6549 | 2003-04-25 David Carlton <carlton@bactrian.org> |
6550 | ||
6551 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
6552 | ||
4e45ca2e AF |
6553 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
6554 | ||
6555 | * objc-lang.c: Include "valprint.h" | |
6556 | * Makefile.in (objc-lang.o): Update dependencies. | |
6557 | ||
93de3e7f AF |
6558 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
6559 | ||
8ffd9b1b | 6560 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
6561 | architecture dependant compilation and mark as unimplemented |
6562 | (until they get put in the gdbarch vector). | |
6563 | ||
0f20eeea DC |
6564 | 2003-04-23 David Carlton <carlton@bactrian.org> |
6565 | ||
6566 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
6567 | more locations. | |
6568 | ||
74cfe982 AC |
6569 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
6570 | ||
6571 | * infcall.c (call_function_by_hand): Eliminate redundant | |
6572 | indentation. Move "saved_async" and "old_cleanups" to where they | |
6573 | are needed. | |
8ffd9b1b | 6574 | |
52557533 AC |
6575 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
6576 | ||
6577 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
6578 | and "buffer". Move the "name" code to where it is needed. | |
6579 | ||
158775de AC |
6580 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
6581 | ||
6582 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
6583 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
6584 | code to ON_STACK switch branch. | |
8ffd9b1b | 6585 | |
ebc7896c AC |
6586 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
6587 | ||
6588 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
6589 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
6590 | lint. | |
6591 | ||
d727590f AC |
6592 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
6593 | ||
6594 | * infcall.c (call_function_by_hand): Delete variable | |
6595 | "n_method_args". Localize "param_type"'s declaration to the loop | |
6596 | that it is used. Reinstate code assigning to said variable - | |
6597 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
6598 | Rationalize code using "param_type". | |
6599 | ||
d585e13a AC |
6600 | 2003-04-22 Andrew Cagney <cagney@redhat.com> |
6601 | ||
6602 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
6603 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
6604 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
6605 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
6606 | ||
051caad9 KB |
6607 | 2003-04-22 Kevin Buettner <kevinb@redhat.com> |
6608 | ||
6609 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
6610 | on the DWARF2 register number prior to fetching a register. | |
6611 | ||
77296879 JB |
6612 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
6613 | ||
6614 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
6615 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 6616 | this macro was always set to 0. |
77296879 JB |
6617 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
6618 | considering the fact that this macro was always set to 0. | |
6619 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
6620 | (hppa_extract_return_value): Likewise. | |
6621 | ||
4252f1df JB |
6622 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
6623 | ||
6624 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
6625 | the hppa-pro target only. | |
6626 | ||
14604c6b JB |
6627 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
6628 | ||
6629 | Ongoing multi-arch conversion effort for HP/UX: | |
6630 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
6631 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
6632 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
6633 | ||
77eb01d1 JB |
6634 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
6635 | ||
6636 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
6637 | for hppa-pro. | |
6638 | ||
61995b3b JB |
6639 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
6640 | ||
6641 | Ongoing multi-arch conversion for HP/UX. | |
6642 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
6643 | if already defined (allows hppa64 to stay non-multiarched for now). | |
6644 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
6645 | ||
4aa79dcc AC |
6646 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
6647 | ||
6648 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
6649 | ||
0f751ff2 AC |
6650 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
6651 | ||
6652 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
6653 | "i386_num_mmx_regs". | |
6654 | ||
04714b91 AC |
6655 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
6656 | ||
6657 | * infcall.c: New file. | |
6658 | * infcall.h: New file. | |
6659 | * valarith.c: Include "infcall.h". | |
6660 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
6661 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
6662 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
6663 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
6664 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
6665 | (SFILES): Add "infcall.c" | |
6666 | (COMMON_OBS): Add "infcall.o". | |
6667 | (infcall.o): Specify dependencies. | |
6668 | * value.h (call_function_by_hand): Delete declaration. | |
6669 | * inferior.h (run_stack_dummy): Delete declaration. | |
6670 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
6671 | (run_stack_dummy): Move to "infcall.c", merged into | |
6672 | call_function_by_hand. | |
6673 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
6674 | (find_function_addr, value_arg_coerce): Ditto. | |
6675 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
6676 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
6677 | "set/show unwindonsignal" commands to "infcall.c". | |
6678 | * v850-tdep.c, target.h: Update comments. | |
6679 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
6680 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
6681 | (sh64_init_extra_frame_info): Update comments. | |
6682 | * mn10300-tdep.c: Update comments. | |
6683 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
6684 | * config/sparc/tm-sparc.h: Update comments. | |
6685 | * breakpoint.h: Update comments. | |
6686 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
6687 | * arm-tdep.c: Update comment. | |
6688 | ||
f9d3c2a8 MK |
6689 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
6690 | ||
c40e1eab MK |
6691 | * i386-tdep.c (i386_num_register_names): New variable. |
6692 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
6693 | (MM0_REGNUM): Remove redundant parentheses in define. | |
6694 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
6695 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
6696 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
6697 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 6698 | |
94ea66b3 MK |
6699 | * i386-tdep.c (i386_extract_return_value, |
6700 | i386_store_return_value): Correct check for availability of | |
6701 | floating-point registers. | |
6702 | ||
54299a1d MK |
6703 | * i386-tdep.c (i386_frame_num_args): Remove function. |
6704 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
6705 | ||
c86c27af MK |
6706 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
6707 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
6708 | ||
f9d3c2a8 MK |
6709 | * i386-tdep.c (i386_get_longjmp_target): Use |
6710 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
6711 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
6712 | extract_address. | |
6713 | ||
94ba74a9 MK |
6714 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
6715 | ||
6716 | * core-regset.c: Update comments to reflect reality. Re-order | |
6717 | includes. | |
6718 | (fetch_core_registers): Use switch instead of if. Remove | |
6719 | redundant prototype. | |
6720 | ||
4074e13c JB |
6721 | 2003-04-18 Jim Blandy <jimb@redhat.com> |
6722 | ||
6723 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 6724 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 6725 | |
e3ab4aba RH |
6726 | 2003-04-17 Richard Henderson <rth@redhat.com> |
6727 | ||
6728 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
6729 | ||
627bf7c1 EZ |
6730 | 2003-04-17 Michael Snyder <msnyder@redhat.com> |
6731 | Karen Bennet <bennet@redhat.com> | |
6732 | ||
6733 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
6734 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 6735 | |
514621a9 EZ |
6736 | 2003-04-17 Elena Zannoni <ezannoni@redhat.com> |
6737 | ||
6738 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 6739 | value if the return type is void. |
514621a9 | 6740 | |
b4acd559 JJ |
6741 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
6742 | ||
6743 | * thread-db.c: Reindented. | |
8ffd9b1b | 6744 | |
530b167e | 6745 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
6746 | |
6747 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
6748 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
6749 | as types. |
6750 | ||
0a48e7e8 MS |
6751 | |
6752 | ||
6753 | ||
6754 | ||
6755 | ||
6756 | ||
6757 | ||
6758 | ||
6759 | ||
6760 | ||
6761 | ||
6762 | ||
6763 | ||
6764 | ||
6765 | ||
6766 | ||
6767 | ||
6768 | ||
6769 | ||
6770 | ||
6771 | ||
6772 | ||
6773 | ||
8ffd9b1b | 6774 | |
ab9fe00e KB |
6775 | 2003-04-16 Kevin Buettner <kevinb@redhat.com> |
6776 | ||
610a3745 | 6777 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
6778 | the size of ``long double'' to 16, instead of 8. |
6779 | ||
e64a344c MK |
6780 | 2003-04-16 Mark Kettenis <kettenis@gnu.org> |
6781 | ||
6782 | * i386-linux-nat.c: Add some whitespace to make things more | |
6783 | readable. | |
6784 | (fetch_register, store_register, fetch_inferior_registers, | |
6785 | store_inferior_registers): Get rid of assignment in if-statement. | |
6786 | (store_register): Fix typo in error message. | |
6787 | ||
25d41031 AC |
6788 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
6789 | ||
6790 | * utils.c (xmmalloc): Always allocate something, matches | |
6791 | libiberty/xmalloc's semantics. | |
6792 | (xmrealloc, xmcalloc): Ditto. | |
6793 | ||
c50901fd AC |
6794 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
6795 | ||
6796 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
6797 | update comments. | |
6798 | (get_frame_type): Initialize unwind and type when needed. | |
6799 | (get_frame_id, frame_register_unwind): Ditto. | |
6800 | ||
f81824a9 AC |
6801 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
6802 | ||
6803 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
6804 | obsolete. | |
6805 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
6806 | * sparcl-stub.c: Obsolete file. | |
6807 | * config/sparc/tm-sparclet.h: Obsolete file. | |
6808 | * sparclet-stub.c: Obsolete file. | |
6809 | * sparclet-rom.c: Obsolete file. | |
6810 | * sparcl-tdep.c: Obsolete file. | |
6811 | * config/sparc/tm-sparclite.h: Obsolete file. | |
6812 | * config/sparc/sparclite.mt: Obsolete file. | |
6813 | * config/sparc/sparclet.mt: Obsolete file. | |
6814 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
6815 | sparc86x-*-* obsolete. | |
6816 | ||
9219021c DC |
6817 | 2003-04-15 David Carlton <carlton@math.stanford.edu> |
6818 | ||
6819 | * Makefile.in (SFILES): Add cp-namespace.c. | |
6820 | (COMMON_OBS): Add cp-namespace.o. | |
6821 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
6822 | (buildsym.o): Depend on cp_support_h. | |
6823 | (cp-namespace.o): New. | |
6824 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
6825 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
6826 | (dwarf2read.o): Depend on cp_support_h. | |
6827 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
6828 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
6829 | processing_current_namespace. | |
6830 | (read_namespace): Update processing_current_namespace; check for | |
6831 | anonymous namespaces. | |
6832 | (dwarf2_name): New function. | |
6833 | (dwarf2_extension): Ditto. | |
6834 | * cp-support.h: Update copyright, contributors. | |
6835 | Add inclusion guards. | |
6836 | Add opaque declaration for structs obstack, block, symbol. | |
6837 | (struct using_direct): New struct. | |
6838 | Add declarations for cp_find_first_component, | |
6839 | cp_entire_prefix_len, processing_has_namespace_info, | |
6840 | processing_current_namespace, cp_is_anonymous, | |
6841 | cp_add_using_directive, cp_initialize_namespace, | |
6842 | cp_finalize_namespace, cp_set_block_scope, | |
6843 | cp_scan_for_anonymous_namespaces. | |
6844 | * cp-namespace.c: New file. | |
6845 | * cp-support.c: Update copyright. | |
6846 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
6847 | New variable maint_cplus_cmd_list. | |
6848 | (cp_find_first_component): New function. | |
6849 | (cp_entire_prefix_len, maint_cplus_command) | |
6850 | (first_component_command, _initialize_cp_support): Ditto. | |
6851 | * buildsym.c: Include cp-support.h. | |
6852 | New variable using_list. | |
6853 | (add_symbol_to_list): Check for anonymous namespaces. | |
6854 | (finish_block): Set block's scope. | |
6855 | (start_symtab): Initialize C++ namespace support. | |
6856 | (end_symtab): Finalize C++ namespace support. | |
6857 | * block.h: Add opaque declarations for structs | |
6858 | block_namespace_info, using_direct, and obstack. | |
6859 | Add declarations for block_set_scope and block_set_using. | |
6860 | (struct block): Add 'language_specific' member. | |
6861 | (BLOCK_NAMESPACE): New macro. | |
6862 | * block.c: Include gdb_obstack.h and cp-support.h. | |
6863 | (struct block_namespace_info): New struct. | |
6864 | (block_set_scope): New function. | |
6865 | (block_set_using, block_initialize_namespace): Ditto. | |
6866 | ||
d5a921c9 KB |
6867 | 2003-04-14 Kevin Buettner <kevinb@redhat.com> |
6868 | ||
6869 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
6870 | (locate_base): Return early if there aren't any link map offsets. | |
6871 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
6872 | is unavailable. | |
6873 | ||
d2a52b27 DC |
6874 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
6875 | ||
6876 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
6877 | in hash table. Fix for PR java/1039. | |
6878 | ||
980cae7a DC |
6879 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
6880 | ||
6881 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
6882 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
6883 | * symtab.h: Change 'name' argument in declaration of | |
6884 | symbol_set_names to 'linkage_name'. | |
6885 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
6886 | ||
e227b13c AC |
6887 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
6888 | ||
6889 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
6890 | return the fully sign-extended register value. | |
6891 | (get_frame_pointer): Ditto. | |
6892 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
6893 | dummy frame. | |
6894 | ||
36712a20 AC |
6895 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
6896 | ||
6897 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
6898 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
6899 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
6900 | (mips_push_register): Delete function. | |
6901 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
6902 | PUSH_FP_REGNUM. | |
6903 | ||
44ea7b70 JB |
6904 | 2003-04-14 Jim Blandy <jimb@redhat.com> |
6905 | ||
6906 | * symmisc.c: #include "gdb_regex.h". | |
6907 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
6908 | functions. | |
6909 | * maint.c (maintenance_list_command): New function. | |
6910 | (_initialize_maint_cmds): Register the above as commands. | |
6911 | * symtab.h (maintenance_list_symtabs, | |
6912 | maintenance_list_psymtabs): New declarations. | |
6913 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
6914 | (init_cmd_lists): Initialize it. | |
6915 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
6916 | * gdbcmd.h (maintenancelistlist): New declaration. | |
6917 | * Makefile.in (symmisc.o): Update dependencies. | |
6918 | ||
2d0c7962 EZ |
6919 | 2003-04-14 Elena Zannoni <ezannoni@redhat.com> |
6920 | ||
6921 | * s390-nat.c: Include asm/types.h for addr_t. | |
6922 | ||
1947a811 CV |
6923 | 2003-04-14 Corinna Vinschen <vinschen@redhat.com> |
6924 | ||
6925 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
6926 | actually incoming type. | |
6927 | ||
adb616d7 AC |
6928 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
6929 | ||
6930 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
6931 | get_next_frame and get_frame_saved_regs. | |
6932 | ||
9b5e151c AC |
6933 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
6934 | ||
6935 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
6936 | of gdbarch_num_regs. | |
6937 | ||
ef6e7e13 AC |
6938 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
6939 | ||
6940 | * frame.h: Mention what replaced what in "struct frame_info". | |
6941 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
6942 | deprecated_update_frame_base_hack and | |
6943 | deprecated_update_frame_pc_hack. | |
6944 | * hppa-tdep.c: Ditto. | |
6945 | ||
61fbb938 DJ |
6946 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
6947 | ||
6948 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
6949 | to read_reg and update its comment. Remove regnum member. | |
6950 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
6951 | Don't call read_reg when setting in_reg. Call read_reg to get | |
6952 | the frame base if it's in a register. Return the register number | |
6953 | on the stack instead of in the context. Remove extra arguments | |
6954 | to read_reg. | |
6955 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
6956 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
6957 | the register number on the expression stack. | |
6958 | (needs_frame_read_reg): Remove extra arguments. | |
6959 | ||
0d53c4c4 DJ |
6960 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
6961 | ||
6962 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
6963 | made non-static. | |
6964 | (execute_stack_op): All callers updated. | |
6965 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
6966 | * dwarf2loc.c (find_location_expression): New function. | |
6967 | (dwarf_expr_frame_base): Call it. | |
6968 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
6969 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
6970 | locexpr_tracepoint_var_ref. | |
6971 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
6972 | Make static. | |
6973 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
6974 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
6975 | functions. | |
6976 | (dwarf2_loclist_funcs): New struct location_funcs. | |
6977 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
6978 | (struct dwarf2_locexpr_baton): Add comments. | |
6979 | (dwarf2_loclist_funcs): New extern. | |
6980 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
6981 | base_address and base_known. | |
6982 | (dwarf_loc_buffer): New variable. | |
6983 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
6984 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
6985 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
6986 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
6987 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
6988 | DWARF_LOC_SIZE. | |
6989 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
6990 | here, from... | |
6991 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
6992 | cu_header. | |
6993 | (dwarf2_symbol_mark_computed): Handle location lists. | |
6994 | ||
6aca59a3 DJ |
6995 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
6996 | ||
6997 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
6998 | if the linkage name demangled successfully. | |
6999 | ||
aca1fcd0 MK |
7000 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
7001 | ||
97095916 MK |
7002 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
7003 | disassmbly_flavour): Removed. | |
7004 | ||
aca1fcd0 MK |
7005 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
7006 | ||
562a961f MK |
7007 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
7008 | ||
7009 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
7010 | ||
bd013d54 AC |
7011 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
7012 | ||
7013 | * frame.h (struct frame_info): Move definition from here ... | |
7014 | * frame.c (struct frame_info): ... to here. | |
7015 | ||
167ef8b1 AC |
7016 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
7017 | ||
7018 | * gdbthread.h (save_infrun_state): Delete parameter | |
7019 | "prev_func_start". | |
7020 | (struct thread_info): Delete field "prev_func_start". | |
7021 | (load_infrun_state): Ditto. | |
7022 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
7023 | * infrun.c (prev_func_start): Delete variable. | |
7024 | (context_switch, init_wait_for_inferior): Update. | |
7025 | (stop_stepping, keep_going): Update. | |
7026 | ||
da3331ec AC |
7027 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
7028 | ||
7029 | * gdbarch.sh: Add missing opaque declarations. | |
7030 | * gdbarch.h: Regnerate. | |
7031 | * symtab.h: Add missing opaque declarations. | |
7032 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
7033 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
7034 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
7035 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
7036 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
7037 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
7038 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
7039 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
7040 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
7041 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
7042 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
7043 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
7044 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
7045 | ||
18adea3f AC |
7046 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
7047 | ||
7048 | * frame.c (get_frame_id): Return this frame's "id". | |
7049 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
7050 | function start. | |
7051 | (legacy_saved_regs_this_id): Replace function body with | |
7052 | internal-error. | |
7053 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
7054 | FRAME_OBSTACK_ZALLOC. | |
7055 | (create_new_frame): Mark the frame ID as valid. | |
7056 | ||
2252e863 AO |
7057 | 2003-04-11 Alexandre Oliva <aoliva@redhat.com> |
7058 | ||
7059 | * Makefile.in (libbfd_h): Added missing setting. | |
7060 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
7061 | according to the selected ABI. | |
7062 | ||
a8245ab8 JJ |
7063 | 2003-04-11 Jeff Johnston <jjohnstn@redhat.com> |
7064 | ||
7065 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
7066 | ||
6913c89a AC |
7067 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
7068 | ||
7069 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
7070 | SAVED_PC_AFTER_CALL. | |
7071 | * gdbarch.h, gdbarch.c: Regenerate. | |
7072 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7073 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7074 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7075 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7076 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7077 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7078 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7079 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7080 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7081 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7082 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7083 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7084 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7085 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7086 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7087 | (ia64_saved_pc_after_call): Update declaration. | |
7088 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
7089 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7090 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7091 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7092 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7093 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7094 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7095 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7096 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7097 | * ns32knbsd-nat.c (frame_num_args): Update. | |
7098 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
7099 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
7100 | * infrun.c (step_over_function): Update. | |
7101 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
7102 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
7103 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7104 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7105 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7106 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7107 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
7108 | * arch-utils.c (init_frame_pc_default): Update. | |
7109 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
7110 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
7111 | declaration. | |
8ffd9b1b | 7112 | |
38edeab8 AC |
7113 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
7114 | ||
7115 | * i387-tdep.c: Update copyright. | |
7116 | (i387_to_double): Delete function. | |
7117 | (double_to_i387): Delete function. | |
7118 | ||
81f8a206 AC |
7119 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
7120 | ||
7121 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
7122 | frame's function's address. Simplify. | |
7123 | (d10v_frame_unwind_cache): Check that the frame's function is | |
7124 | non-zero. | |
7125 | ||
6e691f7a JB |
7126 | 2003-04-10 Jim Blandy <jimb@redhat.com> |
7127 | ||
7128 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
7129 | call to set_gdbarch_deprecated_push_arguments. | |
7130 | ||
7f78e237 AC |
7131 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
7132 | ||
7133 | * frame.c (fprint_frame_id): New function. | |
7134 | (fprint_frame_type, fprint_frame): New function. | |
7135 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
7136 | (create_sentinel_frame, get_frame_id): Ditto. | |
7137 | (frame_id_p, frame_id_eq): Ditto. | |
7138 | (frame_id_inner, create_new_frame): Ditto. | |
7139 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
7140 | (deprecated_update_frame_pc_hack): Ditto. | |
7141 | (frame_register_unwind): Ditto. | |
7142 | (deprecated_update_frame_base_hack): Ditto. | |
7143 | ||
f870b49b CV |
7144 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
7145 | ||
7146 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
7147 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
7148 | frame_chain function. | |
7149 | * Makefile.in: Add dependencies due to above change. | |
7150 | ||
7c86889b CV |
7151 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
7152 | ||
7153 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
7154 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
7155 | inside_entry_file. | |
7156 | ||
d0a55772 AC |
7157 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7158 | ||
7159 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
7160 | "stack_addr" and "code_addr". Update comments. | |
7161 | (frame_id_build): Update parameter names and comment. | |
7162 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
7163 | * dummy-frame.c (dummy_frame_this_id): Update. | |
7164 | * breakpoint.c (print_one_breakpoint): Update. | |
7165 | * frame.c (get_frame_id): Update. | |
7166 | (get_frame_base, frame_id_build): Update. | |
7167 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
7168 | (deprecated_update_frame_base_hack): Update. | |
7169 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
7170 | (frame_id_inner): Ditto. | |
7171 | ||
ac16bf07 AC |
7172 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7173 | ||
7174 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
7175 | pointer constant. | |
7176 | * utils.c (gdb_print_host_address): Update. | |
7177 | ||
366cfc9e KB |
7178 | 2003-04-09 Kevin Buettner <kevinb@redhat.com> |
7179 | ||
7180 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
7181 | register number for R0 is 0. | |
7182 | ||
cd983b5c JB |
7183 | 2003-04-09 J. Brobecker <brobecker@gnat.com> |
7184 | ||
7185 | * frame.h (struct gdbarch): Add opaque structure definition | |
7186 | to avoid a compilation warning on LynxOS 4.0. | |
7187 | ||
d1340264 AC |
7188 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7189 | ||
7190 | * frame.h (struct frame_info): Delete field "pc". Replace | |
7191 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
7192 | structure. | |
7193 | * frame.c (frame_pc_unwind): Update. | |
7194 | (create_sentinel_frame): Do not set "pc". | |
7195 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
7196 | (get_frame_pc): Call frame_pc_unwind. | |
7197 | (deprecated_update_frame_pc_hack): Update. | |
7198 | (create_new_frame): Use "pc" not "->pc". | |
7199 | ||
90a6fffb AC |
7200 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7201 | ||
7202 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
7203 | (legacy_get_prev_frame): Ditto. | |
7204 | (get_frame_base): Return id.base directly. | |
7205 | (deprecated_update_frame_base_hack): Update "id.base". | |
7206 | * frame.h (struct frame_info): Delete field "frame". | |
7207 | ||
2fbce691 AC |
7208 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7209 | ||
7210 | * NEWS: Mention that the "Sequent family" is obsolete. | |
7211 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
7212 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7213 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
7214 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7215 | * config/i386/tm-ptx4.h: Obsolete file. | |
7216 | * config/i386/tm-ptx.h: Obsolete file. | |
7217 | * symm-tdep.c: Obsolete file. | |
7218 | * config/i386/symmetry.mt: Obsolete file. | |
7219 | * config/i386/tm-symmetry.h: Obsolete file. | |
7220 | * symm-nat.c: Obsolete file. | |
7221 | * config/i386/nm-symmetry.h: Obsolete file. | |
7222 | * config/i386/xm-symmetry.h: Obsolete file. | |
7223 | * config/i386/symmetry.mh: Obsolete file. | |
7224 | * config/i386/nm-ptx4.h: Obsolete file. | |
7225 | * config/i386/ptx4.mh: Obsolete file. | |
7226 | * config/i386/ptx.mt: Obsolete file. | |
7227 | * config/i386/ptx.mh: Obsolete file. | |
7228 | * config/i386/xm-ptx4.h: Obsolete file. | |
7229 | * config/i386/xm-ptx.h: Obsolete file. | |
7230 | ||
78c43945 AC |
7231 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7232 | ||
7233 | Obsolete mips*-*-mach3*. | |
7234 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
7235 | * m3-nat.c: Obsolete file. | |
7236 | * config/nm-m3.h: Obsolete file. | |
7237 | * config/mips/tm-mipsm3.h: Obsolete file. | |
7238 | * config/mips/mipsm3.mt: Obsolete file. | |
7239 | * config/mips/mipsm3.mh: Obsolete file. | |
7240 | * config/mips/xm-mipsm3.h: Obsolete file. | |
7241 | * mipsm3-nat.c: Obsolete file. | |
7242 | * configure.host: Obsolete mips-dec-mach3*. | |
7243 | * configure.tgt: Obsolete mips*-*-mach3*. | |
7244 | ||
f1908289 AC |
7245 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
7246 | ||
7247 | * doublest.h: Update copyright. | |
7248 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
7249 | store_floating and extract_floating. Update comments. | |
7250 | * doublest.c: Update copyright. | |
7251 | (extract_floating_by_length): Replace extract_floating. | |
7252 | (store_floating_by_length): Replace store_floating. | |
7253 | (deprecated_extract_floating): New function. | |
7254 | (deprecated_store_floating): New function. | |
7255 | (extract_typed_floating): Call extract_floating_by_length. | |
7256 | (store_typed_floating): Call store_floating_by_length. | |
7257 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
7258 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
7259 | (sh64_extract_return_value): Update. | |
7260 | (sh_sh4_register_convert_to_virtual): Update. | |
7261 | (sh_sh64_register_convert_to_virtual): Update. | |
7262 | (sh_sh4_register_convert_to_raw): Update. | |
7263 | (sh_sh64_register_convert_to_raw): Update. | |
7264 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
7265 | (rs6000_register_convert_to_raw): Update. | |
7266 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
7267 | (ia64_register_convert_to_raw): Update. | |
7268 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
7269 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
7270 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
7271 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
7272 | (alpha_register_convert_to_raw): Update. | |
7273 | ||
4443bd83 AC |
7274 | 2003-04-08 Andrew Cagney <cagney@redhat.com> |
7275 | ||
7276 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
7277 | * gdbarch.h, gdbarch.c: Re-generate. | |
7278 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
7279 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
7280 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
7281 | conditionally, use frame_pc_unwind as an alternative. Add | |
7282 | comments. | |
7283 | * arch-utils.c (init_frame_pc_default): Only call | |
7284 | SAVED_PC_AFTER_CALL when available. | |
7285 | ||
c0236d92 EZ |
7286 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> |
7287 | ||
fbe586ae | 7288 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7289 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
7290 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
7291 | (start_remote): Ditto. | |
7292 | (handle_inferior_event): Ditto. | |
7293 | (save_inferior_status): Ditto. | |
7294 | (restore_inferior_status): Ditto. | |
7295 | * infcmd.c (attach_command): Ditto. | |
7296 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 7297 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7298 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
7299 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
7300 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
7301 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
7302 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
7303 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
7304 | * remote-vx.c (vx_create_inferior): Ditto. | |
7305 | ||
7306 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> | |
7307 | ||
7308 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
7309 | override the default behavior of handle_inferior_event. | |
7310 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
7311 | reflect that it is now an enum. | |
7312 | (start_remote): Ditto. | |
7313 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
7314 | is set to handle the new GNU/Linux kernel behavior for | |
7315 | attach/sigstop. Update uses of stop_soon_quietly. | |
7316 | * inferior.h (enum stop_kind): New enum. | |
7317 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
7318 | Reset normal handle_inferior_event behavior, afterwards. | |
7319 | * fork-child.c (startup_inferior): Update. | |
7320 | * alpha-tdep.c (heuristic_proc_start): Update. | |
7321 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
7322 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
7323 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
7324 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
7325 | * remote-vx.c (vx_create_inferior): Update. | |
7326 | * mips-tdep.c (heuristic_proc_start): Update. | |
7327 | ||
1211bce3 EZ |
7328 | 2003-04-07 Elena Zannoni <ezannoni@redhat.com> |
7329 | ||
7330 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 7331 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 7332 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 7333 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 7334 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 7335 | with the "core" target. |
1211bce3 | 7336 | |
f0ef6b29 KB |
7337 | 2003-04-07 Kevin Buettner <kevinb@redhat.com> |
7338 | ||
7339 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
7340 | do_fp_register_row(). Registers are now (also) printed as hex. | |
7341 | Only one register is printed per row. | |
7342 | (mips_print_register, do_fp_register_row): Print floating point | |
7343 | registers with mips_print_fp_register(). | |
7344 | ||
8cf71652 AC |
7345 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
7346 | ||
5e488a7b AC |
7347 | * valprint.h (inspect_it): Add extern declaration. |
7348 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
7349 | (selectors_info, classes_info): Ditto. | |
7350 | (find_objc_msgcall): Fix indentation. | |
7351 | (objc_printstr): Delete extern declarations. | |
7352 | ||
8cf71652 AC |
7353 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
7354 | ||
e6ba3bc9 AC |
7355 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
7356 | ||
7357 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
7358 | Update comment. | |
7359 | * frame.c (legacy_saved_regs_this_id): Update. | |
7360 | (legacy_get_prev_frame): Update. | |
7361 | * xstormy16-tdep.c: Update comment. | |
7362 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
7363 | * blockframe.c (legacy_frame_chain_valid): Update. | |
7364 | ||
55e1d7e7 AC |
7365 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
7366 | ||
996179ee AC |
7367 | * valprint.c (val_print_type_code_int): Delete #ifdef |
7368 | PRINT_TYPELESS_INTEGER code. | |
7369 | ||
55e1d7e7 AC |
7370 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
7371 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
7372 | multi-arch definition. | |
7373 | * gdbarch.h: Re-generate. | |
7374 | ||
43bd9a9e AC |
7375 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
7376 | ||
7377 | Eliminate FRAME_FIND_SAVED_REGS. | |
7378 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7379 | Change FSR parameter to a pointer. | |
7380 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
7381 | Assume FSR parameter is a pointer. | |
7382 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7383 | Make fsr a pointer. | |
7384 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
7385 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
7386 | saved_regs a pointer. | |
7387 | (hppa_frame_saved_pc): Ditto. | |
7388 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
7389 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
7390 | pointer. | |
7391 | (restore_pc_queue): Make fsr a pointer. | |
7392 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
7393 | (hppa_frame_chain): Make saved_regs a pointer, call | |
7394 | hppa_frame_init_saved_regs. | |
7395 | * sparc-tdep.c: Include "gdb_assert.h". | |
7396 | (sparc_frame_find_saved_regs): Replace internal_error with | |
7397 | gdb_assert. | |
7398 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
7399 | FRAME_FIND_SAVED_REGS. | |
7400 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
7401 | * gdbarch.h: Regenerate. | |
7402 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
7403 | (deprecated_get_frame_saved_regs): Delete declaration. | |
7404 | (struct frame_saved_regs): Delete definition. | |
7405 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
7406 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
7407 | (hppa_frame_find_saved_regs): Delete declaration. | |
7408 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
7409 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
7410 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
7411 | FRAME_FIND_SAVED_REGS in comment. | |
7412 | ||
be41e9f4 AC |
7413 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
7414 | ||
7415 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
7416 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
7417 | (struct frame_info): Add field "prev_func" for caching the | |
7418 | previous frame's function address. | |
7419 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
7420 | get_pc_function_start and get_frame_pc into get_frame_func. | |
7421 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
7422 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7423 | * s390-tdep.c (s390_function_start): Ditto. | |
7424 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
7425 | (rs6000_frameless_function_invocation): Ditto. | |
7426 | (rs6000_frame_saved_pc): Ditto. | |
7427 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
7428 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
7429 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
7430 | (i386_frame_init_saved_regs): Ditto. | |
7431 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
7432 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
7433 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
7434 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
7435 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
7436 | ||
a01dd7cc AC |
7437 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
7438 | ||
7439 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
7440 | function start. Update comments. | |
7441 | ||
5e5592e6 AC |
7442 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
7443 | ||
7444 | * frame.c (get_frame_id): Update comment. | |
7445 | (legacy_get_prev_frame): Update comment. | |
7446 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
7447 | * gdbarch.h: Regenerate. | |
7448 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
7449 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
7450 | ||
6fba5002 AC |
7451 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
7452 | ||
7453 | * stack.c (print_frame_info): Use get_frame_pc. | |
7454 | ||
7df05f2b AC |
7455 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
7456 | ||
7457 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
7458 | the frame's type from the unwinder. | |
7459 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
7460 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
7461 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
7462 | (get_frame_base_address): Use get_frame_type. | |
7463 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
7464 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
7465 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
7466 | (struct frame_info): Add comment explaining why the frame contains | |
7467 | a "type" field. | |
7468 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
7469 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
7470 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
7471 | NORMAL_FRAME. | |
7472 | * frame-unwind.h: Include "frame.h". | |
7473 | (struct frame_unwind): Add "type" field. | |
7474 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 7475 | |
11889732 AC |
7476 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
7477 | ||
7478 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
7479 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
7480 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
7481 | get_frame_base. | |
7482 | (d10v_unwind_dummy_id): Use frame_id_build. | |
7483 | * frame.c (find_frame_sal): Use get_frame_pc. | |
7484 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
7485 | deprecated_update_frame_base_hack. | |
7486 | (create_sentinel_frame): Add comment about ->pc going away. | |
7487 | (get_prev_frame): Add comment about ->pc going away. | |
7488 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
7489 | frame_id_build, deprecated_update_frame_pc_hack and | |
7490 | deprecated_update_frame_base_hack. | |
7491 | (select_frame): Use get_frame_pc. | |
7492 | (legacy_saved_regs_this_id): Use frame_id_build. | |
7493 | ||
50c46a0d EZ |
7494 | 2003-04-04 Elena Zannoni <ezannoni@redhat.com> |
7495 | ||
fbe586ae RH |
7496 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
7497 | signed integer case. | |
7498 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 7499 | |
50bbdbd9 AC |
7500 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
7501 | ||
7502 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
7503 | ID to NULL. | |
7504 | ||
36018d2e AF |
7505 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
7506 | ||
7507 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
7508 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
7509 | SYMBOL_NATURAL_NAME. | |
7510 | (classes_info, find_methods): Likewise. | |
7511 | ||
35cec841 KB |
7512 | 2003-04-03 Kevin Buettner <kevinb@redhat.com> |
7513 | ||
7514 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
7515 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
7516 | ||
43136899 BR |
7517 | 2003-04-02 Bob Rossi <bob_rossi@cox.net> |
7518 | ||
7519 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
7520 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
7521 | (mi-cmd-file.o): Update dependencies. | |
7522 | ||
040b99fd KB |
7523 | 2003-04-01 Kevin Buettner <kevinb@redhat.com> |
7524 | ||
7525 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
7526 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
7527 | ||
9a3d7dfd AF |
7528 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
7529 | ||
7530 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
7531 | * language.h (struct language_defn): Add la_demangle. | |
7532 | (language_demangle): Declare. | |
7533 | * language.c (language_demangle): New function. | |
7534 | (unk_lang_demangle): Likewise. | |
7535 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 7536 | Add ukn_lang_demangle. |
9a3d7dfd | 7537 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 7538 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
7539 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
7540 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
7541 | * jv-lang.c (java_demangle): New function | |
7542 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
7543 | * objc-lang.c (objc_demangle): Add options argument |
7544 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
7545 | * maint.c (maintenance_demangle): Replace switch with |
7546 | call to language_demangle. | |
7547 | * utils.c (fprintf_symbol_filtered): Likewise. | |
7548 | ||
5e074003 AC |
7549 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
7550 | ||
7551 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
7552 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
7553 | PRINT_TYPELESS_INTEGER. | |
7554 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
7555 | PUSH_RETURN_ADDRESS. | |
7556 | ||
270cb5d6 AC |
7557 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
7558 | ||
7559 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7560 | * d10v-tdep.c: Include "frame-base.h". | |
7561 | (d10v_frame_unwind): Make constant. | |
7562 | (d10v_frame_base_address): New function. | |
7563 | (d10v_frame_base): New variable. | |
7564 | (d10v_gdbarch_init): Set frame_base default. | |
7565 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
7566 | comment for base. | |
7567 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
7568 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
7569 | address and this frame's func address for the frame ID. Use | |
7570 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 7571 | |
6bfb3e36 AC |
7572 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
7573 | ||
7574 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
7575 | Refer to the base address, instead of the address of the first | |
7576 | local or parameter. | |
8ffd9b1b | 7577 | |
da62e633 AC |
7578 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
7579 | ||
7580 | Add frame debug info addresses: | |
7581 | * frame-base.c: New file. | |
7582 | * frame-base.h: New file. | |
7583 | * frame.h (struct frame_base): Add opaque declaration. | |
7584 | (get_frame_base): Update comment. | |
7585 | (get_frame_base_address): Declare. | |
7586 | (get_frame_locals_address): Declare. | |
7587 | (get_frame_args_address): Declare. | |
7588 | (struct frame_info): Add "base" and "base_cache". Update | |
7589 | comments on the unwinder. | |
7590 | * frame.c: Include "frame-base.h". | |
7591 | (get_frame_locals_address): New function. | |
7592 | (get_frame_base_address): New function. | |
7593 | (get_frame_args_address): New function. | |
7594 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
7595 | get_frame_args_address. | |
7596 | * stack.c (frame_info): Use get_frame_locals_address and | |
7597 | get_frame_args_address. | |
7598 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
7599 | moved to "frame-base.c". | |
7600 | * printcmd.c (print_frame_nameless_args): Ditto. | |
7601 | * symtab.h (address_class): Update comments. | |
7602 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
7603 | get_frame_base_address. | |
7604 | * dwarf2expr.c (execute_stack_op): Ditto. | |
7605 | * Makefile.in (frame_base_h): Define. | |
7606 | (frame.o): Update dependencies. | |
7607 | (frame-base.o): Add dependencies. | |
7608 | (SFILES): Add frame-base.c. | |
7609 | (COMMON_OBS): Add frame-base.o. | |
7610 | ||
3d30e9c2 AC |
7611 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
7612 | ||
7613 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
7614 | CALL_DUMMY_LENGTH): Ditto. | |
7615 | * gdbarch.c: Re-generate. | |
7616 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
7617 | (CALL_DUMMY_LENGTH): Delete macro. | |
7618 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
7619 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7620 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7621 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7622 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7623 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7624 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7625 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7626 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7627 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7628 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7629 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7630 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7631 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7632 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7633 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7634 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7635 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7636 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7637 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7638 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7639 | ||
ce0c7262 CV |
7640 | 2003-04-01 Corinna Vinschen <vinschen@redhat.com> |
7641 | ||
7642 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
7643 | ||
73dd234f AC |
7644 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
7645 | ||
7646 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
7647 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7648 | * gdbarch.h, gdbarch.c: Re-generate. | |
7649 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7650 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7651 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7652 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7653 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
7654 | * infcmd.c (run_stack_dummy): Simplify assuming | |
7655 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
7656 | * infrun.c (handle_inferior_event): Ditto. | |
7657 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
7658 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
7659 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7660 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7661 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7662 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7663 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7664 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7665 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7666 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7667 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7668 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7669 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7670 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7671 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7672 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7673 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7674 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7675 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7676 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7677 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7678 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7679 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7680 | ||
97606a13 DJ |
7681 | 2003-04-01 Daniel Jacobowitz <drow@mvista.com> |
7682 | ||
7683 | * symfile.c (symfile_relocate_debug_section): Update call to | |
7684 | bfd_simple_get_relocated_section_contents. | |
7685 | ||
e8ab51f7 AC |
7686 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
7687 | ||
7688 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
7689 | * gdbarch.h, gdbarch.c: Regenerate. | |
7690 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
7691 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
7692 | available. | |
7693 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
7694 | * dummy-frame.h: Update comment. | |
7695 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
7696 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7697 | fix_call_dummy. | |
7698 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7699 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7700 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7701 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7702 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7703 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7704 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7705 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7706 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7707 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7708 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7709 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7710 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7711 | ||
018d1b48 JB |
7712 | 2003-03-31 J. Brobecker <brobecker@gnat.com> |
7713 | ||
7714 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
7715 | (INIT_FRAME_AP): Likewise. | |
7716 | (EXTRA_FRAME_INFO): Likewise. | |
7717 | ||
e9a2674e AC |
7718 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
7719 | ||
7720 | * gdbarch.sh: Include "symfile.h". | |
7721 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
7722 | * gdbarch.h, gdbarch.c: Re-generate. | |
7723 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
7724 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7725 | call_dummy_address, the default is at entry_point_address. | |
7726 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7727 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7728 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7729 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7730 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7731 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7732 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7733 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7734 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7735 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7736 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7737 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7738 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7739 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7740 | ||
e8a8712a AC |
7741 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
7742 | ||
7743 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
7744 | * gdbarch.h, gdbarch.c: Re-generate. | |
7745 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
7746 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7747 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7748 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7749 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7750 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7751 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7752 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7753 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7754 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7755 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7756 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7757 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7758 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7759 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7760 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7761 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7762 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7763 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
7764 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7765 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
7766 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7767 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7768 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7769 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
7770 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
7771 | * frame.c (legacy_get_prev_frame): Ditto. | |
7772 | * valops.c (call_function_by_hand): Delete function. | |
7773 | (hand_function_call): Rename to call_function_by_hand | |
7774 | ||
ed234cf8 AC |
7775 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
7776 | ||
7777 | 2002-11-10 Klee Dienes <kdienes@apple.com> | |
fbe586ae | 7778 | * value.h (struct value): Update comment. |
ed234cf8 | 7779 | |
06c77151 AC |
7780 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
7781 | ||
6c2b5168 AC |
7782 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
7783 | D10V_FP_REGNUM. | |
7784 | (d10v_gdbarch_init): Do not set fp_regnum. | |
7785 | ||
06c77151 AC |
7786 | * frame.c (get_frame_base): Force ID initialization. |
7787 | (get_prev_frame): Move computation of the frame ID from here ... | |
7788 | (get_frame_id): ... to here. | |
7789 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
7790 | * frame.h (struct frame_info): Add field "id_p". | |
7791 | ||
97a1a11c MK |
7792 | 2003-03-30 Mark Kettenis <kettenis@gnu.org> |
7793 | ||
7794 | * i386-tdep.c (i386_store_struct_return): Removed. | |
7795 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
7796 | ||
6c0e89ed AC |
7797 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
7798 | ||
7799 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
7800 | * gdbarch.h, gdbarch.c: Regenerate. | |
7801 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
7802 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7803 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7804 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7805 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7806 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7807 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7808 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7809 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7810 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7811 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7812 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7813 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
7814 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
7815 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
7816 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7817 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7818 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7819 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7820 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7821 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7822 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7823 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7824 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
7825 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
7826 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 7827 | |
f7dd6af2 AC |
7828 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
7829 | ||
7830 | * infttrace.c: Include "gdbthread.h". | |
7831 | (parent_attach_all): Fix function signature. | |
7832 | (call_ptrace): Update call. | |
7833 | * Makefile.in (infttrace.o): Update dependencies. | |
7834 | ||
28f617b3 AC |
7835 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
7836 | ||
7837 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
7838 | PUSH_RETURN_ADDRESS. | |
7839 | * gdbarch.h, gdbarch.c: Regenerate. | |
7840 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7841 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7842 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7843 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7844 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7845 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7846 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7847 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7848 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7849 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7850 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7851 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7852 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7853 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7854 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7855 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7856 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7857 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7858 | * valops.c (hand_function_call): Update. | |
7859 | ||
4d628cd7 AC |
7860 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
7861 | ||
7862 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
7863 | sizeof_call_dummy_words. | |
7864 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
7865 | define. | |
7866 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 7867 | |
65e82032 AC |
7868 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
7869 | ||
7870 | * infttrace.h: New file. | |
7871 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
7872 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
7873 | (hpread_read_doc_function_type): Detect an initialized type1. | |
7874 | (hpread_quick_traverse): Initialize mod_name_string. | |
7875 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
7876 | (som_solib_get_solib_by_pc): Declare. | |
7877 | (so_lib_thread_start_addr): Declare. | |
7878 | (no_shared_libraries): Declare. | |
7879 | * somread.c (init_import_symbols): Make static. Add forward | |
7880 | declaration. | |
7881 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
7882 | parent_attach_all. | |
7883 | (hppa_insert_hw_watchpoint): Declare. | |
7884 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
7885 | * hppah-nat.c: Include "gdb_string.h". | |
7886 | (parent_attach_all): Delete extern declaration, moved to | |
7887 | "infttrace.h". | |
7888 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
7889 | int. | |
7890 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
7891 | * Makefile.in (infttrace_h): Define. | |
7892 | (hpread.o): Update dependencies. | |
7893 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
7894 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
7895 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
7896 | * infrun.c (handle_inferior_event): Always initialize | |
7897 | stepped_after_stopped_by_watchpoint. Add default and remove | |
7898 | fallthrough in switch statement. | |
7899 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
7900 | parameter to int. | |
7901 | (hppa_remove_hw_watchpoint): Ditto. | |
7902 | ||
2c3bbe77 AC |
7903 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
7904 | ||
7905 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
7906 | offset. | |
7907 | ||
2dd604e7 RE |
7908 | 2003-03-29 Richard Earnshaw <rearnsha@arm.com> |
7909 | ||
7910 | * arm-tdep.c (arm_push_arguments): Delete. | |
7911 | (struct stack_item): New type. | |
7912 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
7913 | (arm_store_struct_return): Delte. | |
7914 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
7915 | arm_push_arguments or arm_store_struct_return. | |
7916 | ||
e8933a55 AC |
7917 | 2003-03-28 Andrew Cagney <cagney@redhat.com> |
7918 | ||
7919 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7920 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
7921 | * d10v-tdep.c: Include "remote.h". | |
7922 | (target_resume_hook): Delete extern declaration. | |
7923 | (target_wait_loop_hook): Ditto. | |
7924 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
7925 | (d10v_ts2_register_sim_regno): Eliminate call to | |
7926 | legacy_register_sim_regno. | |
7927 | (d10v_ts3_register_sim_regno): Ditto. | |
7928 | ||
6949171e JJ |
7929 | 2003-03-28 Jeff Johnston <jjohnstn@redhat.com> |
7930 | ||
7931 | * thread.c: Reindented. | |
7932 | * lin-lwp.c: Ditto. | |
7933 | * linux-proc.c: Ditto. | |
7934 | ||
98c7071f BR |
7935 | 2003-03-28 Bob Rossi <bob_rossi@cox.net> |
7936 | ||
fbe586ae | 7937 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 7938 | |
5edc9ca6 TR |
7939 | 2003-03-27 Theodore A. Roth <troth@openavr.org> |
7940 | ||
7941 | * objc-exp.y: Add missing semi-colons. | |
7942 | ||
378bfd1b AC |
7943 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
7944 | ||
7945 | * regcache.c (write_sp): Delete function and references. | |
7946 | * inferior.h (write_sp): Delete declaration. | |
7947 | * valops.c (hand_function_call): Replace write_sp with | |
7948 | TARGET_WRITE_SP. | |
7949 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
7950 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 7951 | |
56056df7 AC |
7952 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
7953 | ||
7954 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
7955 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
7956 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
7957 | * config/pa/xm-pa.h: Obsolete file. | |
7958 | * config/pa/xm-hppab.h: Obsolete file. | |
7959 | * config/pa/nm-hppab.h: Obsolete file. | |
7960 | * config/pa/tm-hppab.h: Obsolete file. | |
7961 | * config/pa/tm-hppao.h: Obsolete file. | |
7962 | * config/pa/nm-hppao.h: Obsolete file. | |
7963 | * config/pa/tm-pro.h: Obsolete file. | |
7964 | * config/pa/hppaosf.mt: Obsolete file. | |
7965 | * config/pa/hppaosf.mh: Obsolete file. | |
7966 | * config/pa/hppapro.mt: Obsolete file. | |
7967 | * config/pa/hppabsd.mt: Obsolete file. | |
7968 | * config/pa/hppabsd.mh: Obsolete file. | |
7969 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
7970 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
7971 | hppa*-*-osf*. | |
7972 | ||
5873a88d AC |
7973 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
7974 | ||
7975 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
7976 | push_arguments. Don't set push_return_address or write_sp. | |
7977 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
7978 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
7979 | handled by push_dummy_call. | |
7980 | ||
b81774d8 AC |
7981 | 2003-03-26 Andrew Cagney <cagney@redhat.com> |
7982 | ||
7983 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
7984 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
7985 | regcache and dummy_addr parameters. | |
7986 | * gdbarch.h, gdbarch.c: Re-generate. | |
7987 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
7988 | available; assume it will handle stack alignment and return | |
7989 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
7990 | legacy_push_arguments. | |
7991 | (legacy_push_arguments): Rename default_push_arguments. | |
7992 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
7993 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
7994 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7995 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7996 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7997 | * config/i386/tm-symmetry.h: Update. | |
7998 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7999 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8000 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8001 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8002 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8003 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8004 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8005 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8006 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8007 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8008 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8009 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8010 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8011 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8012 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8013 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8014 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8015 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8016 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8017 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8018 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
8019 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8020 | ||
f541410f DJ |
8021 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
8022 | ||
8023 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
8024 | signal range test. | |
8025 | ||
69f567ae DJ |
8026 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
8027 | ||
8028 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
8029 | (struct sal_chain, map_catch_names): Remove. | |
8030 | (catch_exception_command_1): Don't call | |
8031 | handle_gnu_4_16_catch_command. | |
8032 | ||
d5d14a5a DJ |
8033 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
8034 | ||
8035 | From Mark Dettinger <dettinge@de.ibm.com>: | |
8036 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
8037 | ||
bdd73e22 DJ |
8038 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
8039 | ||
8040 | * signals/signals.c: Fix typos in last change. | |
8041 | ||
960cb555 DJ |
8042 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
8043 | ||
8044 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
8045 | not already defined. Use __SIGRTMIN if available. | |
8046 | (target_signal_from_host): Remove SIGRTMIN block. | |
8047 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
8048 | the signal is within the realtime range. | |
8049 | ||
f636b87d AF |
8050 | 2003-03-25 Adam Fedor <fedor@gnu.org> |
8051 | ||
8052 | * Makefile.in (infrun.o): Add $(language_h) | |
8053 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
8054 | for language specific trampolines. | |
8055 | * language.h (struct language_defn): Add skip_trampoline. | |
8056 | (skip_language_trampoline): Declare. | |
8057 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
8058 | New functions. | |
8059 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
8060 | Add ukn_lang_trampoline. | |
8061 | * ada-lang.c (ada_language_defn): Add NULL for language | |
8062 | specific skip_trampoline. | |
8063 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
8064 | scm-lang.c: Likewise. | |
8065 | * objc-lang.c (objc_skip_trampoline): New function. | |
8066 | (objc_language_defn): Add objc_skip_trampoline. | |
8067 | ||
28f617b3 | 8068 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
270c3b1d AC |
8069 | |
8070 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
8071 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
8072 | the previous frame. | |
8073 | ||
f933a9c5 AC |
8074 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
8075 | ||
8076 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
8077 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
8078 | * gdbarch.h, gdbarch.c: Re-generate. | |
8079 | * config/sparc/tm-sparc.h | |
8080 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
8081 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
8082 | deprecated_extra_stack_alignment_needed. | |
8083 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
8084 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
8085 | extra_stack_alignment_needed. | |
8086 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8087 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8088 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8089 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8090 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8091 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8092 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 8093 | |
4183d812 AC |
8094 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
8095 | ||
8096 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
8097 | STORE_STRUCT_RETURN. | |
8098 | * gdbarch.h, gdbarch.c: Regenerate. | |
8099 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
8100 | (d10v_push_arguments): Set the struct return register. | |
8101 | (d10v_gdbarch_init): Update. | |
8102 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8103 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8104 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8105 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8106 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8107 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8108 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8109 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8110 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8111 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8112 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8113 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8114 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8115 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8116 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8117 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8118 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8119 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8120 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8121 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8122 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8123 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8124 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 8125 | |
1bf6d5cc AC |
8126 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
8127 | ||
8128 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
8129 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
8130 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
8131 | * gdbarch.h, gdbarch.c: Regenerate. | |
8132 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8133 | call_dummy_stack_adjust_p. | |
8134 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8135 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8136 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8137 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8138 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8139 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8140 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8141 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8142 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8143 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8144 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8145 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8146 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8147 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8148 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8149 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8150 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8151 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8152 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8153 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8154 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8155 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8156 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8157 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
8158 | call_dummy_stack_adjust_p. | |
8159 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
8160 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
8161 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
8162 | * valops.c (hand_function_call): Update. | |
8163 | ||
71c08af0 CV |
8164 | 2003-03-25 Corinna Vinschen <vinschen@redhat.com> |
8165 | ||
8166 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
8167 | set_gdbarch_char_signed. | |
8168 | ||
30757f90 RE |
8169 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
8170 | ||
8171 | PR cli/548 | |
8172 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
8173 | ||
03d48a7d RE |
8174 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
8175 | ||
8176 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
8177 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
8178 | ||
2cf6873c AF |
8179 | 2003-03-24 Adam Fedor <fedor@gnu.org> |
8180 | ||
8181 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
8182 | * objc-lang.h: Add multiple inclusion protection. | |
8183 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
8184 | ||
17c0759e RE |
8185 | 2003-03-24 Richard Earnshaw <rearnsha@arm.com> |
8186 | ||
8187 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
8188 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
8189 | ||
618ce49f AC |
8190 | 2003-03-23 Andrew Cagney <cagney@redhat.com> |
8191 | ||
8192 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
8193 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
8194 | * gdbarch.h, gdbarch.c: Regenerate. | |
8195 | * valops.c (hand_function_call): Update. | |
8196 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8197 | * frame.c (legacy_saved_regs_this_id): Update. | |
8198 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
8199 | * dummy-frame.h: Update. | |
8200 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
8201 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8202 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
8203 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
8204 | * config/m68k/tm-sun3.h: Update. | |
8205 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
8206 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8207 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8208 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8209 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8210 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
8211 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8212 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8213 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
8214 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
8215 | (frame_get_saved_regs): Update. | |
8216 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8217 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8218 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8219 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8220 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8221 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8222 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8223 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8224 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
8225 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8226 | (i386_interix_back_one_frame): Update. | |
8227 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8228 | (hppa_init_extra_frame_info): Update. | |
8229 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8230 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8231 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8232 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8233 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8234 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8235 | ||
fd50bc42 RE |
8236 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
8237 | ||
8238 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
8239 | (arm_get_fp_model): Declare. | |
8240 | * arm-tdep.c (fp_model_strings): New string array. | |
8241 | (arm_fp_model, current_fp_model): New variables. | |
8242 | (arm_get_fp_model): New function. | |
8243 | (arm_set_fp): New function. | |
8244 | (set_fp_model_sfunc): New function. | |
8245 | (show_fp_model): New function. | |
8246 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
8247 | (arm_extract_return_value): Use arm_get_fp_model. | |
8248 | (arm_store_return_value): Likewise. | |
8249 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
8250 | to initialize the floating-point data types. | |
8251 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
8252 | model is FPA. | |
8253 | ||
26304000 RE |
8254 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
8255 | ||
8256 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
8257 | the current setting of each value. | |
8258 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 8259 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
8260 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
8261 | commands and add new version as subcommands of "set/show arm". | |
8262 | ||
afd7eef0 RE |
8263 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
8264 | ||
8265 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
8266 | (set_arm_command, show_arm_command): New functions. | |
8267 | (_initialize_arm_tdep): Add them. | |
8268 | (num_disassembly_options): Renamed from num_flavor_options. | |
8269 | (valid_disassembly_styles): Renamed from valid_flavors. | |
8270 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 8271 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
8272 | set_disassembly_flavor_sfunc. |
8273 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
8274 | (arm_othernames): Updated. | |
8275 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
8276 | command. Add "set/show arm disassembly" commands. Deprecate | |
8277 | "othernames" command. | |
8278 | ||
299a7944 RE |
8279 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
8280 | ||
8281 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
8282 | (arm-tdep.o): Depend on elf_arm_h. | |
8283 | ||
c1dac9e6 RE |
8284 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
8285 | ||
8286 | * Makefile.in (coff_internal_h): Define. | |
8287 | (arm-tdep.o): Update dependencies. | |
8288 | ||
2702d96c RE |
8289 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
8290 | ||
8291 | * arm-tdep.c (prologue_cache): Delete. | |
8292 | (check_prologue_cache, save_prologue_cache): Delete. | |
8293 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
8294 | (arm_gdb_arch_init): Don't initialize it. | |
8295 | (_initialize_arm_tdep): Likewise. | |
8296 | ||
27d5d74b SC |
8297 | 2003-03-21 Stephane Carrez <stcarrez@nerim.fr> |
8298 | ||
8299 | * MAINTAINERS (tui): Maintainer of tui code. | |
8300 | ||
1762d96d CV |
8301 | 2003-03-21 Corinna Vinschen <vinschen@redhat.com> |
8302 | ||
8303 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
8304 | (i386-cygwin-tdep.o): Add dependencies. | |
8305 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
8306 | * i386-cygwin-tdep.c: New file. | |
8307 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
8308 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
8309 | ||
4c2e2391 AC |
8310 | 2003-03-20 Andrew Cagney <cagney@redhat.com> |
8311 | ||
f20d38b7 AC |
8312 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
8313 | (handle_inferior_event): Remove code calling | |
8314 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
8315 | ||
0022b738 AC |
8316 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
8317 | already has a full path. | |
8318 | ||
864dbc90 AC |
8319 | * main.c (gdb_main): Return 1. |
8320 | (captured_main): Call error to report an invalid interpreter. | |
8321 | ||
4c2e2391 AC |
8322 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
8323 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
8324 | ||
5ef7553b JB |
8325 | 2003-03-19 J. Brobecker <brobecker@gnat.com> |
8326 | ||
8327 | Continuing work to convert the hppa targets to multiarch partial. | |
8328 | ||
8329 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
8330 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
8331 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
8332 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
8333 | for the switch to multiarch partial. | |
8334 | ||
7bde8967 KB |
8335 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
8336 | ||
8337 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
8338 | when iss is issNull. | |
8339 | ||
b006a9e9 KB |
8340 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
8341 | ||
8342 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
8343 | NUM_REGS bounds check. | |
8344 | ||
5e2e9765 KB |
8345 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
8346 | ||
8347 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
8348 | * mips-tdep.c (gdb_assert.h): Include. | |
8349 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
8350 | (mips_register_name): Handle integer registers explicitly. Add | |
8351 | bounds checking. | |
8352 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
8353 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
8354 | handled by mips_register_name() now. | |
8355 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
8356 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
8357 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
8358 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
8359 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
8360 | ||
a2867626 AC |
8361 | 2003-03-18 Andrew Cagney <cagney@redhat.com> |
8362 | ||
8363 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
8364 | a void pointer. | |
8365 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
8366 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
8367 | ||
06600e06 JB |
8368 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
8369 | ||
8370 | * infrun.c (observer.h): Add #include. | |
8371 | (normal_stop): Add call to observer_notify_normal_stop. | |
8372 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
8373 | ||
7daf4f5b JB |
8374 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
8375 | ||
8376 | Continuing work to convert the hppa targets to multiarch partial. | |
8377 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
8378 | parameter. Reformat comment. | |
8379 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
8380 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
8381 | to match new profile. | |
8382 | ||
3371ccc0 JB |
8383 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
8384 | ||
8385 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
8386 | appear to be working in any case. | |
8387 | ||
4fbe891e JB |
8388 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
8389 | ||
8390 | * observer.c (observer_test_first_observer): New static variable. | |
8391 | (observer_test_second_observer): Likewise. | |
8392 | (observer_test_third_observer): Likewise. | |
8393 | (observer_test_first_notification_function): New static function. | |
8394 | (observer_test_second_notification_function): Likewise. | |
8395 | (observer_test_third_notification_function): Likewise. | |
8396 | ||
a7ff40e7 JB |
8397 | 2003-03-17 J. Brobecker <brobecker@gnat.com> |
8398 | ||
8399 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
8400 | * somsolib.c (gdb_assert.h): Likewise. | |
8401 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
8402 | (somsolib.o): Likewise. | |
8403 | ||
26ca4152 AC |
8404 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
8405 | ||
8406 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
8407 | BFD. Simplify setting of di.endian. | |
8408 | ||
0a613259 AC |
8409 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
8410 | ||
8411 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
8412 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
8413 | ||
8414 | From Elena Zannoni <ezannoni@redhat.com> | |
8415 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
8416 | vector and floating-point parameters. | |
8417 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
8418 | convention. | |
8419 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
8420 | ||
1132738f FN |
8421 | 2003-03-17 Fernando Nasser <fnasser@redhat.com> |
8422 | ||
8423 | * MAINTAINERS: Remove my name from several maintainership roles. | |
8424 | ||
6dc42492 AC |
8425 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
8426 | ||
8427 | Fix frame off-by-one bug. | |
8428 | * frame-unwind.h (frame_this_id_ftype): Replace | |
8429 | frame_unwind_id_ftype. | |
8430 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
8431 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
8432 | with "prev_register". | |
8433 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
8434 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
8435 | comment. | |
8436 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
8437 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
8438 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
8439 | (dummy_frame_unwind): Update. | |
8440 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
8441 | sentinel_frame_register_unwind. | |
8442 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
8443 | (sentinel_frame_unwinder): Update. | |
8444 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8445 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
8446 | * frame.c (create_sentinel_frame): Update. Initialize | |
8447 | "prologue_cache" instead of "unwind_cache". | |
8448 | (frame_register_unwind): Call this frame's prev_register with the | |
8449 | next frame and this frame's prologue cache. | |
8450 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
8451 | this frame and prev frame's prologue cache. Document that this | |
8452 | call is shifted one to the left when compared to the | |
8453 | frame_register_unwind call. | |
8454 | (legacy_saved_regs_prev_register): Replace | |
8455 | frame_saved_regs_register_unwind. | |
8456 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
8457 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
8458 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8459 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
8460 | (d10v_frame_unwind): Update. | |
8461 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
8462 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
8463 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
8464 | "saved_regs" with "this_saved_regs". | |
8465 | ||
efd710d6 AC |
8466 | 2003-03-16 Andrew Cagney <cagney@redhat.com> |
8467 | ||
8468 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
8469 | problem reported by Mark Kettenis. | |
8470 | ||
4e259f09 MK |
8471 | 2003-03-16 Mark Kettenis <kettenis@gnu.org> |
8472 | ||
8473 | * i386-tdep.c (i386_register_type): Renamed from | |
8474 | i386_register_virtual_type. Adjust function signature. | |
8475 | (i386_gdbarch_init): Set register_type instead of | |
8476 | deprecated_max_register_raw_size, | |
8477 | deprecated_max_register_virtual_size and register_virtual_type. | |
8478 | ||
055bb976 AC |
8479 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
8480 | ||
8481 | * frame.c (get_prev_frame): When a legacy frame, always call | |
8482 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
8483 | the unwinder is new. | |
8484 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
8485 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
8486 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
8487 | ||
ac2adee5 AC |
8488 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
8489 | ||
8490 | * frame.c (get_saved_register): Delete function. | |
8491 | * frame.h (get_saved_register): Delete declaration. | |
8492 | * xstormy16-tdep.c: Update comment. | |
8493 | * regcache.h: Update comments. | |
8494 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
8495 | get_saved_register and extract_address, use | |
8496 | frame_read_unsigned_register. | |
8497 | (sparc_frame_saved_pc): Ditto. | |
8498 | (sparc_get_saved_register): Instead of get_saved_register, use | |
8499 | frame_register. | |
8500 | (sparc_pop_frame): Ditto. | |
8501 | * findvar.c: Update comments. | |
8502 | (value_of_register): Call frame_register instead of | |
8503 | get_saved_register. | |
8504 | (value_from_register): Ditto. | |
8505 | * config/sparc/tm-sparc.h: Update comment. | |
8506 | * breakpoint.c: Update comment. | |
8507 | ||
129c1cd6 AC |
8508 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
8509 | ||
8510 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
8511 | GET_SAVED_REGISTER. | |
8512 | * gdbarch.h, gdbarch.c: Re-generate. | |
8513 | * frame.h: Update comments. | |
8514 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8515 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8516 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8517 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8518 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8519 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8520 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8521 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8522 | * frame.c (frame_register): Update. | |
8523 | (get_saved_register): Update. | |
8524 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 8525 | |
749b82f6 AC |
8526 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
8527 | ||
8528 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
8529 | * gdbarch.h, gdbarch.c: Regenerate. | |
8530 | * valops.c (hand_function_call): Update comment. | |
8531 | * stack.c (return_command): Update comment. | |
8532 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
8533 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
8534 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8535 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8536 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8537 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8538 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8539 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8540 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8541 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8542 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8543 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8544 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8545 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8546 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8547 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8548 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8549 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8550 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8551 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8552 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8553 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8554 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8555 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8556 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8557 | ||
1594fa56 AC |
8558 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
8559 | ||
8560 | * frame.c (legacy_frame_p): New function. | |
8561 | (get_prev_frame): Use legacy_frame_p. | |
8562 | * frame.h (legacy_frame_p): Declare. | |
8563 | ||
7717fda3 V |
8564 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
8565 | ||
fbe586ae | 8566 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
8567 | listing corrected. |
8568 | ||
0c67cbe9 V |
8569 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
8570 | ||
fbe586ae | 8571 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 8572 | |
03febf99 AC |
8573 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
8574 | ||
8575 | * frame.c (get_prev_frame): Rename the frame parameter to | |
8576 | "this_frame". | |
8577 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
8578 | ||
0a1e1ca1 AC |
8579 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
8580 | ||
8581 | * frame.c (get_current_frame): Check target_has_registers before | |
8582 | checking target_has_stack. | |
8583 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
8584 | instead of deprecated_selected_frame. | |
8585 | * findvar.c (value_of_register): Pass "frame", not | |
8586 | deprecated_selected_frame, to value_of_builtin_reg. | |
8587 | ||
a66a9c23 AC |
8588 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
8589 | ||
8590 | * regcache.c (regcache_cooked_write_signed): New function. | |
8591 | (regcache_cooked_write_unsigned): New function. | |
8592 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
8593 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
8594 | * regcache.h (regcache_cooked_write_signed): Declare. | |
8595 | (regcache_cooked_write_unsigned): Declare. | |
8596 | ||
8bedc050 AC |
8597 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
8598 | ||
8599 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
8600 | * gdbarch.h, gdbarch.c: Re-generate. | |
8601 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8602 | * x86-64-tdep.h: Update. | |
8603 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8604 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8605 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8606 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8607 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8608 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8609 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8610 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8611 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8612 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8613 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8614 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8615 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8616 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8617 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8618 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8619 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8620 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8621 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8622 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8623 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8624 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8625 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8626 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
8627 | (sh64_init_extra_frame_info): Update. | |
8628 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8629 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
8630 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
8631 | (xstormy16_frame_chain_valid): Update. | |
8632 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
8633 | * v850-tdep.c (v850_frame_chain): Update. | |
8634 | (v850_pop_frame): Update. | |
8635 | (v850_init_extra_frame_info): Update. | |
8636 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
8637 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8638 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
8639 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
8640 | (mn10300_pop_frame_regular): Update. | |
8641 | (mn10300_init_extra_frame_info): Update. | |
8642 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8643 | (mips_frame_chain): Update. | |
8644 | (mips_pop_frame): Update. | |
8645 | * mcore-tdep.c (mcore_frame_chain): Update. | |
8646 | (mcore_pop_frame): Update. | |
8647 | (mcore_init_extra_frame_info): Update. | |
8648 | * arch-utils.c (init_frame_pc_default): Update. | |
8649 | * m68k-tdep.c (isi_frame_num_args): Update. | |
8650 | (delta68_frame_num_args): Update. | |
8651 | (news_frame_num_args): Update. | |
8652 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
8653 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8654 | (alpha_frame_chain): Update. | |
8655 | (alpha_pop_frame): Update. | |
8656 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
8657 | (hppa_init_extra_frame_info): Update. | |
8658 | (hppa_frame_chain): Update. | |
8659 | (hppa_frame_chain_valid): Update. | |
8660 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
8661 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
8662 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
8663 | (arm_init_extra_frame_info): Update. | |
8664 | (arm_pop_frame): Update. | |
8665 | * frame.c (frame_pc_unwind): Update. | |
8666 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8667 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8668 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8669 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8670 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8671 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 8672 | |
7a25a7c1 AC |
8673 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
8674 | ||
8675 | Eliminate the need for POP_FRAME. | |
8676 | * frame.c (do_frame_unwind_register): New function. | |
8677 | (frame_pop): When no POP_FRAME, pop the frame using register | |
8678 | unwind and a scratch regcache. | |
8679 | (frame_saved_regs_pop): Delete function. | |
8680 | (trad_frame_unwinder): Update. | |
8681 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
8682 | (d10v_frame_unwind): Update. | |
8683 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
8684 | (sentinel_frame_unwinder): Update. | |
8685 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
8686 | (dummy_frame_unwind): Update. | |
8687 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
8688 | (struct frame_unwind): Update. | |
8689 | ||
2f38ef89 KB |
8690 | 2003-03-11 Kevin Buettner <kevinb@redhat.com> |
8691 | ||
8692 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
8693 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
8694 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
8695 | Do range checks on register number obtained from debugging info. | |
8696 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
8697 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
8698 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
8699 | mapping function. | |
8700 | (do_fp_register_row): Fix typo which caused double type to be | |
8701 | used when attempting to unpack a float. | |
8702 | ||
552f4abf JB |
8703 | 2003-03-11 J. Brobecker <brobecker@gnat.com> |
8704 | ||
8705 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
8706 | ||
e0d2ae16 AC |
8707 | 2003-03-11 Andrew Cagney <cagney@redhat.com> |
8708 | ||
8709 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
8710 | frame. Problem found by Corinna Vinschen. | |
8711 | ||
ddbfdd06 PM |
8712 | 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr> |
8713 | ||
8714 | * doublest.c (floatformat_from_length): Accept also | |
8715 | the real size of 'long double' type. | |
8716 | ||
088b2ddc | 8717 | 2003-03-10 Daniel Jacobowitz <drow@mvista.com> |
31cc81e9 | 8718 | |
088b2ddc | 8719 | From Klee Dienes <kdienes@apple.com>: |
31cc81e9 DJ |
8720 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
8721 | as the old value, to match what is freed in bpstat_clear. | |
8722 | ||
f56f77c1 DC |
8723 | 2003-03-10 David Carlton <carlton@math.stanford.edu> |
8724 | ||
8725 | * minsyms.c (add_minsym_to_hash_table): Replace | |
8726 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
8727 | (compare_minimal_symbols, compact_minimal_symbols) | |
8728 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
8729 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
8730 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
8731 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
8732 | ||
5602984a AC |
8733 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
8734 | ||
8735 | * regcache.h (regcache_cooked_read_ftype): Define. | |
8736 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
8737 | * regcache.c (regcache_save, regcache_restore): Update. | |
8738 | (do_cooked_read): New function. | |
8739 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
8740 | regcache_restore. | |
8741 | ||
8bedc050 AC |
8742 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
8743 | ||
8744 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
8745 | * gdbarch.h, gdbarch.c: Re-generate. | |
8746 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8747 | * x86-64-tdep.h: Update. | |
8748 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8749 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8750 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8751 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8752 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8753 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8754 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8755 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8756 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8757 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8758 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8759 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8760 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8761 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8762 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8763 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8764 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8765 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8766 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8767 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8768 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8769 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8770 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8771 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
8772 | (sh64_init_extra_frame_info): Update. | |
8773 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8774 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
8775 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
8776 | (xstormy16_frame_chain_valid): Update. | |
8777 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
8778 | * v850-tdep.c (v850_frame_chain): Update. | |
8779 | (v850_pop_frame): Update. | |
8780 | (v850_init_extra_frame_info): Update. | |
8781 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
8782 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8783 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
8784 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
8785 | (mn10300_pop_frame_regular): Update. | |
8786 | (mn10300_init_extra_frame_info): Update. | |
8787 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8788 | (mips_frame_chain): Update. | |
8789 | (mips_pop_frame): Update. | |
8790 | * mcore-tdep.c (mcore_frame_chain): Update. | |
8791 | (mcore_pop_frame): Update. | |
8792 | (mcore_init_extra_frame_info): Update. | |
8793 | * arch-utils.c (init_frame_pc_default): Update. | |
8794 | * m68k-tdep.c (isi_frame_num_args): Update. | |
8795 | (delta68_frame_num_args): Update. | |
8796 | (news_frame_num_args): Update. | |
8797 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
8798 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8799 | (alpha_frame_chain): Update. | |
8800 | (alpha_pop_frame): Update. | |
8801 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
8802 | (hppa_init_extra_frame_info): Update. | |
8803 | (hppa_frame_chain): Update. | |
8804 | (hppa_frame_chain_valid): Update. | |
8805 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
8806 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
8807 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
8808 | (arm_init_extra_frame_info): Update. | |
8809 | (arm_pop_frame): Update. | |
8810 | * frame.c (frame_pc_unwind): Update. | |
8811 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8812 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8813 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8814 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8815 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8816 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 8817 | |
12cc2063 AC |
8818 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
8819 | ||
8820 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
8821 | * gdbarch.h, gdbarch.c: Regenerate. | |
8822 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
8823 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
8824 | (frame_saved_regs_pc_unwind): Delete function. | |
8825 | (trad_frame_unwinder): Update. | |
8826 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
8827 | (struct frame_unwind): Update. | |
8828 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
8829 | (dummy_frame_unwind): Update. | |
8830 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
8831 | (sentinel_frame_unwinder): Update. | |
8832 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
8833 | (d10v_frame_unwind): Update. | |
8834 | (d10v_unwind_pc): New function. | |
8835 | (d10v_gdbarch_init): Set unwind_pc. | |
8836 | ||
ef840a37 AC |
8837 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
8838 | ||
a2ce2e56 AC |
8839 | * gdbarch.h: Re-generate. |
8840 | ||
ef840a37 AC |
8841 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
8842 | PC. | |
8843 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
8844 | the PC register. | |
8845 | ||
08f3424b MK |
8846 | 2003-03-08 Mark Kettenis <kettenis@gnu.org> |
8847 | ||
8848 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
8849 | ||
1248ede2 AC |
8850 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
8851 | ||
8852 | * cli-out.c: Update copyright. | |
8853 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
8854 | ||
f49bacc8 AC |
8855 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
8856 | ||
8857 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
8858 | the result. | |
8859 | ||
9b05f993 AC |
8860 | 2003-03-07 Andrew Cagney <cagney@redhat.com> |
8861 | ||
8862 | * gdbarch.sh: Don't generate two macro definitions when an | |
8863 | undefined macro taking no arguments. | |
8864 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 8865 | |
166f4c7b ML |
8866 | 2002-03-07 Michal Ludvig <mludvig@suse.cz> |
8867 | ||
8868 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
8869 | (x86_64_unwind_dummy_id): New functions. | |
8870 | (x86_64_init_abi): Register these two new functions. | |
8871 | ||
6d686a84 ML |
8872 | 2003-03-07 Michal Ludvig <mludvig@suse.cz> |
8873 | ||
8874 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 8875 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
8876 | separate function. |
8877 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
8878 | ||
6314f104 AC |
8879 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
8880 | ||
8881 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
8882 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
8883 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
8884 | to use unwind_dummy_id when a dummy frame. | |
8885 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
8886 | predicate. | |
8887 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 8888 | |
ceea5145 AC |
8889 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
8890 | ||
8891 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
8892 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
8893 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
8894 | values. | |
8895 | ||
0d843116 AC |
8896 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
8897 | ||
8898 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
8899 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
8900 | "next_addr" with "sp_offset". Add "r11_offset". | |
8901 | (d10v_frame_unwind_cache): Update. | |
8902 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
8903 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
8904 | RN was saved in r11_offset. | |
8905 | ||
b2579786 AC |
8906 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
8907 | ||
8908 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
8909 | cached PC value in the next frame. | |
8910 | ||
218e5956 AC |
8911 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
8912 | ||
8913 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
8914 | "id_unwind_cache" with "id". | |
8915 | (frame_id_unwind): Delete declaration. | |
8916 | * frame.c (frame_id_unwind): Delete function. | |
8917 | (get_prev_frame): Call the frame id unwind method directly. Store | |
8918 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
8919 | is a problem with the wrong unwind ID being called with the wrong | |
8920 | unwind cache. | |
8921 | ||
ed363b1b DJ |
8922 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
8923 | ||
8924 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
8925 | ||
fe1f4a5e DJ |
8926 | 2003-03-05 James Ingham <jingham@apple.com> |
8927 | Daniel Jacobowitz <drow@mvista.com> | |
8928 | ||
8929 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
8930 | (auto_cp_abi): New variable. | |
8931 | (current_cp_abi, num_cp_abis): Make static. | |
8932 | (CP_ABI_MAX): Define. | |
8933 | (cp_abis): Turn into an array. | |
8934 | (value_virtual_fn_field): Fix formatting. | |
8935 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
8936 | takes a pointer. | |
8937 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
8938 | (list_cp_abis, _initialize_cp_abi): New functions. | |
8939 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
8940 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
8941 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
8942 | * Makefile.in (cp-abi.o): Update dependencies. | |
8943 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
8944 | instead of switch_to_cp_abi. | |
8945 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
8946 | register_cp_abi. | |
8947 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
8948 | register_cp_abi. | |
8949 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
8950 | ||
e4adbba9 DJ |
8951 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
8952 | ||
8953 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
8954 | * dwarf2loc.c: Include "regcache.h". | |
8955 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
8956 | register_size. | |
8957 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
8958 | ||
91ccbfc1 TR |
8959 | 2003-03-04 Theodore A. Roth <troth@openavr.org> |
8960 | ||
8961 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
8962 | number of io registers reported by remote target is not a multiple of | |
8963 | step. | |
8964 | ||
3d4e8fd2 DC |
8965 | 2003-03-04 David Carlton <carlton@math.stanford.edu> |
8966 | ||
8967 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
8968 | (lookup_symbol_aux_psymtabs): Update call to | |
8969 | lookup_partial_symbol. | |
8970 | (lookup_transparent_type, find_main_psymtab) | |
8971 | (make_symbol_overload_list): Ditto. | |
8972 | ||
ed42d87b KH |
8973 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
8974 | ||
8975 | * MAINTAINERS (Write after approval): Update my email address. | |
8976 | ||
a0ed5532 AC |
8977 | 2003-03-03 Andrew Cagney <cagney@redhat.com> |
8978 | ||
8979 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
8980 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
8981 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
8982 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
8983 | MAX_REGISTER_VIRTUAL_SIZE. | |
8984 | * regcache.c (legacy_max_register_raw_size): New function. | |
8985 | (legacy_max_register_virtual_size): New function. | |
8986 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
8987 | (MAX_REGISTER_RAW_SIZE): Define. | |
8988 | (legacy_max_register_raw_size): Declare. | |
8989 | (legacy_max_register_virtual_size): Declare. | |
8990 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8991 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
8992 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8993 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
8994 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8995 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
8996 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8997 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8998 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8999 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9000 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9001 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9002 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9003 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9004 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9005 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9006 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9007 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9008 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9009 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9010 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9011 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9012 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9013 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9014 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9015 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9016 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9017 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9018 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9019 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9020 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9021 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
9022 | max_register_raw_size or max_register_virtual_size. | |
9023 | ||
8e437497 DC |
9024 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
9025 | ||
9026 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
9027 | SYMBOL_MATCHES_NAME, add comment. | |
9028 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
9029 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
9030 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
9031 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
9032 | * symtab.c (lookup_partial_symbol): Use | |
9033 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
9034 | unhelpful comment. | |
9035 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
9036 | SYMBOL_MATCHES_NAME. | |
9037 | Fix for PR c++/33. | |
9038 | ||
25120b0d DC |
9039 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
9040 | ||
9041 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
9042 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
9043 | by regexp matching against SYMBOL_NATURAL_NAME. | |
9044 | ||
78a11fb4 DC |
9045 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
9046 | ||
9047 | * linespec.c (find_method): Extract code into collect_methods. | |
9048 | (collect_methods): New. | |
9049 | ||
645dd519 MK |
9050 | 2003-03-02 Mark Kettenis <kettenis@gnu.org> |
9051 | ||
b4700d91 MK |
9052 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
9053 | get_frame_base. | |
9054 | ||
645dd519 MK |
9055 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
9056 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9057 | ||
0aa7e1aa SC |
9058 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
9059 | ||
8ffd9b1b | 9060 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
9061 | and not regnum when summing the size of all registers up to regnum. |
9062 | ||
f30ee0bc AC |
9063 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
9064 | ||
9065 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
9066 | FRAME_INIT_SAVED_REGS. | |
9067 | * gdbarch.h, gdbarch.c: Regenerate. | |
9068 | * stack.c (frame_info): Update. | |
9069 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
9070 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
9071 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
9072 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
9073 | * mips-tdep.c (mips_pop_frame): Update. | |
9074 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
9075 | * ia64-tdep.c (ia64_frame_chain): Update. | |
9076 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
9077 | (ia64_frameless_function_invocation): Update. | |
9078 | (ia64_init_extra_frame_info): Update. | |
9079 | (ia64_pop_frame_regular): Update. | |
9080 | * frame.h (struct frame_info): Update comment. | |
9081 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
9082 | * frame.c (frame_saved_regs_register_unwind): Update. | |
9083 | (frame_saved_regs_register_unwind): Update. | |
9084 | (deprecated_generic_get_saved_register): Update. | |
9085 | * cris-tdep.c: Update comment. | |
9086 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
9087 | Rename macro. | |
9088 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9089 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9090 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9091 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9092 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9093 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9094 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9095 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9096 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9097 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9098 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9099 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9100 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9101 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9102 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9103 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9104 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9105 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9106 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9107 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9108 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9109 | |
42fa7c0f AC |
9110 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
9111 | ||
9112 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
9113 | option enum and switch. When no windows, set the interpreter to | |
9114 | INTERP_CONSOLE. | |
8ffd9b1b | 9115 | |
49c7e338 AC |
9116 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
9117 | ||
9118 | * main.c (captured_main): Replace magic option characters with an | |
9119 | enum. | |
9120 | ||
e9582e71 AC |
9121 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
9122 | ||
9123 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
9124 | INIT_EXTRA_FRAME_INFO. | |
9125 | * gdbarch.h, gdbarch.c: Regenerate. | |
9126 | * arm-tdep.c: Update comments. | |
9127 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
9128 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
9129 | * frame.h, avr-tdep.c: Ditto. | |
9130 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
9131 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
9132 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9133 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9134 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
9135 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
9136 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
9137 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9138 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9139 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9140 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9141 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
9142 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9143 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9144 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9145 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9146 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9147 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
9148 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9149 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9150 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9151 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9152 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9153 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9154 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9155 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9156 | ||
35cac7cf AC |
9157 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
9158 | ||
9159 | * gdbarch.sh (register_type): New function with predicate. | |
9160 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
9161 | * gdbarch.h, gdbarch.c: Re-generate. | |
9162 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
9163 | (generic_register_size): When available, use | |
9164 | gdbarch_register_type. | |
9165 | * regcache.c (init_regcache_descr): When available, initialize the | |
9166 | register type array using gdbarch_register_type. If the | |
9167 | architecture supplies gdbarch_register_type, do not use the legacy | |
9168 | regcache layout. | |
9169 | * d10v-tdep.c (d10v_register_type): Replace | |
9170 | d10v_register_virtual_type. | |
9171 | (d10v_gdbarch_init): Set register_type instead of | |
9172 | register_virtual_type. | |
9173 | ||
7b83296f AC |
9174 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
9175 | ||
9176 | * Makefile.in (ax-gdb.o): Update dependencies. | |
9177 | * ax-gdb.c: Include "regcache.h". | |
9178 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
9179 | * findvar.c (value_of_register): Ditto. | |
9180 | * infcmd.c (default_print_registers_info): Ditto. | |
9181 | ||
eadc1c87 MK |
9182 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
9183 | ||
9184 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
9185 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9186 | ||
14143612 MK |
9187 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
9188 | ||
9189 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
9190 | of STREQ. | |
9191 | ||
a55cc764 DJ |
9192 | 2003-02-28 Daniel Jacobowitz <drow@mvista.com> |
9193 | ||
9194 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9195 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9196 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
9197 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
9198 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
9199 | (locexpr_tracepoint_var_ref): New function. | |
9200 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
9201 | ||
08a617da AC |
9202 | 2003-02-28 Andrew Cagney <cagney@redhat.com> |
9203 | ||
9204 | * regcache.c (register_size): New function. | |
9205 | * regcache.h (register_size): Declare | |
9206 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
9207 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
9208 | ||
4224873a DC |
9209 | 2003-02-28 David Carlton <carlton@math.stanford.edu> |
9210 | ||
9211 | * linespec.c (decode_compound): Extract code into find_method. | |
9212 | (find_method): New. | |
9213 | ||
ccdc5d7f JB |
9214 | 2003-02-28 J. Brobecker <brobecker@gnat.com> |
9215 | ||
9216 | * Makefile.in: Add rules to build and link in observer.o. | |
9217 | ||
974e8ced JB |
9218 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
9219 | ||
9220 | * observer.c: Minor comments edits. | |
9221 | ||
7a28f973 JB |
9222 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
9223 | ||
9224 | * observer.h, observer.c: New file. | |
9225 | ||
27cddce2 AC |
9226 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
9227 | ||
9228 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
9229 | ||
b94a41a1 SC |
9230 | 2003-02-27 Stephane Carrez <stcarrez@nerim.fr> |
9231 | ||
9232 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
9233 | (M6812_OP_STS_EXT): Likewise. | |
9234 | (m6811_prologue): Use the above to recognize prologue. | |
9235 | (m6812_prologue): Likewise. | |
9236 | ||
c8be8951 DC |
9237 | 2003-02-27 David Carlton <carlton@math.stanford.edu> |
9238 | ||
9239 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
9240 | SYMBOL_PRINT_NAME. | |
9241 | (compare_psymbols): Ditto. | |
9242 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
9243 | ||
d05bb1fc MS |
9244 | 2003-02-27 Michael Snyder <msnyder@redhat.com> |
9245 | ||
4e845cd3 MS |
9246 | * f-lang.c (build_fortran_types): New function. |
9247 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
9248 | * doublest.c (extract_floating): Fix warning text. |
9249 | ||
f3824013 AC |
9250 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
9251 | ||
9252 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
9253 | predicate. Replaces PUSH_DUMMY_FRAME. | |
9254 | * gdbarch.h, gdbarch.c: Regnerate. | |
9255 | * valops.c (hand_function_call): Update. Call | |
9256 | generic_push_dummy_frame directly. | |
9257 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9258 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9259 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9260 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9261 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9262 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9263 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9264 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9265 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
9266 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
9267 | push_dummy_frame to generic_push_dummy_frame. | |
9268 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9269 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9270 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9271 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9272 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9273 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9274 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9275 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9276 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9277 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9278 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9279 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9280 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9281 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9282 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9283 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 9284 | |
ad188201 KB |
9285 | 2003-02-26 Kevin Buettner <kevinb@redhat.com> |
9286 | ||
9287 | * mips-tdep.c (show_mips_abi): New function. | |
9288 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
9289 | command ``show mips abi''. | |
9290 | ||
6b37567a | 9291 | 2003-02-26 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 9292 | |
6b37567a | 9293 | From Elena Zannoni <ezannoni@redhat.com> |
8ffd9b1b | 9294 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
9295 | more sline entries have been seen for the function. |
9296 | ||
d3e0a5bf MC |
9297 | 2003-02-26 Michael Chastain <mec@shout.net> |
9298 | ||
9299 | * configure: Regenerate with autoconf 000227. | |
9300 | ||
18972eea MC |
9301 | 2003-02-26 Michael Chastain <mec@shout.net> |
9302 | ||
9303 | Close PR build/660. | |
9304 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
9305 | for old libc5/glibc. | |
9306 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
9307 | ||
0bbde931 KW |
9308 | 2003-02-26 Kris Warkentin <kewarken@qnx.com> |
9309 | ||
9310 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
9311 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
9312 | ||
27ca5dad MC |
9313 | 2003-02-26 Michael Chastain <mec@shout.net> |
9314 | ||
9315 | * configure.in: New variable HAVE_UINTPTR_T. | |
9316 | * configure, config.in: Regenerated. | |
9317 | ||
6f88d630 DJ |
9318 | 2003-02-26 Daniel Jacobowitz <drow@mvista.com> |
9319 | ||
9320 | Fix PR build/1097. | |
9321 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
9322 | ||
b14185ce AC |
9323 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
9324 | ||
9325 | * frame.c (get_prev_frame): Add comment on check for | |
9326 | inside_entry_func. Only check for inside_entry_file when not a | |
9327 | dummy and not a sentinel. Check that the new frame is not inner | |
9328 | to the old frame. | |
9329 | ||
ac2bd0a9 AC |
9330 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
9331 | ||
9332 | * frame.c (frame_debug): New variable. | |
9333 | (_initialize_frame): Add "set/show debug frame" command. | |
9334 | (get_prev_frame): When frame_debug, print reason why unwind | |
9335 | failed. | |
9336 | ||
b18a0fd2 MC |
9337 | 2003-02-25 Michael Chastain <mec@shout.net> |
9338 | ||
9339 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
9340 | to avoid uintptr_t definition problems. | |
9341 | ||
22abf04a DC |
9342 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
9343 | ||
9344 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
9345 | (SYMBOL_LINKAGE_NAME): Ditto. | |
9346 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
9347 | SYMBOL_LINKAGE_NAME. | |
9348 | (struct general_symbol_info): Expand comment. | |
9349 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
9350 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
9351 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
9352 | * symtab.c (symbol_natural_name): New function. | |
9353 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
9354 | DEPRECATED_SYMBOL_NAME. | |
9355 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
9356 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
9357 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
9358 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
9359 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
9360 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
9361 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
9362 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
9363 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
9364 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
9365 | * ada-exp.y: Ditto. | |
9366 | * ada-exp.y: Update copyright. | |
9367 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
9368 | * cp-valprint.c: Ditto. | |
9369 | ||
1a5848f6 JJ |
9370 | 2003-02-25 Jeff Johnston <jjohnstn@redhat.com> |
9371 | ||
9372 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
9373 | and errno is set to ESRCH. | |
9374 | ||
7343d46a AC |
9375 | 2003-02-24 Andrew Cagney <cagney@redhat.com> |
9376 | ||
9377 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
9378 | paddr when printing udot_off's value. | |
9379 | ||
49fa1dc2 DC |
9380 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
9381 | ||
9382 | * symtab.c (make_symbol_overload_list): Only read in partial | |
9383 | symtabs containing a matching partial symbol. | |
9384 | ||
0fe19209 DC |
9385 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
9386 | ||
9387 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
9388 | do the comparison, not strcmp. | |
9389 | * symfile.c (compare_psymbols): Ditto. | |
9390 | * defs.h: Declare strcmp_iw_ordered. | |
9391 | * utils.c (strcmp_iw_ordered): New function. | |
9392 | ||
8e3ee7b5 JB |
9393 | 2003-02-24 Jim Blandy <jimb@redhat.com> |
9394 | ||
9395 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
9396 | support, shared libs): Remove my name from here, to better reflect | |
9397 | reality. | |
9398 | ||
7df1a324 KW |
9399 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
9400 | ||
9401 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
9402 | (target_ops): Add to_have_continuable_watchpoint. | |
9403 | * target.c (update_current_target): Add INHERIT line for | |
9404 | to_have_continuable_watchpoint. | |
9405 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
9406 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
9407 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
9408 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
9409 | ||
d1c76907 EZ |
9410 | 2003-02-24 Elena Zannoni <ezannoni@redhat.com> |
9411 | ||
9412 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
9413 | maintainership. | |
9414 | ||
2610b0bf KW |
9415 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
9416 | ||
f46169db KW |
9417 | * solib.c (solib_open): Call target defined search function after |
9418 | failing with solib-search-path. | |
9419 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
9420 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 9421 | |
9a3c34fe KW |
9422 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
9423 | ||
f46169db | 9424 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 9425 | |
2417dd25 SC |
9426 | 2003-02-23 Stephane Carrez <stcarrez@nerim.fr> |
9427 | ||
9428 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
9429 | ||
b631436b SC |
9430 | 2003-02-22 Stephane Carrez <stcarrez@nerim.fr> |
9431 | ||
9432 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
9433 | (m68hc11_add_reggroups): New function. | |
9434 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
9435 | (m68hc11_gdbarch_init): Install the reggroups. | |
9436 | (_initialize_m68hc11_tdep): Initialize them. | |
9437 | ||
0aa8c1e4 JW |
9438 | 2003-02-21 James E Wilson <wilson@tuliptree.org> |
9439 | ||
9440 | * MAINTAINERS: Update my email address. | |
9441 | ||
50ceaba5 DC |
9442 | 2003-02-21 David Carlton <carlton@math.stanford.edu> |
9443 | ||
9444 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
9445 | ||
4c2df51b DJ |
9446 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
9447 | ||
9448 | Based on a patch from Daniel Berlin (dberlin@dberlin.org). | |
9449 | * symtab.h: Add opaque declarations of struct axs_value and | |
9450 | struct agent_expr. | |
9451 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9452 | (struct location_funcs): New type. | |
9453 | (struct symbol): Add "loc" to aux_value. | |
9454 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
9455 | * dwarf2read.c: Include "dwarf2expr.h". | |
9456 | (dwarf2_symbol_mark_computed): New function. | |
9457 | (read_func_scope): Use it. | |
9458 | (var_decode_location): New function. | |
9459 | (new_symbol): Use it. | |
9460 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
9461 | ||
9462 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
9463 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
9464 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
9465 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
9466 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
9467 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
9468 | LOC_COMPUTED_ARG. | |
9469 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
9470 | * m2-exp.y (yylex): Likewise. | |
9471 | * printcmd.c (address_info, print_frame_args): Likewise. | |
9472 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
9473 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
9474 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
9475 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
9476 | * symtab.c (lookup_block_symbol): Likewise. | |
9477 | ||
5784d15e AF |
9478 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
9479 | ||
9480 | * symtab.h: Remove objc_specific struct | |
9481 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
9482 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
9483 | Have language_objc use cplus_specific struct. | |
9484 | ||
d4cad8db TT |
9485 | 2003-02-20 Tom Tromey <tromey@redhat.com> |
9486 | ||
9487 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
9488 | TYPE_NAME, when printing a String value. PR java/1075. | |
9489 | ||
2f9a90b4 AF |
9490 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
9491 | ||
d38074a8 | 9492 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 9493 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 9494 | |
6f17862b CF |
9495 | 2003-02-20 Christopher Faylor <cgf@redhat.com> |
9496 | ||
9497 | * win32-nat.c (get_image_name): Check return value from | |
9498 | ReadProcessMemory. | |
9499 | (child_xfer_memory): Ditto. | |
9500 | ||
715d1656 AO |
9501 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
9502 | ||
9503 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
9504 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
9505 | '${exec_prefix}' (in addition to the expansion thereof) as | |
9506 | relocatable. | |
9507 | * configure: Rebuilt. | |
9508 | ||
b1262a02 DC |
9509 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
9510 | ||
9511 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
9512 | 2002-12-23 patch. Add comment. | |
9513 | ||
7134143f DJ |
9514 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
9515 | ||
9516 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
9517 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
9518 | install_minimal_symbols. | |
9519 | (stabsect_build_psymtabs): Likewise. | |
9520 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
9521 | earlier. | |
9522 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
9523 | and do_cleanups earlier. | |
9524 | * nlmread.c (nlm_symfile_read): Likewise. | |
9525 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
9526 | install_minimal_symbols and make appropriate cleanups. | |
9527 | ||
cf466558 KB |
9528 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
9529 | ||
9530 | * solib.c (reload_shared_libraries): New function. | |
9531 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
9532 | and ``set solib-absolute-prefix''. | |
9533 | ||
de5ad195 DC |
9534 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
9535 | ||
9536 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
9537 | expand comment. | |
9538 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
9539 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
9540 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
9541 | * ax-gdb.c (gen_var_ref): Ditto. | |
9542 | * breakpoint.c (print_one_breakpoint): Ditto. | |
9543 | * buildsym.c (finish_block): Ditto. | |
9544 | * c-valprint.c (c_val_print): Ditto. | |
9545 | * expprint.c (print_subexp): Ditto. | |
9546 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
9547 | * infcmd.c (jump_command): Ditto. |
9548 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
9549 | * maint.c (maintenance_translate_address): Ditto. | |
9550 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
9551 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
9552 | Ditto. | |
8ffd9b1b AJ |
9553 | * p-valprint.c (pascal_val_print): Ditto. |
9554 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 9555 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
9556 | (print_frame_arg_vars, return_command): Ditto. |
9557 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
9558 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
9559 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
9560 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
9561 | (rbreak_command): Ditto. |
9562 | * tracepoint.c (tracepoints_info): Ditto. | |
9563 | * typeprint.c (typedef_print): Ditto. | |
9564 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
9565 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
9566 | * ada-typeprint.c: Update Copyright. | |
9567 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
9568 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
9569 | ||
f796e4be KB |
9570 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
9571 | ||
9572 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
9573 | * frame.h (generic_unwind_get_saved_register): Declare. | |
9574 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
9575 | current regcache when frame is NULL. | |
9576 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
9577 | that must be NULL. | |
9578 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
9579 | instead of frame_register_unwind(). | |
9580 | ||
836cc9f4 AC |
9581 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
9582 | ||
9583 | * remote-sim.c (gdbsim_insert_breakpoint) | |
9584 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
9585 | code. | |
9586 | ||
501eef12 AC |
9587 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
9588 | ||
9589 | * remote.c (_initialize_remote): Add commands "set/show remote | |
9590 | hardware-watchpoint-limit" and "set/show remote | |
9591 | hardware-breakpoint-limit". | |
9592 | (remote_hw_watchpoint_limit): Initialize to -1. | |
9593 | (remote_hw_breakpoint_limit): Ditto. | |
9594 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
9595 | ||
1b6bc7e0 CF |
9596 | 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk> |
9597 | ||
9598 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
9599 | portable executable using the export table. | |
9600 | * coff-pe-read.h: New file. | |
9601 | * coffread.c: Include coff-pe-read.h. | |
9602 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
9603 | debugging symbols found. | |
9604 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
9605 | (coff_pe_read_h): Define. | |
9606 | (COMMON_OBS): Add coff-pe-read.o. | |
9607 | (coffread.o): Add coff_pe_read_h dependency. | |
9608 | (coff-pe-read.o): New target. | |
9609 | ||
fe898f56 DC |
9610 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
9611 | ||
9612 | * Makefile.in (SFILES): Add block.c. | |
9613 | (block_h): New. | |
9614 | (COMMON_OBS): Add block.o. | |
9615 | (block.o): New. | |
9616 | (x86-64-tdep.o): Add $(block_h). | |
9617 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
9618 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
9619 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
9620 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
9621 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
9622 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
9623 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
9624 | * value.h: Add opaque declaration for struct block. | |
9625 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
9626 | * ada-lang.h: Ditto. | |
9627 | * x86-64-tdep.c: #include "block.h" | |
9628 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
9629 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
9630 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
9631 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
9632 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
9633 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
9634 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
9635 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
9636 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
9637 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
9638 | * symtab.c (block_function): Ditto. | |
9639 | (contained_in): Ditto. | |
9640 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
9641 | block.h. Add opaque declaration for struct block. | |
9642 | * symtab.h: Move block_function and contained_in declarations to | |
9643 | block.h. Add opaque declarations for struct block, struct | |
9644 | blockvector. | |
9645 | (struct block): Move to block.h. | |
9646 | (struct blockvector): Ditto. | |
9647 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
9648 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
9649 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
9650 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
9651 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
9652 | Ditto. | |
9653 | * block.c: New file. | |
9654 | * block.h: New file. | |
9655 | ||
173345b5 TR |
9656 | 2003-02-19 Theodore A. Roth <troth@openavr.org> |
9657 | ||
9658 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
9659 | (avr_store_return_value): Remove function. | |
9660 | (avr_extract_struct_value_address): Remove function. | |
9661 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
9662 | ||
338ef23d AC |
9663 | 2003-02-19 Andrew Cagney <ac131313@redhat.com> |
9664 | ||
9665 | * rs6000-tdep.c: Include "gdb_assert.h". | |
9666 | (registers_e500): Add "acc" and "spefscr". | |
9667 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
9668 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
9669 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
9670 | really is "r0". | |
9671 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
9672 | ||
5412f5f3 KS |
9673 | 2003-02-18 Keith Seitz <keiths@redhat.com> |
9674 | ||
9675 | * Makefile.in: Add gdbtk-interps.c. | |
9676 | ||
881324eb KB |
9677 | 2003-02-18 Kevin Buettner <kevinb@redhat.com> |
9678 | ||
9679 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
9680 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
9681 | ||
6a2f5abf AC |
9682 | 2003-02-18 Andrew Cagney <cagney@redhat.com> |
9683 | ||
9684 | * symtab.h (struct objfile): Add opaque declaration. | |
9685 | ||
54c7009d EZ |
9686 | 2003-02-18 Elena Zannoni <ezannoni@redhat.com> |
9687 | ||
9688 | From Jim Ingham <jingham@apple.com>: | |
fbe586ae RH |
9689 | * dbxread.c (process_one_symbol): Use last_function_start rather |
9690 | than function_start_offset to find the real beginning of the | |
9691 | current function. The latter is just the text section offset on | |
9692 | some systems, the former is always the real function start. | |
54c7009d | 9693 | |
7ee6d7eb AC |
9694 | 2003-02-17 Andrew Cagney <cagney@redhat.com> |
9695 | ||
9696 | * configure.in: Revert ${target} != ${host}. | |
9697 | ||
2846da9b AC |
9698 | 2003-02-17 Andrew Cagney <ac131313@redhat.com> |
9699 | ||
9700 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
9701 | instead of the absence of the "nm.h" file, to determine of the | |
9702 | configuration non-native. | |
9703 | * configure: Regenerate. | |
8ffd9b1b | 9704 | |
3b27aeea EZ |
9705 | 2003-02-14 Elena Zannoni <ezannoni@redhat.com> |
9706 | ||
fbe586ae | 9707 | From Brian Ford <ford@vss.fsi.com> |
3b27aeea EZ |
9708 | |
9709 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
9710 | conditionalize tui_active test. | |
9711 | (lookup_cmd_1): Ditto. | |
9712 | ||
b0b1c2c0 MK |
9713 | 2003-02-14 Mark Kettenis <kettenis@gnu.org> |
9714 | ||
9715 | * configure.in: Add check for _etext. | |
9716 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
9717 | available. | |
9718 | * config.in, configure: regenerated. | |
9719 | ||
8f05cde5 DJ |
9720 | 2003-02-14 Daniel Jacobowitz <drow@mvista.com> |
9721 | ||
9722 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
9723 | ||
021e7609 AC |
9724 | 2003-02-14 Andrew Cagney <ac131313@redhat.com> |
9725 | ||
9726 | * main.c (tui_version): Delete variable. | |
9727 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
9728 | enabling tui_version. | |
9729 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
9730 | tui_version. | |
9731 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
9732 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
9733 | * defs.h (tui_version): Delete declaration. | |
9734 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
9735 | (tui-interp.o): Add rules. | |
9736 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
9737 | ||
e325dcec CF |
9738 | 2003-02-14 Christopher Faylor <cgf@redhat.com> |
9739 | ||
36ffb041 | 9740 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
9741 | just-loaded dll. |
9742 | ||
c4f90d87 JM |
9743 | 2003-02-12 Jason Molenda (jmolenda@apple.com) |
9744 | ||
fbe586ae RH |
9745 | * symmisc.c (print_objfile_statistics): Include information about |
9746 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 9747 | |
e46e5ccd KS |
9748 | 2003-02-13 Keith R Seitz <keiths@redhat.com> |
9749 | ||
9750 | * main.h (struct captured_main_args): Add interpreter_p. | |
9751 | * main.c (captured_main): Initialize interpreter_p from context. | |
9752 | * gdb.c (main): Set interpreter_p argument. | |
9753 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
9754 | ||
fe97fe9c AC |
9755 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
9756 | ||
9757 | * event-top.c (cli_command_loop): Delete declaration. | |
9758 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
9759 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
9760 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
9761 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
9762 | cli_command_loop. | |
9763 | ||
1cdac4ef AC |
9764 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
9765 | ||
9766 | * interps.h (interp_command_loop_ftype): Change return type to | |
9767 | void. | |
9768 | ||
48037ead ML |
9769 | 2003-02-12 Michal Ludvig <mludvig@suse.cz> |
9770 | ||
9771 | * x86-64-tdep.c (x86_64_extract_return_value) | |
9772 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
9773 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
9774 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
9775 | ||
033afc63 AC |
9776 | 2003-02-11 Andrew Cagney <ac131313@redhat.com> |
9777 | ||
9778 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
9779 | * aclocal.m4: Regenerate. | |
9780 | * configure: Regenerate. | |
9781 | ||
9782 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
9783 | TCL_LD_SEARCH_FLAGS. | |
9784 | ||
40d02bca ML |
9785 | 2003-02-10 Michal Ludvig <mludvig@suse.cz> |
9786 | ||
9787 | * dwarf2cfi.c: Reindented. | |
9788 | ||
11308a41 AC |
9789 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
9790 | ||
9791 | * interps.c (clear_interpreter_hooks): Convert function definition | |
9792 | to ISO C. | |
9793 | ||
e1c1c0f6 DC |
9794 | 2003-02-07 David Carlton <carlton@math.stanford.edu> |
9795 | ||
9796 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
9797 | ||
ab5d3da6 KB |
9798 | 2003-02-07 Kevin Buettner <kevinb@redhat.com> |
9799 | ||
9800 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
9801 | (struct type): ...to here. | |
9802 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
9803 | field. | |
9804 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
9805 | (replace_type): Set length on all type variants for a given type. | |
9806 | ||
b8a92b82 AC |
9807 | 2003-02-07 Andrew Cagney <ac131313@redhat.com> |
9808 | ||
9809 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
9810 | <sys/stat.h>. | |
9811 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 9812 | |
5cb316ef AC |
9813 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
9814 | ||
2555fe1a AC |
9815 | * Makefile.in (symm-nat.o): Update dependencies. |
9816 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
9817 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
9818 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
9819 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
9820 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
9821 | ||
44270758 AC |
9822 | * Makefile.in (inflow_h): Define. |
9823 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
9824 | * inftarg.c (child_stop): Delete extern declaration of | |
9825 | inferior_process_group. Include "inflow.h". | |
9826 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
9827 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
9828 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
9829 | (our_process_group, inferior_process_group): Extern declarations. | |
9830 | ||
df8f7274 AC |
9831 | * procfs.c: Include "gdb_assert.h". |
9832 | ||
5cb316ef AC |
9833 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
9834 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
9835 | * jv-typeprint.c (java_type_print_base): Ditto. | |
9836 | * typeprint.c (typedef_print): Eliminate STREQ. | |
9837 | * cli/cli-script.c (define_command, define_command): Ditto. | |
9838 | * main.c (captured_main): Ditto. | |
9839 | * values.c (lookup_internalvar): Ditto. | |
9840 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
9841 | within `if' conditional. | |
9842 | * linespec.c (decode_line_2): Ditto. | |
9843 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
9844 | (bfd_openw_with_cleanup): Ditto. | |
9845 | ||
2a28ccea MK |
9846 | 2003-02-07 Mark Kettenis <kettenis@gnu.org> |
9847 | ||
9848 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
9849 | legacy_extract_return_value and store_return_value to | |
9850 | legacy_return_value. | |
9851 | ||
786b8124 CF |
9852 | 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk> |
9853 | ||
9854 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
9855 | section load addresses for symbol handling in relocated DLLs. | |
9856 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
9857 | ||
b871e4ec FF |
9858 | 2003-02-05 Fred Fish <fnf@intrinsity.com> |
9859 | ||
9860 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
9861 | '=' and '!='. | |
9862 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
9863 | with '&' and '=='. | |
9864 | (angel_RDI_info): Ditto. | |
9865 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
9866 | with '&' and '!='. | |
9867 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 9868 | |
4389a95a | 9869 | 2003-02-05 Jim Ingham <jingham@apple.com> |
fbe586ae RH |
9870 | Keith Seitz <keiths@redhat.com> |
9871 | Elena Zannoni <ezannoni@redhat.com> | |
9872 | Andrew Cagney <ac131313@redhat.com> | |
4389a95a AC |
9873 | |
9874 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
9875 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
9876 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
9877 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
9878 | (SFILES): Add "interps.c". | |
9879 | (COMMON_OBS): Add "interps.o". | |
9880 | (interps_h, mi_main_h): Define. | |
9881 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
9882 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
9883 | * cli/cli-interp.c: New file. | |
9884 | * interps.h, interps.c: New files. | |
9885 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
9886 | by captured_main. | |
9887 | * main.c: Include "interps.h". | |
9888 | (interpreter_p): Note that it should malloc'ed. | |
9889 | (captured_command_loop): Call current_interp_command_loop. | |
9890 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
9891 | xfree and xstrdup when updating interpreter_p. Install the | |
9892 | default interpreter. Add hack to stop mi1's copyright notice | |
9893 | being encoded. | |
9894 | * event-top.h (gdb_setup_readline): Declare. | |
9895 | (gdb_disable_readline): Declare. | |
9896 | * event-top.c: Include "interps.h". | |
9897 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
9898 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
9899 | gdb_stdlog, and gdb_stdtarg. | |
9900 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
9901 | * cli-out.c (cli_out_set_stream): New function. | |
9902 | * cli-out.h (cli_out_set_stream): Declare. | |
9903 | ||
ff3b5810 MK |
9904 | 2003-02-06 Mark Kettenis <kettenis@gnu.org> |
9905 | ||
9906 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
9907 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
9908 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
9909 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
9910 | config/i386/i386v42mp.mt: Removed. | |
9911 | ||
5b729aa5 MK |
9912 | 2003-02-05 Mark Kettenis <kettenis@gnu.org> |
9913 | ||
9914 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
9915 | GDB_OSABI_SOLARIS. | |
9916 | ||
8cc15142 MC |
9917 | 2003-02-05 Michael Chastain <mec@shout.net> |
9918 | ||
9919 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
9920 | 2.12.1 and earlier versions. | |
9921 | ||
5aa5d4b9 AC |
9922 | 2003-02-05 Andrew Cagney <ac131313@redhat.com> |
9923 | ||
9924 | Remove orphaned hosts, targets and files. | |
9925 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
9926 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
9927 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
9928 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
9929 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
9930 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
9931 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
9932 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
9933 | * config/sparc/tm-sp64sim.h: Delete. | |
9934 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
9935 | hosts. | |
9936 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
9937 | mips*-dec-mach3* targets. | |
9938 | ||
b68767c1 MC |
9939 | 2003-02-04 Michael Chastain <mec@shout.net> |
9940 | ||
9941 | * NEWS: Fix typo: sepcifying -> specifying. | |
9942 | ||
5ae7ca1d MC |
9943 | 2003-02-04 Michael Chastain <mec@shout.net> |
9944 | ||
9945 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
9946 | looking towards obsoletion. | |
9947 | ||
d08a4280 MC |
9948 | 2003-02-03 Michael Chastain <mec@shout.net> |
9949 | ||
9950 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
9951 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
9952 | ||
e9be73e4 AC |
9953 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
9954 | ||
9955 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
9956 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
9957 | ||
9958 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
9959 | * main.c (captured_main): Delete #ifdef MPW. | |
9960 | ||
05d57f6f AC |
9961 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
9962 | ||
8ffd9b1b | 9963 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
9964 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
9965 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
9966 | * MAINTAINERS: Mark m32k as obsolete. | |
9967 | * m32r-rom.c: Obsolete file. | |
9968 | * config/m32r/m32r.mt: Obsolete file. | |
9969 | * config/m32r/tm-m32r.h: Obsolete file. | |
9970 | * m32r-stub.c: Obsolete file. | |
9971 | * m32r-tdep.c: Obsolete file. | |
9972 | ||
8b0e5691 AC |
9973 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
9974 | ||
9975 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
9976 | * MAINTAINERS: Mark z8k as obsolete. | |
9977 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
9978 | * config/z8k/z8k.mt: Obsolete file. | |
9979 | * config/z8k/tm-z8k.h: Obsolete file. | |
9980 | * z8k-tdep.c: Obsolete file. | |
9981 | ||
67f16606 AC |
9982 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
9983 | ||
9984 | * NEWS: Mention that the mn10200-elf is obsolete. | |
9985 | * configure.tgt: Obsolete mn10200-*-* target. | |
9986 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
9987 | mention that the mn10200 is obsolete. | |
9988 | * breakpoint.h: Ditto. | |
9989 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
9990 | * config/mn10200/mn10200.mt: Obsolete file. | |
9991 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
9992 | * mn10200-tdep.c: Obsolete file. | |
9993 | ||
fd2299bd AC |
9994 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
9995 | ||
9996 | * MAINTAINERS: Mark h8500 as obsolete. | |
9997 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
9998 | * findvar.c (value_from_register): Ditto. | |
9999 | * h8500-tdep.c: Mark file as obsolete. | |
10000 | * config/h8500/h8500.mt: Ditto. | |
10001 | * config/h8500/tm-h8500.h: Ditto. | |
10002 | * NEWS: Mention that h8500 is obsolete. | |
10003 | ||
eb9a305d DC |
10004 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
10005 | ||
10006 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
10007 | start of function. | |
10008 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
10009 | ||
406fc7fb DC |
10010 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
10011 | ||
10012 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
10013 | * printcmd.c (build_address_symbolic): Replace uses of | |
10014 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
10015 | SYMBOL_NAME, and asm_demangle. | |
10016 | Update copyright. | |
10017 | ||
93d91629 DC |
10018 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
10019 | ||
10020 | * linespec.c (decode_compound): Extract code into | |
10021 | lookup_prefix_sym. | |
10022 | (lookup_prefix_sym): New function. | |
10023 | ||
1c5cb38e DC |
10024 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
10025 | ||
10026 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
10027 | FLOAT_COERCION_BADNESS. | |
10028 | * gdbtypes.c (rank_one_type): Replace all uses of | |
10029 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
10030 | ||
0cf824c9 JB |
10031 | 2003-02-04 Jim Blandy <jimb@redhat.com> |
10032 | ||
10033 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
10034 | section, let dwarf_macinfo_section point to it, not | |
10035 | dwarf_loc_section. | |
10036 | ||
a2d356b0 DJ |
10037 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
10038 | ||
10039 | Pointed out by Anton Blanchard <anton@samba.org>. | |
10040 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
10041 | (ppc_linux_at_sigtramp_return_path): Use it. | |
10042 | ||
2de7ced7 DJ |
10043 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
10044 | ||
10045 | * defs.h (streq): Add prototype. | |
10046 | * utils.c (streq): New function. | |
10047 | ||
10048 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
10049 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
10050 | * mdebugread.c (new_symbol): Likewise. | |
10051 | * stabsread.c (define_symbol): Likewise. | |
10052 | * coffread.c (process_coff_symbol): Likewise. | |
10053 | * dwarfread.c (new_symbol): Likewise. | |
10054 | ||
10055 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
10056 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
10057 | here. | |
10058 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
10059 | SYMBOL_INIT_DEMANGLED_NAME. | |
10060 | * objfiles.c: Include "hashtab.h". | |
10061 | (allocate_objfile): Call htab_set_functions_ex for the | |
10062 | demangled_names_hash. | |
10063 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
10064 | * objfiles.h (struct htab): Add declaration. | |
10065 | (struct objfile): Add demangled_names_hash. | |
10066 | * symfile.c: Include "hashtab.h". | |
10067 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
10068 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
10069 | SYMBOL_NAME in the bcache. | |
10070 | * symtab.c: Include "hashtab.h". Update comments. | |
10071 | (create_demangled_names_hash, symbol_set_names): New functions. | |
10072 | (symbol_find_demangled_name): New function, broken out from | |
10073 | symbol_init_demangled_names. | |
10074 | (symbol_init_demangled_names): Use it. | |
10075 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
10076 | (SYMBOL_SET_NAMES): New macro. | |
10077 | (symbol_set_names): Add prototype. | |
10078 | ||
15831452 JB |
10079 | 2003-02-03 Jim Blandy <jimb@redhat.com> |
10080 | ||
10081 | Use a single, consistent representation for an empty minimal | |
10082 | symbol table in an objfile. | |
10083 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
10084 | (allocate_objfile): Call it. | |
10085 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
10086 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 10087 | non-NULL. |
15831452 JB |
10088 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
10089 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
10090 | instead of comparing msymbols with NULL. | |
10091 | * objfiles.c (have_minimal_symbols): Same. | |
10092 | * solib-sunos.c (solib_add_common_symbols): Call | |
10093 | terminate_minimal_symbol_table. | |
10094 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 10095 | |
ffc65945 KB |
10096 | 2003-02-03 Kevin Buettner <kevinb@redhat.com> |
10097 | ||
10098 | * s390-tdep.c (s390_address_class_type_flags) | |
10099 | (s390_address_class_type_flags_to_name) | |
10100 | (s390_address_class_name_to_type_flags): New functions. | |
10101 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
10102 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
10103 | ||
f211c6d4 MS |
10104 | 2003-02-03 Michael Snyder <msnyder@redhat.com> |
10105 | ||
10106 | * arm-tdep.c: Fix spell-o in comment. | |
10107 | ||
659b0389 ML |
10108 | 2003-02-03 Michal Ludvig <mludvig@suse.cz> |
10109 | ||
10110 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
10111 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 10112 | error messages to contain BFD filename. |
659b0389 | 10113 | |
3b31d625 EZ |
10114 | 2003-02-02 Elena Zannoni <ezannoni@redhat.com> |
10115 | ||
997b089a | 10116 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
10117 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
10118 | (do_mixed_source_and_assembly): Use | |
10119 | make_cleanup_ui_out_tuple_begin_end and | |
10120 | make_cleanup_ui_out_tuple_begin_end. | |
10121 | (do_mixed_source_and_assembly): Ditto. | |
10122 | * thread.c (do_captured_list_thread_ids): Ditto. | |
10123 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
10124 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
10125 | ui_out_tuple_end): Delete prototypes. | |
10126 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
10127 | ui_out_list_end, ui_out_tuple_end): Delete. | |
10128 | ||
10129 | From Kevin Buettner <kevinb@redhat.com>: | |
10130 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
10131 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
10132 | (do_cleanup_table_end): New functions. | |
10133 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
10134 | Use cleanups to invoke_ui_out_tuple_end(). | |
10135 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
10136 | * cli/cli-setshow.c (cmd_show_list): Use |
10137 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 10138 | |
5b181d62 AC |
10139 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
10140 | ||
10141 | * frame.c (frame_unwind_register): New function. | |
10142 | (frame_unwind_unsigned_register): Use. | |
10143 | (frame_unwind_signed_register): Use. | |
10144 | (frame_read_register): New function. | |
10145 | * frame.h (frame_unwind_register): Declare. | |
10146 | (frame_read_register): Declare. | |
10147 | ||
10148 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
10149 | and frame_unwind_register instead of read_memory, write_register | |
10150 | and deprecated_write_register_bytes. | |
10151 | ||
5f601589 AC |
10152 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
10153 | ||
10154 | * frame.h: Note that namelen can be negative. | |
10155 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
10156 | NAME's length. | |
10157 | ||
10158 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
10159 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
10160 | (d10v_print_registers_info): New function. | |
10161 | (show_regs): Call d10v_print_registers_info. | |
10162 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
10163 | ||
6a3fe0a4 MK |
10164 | 2003-02-02 Mark Kettenis <kettenis@gnu.org> |
10165 | ||
10166 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
10167 | lost in the previous patch. | |
10168 | ||
075559bc AC |
10169 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
10170 | ||
10171 | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) | |
fbe586ae RH |
10172 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
10173 | for synthesized frames. | |
075559bc | 10174 | |
6789195b AC |
10175 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
10176 | ||
10177 | * mips-nat.c (zerobuf): Delete. | |
10178 | (fetch_inferior_registers): Alloc local zerobuf. | |
10179 | (fetch_core_registers): Alloc local zerobuf. | |
10180 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
10181 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
10182 | * thread-db.c (thread_db_store_registers): Ditto. | |
10183 | * sh-tdep.c (sh_do_register): Ditto. | |
10184 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
10185 | * remote-sim.c (gdbsim_store_register): Ditto. | |
10186 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
10187 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
10188 | * monitor.c (monitor_supply_register): Ditto. | |
10189 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10190 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
10191 | * m68klinux-nat.c (fetch_register): Ditto. | |
10192 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
10193 | (fetch_inferior_registers): Ditto. | |
10194 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10195 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
10196 | (hpux_thread_store_registers): Ditto. | |
10197 | * hppah-nat.c (fetch_register): Ditto. | |
10198 | * hppab-nat.c (fetch_register): Ditto. | |
10199 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
10200 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
10201 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
10202 | ||
e669114a AC |
10203 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
10204 | ||
10205 | * gdbarch.sh: Explictly specify all method levels. When a | |
10206 | variable with an empty level, provide a non-multi-arch default. | |
10207 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
10208 | * gdbarch.h: Re-generate. | |
10209 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
10210 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
10211 | ||
9a043c1d AC |
10212 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
10213 | ||
10214 | * defs.h (host_pointer_to_address): Delete declaration. | |
10215 | (address_to_host_pointer): Delete declaration. | |
10216 | * utils.c (host_pointer_to_address): Delete function. | |
10217 | (address_to_host_pointer): Delete function. | |
10218 | * procfs.c (procfs_address_to_host_pointer): New function. | |
10219 | * procfs.c (proc_set_watchpoint): Use. | |
10220 | (procfs_can_use_hw_breakpoint): Update comments. | |
10221 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
10222 | (som_solib_add): Use. | |
10223 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
10224 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 10225 | |
7ca9f392 AC |
10226 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
10227 | ||
94bbfd30 AC |
10228 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
10229 | strlen d_name. | |
10230 | ||
7ca9f392 AC |
10231 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
10232 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
10233 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
10234 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
10235 | (define_symbol): Update. | |
10236 | * symfile.c (generic_load): Remove references to nindy. | |
10237 | * symtab.c: Remove references to nindy. | |
10238 | ||
31a85ea2 AC |
10239 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
10240 | ||
10241 | * infcmd.c (print_float_info): Delete code conditional on | |
10242 | FLOAT_INFO. | |
10243 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
10244 | * config/m68k/nm-apollo68b.h: Ditto. | |
10245 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
10246 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
10247 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
10248 | ||
f6e85fc8 MK |
10249 | 2003-02-01 Mark Kettenis <kettenis@gnu.org> |
10250 | ||
6015b6a0 MK |
10251 | * config/i386/tm-i386os9k.h: Removed. |
10252 | ||
f7a30bdf MK |
10253 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
10254 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
10255 | they're identical to i[3456]86-*-sysv* now. | |
10256 | * config/i386/i386v32.mh: Removed. | |
10257 | * config/i386/xm-i386v32.h: Removed. | |
10258 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
10259 | ||
28d52111 MK |
10260 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
10261 | ||
4d3f6bce MK |
10262 | * config/i386/i386dgux.mh: Removed. |
10263 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
10264 | ||
f6e85fc8 MK |
10265 | * configure.in: Fix typo. |
10266 | * configure: Regenerated. | |
10267 | ||
53955967 DC |
10268 | 2003-01-31 David Carlton <carlton@math.stanford.edu> |
10269 | ||
10270 | * dwarf2read.c (dwarf2_locate_sections): Set | |
10271 | dwarf_ranges_section. | |
10272 | ||
b1364885 AC |
10273 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
10274 | ||
8dbb1c65 AC |
10275 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
10276 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 10277 | |
8731e58e AC |
10278 | * utils.c: Re-indent. |
10279 | ||
b1364885 AC |
10280 | * config/djgpp/fnchange.lst: Delete nindy files. |
10281 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
10282 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
10283 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
10284 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
10285 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
10286 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
10287 | * Makefile.in (init.c): Remove nindy references. | |
10288 | (saber_gdb): Delete rule. | |
10289 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
10290 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
10291 | and a68v-nat.c. | |
10292 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
10293 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
10294 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
10295 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
10296 | nindy-share/stop.h. | |
10297 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
10298 | * saber.suppress: Delete file. | |
10299 | ||
086df311 DJ |
10300 | 2003-01-31 Daniel Jacobowitz <drow@mvista.com> |
10301 | ||
10302 | * dbxread.c (stabs_data): New static variable. | |
10303 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
10304 | (stabs_seek): New function. | |
10305 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
10306 | (read_ofile_symtab): Use stabs_seek. | |
10307 | (elfstab_build_psymtabs): Take an asection* instead of | |
10308 | an offset and size. Relocate the stabs data if necessary. | |
10309 | Save the section* for dbx_psymtab_to_symtab. | |
10310 | * dwarf2read.c: Add section variables for each debug section. | |
10311 | (dwarf2_locate_sections): Fill them in. | |
10312 | (dwarf2_read_section): Take an asection* argument. | |
10313 | Relocate the section contents if necessary. | |
10314 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
10315 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
10316 | it to dwarf2_read_section. | |
10317 | (dwarf2_build_frame_info): Update callers. | |
10318 | * elfread.c (elf_symfile_read): Update call to | |
10319 | elfstab_build_psymtabs. | |
10320 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
10321 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 10322 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
10323 | * symfile.c (symfile_dummy_outputs): New function. |
10324 | (symfile_relocate_debug_section): New function. | |
10325 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
10326 | ||
87d1b352 RH |
10327 | 2003-01-31 Richard Henderson <rth@redhat.com> |
10328 | ||
10329 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
10330 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
10331 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
10332 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
10333 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
10334 | (ALPHA_UNIQUE_REGNUM): New. | |
10335 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
10336 | ||
c48861fb AC |
10337 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
10338 | ||
10339 | * README: Remove reference to Ericsson 1800 monitor. | |
10340 | * Makefile.in (remote-es.o): Delete rule. | |
10341 | (ALLDEPFILES): Delete remote-es.c. | |
10342 | * remote-es.c: Delete file. | |
10343 | * config/m68k/es1800.mt: Delete file. | |
10344 | * config/djgpp/fnchange.lst: Update. | |
10345 | * configure.tgt: Delete m68*-ericsson-* target. | |
10346 | ||
d764a824 AF |
10347 | 2003-01-31 Adam Fedor <fedor@gnu.org> |
10348 | ||
10349 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
10350 | Remove duplicate/shadowing variable of same name. | |
10351 | ||
fe36c4f4 JB |
10352 | 2003-01-30 Jim Blandy <jimb@redhat.com> |
10353 | ||
10354 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
10355 | directory name we compute ends with a slash, and then assume that | |
10356 | that's so everywhere we use it. | |
10357 | ||
cb741690 DJ |
10358 | 2003-01-30 Daniel Jacobowitz <drow@mvista.com> |
10359 | ||
10360 | * valops.c (value_assign): Flush frame cache after stores to memory | |
10361 | also. | |
10362 | ||
96ee5227 AC |
10363 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
10364 | ||
10365 | * Makefile.in (mon960-rom.o): Delete rule. | |
10366 | * mon960-rom.c: Delete file. | |
10367 | ||
7f6104a9 AC |
10368 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
10369 | ||
10370 | * d10v-tdep.c: Include "frame-unwind.h". | |
10371 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
10372 | list. | |
10373 | (next_addr, uses_frame): Delete. | |
10374 | (struct d10v_unwind_cache): Define. | |
10375 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
10376 | Use info instead of next_addr and uses_frame globals. | |
10377 | (d10v_frame_init_saved_regs): Delete function. | |
10378 | (d10v_init_extra_frame_info): Delete function. | |
10379 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
10380 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
10381 | init_frame_pc or frame_saved_pc. | |
10382 | (d10v_pop_frame): Delete function. | |
10383 | (do_d10v_pop_frame): Delete function. | |
10384 | (d10v_frame_chain): Delete function. | |
10385 | (d10v_frame_chain_valid): Delete function. | |
10386 | (d10v_frame_pc_unwind): New function. | |
10387 | (d10v_frame_id_unwind): New function. | |
10388 | (saved_regs_unwinder): New function. | |
10389 | (d10v_frame_register_unwind): New function. | |
10390 | (d10v_frame_pop): New function. | |
10391 | (d10v_frame_unwind): New variable. | |
10392 | (d10v_frame_p): New function. | |
10393 | (d10v_frame_saved_pc): Delete function. | |
10394 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
10395 | ||
cad2e848 JB |
10396 | 2003-01-30 J. Brobecker <brobecker@gnat.com> |
10397 | ||
10398 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
10399 | causing some regressions due to a change in the default value | |
10400 | for this macro. | |
10401 | ||
af34e669 DJ |
10402 | 2003-01-29 Richard Henderson <rth@redhat.com> |
10403 | Elena Zannoni <ezannoni@redhat.com> | |
10404 | Daniel Jacobowitz <drow@mvista.com> | |
10405 | ||
10406 | Fix PR gdb/961. | |
8ffd9b1b | 10407 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
10408 | variables. |
10409 | (RANGES_SECTION): New. | |
10410 | (dwarf_ranges_buffer): New variable. | |
10411 | (struct comp_unit_head): Add member "die". | |
10412 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
10413 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
10414 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
10415 | (dwarf2_locate_sections): Likewise. | |
10416 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
10417 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
10418 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
10419 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
10420 | Look for DW_AT_ranges and return the bounding box. | |
10421 | ||
baa93fa6 CF |
10422 | 2003-01-29 Brian Ford <ford@vss.fsi.com> |
10423 | ||
10424 | * win32-nat.c (cygwin_pid): Removed as unused. | |
10425 | (child_attach): Try fall back to Cygwin pid. | |
10426 | ||
c63f977f JB |
10427 | 2003-01-29 Jim Blandy <jimb@redhat.com> |
10428 | ||
10429 | * objfiles.h (struct objfile): Doc fix. | |
10430 | ||
d62d1979 AC |
10431 | 2003-01-29 Andrew Cagney <ac131313@redhat.com> |
10432 | ||
10433 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
10434 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
10435 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
10436 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
10437 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
10438 | (FRAME_SAVED_PC): Change to a function with predicate. | |
10439 | * gdbarch.h, gdbarch.c: Re-generate. | |
10440 | ||
1ae18a04 AC |
10441 | 2003-01-28 Andrew Cagney <ac131313@redhat.com> |
10442 | ||
52287340 AC |
10443 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
10444 | ||
1ae18a04 AC |
10445 | * complaints.c (complain): Delete function. |
10446 | * complaints.h (struct deprecated_complaint): Delete definition. | |
10447 | (complain): Delete declaration. | |
10448 | ||
f2c16bd6 KB |
10449 | 2003-01-28 Kevin Buettner <kevinb@redhat.com> |
10450 | ||
10451 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
10452 | dummy frames. | |
10453 | ||
a94dd1fd AC |
10454 | 2003-01-27 Andrew Cagney <ac131313@redhat.com> |
10455 | ||
10456 | * sentinel-frame.h, sentinel-frame.c: New files. | |
10457 | * Makefile.in (frame.o): Update dependencies. | |
10458 | (SFILES): Add sentinel-frame.c. | |
10459 | (sentinel_frame_h): Define. | |
10460 | (COMMON_OBS): Add sentinel-frame.o. | |
10461 | (sentinel-frame.o): Specify dependencies. | |
10462 | * frame.c: Include "sentinel-frame.h". | |
10463 | (frame_register_unwind): Rewrite assuming that there is always a a | |
10464 | ->next frame. | |
10465 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
10466 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
10467 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
10468 | (get_current_frame): Rewrite using create_sentinel_frame and | |
10469 | unwind_to_current_frame. When possible, always create a frame. | |
10470 | (create_new_frame): Set next to the sentinel frame. | |
10471 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
10472 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
10473 | ID cache when necessary. | |
10474 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
10475 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
10476 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
10477 | get_next_frame. | |
10478 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
10479 | frame_register. | |
10480 | ||
5378adc4 DJ |
10481 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
10482 | ||
10483 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
10484 | ||
51ee2ddc DJ |
10485 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
10486 | ||
10487 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
10488 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
10489 | ||
d9feb4e7 DJ |
10490 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
10491 | ||
10492 | * configure.in: Check that -pg works if using --enable-profiling. | |
10493 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
10494 | * maint.c: Check for monstartup and _mcleanup before using them. | |
10495 | * config.in: Regenerated. | |
10496 | * configure: Regenerated. | |
10497 | ||
2d188dd3 NC |
10498 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
10499 | ||
10500 | * Add sh2e support: | |
10501 | ||
10502 | 2002-04-02 Elena Zannoni <ezannoni@redhat.com> | |
10503 | ||
10504 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
10505 | (sh2e_show_regs): New. | |
10506 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
10507 | * config/sh/tm-sh.h: Added sh2e to comments. | |
10508 | ||
cb3c37b2 JB |
10509 | 2003-01-23 Jim Blandy <jimb@redhat.com> |
10510 | ||
10511 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
10512 | symbols found)" message here; we haven't checked for a separate | |
10513 | debug info file yet, so we don't know yet. | |
10514 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
10515 | we've looked everywhere. Also, there's no need to print a special | |
10516 | message when we're loading the separate debug info file: the one | |
10517 | symbol_file_add prints is fine. | |
10518 | ||
5b5d99cf JB |
10519 | 2003-01-23 Alexander Larsson <alexl@redhat.com> |
10520 | Jim Blandy <jimb@redhat.com> | |
10521 | ||
10522 | Add support for executables whose debug info has been separated | |
10523 | out into a separate file, leaving only a link behind. | |
10524 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
10525 | and separate_debug_objfile_backlink. | |
10526 | (put_objfile_before): New declaration. | |
10527 | * symfile.c: #include "filenames.h". | |
10528 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
10529 | debug info in a separate file, read that, too. Save the addrs | |
10530 | argument, so we can use it again to read the separated debug info; | |
10531 | syms_from_objfile modifies the table we pass it. | |
10532 | (reread_symbols): After re-reading an objfile, call | |
10533 | reread_separate_symbols to refresh its separate debug info | |
10534 | objfile, if it has one. | |
10535 | (reread_separate_symbols, find_separate_debug_file, | |
10536 | get_debug_link_info, separate_debug_file_exists): New functions. | |
10537 | (debug_file_directory): New global var. | |
10538 | (_initialize_symfile): Initialize debug_file_directory, and | |
10539 | provide the new `set debug-file-directory' command to let the user | |
10540 | change it. | |
10541 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
10542 | a separate objfile, free that one too. If this is itself a | |
10543 | separate debug info objfile, clear our parent's backlink. | |
10544 | (put_objfile_before): New function. | |
10545 | * utils.c (gnu_debuglink_crc32): New function. | |
10546 | * defs.h (gnu_debuglink_crc32): New declaration. | |
10547 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
10548 | * configure.in: Handle --with-separate-debug-dir config option. | |
10549 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
10550 | * acconfig.h (DEBUGDIR): New macro. | |
10551 | * configure, aclocal.m4, config.in: Regenerated. | |
10552 | ||
7e8580c1 JB |
10553 | 2003-01-22 Jim Blandy <jimb@redhat.com> |
10554 | ||
7904e09f JB |
10555 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
10556 | like the old symbol_file_add, but taking new arguments: you can | |
10557 | now pass in either a `struct section_addr_info' list to say where | |
10558 | each section is loaded, or a `struct section_offsets' table. Pass | |
10559 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 10560 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
10561 | with the appropriate quiescent values for the new arguments. |
10562 | ||
7e8580c1 JB |
10563 | * symfile.c: #include "gdb_assert.h". |
10564 | (syms_from_objfile): Add the ability to pass in a section offset | |
10565 | table directly, as an alternative to the section_addr_info table. | |
10566 | Document arguments better. | |
10567 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
10568 | * symfile.h (syms_from_objfile): Update declaration. | |
10569 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
10570 | syms_from_objfile. | |
10571 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
10572 | ||
d28f9cdf DJ |
10573 | 2003-01-22 Daniel Jacobowitz <drow@mvista.com> |
10574 | ||
10575 | Original patch by Tom Tromey <tromey@cygnus.com> and | |
10576 | Jason Molenda <jmolenda@apple.com>. | |
10577 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
10578 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
10579 | * NEWS: Mention profiling. | |
10580 | * configure.in (--enable-gdbtk): Fix typo. | |
10581 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
10582 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
10583 | Fill in function. | |
10584 | (profiling_state): New variable. | |
10585 | (mcleanup_wrapper): New function. | |
10586 | (_initialize_maint): Remove NOTYET, fix call to | |
10587 | add_setshow_boolean_cmd for "maint set profile". | |
10588 | * configure: Regenerated. | |
10589 | ||
df21e465 MH |
10590 | 2003-01-21 Martin M. Hunt <hunt@redhat.com> |
10591 | ||
10592 | * Makefile.in (install-gdbtk): Install PNG images too. | |
10593 | ||
73c1f219 AC |
10594 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
10595 | ||
10596 | * exec.c (text_start): Delete global variable. | |
10597 | (exec_file_attach): Make text_start local to the function. | |
10598 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
10599 | * valops.c (hand_function_call): Delete code that handles | |
10600 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
10601 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
10602 | of CALL_DUMMY_LOCATION. | |
10603 | * gdbarch.c: Regenerate. | |
10604 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
10605 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
10606 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
10607 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
10608 | (text_end): Delete extern declaration. | |
10609 | ||
eb4f72c5 AC |
10610 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
10611 | ||
10612 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
10613 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
10614 | (frame_chain_valid): Delete check for backtrace_below_main. | |
10615 | (_initialize_blockframe): Delete initialization, move ``set | |
10616 | backtrace-below-main'' command to "frame.c". | |
10617 | (do_flush_frames_sfunc): Delete function. | |
10618 | * frame.c: Include "command.h" and "gdbcmd.h". | |
10619 | (frame_type_from_pc): New function. | |
10620 | (create_new_frame): Use frame_type_from_pc. | |
10621 | (legacy_get_prev_frame): New function. | |
10622 | (get_prev_frame): Rewrite. When an old style frame, call | |
10623 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
10624 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
10625 | * Makefile.in (frame.o): Update dependencies. | |
10626 | ||
778ce8cc AC |
10627 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
10628 | ||
10629 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
10630 | DEPRECATED_REGISTERS_INFO. | |
10631 | ||
01c193c8 AC |
10632 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
10633 | ||
10634 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
10635 | Maintainers'. Update `Various Maintainers'. | |
10636 | ||
dedc2a2b AC |
10637 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
10638 | ||
10639 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
10640 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
10641 | Suppress actual parameters when `-'. | |
10642 | * gdbarch.h, gdbarch.c: Regenerate. | |
10643 | ||
b7261c70 AC |
10644 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
10645 | ||
10646 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
10647 | code handling dummy frames. | |
10648 | ||
dbe9fe58 AC |
10649 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
10650 | ||
10651 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
10652 | (struct frame_unwind): Add field pop. | |
10653 | * frame.h (frame_pop): Declare. | |
10654 | * frame.c (frame_saved_regs_pop): New function. | |
10655 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
10656 | (frame_pop): New function. | |
10657 | * dummy-frame.c (dummy_frame_pop): New function. | |
10658 | (discard_innermost_dummy): New function. | |
10659 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
10660 | (dummy_frame_unwind): Add dummy_frame_pop. | |
10661 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
10662 | * valops.c (hand_function_call): Ditto. | |
10663 | * stack.c (return_command): Ditto. | |
10664 | ||
570b8f7c AC |
10665 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
10666 | ||
10667 | * cris-tdep.c: Fix function declaration indentation. | |
10668 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
10669 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
10670 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
10671 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
10672 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
10673 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
10674 | ||
10675 | 2003-01-18 Michael Chastain <mec@shout.net> | |
eaec4d85 MC |
10676 | |
10677 | * README (Unpacking and Installation -- quick overview): | |
10678 | Warn against ".../gdb-5.3/gdb/configure". | |
10679 | ||
494cca16 AC |
10680 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
10681 | ||
10682 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
10683 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
10684 | (struct frame_unwind): Declare opaque. | |
10685 | (dummy_frame_p): Declare function. | |
10686 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
10687 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
10688 | * dummy-frame.c: Include "frame-unwind.h". | |
10689 | (dummy_frame_p): New function. | |
10690 | (dummy_frame_unwind): New variable. | |
10691 | * frame.c: Include "frame-unwind.h". | |
10692 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
10693 | to use the new unwind field. | |
10694 | (set_unwind_by_pc): Delete function. | |
10695 | (create_new_frame, get_prev_frame): Set unwind field using | |
10696 | frame_unwind_find_by_pc. | |
10697 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
10698 | * frame.h (trad_frame_unwind): Declare variable. | |
10699 | (frame_id_unwind_ftype): Delete declaration. | |
10700 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
10701 | (struct frame_unwind): Declare opaque. | |
10702 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
10703 | register_unwind with a single unwind pointer. | |
10704 | * frame-unwind.h, frame-unwind.c: New files. | |
10705 | * Makefile.in (SFILES): Add frame-unwind.c. | |
10706 | (frame_unwind_h): Define. | |
10707 | (COMMON_OBS): Add frame-unwind.o. | |
10708 | (frame-unwind.o): Specify dependencies. | |
10709 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 10710 | |
4efb68b1 AC |
10711 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
10712 | ||
10713 | * ada-valprint.c: Eliminate PTR. | |
10714 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
10715 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
10716 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
10717 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
10718 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
10719 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
10720 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 10721 | |
a84d24ee AC |
10722 | 2003-01-17 Andrew Cagney <ac131313@redhat.com> |
10723 | ||
762f08a3 AC |
10724 | * main.c (captured_main): Don't use PTR. |
10725 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
10726 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
10727 | (lookup_struct_elt_type): Ditto. | |
10728 | * f-valprint.c (info_common_command): Ditto. | |
10729 | (list_all_visible_commons): Ditto. | |
10730 | * jv-typeprint.c (java_type_print_base): Ditto. | |
10731 | ||
a84d24ee AC |
10732 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
10733 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
10734 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
10735 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
10736 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
10737 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
10738 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
10739 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
10740 | * main.c (captured_main): Use xfree, not free. | |
10741 | ||
c170fb60 AC |
10742 | 2003-01-16 Andrew Cagney <ac131313@redhat.com> |
10743 | ||
10744 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
10745 | ID back using a parameter. | |
10746 | * frame.c (frame_id_unwind): Update call. | |
10747 | (frame_saved_regs_id_unwind): Update. | |
10748 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
10749 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
10750 | (dummy_frame_id_unwind): Update declaration. | |
10751 | ||
867f3898 AC |
10752 | 2003-01-15 Andrew Cagney <ac131313@redhat.com> |
10753 | ||
10754 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
10755 | ||
40622be8 | 10756 | 2003-01-15 Stephen P. Smith <ischis2@cox.net> |
de3a8c23 | 10757 | |
40622be8 | 10758 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 10759 | |
ae66c1fc EZ |
10760 | 2003-01-14 Elena Zannoni <ezannoni@redhat.com> |
10761 | ||
997b089a | 10762 | Fix PR gdb/898 |
ae66c1fc EZ |
10763 | * breakpoint.c (until_break_command): Add new argument. Use it to |
10764 | decide whether to stop only at the current frame or not. | |
10765 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 10766 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
10767 | call. |
10768 | (advance_command): New function. | |
10769 | (_initialize_infcmd): Update help string for 'until' command. | |
10770 | Add new 'advance' command. | |
10771 | ||
a04257e6 DC |
10772 | 2003-01-14 David Carlton <carlton@math.stanford.edu> |
10773 | ||
10774 | * linespec.c (decode_line_1): Normalize comments. | |
10775 | (set_flags): Ditto. | |
10776 | (locate_first_half): Ditto. | |
10777 | (decode_compound): Ditto. | |
10778 | (symtab_from_filename): Ditto. | |
10779 | (decode_all_digits): Ditto. | |
10780 | (decode_dollar): Ditto. | |
10781 | (find_methods): Ditto. | |
10782 | (find_toplevel_char): Ditto. | |
10783 | ||
1bac305b AC |
10784 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
10785 | ||
10786 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
10787 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
10788 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
10789 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
10790 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
10791 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
10792 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
10793 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
10794 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
10795 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
10796 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
10797 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
10798 | ||
25caa7a8 EZ |
10799 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
10800 | ||
10801 | * stabsread.h (process_later, resolve_cfront_continuation): | |
10802 | Obsolete. | |
10803 | Update copyright years. | |
10804 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
10805 | Update copyright year. | |
10806 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 10807 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
10808 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
10809 | Update copyright year. | |
10810 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
10811 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
10812 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
10813 | (parse_partial_symbols): Obsolete cfront support. | |
10814 | * stabsread.c | |
10815 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
10816 | macros. | |
10817 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
10818 | read_cfront_baseclasses, read_cfront_member_functions, | |
10819 | resolve_cfront_continuation,read_cfront_static_fields, | |
10820 | copy_cfront_struct_fields): Obsolete functions. | |
10821 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
10822 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
10823 | Update Copyright year. | |
10824 | ||
7789c6f5 EZ |
10825 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
10826 | ||
10827 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
10828 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
10829 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
10830 | print_only_stack_frame): Delete functions. | |
10831 | (print_stack_frame_stub): Call print_frame_info instead of | |
10832 | print_frame_info_base. | |
10833 | (print_frame_info_base): Rename to print_frame_info. | |
10834 | (backtrace_command_1): Call print_frame_info, instead of | |
10835 | print_frame_info_base. | |
10836 | (current_frame_command): Call print_stack_frame, instead of | |
10837 | print_only_stack_frame. | |
10838 | (frame_command): Call print_stack_frame, instead of | |
10839 | show_and_print_stack_frame. | |
10840 | (up_command): Ditto. | |
10841 | (down_command): Ditto. | |
10842 | * frame.h (print_only_stack_frame): Delete prototype. | |
10843 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
10844 | show_and_print_stack_frame. | |
10845 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
10846 | of print_only_stack_frame. | |
10847 | ||
3f5a3016 AC |
10848 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
10849 | ||
d99ba314 AC |
10850 | * README (Graphical interface to GDB): Update URL. Point at |
10851 | gdb/links/. | |
10852 | ||
3f5a3016 AC |
10853 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
10854 | version match. | |
10855 | ||
083ae935 DJ |
10856 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10857 | ||
10858 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
10859 | lines. | |
10860 | ||
5365276c DJ |
10861 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10862 | ||
10863 | * thread-db.c (attach_thread): Prototype. | |
10864 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
10865 | thread information (ti), and valid flags (th_valid, ti_valid). | |
10866 | (attach_thread): Move target_pid_to_str call to after the thread | |
10867 | is added to GDB's list. Initialize the cache. | |
10868 | (thread_get_info_callback, thread_db_map_id2thr) | |
10869 | (thread_db_get_info): New functions. | |
10870 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
10871 | (thread_db_store_registers, thread_db_thread_alive) | |
10872 | (thread_db_get_thread_local_address): Use them. | |
10873 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
10874 | of calling error() for threads in unknown state. | |
10875 | ||
10876 | (clear_lwpid_callback): New function. | |
10877 | (thread_db_resume): Use it to clear the cache. | |
10878 | ||
9fc30b6b DJ |
10879 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10880 | ||
10881 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
10882 | (resume_callback): Remove dead code. | |
10883 | ||
8f871025 AC |
10884 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
10885 | ||
10886 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
10887 | predicate. | |
10888 | * gdbarch.h, gdbarch.c: Regenerate. | |
10889 | * stack.c (frame_info): Only initialize the saved registers when | |
10890 | FRAME_INIT_SAVED_REGS_P. | |
10891 | * frame.c (frame_saved_regs_register_unwind): Assert | |
10892 | FRAME_INIT_SAVED_REGS_P. | |
10893 | (deprecated_generic_get_saved_register): Ditto. | |
10894 | ||
3f565f1e DJ |
10895 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10896 | ||
10897 | * source.c (openp): Squelch warning about "filename". | |
10898 | ||
072b1022 DJ |
10899 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10900 | ||
10901 | * source.c (openp): If the file does not exist don't necessarily | |
10902 | search the path. | |
10903 | ||
973ccf8b DJ |
10904 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10905 | ||
10906 | Fix PR gdb/872. | |
10907 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
10908 | (integer_types_same_name_p): New function. | |
10909 | (rank_one_type): Use it. | |
10910 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
10911 | ||
030292b7 DJ |
10912 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
10913 | ||
10914 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
10915 | variables. | |
10916 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
10917 | * configure.in: Add --with-sysroot. | |
10918 | * configure: Regenerated. | |
10919 | * main.c (gdb_sysroot): New variable. | |
10920 | (captured_main): Initialize gdb_sysroot. | |
10921 | * defs.h (gdb_sysroot): New extern declaration. | |
10922 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
10923 | ||
afb5d334 MC |
10924 | 2003-01-12 Michael Chastain <mec@shout.net> |
10925 | ||
10926 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
10927 | ||
751ceeb4 MC |
10928 | 2003-01-12 Michael Chastain <mec@shout.net> |
10929 | ||
10930 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
10931 | ||
94cd26f8 DC |
10932 | 2003-01-12 David Carlton <carlton@bactrian.org> |
10933 | ||
10934 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
10935 | 'file_symtab'. | |
10936 | ||
1ce79225 AC |
10937 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
10938 | ||
10939 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
10940 | dummy frame. | |
10941 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
10942 | ||
fa1fd571 AC |
10943 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
10944 | ||
10945 | * d10v-tdep.c: Include "gdb_assert.h". | |
10946 | (d10v_store_return_value): Rewrite to match current interface. | |
10947 | (d10v_extract_struct_value_address): Ditto. | |
10948 | (d10v_extract_return_value): Ditto. | |
10949 | (d10v_gdbarch_init): Set store_restore_value, | |
10950 | extract_struct_value_address and extract_return_value. | |
10951 | ||
68b8d23e JB |
10952 | 2003-01-12 J. Brobecker <brobecker@gnat.com> |
10953 | ||
10954 | * hpread.c (set_namestring): New procedure replacing the | |
10955 | SET_NAMESTRING macro. | |
10956 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
10957 | by calls to set_namestring. | |
10958 | ||
10959 | 2003-01-11 J. Brobecker <brobecker@gnat.com> | |
1fb309ea JB |
10960 | |
10961 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
10962 | a compilation warning. | |
10963 | (hpread_process_one_debug_symbol): Likewise. | |
10964 | ||
88d262ca DC |
10965 | 2003-01-10 David Carlton <carlton@math.stanford.edu> |
10966 | ||
10967 | * linespec.c (decode_line_1): Rename variable 's' to | |
10968 | 'file_symtab'. | |
10969 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
10970 | (decode_dollar): Ditto. | |
10971 | (decode_variable): Ditto. | |
10972 | (symbol_found): Ditto. | |
10973 | ||
86669319 MC |
10974 | 2003-01-09 Michael Chastain <mec@shout.net> |
10975 | ||
10976 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
10977 | ||
616a9dc4 CV |
10978 | 2003-01-07 Corinna Vinschen <vinschen@redhat.com> |
10979 | ||
10980 | * win32-nat.c (set_process_privilege): New function. | |
10981 | (child_attach): Call set_process_privilege() to enable the | |
10982 | SE_DEBUG_NAME user privilege if available in process token. | |
10983 | ||
3269bcfa JB |
10984 | 2003-01-10 J. Brobecker <brobecker@gnat.com> |
10985 | ||
10986 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
10987 | compilation error in the previous revision. | |
10988 | ||
2b0ee454 DC |
10989 | 2003-01-09 David Carlton <carlton@math.stanford.edu> |
10990 | ||
10991 | * linespec.c: Update copyright. | |
10992 | ||
b3ba1b44 DJ |
10993 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
10994 | ||
10995 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
10996 | than inferior_ptid. | |
10997 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
10998 | ||
4ef3f3be AC |
10999 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
11000 | ||
479ab5a0 AC |
11001 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
11002 | Update comments. | |
11003 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
11004 | (frame_saved_regs_zalloc): Update. | |
11005 | (frame_saved_regs_register_unwind): Update. | |
11006 | (create_new_frame): Update. | |
11007 | (get_prev_frame): Update. | |
11008 | (frame_extra_info_zalloc): Update. | |
11009 | (deprecated_get_frame_saved_regs): Update. | |
11010 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
11011 | * cris-tdep.c: Update comment. | |
11012 | ||
bde58177 AC |
11013 | * somsolib.h: Fix function indentation. |
11014 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
11015 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
11016 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
11017 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
11018 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
11019 | ||
4ef3f3be AC |
11020 | * infrun.c (follow_fork): Use ISO C definition. |
11021 | * expprint.c (print_subexp): Use xfree instead of free. | |
11022 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
11023 | (register_iconv_charsets): Use ISO C definition. | |
11024 | (host_charset, target_charset): Ditto. | |
11025 | * Makefile.in (charset.o): Update dependencies. | |
11026 | (mi-cmd-env.o): Update dependencies. | |
11027 | ||
1c615f7a AC |
11028 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
11029 | ||
11030 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
11031 | get_frame_base. | |
11032 | ||
c9a1dc08 AC |
11033 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
11034 | ||
11035 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
11036 | build directories. Save edited gdb output in Mbuild.log. If a | |
11037 | build fails, remove any final GDB executable. | |
11038 | ||
dbad9d94 AC |
11039 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
11040 | ||
11041 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
11042 | replacing hex constants with function names and stripping leading | |
11043 | file name directory prefixes. | |
11044 | ||
8d357cca AC |
11045 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
11046 | ||
11047 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
11048 | get_frame_base. | |
11049 | ||
bca02a8a DC |
11050 | 2003-01-08 David Carlton <carlton@math.stanford.edu> |
11051 | ||
11052 | * linespec.c (decode_line_1): Move code into decode_variable. | |
11053 | (decode_variable): New function. | |
11054 | ||
7f8ab3a0 AC |
11055 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
11056 | ||
11057 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
11058 | ||
7b5849cc AC |
11059 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
11060 | ||
11061 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
11062 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
11063 | saved_regs buffer. | |
11064 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
11065 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
11066 | (sh_fp_frame_init_saved_regs): Ditto. | |
11067 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
11068 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11069 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11070 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11071 | ||
72a5efb3 DJ |
11072 | 2003-01-08 Daniel Jacobowitz <drow@mvista.com> |
11073 | ||
11074 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
11075 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
11076 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
11077 | ||
11c02a10 AC |
11078 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
11079 | ||
aab3ea25 AC |
11080 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
11081 | frame_relative_level. | |
11082 | ||
da50a4b7 AC |
11083 | * alpha-tdep.c: Use get_frame_extra_info. |
11084 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11085 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
11086 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11087 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
11088 | ||
11c02a10 AC |
11089 | * alpha-tdep.c: Use get_next_frame. |
11090 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11091 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11092 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
11093 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
11094 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
11095 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
11096 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 11097 | |
1e2330ba AC |
11098 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
11099 | ||
11100 | * alpha-tdep.c: Use get_frame_base. | |
11101 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11102 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11103 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11104 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11105 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
11106 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11107 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
11108 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 11109 | |
2d75187b AC |
11110 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
11111 | ||
11112 | * frame.c (deprecated_get_frame_context): New function. | |
11113 | (deprecated_set_frame_context): New function. | |
11114 | * frame.h (deprecated_get_frame_context): Declare. | |
11115 | (deprecated_set_frame_context): Declare. | |
11116 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
11117 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 11118 | |
483d36b2 AC |
11119 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
11120 | ||
11121 | * frame.c (deprecated_set_frame_next_hack): New function. | |
11122 | (deprecated_set_frame_prev_hack): New function. | |
11123 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
11124 | (deprecated_set_frame_prev_hack): Declare. | |
11125 | * mcore-tdep.c (analyze_dummy_frame): Use | |
11126 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
11127 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11128 | ||
14e91ac5 DC |
11129 | 2003-01-07 David Carlton <carlton@math.stanford.edu> |
11130 | ||
11131 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
11132 | (decode_dollar): New function. | |
11133 | ||
b0c6b05c AC |
11134 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
11135 | ||
11136 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
11137 | deprecated_update_frame_base_hack. | |
11138 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
11139 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11140 | (fix_frame_pointer): Ditto. | |
11141 | (mn10300_analyze_prologue): Ditto. | |
11142 | ||
a00a19e9 AC |
11143 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
11144 | ||
11145 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
11146 | extra_info using frame_extra_info_zalloc. | |
11147 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
11148 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
11149 | (sh64_init_extra_frame_info): Ditto. | |
11150 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
11151 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
11152 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11153 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
11154 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
11155 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
11156 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
11157 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
11158 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
11159 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
11160 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
11161 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
11162 | ||
11163 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
11164 | deprecated_set_frame_extra_info_hack. | |
11165 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11166 | ||
1fb4c65b JB |
11167 | 2003-01-07 J. Brobecker <brobecker@gnat.com> |
11168 | ||
11169 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
11170 | class is not scText. These do not define "real" procedures. | |
11171 | (parse_partial_symbols): Likewise. | |
11172 | ||
9fe7d6bf MS |
11173 | 2003-01-06 Michael Snyder <msnyder@redhat.com> |
11174 | ||
11175 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
11176 | ||
f6c609c4 AC |
11177 | 2003-01-06 Andrew Cagney <ac131313@redhat.com> |
11178 | ||
11179 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
11180 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
11181 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
11182 | deprecated_frame_xmalloc_with_cleanup. | |
11183 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
11184 | deprecated_frame_xmalloc. | |
11185 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
11186 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
11187 | ||
d995ff4b AC |
11188 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
11189 | ||
84dc46cb AC |
11190 | * x86-64-linux-tdep.c: Include "osabi.h". |
11191 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
11192 | ||
d995ff4b AC |
11193 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
11194 | ||
66140c26 AC |
11195 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
11196 | ||
11197 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
11198 | arm-elf. Can be built with -Werror, has been multiarched. | |
11199 | ||
11200 | * value.h (unpack_long): Make buffer parameter constant. | |
11201 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
11202 | * scm-lang.h (scm_parse): Ditto. | |
11203 | * defs.h (extract_typed_address, extract_address): Ditto. | |
11204 | (extract_long_unsigned_integer): Ditto. | |
11205 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
11206 | (signed_pointer_to_address): Ditto. | |
11207 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
11208 | * gdbarch.h, gdbarch.c: Regenerate. | |
11209 | * findvar.c (extract_long_unsigned_integer): Update. | |
11210 | (extract_address): Update. | |
11211 | (extract_typed_address): Update. | |
11212 | (unsigned_pointer_to_address): Update. | |
11213 | * values.c (unpack_long): Update. | |
11214 | (unpack_double): Update. | |
11215 | (unpack_pointer): Update. | |
11216 | (unpack_field_as_long): Update. | |
11217 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
11218 | * avr-tdep.c (avr_pointer_to_address): Update. | |
11219 | * scm-lang.c (scm_unpack): Update. | |
11220 | * findvar.c (signed_pointer_to_address): Update. | |
11221 | ||
b089b3da ML |
11222 | 2003-01-06 Michal Ludvig <mludvig@suse.cz> |
11223 | ||
8ffd9b1b | 11224 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
11225 | since it is in i386-tdep.c. |
11226 | ||
aff87235 JB |
11227 | 2003-01-06 J. Brobecker <brobecker@gnat.com> |
11228 | ||
11229 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
11230 | failure introduced in the previous change. | |
11231 | ||
34f5e845 MC |
11232 | 2003-01-05 Michael Chastain <mec@shout.net> |
11233 | ||
11234 | * README: Remove references to deleted remote-*.c files: | |
11235 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
11236 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
11237 | ||
28bcfd30 MK |
11238 | 2003-01-05 Mark Kettenis <kettenis@gnu.org> |
11239 | ||
11240 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
11241 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
11242 | i386_get_longjmp_target. | |
11243 | ||
15a5b3ee AC |
11244 | 2003-01-05 Andrew Cagney <ac131313@redhat.com> |
11245 | ||
11246 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
11247 | (_initialize_arm_tdep): Allocate prologue_cache. | |
11248 | (check_prologue_cache): Update. | |
11249 | (save_prologue_cache): Update. | |
11250 | (arm_gdbarch_init): Update. | |
11251 | ||
c263362b DJ |
11252 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11253 | ||
11254 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
11255 | instead of error. | |
11256 | ||
51603483 DJ |
11257 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11258 | ||
11259 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
11260 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
11261 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
11262 | ||
11263 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
11264 | (backtrace_below_main): New variable. | |
11265 | (file_frame_chain_valid, func_frame_chain_valid) | |
11266 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
11267 | (generic_func_frame_chain_valid): Remove functions. | |
11268 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
11269 | (_initialize_blockframe): New function. | |
11270 | * Makefile.in (blockframe.o): Update dependencies. | |
11271 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
11272 | comment. Call frame_chain_valid (). | |
11273 | * frame.h: Remove old prototypes. Add prototype for | |
11274 | frame_chain_valid and update comments to match. | |
11275 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
11276 | Remove old comment. | |
11277 | * gdbarch.h: Regenerated. | |
11278 | * gdbarch.c: Regenerated. | |
11279 | ||
11280 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
11281 | set_gdbarch_frame_chain_valid. | |
11282 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
11283 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
11284 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11285 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
11286 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
11287 | (i386_nw_init_abi): Likewise. | |
11288 | (i386_gdbarch_init): Likewise. | |
11289 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
11290 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
11291 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
11292 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
11293 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11294 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
11295 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
11296 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
11297 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11298 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11299 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11300 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11301 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11302 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
11303 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
11304 | ||
11305 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
11306 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
11307 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
11308 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
11309 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
11310 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
11311 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
11312 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
11313 | ||
b00a8037 DJ |
11314 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
11315 | ||
11316 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
11317 | (config_h): Define. | |
11318 | (osabi.o): Update dependencies. | |
11319 | * configure.tgt: Set gdb_osabi based on target triplet. | |
11320 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
11321 | * configure: Regenerated. | |
11322 | * config.in: Regenerated. | |
11323 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
11324 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
11325 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
11326 | (set_osabi_string): New variables. | |
11327 | (gdbarch_register_osabi): Add new OS ABI to | |
11328 | gdb_osabi_available_names. | |
11329 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
11330 | (set_osabi, show_osabi): New functions. | |
11331 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
11332 | ||
4be87837 DJ |
11333 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11334 | ||
11335 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
11336 | GDB_OSABI_UNINITIALIZED. | |
11337 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
11338 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
11339 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
11340 | * gdbarch.c: Regenerated. | |
11341 | * gdbarch.h: Regenerated. | |
11342 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
11343 | there's no BFD. | |
11344 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
11345 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
11346 | (gdbarch_init_osabi): Update prototype. | |
11347 | * defs.h (enum gdb_osabi): Moved here. | |
11348 | * Makefile.in: Update dependencies. | |
11349 | ||
11350 | * alpha-tdep.h: Don't include "osabi.h". | |
11351 | (struct gdbarch_tdep): Remove osabi member. | |
11352 | * alpha-tdep.c: Include "osabi.h". | |
11353 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11354 | iterate over arches. Update call to gdbarch_init_osabi. | |
11355 | (alpha_dump_tdep): Don't dump osabi. | |
11356 | * alpha-linux-tdep.c: Include "osabi.h". | |
11357 | * alpha-osf1-tdep.c: Include "osabi.h". | |
11358 | * alphafbsd-tdep.c: Include "osabi.h". | |
11359 | * alphanbsd-tdep.c: Include "osabi.h". | |
11360 | ||
11361 | * arm-tdep.h: Don't include "osabi.h". | |
11362 | (struct gdbarch_tdep): Remove osabi member. | |
11363 | * arm-tdep.c: Include "osabi.h". | |
11364 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11365 | iterate over arches. Update call to gdbarch_init_osabi. | |
11366 | (arm_dump_tdep): Don't dump osabi. | |
11367 | * arm-linux-tdep.c: Include "osabi.h". | |
11368 | * armnbsd-tdep.c: Include "osabi.h". | |
11369 | ||
11370 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
11371 | Update call to gdbarch_init_osabi. | |
11372 | ||
11373 | * i386-tdep.h: Don't include "osabi.h". | |
11374 | (struct gdbarch_tdep): Remove osabi member. | |
11375 | * i386-tdep.c: Include "osabi.h". | |
11376 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11377 | iterate over arches. Update call to gdbarch_init_osabi. | |
11378 | (i386_dump_tdep): Don't dump osabi. | |
11379 | * i386-linux-tdep.c: Include "osabi.h". | |
11380 | * i386-sol2-tdep.c: Include "osabi.h". | |
11381 | * i386bsd-tdep.c: Include "osabi.h". | |
11382 | * i386gnu-tdep.c: Include "osabi.h". | |
11383 | * i386ly-tdep.c: Include "osabi.h". | |
11384 | * i386nbsd-tdep.c: Include "osabi.h". | |
11385 | * i386obsd-tdep.c: Include "osabi.h". | |
11386 | ||
11387 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
11388 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11389 | check osabi when iterating over arches. Update call to | |
11390 | gdbarch_init_osabi. | |
11391 | (mips_dump_tdep): Don't dump osabi. | |
11392 | ||
11393 | * ns32k-tdep.h: Don't include "osabi.h". | |
11394 | (struct gdbarch_tdep): Remove. | |
11395 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
11396 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
11397 | allocate tdep. Update call to gdbarch_init_osabi. | |
11398 | (ns32k_dump_tdep): Remove. | |
11399 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
11400 | * ns32knbsd-tdep.c: Include "osabi.h". | |
11401 | ||
11402 | * ppc-tdep.h: Don't include "osabi.h". | |
11403 | (struct gdbarch_tdep): Remove osabi member. | |
11404 | * rs6000-tdep.c: Include "osabi.h". | |
11405 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
11406 | osabi when iterating over arches. Update call to | |
11407 | gdbarch_init_osabi. | |
11408 | (rs6000_dump_tdep): Don't dump osabi. | |
11409 | * ppc-linux-tdep.c: Include "osabi.h". | |
11410 | * ppcnbsd-tdep.c: Include "osabi.h". | |
11411 | ||
11412 | * sh-tdep.h: Don't include "osabi.h". | |
11413 | (struct gdbarch_tdep): Remove osabi member. | |
11414 | * sh-tdep.c: Include "osabi.h". | |
11415 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11416 | iterate over arches. Update call to gdbarch_init_osabi. | |
11417 | (sh_dump_tdep): Don't dump osabi. | |
11418 | * shnbsd-tdep.c: Include "osabi.h". | |
11419 | ||
11420 | * sparc-tdep.c: Include "osabi.h". | |
11421 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11422 | iterate over arches. Update call to gdbarch_init_osabi. | |
11423 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
11424 | tdep structure. | |
11425 | ||
11426 | * vax-tdep.h: Don't include "osabi.h". | |
11427 | (struct gdbarch_tdep): Remove. | |
11428 | * vax-tdep.c: Include "osabi.h". | |
11429 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11430 | iterate over arches. Don't allocate tdep. Update call | |
11431 | to gdbarch_init_osabi. | |
11432 | (vax_dump_tdep): Remove. | |
11433 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
11434 | ||
a881cf8e DJ |
11435 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11436 | ||
11437 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
11438 | entirely. | |
11439 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
11440 | watchpoint. | |
11441 | ||
1e698235 DJ |
11442 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11443 | ||
11444 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
11445 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
11446 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11447 | * gdbarch.c: Regenerate. | |
11448 | * gdbarch.h: Regenerate. | |
11449 | * Makefile.in: Remove value_h from gdbarch_h. | |
11450 | * valops.c (coerce_float_to_double): New variable. | |
11451 | (default_coerce_float_to_double): Remove. | |
11452 | (standard_coerce_float_to_double): Remove. | |
11453 | (value_arg_coerce): Use coerce_float_to_double. | |
11454 | (_initialize_valops): Add "set coerce-float-to-double". | |
11455 | * value.h (default_coerce_float_to_double): Remove prototype. | |
11456 | (standard_coerce_float_to_double): Remove prototype. | |
11457 | ||
11458 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
11459 | prototyped. | |
11460 | * mdebugread.c (parse_symbol): Likewise. | |
11461 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
11462 | ||
11463 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
11464 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
11465 | set_gdbarch_coerce_float_to_double. | |
11466 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
11467 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11468 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
11469 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
11470 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11471 | (mips_coerce_float_to_double): Remove. | |
11472 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11473 | (rs6000_coerce_float_to_double): Remove. | |
11474 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11475 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11476 | (sh_coerce_float_to_double): Remove. | |
11477 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11478 | (sparc_coerce_float_to_double): Remove. | |
11479 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11480 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
11481 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11482 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11483 | (hppa_coerce_float_to_double): Remove prototype. | |
11484 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11485 | ||
f436a26a DJ |
11486 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11487 | ||
11488 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
11489 | ||
248f8055 DJ |
11490 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
11491 | ||
11492 | Suggested by Stewart Brown <sb24@avaya.com>: | |
11493 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
11494 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
11495 | (c_type_print_varspec_suffix): Likewise. | |
11496 | ||
72cfdc76 MK |
11497 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
11498 | ||
bfd260bb MK |
11499 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
11500 | * configure: Regenerated. | |
11501 | ||
72cfdc76 MK |
11502 | * configure.in: Remove code dealing with shared libraries. |
11503 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
11504 | * configure: Regenerated. | |
11505 | ||
c8b8a898 AC |
11506 | 2003-01-04 Andrew Cagney <ac131313@redhat.com> |
11507 | ||
11508 | * frame.c (deprecated_frame_xmalloc): New function. | |
11509 | (deprecated_set_frame_saved_regs_hack): New function. | |
11510 | (deprecated_set_frame_extra_info_hack): New function. | |
11511 | * frame.h (deprecated_frame_xmalloc): Declare. | |
11512 | (deprecated_set_frame_saved_regs_hack): Declare. | |
11513 | (deprecated_set_frame_extra_info_hack): Declare. | |
11514 | ||
14abd0fb MK |
11515 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
11516 | ||
8ee53726 MK |
11517 | * configure.in: Move code that provides the --enable-gdbtk option |
11518 | right after the code that handles the --enable-tui option, and | |
11519 | polish it somewhat. | |
11520 | * configure: Regenerated. | |
11521 | ||
14abd0fb MK |
11522 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
11523 | AC_CHECK_FUNCS and remove the old check for pread64. | |
11524 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
11525 | * acconfig.h (_GNU_SOURCE): Add. | |
11526 | (HAVE_PREAD64): Remove. | |
11527 | * configure, aclocal.m4, config.in: Regenerated. | |
11528 | ||
b2fb4676 AC |
11529 | 2003-01-03 Andrew Cagney <ac131313@redhat.com> |
11530 | ||
11531 | * alpha-tdep.c: Use get_frame_saved_regs. | |
11532 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11533 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11534 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
11535 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
11536 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
11537 | ||
8dcde887 MK |
11538 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
11539 | ||
11540 | * configure.in: Remove all use of the SUBDIRS variable; add | |
11541 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
11542 | code providing the --enable-multi-ice option, and move it right in | |
11543 | front of the code that checks whether gdbserver is supported. | |
11544 | Polish that too. | |
11545 | * configure: Regenerated. | |
11546 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
11547 | @SUBDIRS@. | |
11548 | ||
8ccd593b AC |
11549 | 2003-01-03 Andrew Cagney <cagney@redhat.com> |
11550 | ||
11551 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
11552 | * avr-tdep.c, cris-tdep.c: Ditto. | |
11553 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11554 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 11555 | |
91151a06 MK |
11556 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
11557 | ||
11558 | * configure.in: Remove --enable-netrom option. | |
11559 | * configure: Regenerated. | |
11560 | ||
8fe84d01 MK |
11561 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
11562 | ||
11563 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
11564 | declaration for `struct re_pattern_buffer' instead. | |
11565 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
11566 | ||
f0394be6 JB |
11567 | 2003-01-03 J. Brobecker <brobecker@gnat.com> |
11568 | ||
11569 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
11570 | the structure name. | |
11571 | ||
27e9bf90 MK |
11572 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
11573 | ||
93d331ba MK |
11574 | * configure.in: Remove --with-cpu option. |
11575 | subscripts. Remove evil changequotes here. | |
11576 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
11577 | * config.in, configure: Regenerated. | |
8ffd9b1b | 11578 | |
27e9bf90 MK |
11579 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
11580 | * configure.in: Cleanup section that sources GDB and BFD configure | |
11581 | subscripts. Remove evil changequotes here. | |
11582 | * config.in, configure: Regenerated. | |
11583 | ||
50abf9e5 AC |
11584 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
11585 | ||
11586 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
11587 | frame accessor methods. | |
11588 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11589 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11590 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
11591 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
11592 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
11593 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11594 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 11595 | |
287c1a40 MK |
11596 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
11597 | ||
f5dbc56d MK |
11598 | * configure.in: Remove UI_OUT configuration code. |
11599 | * ada-lang.c: Update assuming UI_OUT is always true. | |
11600 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
11601 | * configure: Regenerated. | |
11602 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
11603 | ||
627af7ea MK |
11604 | * configure.in: Move code that provides the --enable-gdbcli, |
11605 | --enable-gdbmi options right before the code that handles the | |
11606 | --enable-tui option. Polish a bit. | |
11607 | * configure: Regenerated. | |
11608 | ||
06825bd1 MK |
11609 | * configure.in: Rewrite check for GNU regex and the |
11610 | --without-included regex option, and move it into the "Checks for | |
11611 | library functions" section. This makes us use the system regex | |
11612 | again by default on systems with version 2 of the GNU C library. | |
11613 | This was apparently broken. | |
11614 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
11615 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
11616 | * config.in, configure: Regenerated. | |
11617 | ||
287c1a40 MK |
11618 | * configure.in: Move code that provides the --enable-tui option |
11619 | before the "Checks for libraries" section. Polish the code | |
11620 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
11621 | code that looks for a library providing termcap functionality to | |
11622 | match more closely what's done in the Readline library, and move | |
11623 | it into to the "Checks for libraries" section. | |
11624 | * configure: Regenerated. | |
11625 | * Makefile.in (TERMCAP): Remove variable. | |
11626 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
11627 | ||
684e56bf AC |
11628 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
11629 | ||
11630 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
11631 | * gdb_mbuild.sh: Rewrite. | |
11632 | ||
e1ea1d75 MK |
11633 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
11634 | ||
11635 | * configure.in: Fix typo in last change. | |
11636 | * config.in, configure: Regenerated. | |
11637 | ||
1b831c93 AC |
11638 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
11639 | ||
11640 | * valarith.c (value_binop): Delete obsolete code and comments. | |
11641 | * configure.host: Ditto. | |
11642 | * buildsym.h (make_blockvector): Ditto. | |
11643 | * buildsym.c (make_blockvector): Ditto. | |
11644 | * defs.h (enum language): Ditto. | |
11645 | (chill_demangle): Ditto. | |
11646 | * elfread.c (elf_symtab_read): Ditto. | |
11647 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
11648 | (set_cu_language): Ditto. | |
11649 | (handle_producer): Ditto. | |
11650 | * expprint.c (print_subexp): Ditto. | |
11651 | * gdbtypes.c (chill_varying_type): Ditto. | |
11652 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
11653 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
11654 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
11655 | (chill_varying_type): Ditto. | |
11656 | * language.h (_LANG_chill): Ditto. | |
11657 | * language.c (binop_result_type, integral_type): Ditto. | |
11658 | (character_type, string_type, structured_type): Ditto. | |
11659 | (lang_bool_type, binop_type_check): Ditto. | |
11660 | * stabsread.h (os9k_stabs): Ditto. | |
11661 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
11662 | (define_symbol, read_type, read_struct_fields): Ditto. | |
11663 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
11664 | (read_range_type, start_stabs): Ditto. | |
11665 | * symfile.c (init_filename_language_table): Ditto. | |
11666 | (add_psymbol_with_dem_name_to_list): Ditto. | |
11667 | * symtab.c (symbol_init_language_specific): Ditto. | |
11668 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
11669 | * symtab.h (struct general_symbol_info): Ditto. | |
11670 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
11671 | * typeprint.c (typedef_print): Ditto. | |
11672 | * utils.c (fprintf_symbol_filtered): Ditto. | |
11673 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
11674 | obsolete code. | |
11675 | (varying_to_slice): Delete function. | |
11676 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
11677 | (varying_to_slice): Delete declaration. | |
11678 | * MAINTAINERS: Update. | |
11679 | ||
8bb2c122 MK |
11680 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
11681 | ||
97bf5e38 MK |
11682 | * configure.in: Reorganize "Checks for library functions section" |
11683 | a bit. Remove check for `btowc' and `isascii' functions. | |
11684 | * configure: Regenerated. | |
11685 | ||
5ee754fc MK |
11686 | * acconfig.h (_MSE_INT_H): Remove. |
11687 | * configure.in: Create "Checks for header files" section, and move | |
11688 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
11689 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
11690 | misdetection fix. Also add "Checks for types", "Checks for | |
11691 | compiler characteristics" and "Checks for library functions" | |
11692 | sections. | |
11693 | * config.in, configure: Regenerated. | |
11694 | ||
8bb2c122 MK |
11695 | * configure.in: Create "Checks for programs" section, and move |
11696 | appropriate tests there. | |
11697 | ||
9a156167 MK |
11698 | 2003-01-01 Mark Kettenis <kettenis@gnu.org> |
11699 | ||
11700 | * configure.in: Create "Checks for libraries" section, and move | |
11701 | appropriate tests there. Cleanup check for wctype in libw. Use | |
11702 | AC_SEARCH_LIBS to see whether we need libsocket. | |
11703 | * configure: Regenerated. | |
11704 | ||
a80e2bcb | 11705 | For older changes see ChangeLog-2002 |
c906108c SS |
11706 | \f |
11707 | Local Variables: | |
11708 | mode: change-log | |
11709 | left-margin: 8 | |
11710 | fill-column: 74 | |
11711 | version-control: never | |
11712 | End: |