]>
Commit | Line | Data |
---|---|---|
c9263853 AC |
1 | 2003-09-09 Andrew Cagney <[email protected]> |
2 | ||
e56a0ecc AC |
3 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
4 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
5 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
6 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
7 | ||
794a477a AC |
8 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
9 | (rs6000_push_dummy_call): Set the "TOC" register. | |
10 | ||
c9263853 AC |
11 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
12 | methods "max_register_raw_size", "max_register_virtual_size" or | |
13 | "register_virtual_size". | |
14 | ||
afa7d0b2 ILT |
15 | 2003-09-09 Ian Lance Taylor <[email protected]> |
16 | ||
17 | * MAINTAINERS: Update my e-mail address. | |
18 | ||
7a41266b AC |
19 | 2003-09-09 Andrew Cagney <[email protected]> |
20 | ||
21 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
22 | (rs6000_push_dummy_call): Store the struct return address. | |
23 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
24 | ||
77b2b6d4 AC |
25 | 2003-09-09 Andrew Cagney <[email protected]> |
26 | ||
27 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
28 | "ppc_sysv_abi_push_arguments". | |
29 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
30 | "ppc_sysv_abi_push_arguments". | |
31 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
32 | instead of "push_arguments". | |
33 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
34 | ||
e8a7b686 AC |
35 | 2003-09-09 Andrew Cagney <[email protected]> |
36 | ||
37 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
38 | instead of CALL_DUMMY_ADDRESS. | |
39 | ||
f86f5ca3 PH |
40 | 2003-09-09 Paul N. Hilfinger <[email protected]> |
41 | ||
42 | * p-lang.c: Eliminate "register". | |
43 | * c-lang.c: Ditto. | |
44 | * expprint.c: Ditto. | |
45 | * f-lang.c: Ditto. | |
46 | * jv-lang.c: Ditto. | |
47 | * language.c: Ditto. | |
48 | * m2-lang.c: Ditto. | |
49 | * parse.c: Ditto. | |
50 | * scm-lang.c: Ditto. | |
51 | * objc-lang.c: Ditto. | |
52 | ||
83ee270e NC |
53 | 2003-09-09 Nick Clifton <[email protected]> |
54 | ||
55 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
56 | ||
a89aa300 AC |
57 | 2003-09-04 Andrew Cagney <[email protected]> |
58 | ||
59 | * avr-tdep.c: Include "dis-asm.h". | |
60 | * cris-tdep.c: Include "dis-asm.h". | |
61 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
62 | instead of corresponding typedef. | |
63 | * h8300-tdep.c: Include "dis-asm.h". | |
64 | * ia64-tdep.c: Include "dis-asm.h". | |
65 | * i386-tdep.c: Include "dis-asm.h". | |
66 | (i386_print_insn): Use "struct disassemble_info" instead of | |
67 | corresponding typedef. | |
68 | * m68k-tdep.c: Include "dis-asm.h". | |
69 | * mcore-tdep.c: Include "dis-asm.h". | |
70 | * mips-tdep.c: Include "dis-asm.h". | |
71 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
72 | instead of corresponding typedef. | |
73 | * ns32k-tdep.c: Include "dis-asm.h". | |
74 | * s390-tdep.c: Include "dis-asm.h". | |
75 | * sparc-tdep.c: Include "dis-asm.h". | |
76 | * vax-tdep.c: Include "dis-asm.h". | |
77 | * v850-tdep.c: Include "dis-asm.h". | |
78 | * mn10300-tdep.c: Include "dis-asm.h". | |
79 | * rs6000-tdep.c: Include "dis-asm.h". | |
80 | * xstormy16-tdep.c: Include "dis-asm.h". | |
81 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
82 | print_insn_xstormy16. | |
83 | * Makefile.in (v850-tdep.o): Update dependencies. | |
84 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
85 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
86 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
87 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
88 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
89 | (gdbarch_h): Remove $(dis_asm_h). | |
90 | * disasm.c: Include "dis-asm.h". | |
91 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
92 | corresponding typedef. | |
93 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
94 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
95 | * gdbarch.sh: Do not include "dis-asm.h". | |
96 | (struct disassemble_info): Declare opaque. | |
97 | (TARGET_PRINT_INSN): Update declaration. | |
98 | * gdbarch.h, gdbarch.c: Re-generate. | |
99 | ||
88a82a65 AC |
100 | 2003-09-08 Andrew Cagney <[email protected]> |
101 | ||
102 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
103 | CALL_DUMMY_ADDRESS, change to a predicate. | |
104 | * gdbarch.h, gdbarch.c: Re-generate. | |
105 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
106 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
107 | * infcall.c (call_function_by_hand): Ditto. | |
108 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
109 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
110 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
111 | CALL_DUMMY_ADDRESS with entry_point_address. | |
112 | * v850-tdep.c (v850_push_return_address): Ditto. | |
113 | * s390-tdep.c (s390_push_return_address): Ditto. | |
114 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
115 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
116 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
117 | * cris-tdep.c (cris_push_return_address): Ditto. | |
118 | * arm-tdep.c (arm_push_return_address): Ditto. | |
119 | ||
3e2c4033 AC |
120 | 2003-09-08 Andrew Cagney <[email protected]> |
121 | ||
122 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
123 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
124 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
125 | (execute_cfa_program): Update. | |
126 | (dwarf2_frame_cache): Update. Initialize table to | |
127 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
128 | location. | |
129 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
130 | ||
39efb398 AC |
131 | 2003-09-08 Andrew Cagney <[email protected]> |
132 | ||
133 | * gnu-nat.c: Remove "inline" function attribute. | |
134 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
135 | ||
f5cb5aca KB |
136 | 2003-09-08 Kevin Buettner <[email protected]> |
137 | ||
138 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
139 | target. | |
140 | ||
1cb761c7 KB |
141 | 2003-09-08 Kevin Buettner <[email protected]> |
142 | ||
143 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
144 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
145 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
146 | Add fields ``prev_sp'' and ``base''. | |
147 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
148 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
149 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
150 | Delete. | |
151 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
152 | Revise all callers. Fill in the unwind cache argument and make | |
153 | other adjustments to account for new frame mechanisms. | |
154 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
155 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
156 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
157 | (frv_frame_unwind, frv_frame_base): New structs. | |
158 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
159 | additional arguments expected by this method and adjust function | |
160 | body accordingly. | |
161 | (frv_gdbarch_init): Remove calls to the following functions: | |
162 | set_gdbarch_deprecated_init_frame_pc(), | |
163 | set_gdbarch_deprecated_saved_pc_after_call(), | |
164 | set_gdbarch_deprecated_frame_chain(), | |
165 | set_gdbarch_deprecated_frame_saved_pc(), | |
166 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
167 | set_gdbarch_deprecated_push_arguments(), | |
168 | set_gdbarch_deprecated_push_return_address(), | |
169 | set_gdbarch_deprecated_pop_frame(), | |
170 | set_gdbarch_deprecated_call_dummy_words(), | |
171 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
172 | set_gdbarch_deprecated_init_extra_frame_info(), | |
173 | set_gdbarch_deprecated_dummy_write_sp(), and | |
174 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
175 | Add calls to the following functions: | |
176 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
177 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
178 | frame_base_set_default(). | |
179 | * Makefile.in (frv-tdep.o): Update dependencies. | |
180 | ||
68f6cf99 MK |
181 | 2003-09-09 Mark Kettenis <[email protected]> |
182 | ||
183 | * dwarf2-frame.c (read_encoded_value): Add support for | |
184 | DW_EH_PE_aligned encoding. | |
185 | ||
73b65bb0 DJ |
186 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
187 | ||
188 | * infrun.c (normal_stop): Don't print a message if the inferior | |
189 | has exited. | |
190 | ||
7c8a5605 JB |
191 | 2003-09-08 Jim Blandy <[email protected]> |
192 | ||
193 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
194 | * dbxread.c: #include "gdb_assert.h". | |
195 | (read_dbx_symtab): If the objfile has no .data section, use the | |
196 | section index for the .bss section instead. | |
197 | ||
7dd88986 DJ |
198 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
199 | ||
200 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
201 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
202 | * findvar.c (read_var_value): Call it. | |
203 | ||
55ff77ac CV |
204 | 2003-09-08 Corinna Vinschen <[email protected]> |
205 | ||
206 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
207 | (sh64-tdep.o): Add dependencies. | |
208 | * configure.tgt: Add FIXME to sh-*-linux*. | |
209 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
210 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
211 | pointer. Call sh64_gdbarch_init() if machine type is sh5. | |
212 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. | |
213 | * sh64-tdep.c: New file, containing all sh64 related code from | |
214 | sh-tdep.c. | |
215 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
216 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
217 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
218 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. | |
219 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
220 | ||
bfb39158 DJ |
221 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
222 | ||
223 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
224 | (stop_wait_callback): Handle !lp->signalled also. | |
225 | (lin_lwp_has_pending, flush_callback): New functions. | |
226 | (lin_lwp_wait): Call flush_callback. | |
227 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
228 | (linux_proc_pending_signals): New function. | |
229 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
230 | ||
9407de8e DJ |
231 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
232 | ||
233 | From Nick Kelsey <[email protected]>: | |
234 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
235 | when the stop PC is at the beginning of a function also. | |
236 | ||
2ef47cd0 DJ |
237 | 2003-09-06 Daniel Jacobowitz <[email protected]> |
238 | ||
239 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
240 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
241 | ||
6f4492c8 MK |
242 | 2003-09-06 Mark Kettenis <[email protected]> |
243 | ||
244 | * sol-thread.c: Include "gdb_string.h". | |
245 | ||
d3420b2f MK |
246 | 2003-09-03 Mark Kettenis <[email protected]> |
247 | ||
248 | * gcore.c: Reorder include files in alphabetical order. Include | |
249 | "gdb_assert.h". Various coding style fixes. | |
250 | (derive_stack_segment, derive_heap_segment): Replace check for | |
251 | non-null BOTTOM and TOP with gdb_assert. | |
252 | (derive_heap_segment): Replace check for successful creation of | |
253 | ZERO with gdb_assert. | |
254 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
255 | ||
5220ea4c AC |
256 | 2003-09-04 Andrew Cagney <[email protected]> |
257 | ||
258 | * thread-db.c (verbose_dlsym): New function. | |
259 | (thread_db_load): Use verbose_dlsym | |
260 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
261 | that thread debugging was enabled. | |
262 | ||
6e8c2c06 AC |
263 | 2003-09-04 Andrew Cagney <[email protected]> |
264 | ||
265 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
266 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
267 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
268 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
269 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
270 | mips*-sony-*, and mips64*-*-elf* targets. | |
271 | * config/mips/embedl.mt: Delete file. | |
272 | * config/mips/embedl64.mt: Delete file. | |
273 | * config/mips/mips.mt: Delete file. | |
274 | * config/mips/mips64.mt: Delete file. | |
275 | * config/mips/tm-embed.h: Delete file. | |
276 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
277 | * config/mips/embed64.mt: Delete out-of-date comment. | |
278 | ||
3a3bc038 AC |
279 | 2003-09-04 Andrew Cagney <[email protected]> |
280 | ||
281 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
282 | "have_nonsteppable_watchpoint". | |
283 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
284 | * mips-tdep.c (mips_dump_tdep): Do not print | |
285 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
286 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
287 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
288 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
289 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
290 | ||
a957e642 CV |
291 | 2003-09-04 Corinna Vinschen <[email protected]> |
292 | ||
293 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
294 | unused code. Add comment. | |
295 | ||
a6fbcf2f CV |
296 | 2003-09-04 Corinna Vinschen <[email protected]> |
297 | ||
298 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
299 | epilogue if watchpoint frame couldn't be found. | |
300 | ||
c14a44d5 AC |
301 | 2003-09-04 Andrew Cagney <[email protected]> |
302 | ||
303 | * Makefile.in: Re-generate all dependencies. | |
304 | ||
f6c40618 AC |
305 | 2003-09-03 Andrew Cagney <[email protected]> |
306 | ||
307 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
308 | * arch-utils.c (legacy_print_insn): Delete function. | |
309 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
310 | (_initialize_disasm): Delete function, contained code initializing | |
311 | deprecated_tm_print_insn_info. | |
312 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
313 | (deprecated_tm_print_insn_info): Delete. | |
314 | (TARGET_PRINT_INSN): Do not provide a default. | |
315 | * gdbarch.h, gdbarch.c: Re-generate. | |
316 | ||
242e8be5 AC |
317 | 2003-09-03 Andrew Cagney <[email protected]> |
318 | ||
319 | * disasm.c (fprintf_disasm): New function. | |
320 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
321 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
322 | reverts 2003-08-14 change. | |
323 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
324 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
325 | ||
3ffc3dda MS |
326 | 2003-09-03 Michael Snyder <[email protected]> |
327 | ||
328 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
329 | ||
52d16ba8 AC |
330 | 2003-09-03 Andrew Cagney <[email protected]> |
331 | ||
332 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
333 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
334 | * symfile.c (syms_from_objfile): Update. | |
335 | (reread_symbols): `Update | |
336 | * exec.c (exec_file_attach): Update. | |
337 | (exec_file_attach): Update. | |
338 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
339 | 2003-08-29 change. | |
340 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
341 | ||
eb5492fa DJ |
342 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
343 | ||
344 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
345 | trad-frame.h. | |
346 | (arm_get_cache): Delete macro. | |
347 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
348 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
349 | to prev_sp. | |
350 | (thumb_scan_prologue): Update for cache changes. Don't call | |
351 | DEPRECATED_PC_IN_CALL_DUMMY. | |
352 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
353 | argument and use it in desperation search for our prologue. Do not | |
354 | search past the specified PC. | |
355 | (arm_make_prologue_cache): Simplify. | |
356 | ||
357 | (arm_prologue_this_id, arm_prologue_prev_register) | |
358 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
359 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
360 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
361 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
362 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
363 | ||
364 | (arm_frame_chain_valid, arm_find_callers_reg) | |
365 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
366 | (arm_pop_frame): Delete obsolete methods. | |
367 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
368 | ||
369 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
370 | and sigtramp unwinders. Set the default frame base method. | |
371 | ||
372 | * Makefile.in (arm-tdep.o): Update dependencies. | |
373 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
374 | get_frame_base_address. | |
375 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
376 | ||
24de872b DJ |
377 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
378 | ||
379 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
380 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
381 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
382 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
383 | Take NEXT_FRAME and CACHE arguments. Call | |
384 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
385 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
386 | Don't bother checking the frame type when looking for sigtramp | |
387 | frames. | |
388 | (arm_make_prologue_cache, arm_frame_chain) | |
389 | (arm_init_extra_frame_info): New functions. | |
390 | ||
9b8d791a DJ |
391 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
392 | ||
393 | * arm-tdep.c (arm_get_cache): Define. | |
394 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
395 | unwound_sp, unwound_pc, and saved_regs. | |
396 | (thumb_scan_prologue): Take a cache instead of the frame. | |
397 | (arm_scan_prologue): Likewise. | |
398 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
399 | instead of a temporary frame. | |
400 | (arm_init_extra_frame_info): Allocate and use a cache. | |
401 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
402 | ||
7ee3275f AC |
403 | 2003-09-03 Andrew Cagney <[email protected]> |
404 | ||
405 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
406 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
407 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
408 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
409 | * config/sparc/sp64.mt (CC): Delete. | |
410 | ||
57b29be7 AC |
411 | 2003-09-03 Andrew Cagney <[email protected]> |
412 | ||
413 | * defs.h: Do not include "arch-utils.h". | |
414 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
415 | GDB_MULTI_ARCH_PURE. | |
416 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
417 | * configure, config.in: Regenerate. | |
418 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
419 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
420 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
421 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
422 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
423 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
424 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
425 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
426 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
427 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
428 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
429 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
430 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
431 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
432 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
433 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
434 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
435 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
436 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
437 | ||
12e035e2 MC |
438 | 2003-08-30 Michael Chastain <[email protected]> |
439 | ||
440 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
441 | * config/m68k/nm-hp300hpux.h: Delete. | |
442 | * config/m68k/tm-hp300hpux.h: Delete. | |
443 | * config/m68k/xm-hp300hpux.h: Delete. | |
444 | * config/m68k/xm-hp300bsd.h: Delete. | |
445 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
446 | tm-hp300hpux.h, xm-hp300hpux.h. | |
447 | * somsolib.c: Remove comment about hp300 shared libraries. | |
448 | ||
bda34dc2 MK |
449 | 2003-08-31 Mark Kettenis <[email protected]> |
450 | ||
5bca7895 MK |
451 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
452 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
453 | Various style fixes in code and comments and some additional | |
454 | spelling fixes in comments. Move after functions dealing with | |
455 | debug registers. | |
456 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
457 | Fix coding-style. | |
458 | ||
bda34dc2 MK |
459 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
460 | frame_unwind_register_unsigned instead of | |
461 | frame_unwind_unsigned_register. | |
462 | ||
c890192f MK |
463 | 2003-08-30 Mark Kettenis <[email protected]> |
464 | ||
465 | * configure.in: Search for gethostbyname in libnsl. | |
466 | * configure: Regenerated. | |
467 | ||
60fac5b8 MK |
468 | 2003-08-29 Mark Kettenis <[email protected]> |
469 | ||
e294916c MK |
470 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
471 | uintptr_t in stdint.h. | |
472 | * configure: Regenerated. | |
473 | ||
c40d267a MK |
474 | * amd64-nat.h (struct regcache): Add opaque declaration. |
475 | ||
60fac5b8 MK |
476 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
477 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
478 | Change "register array" to "register cache" in comments. | |
479 | (x86_64_linux_gregset64_reg_offset): New variable. | |
480 | (GETREGS_SUPPLIES): Remove macro. | |
481 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
482 | x86_64_linux_supply_gregset. | |
483 | (fill_gregset): Rename `regno' to `regnum'. Call | |
484 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
485 | (store_regs): Rename `regno' to `regnum'. | |
486 | (store_fpregs): Rename `regno' to `regnum'. | |
487 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
488 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
489 | Reorganize function a bit. | |
490 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
491 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
492 | Reorganize function a bit. | |
493 | (_initialize_x86_64_linux_nat): New function. | |
494 | * config/i386/x86-64linux.mh. | |
495 | ||
546143b6 AC |
496 | 2003-08-29 Andrew Cagney <[email protected]> |
497 | ||
498 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
499 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
500 | (target_remove_watchpoint): Delete macro. | |
501 | (target_insert_watchpoint): Delete macro. | |
502 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
503 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
504 | (remote_mips_remove_watchpoint): Delete declaration. | |
505 | (remote_mips_set_watchpoint): Delete declaration. | |
506 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
507 | * remote-mips.c (_initialize_remote_mips): Set | |
508 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
509 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
510 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
511 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
512 | (mips_stopped_by_watchpoint): Rename | |
513 | remote_mips_stopped_by_watchpoint. | |
514 | (mips_can_hardware_watchpoint): Rename | |
515 | remote_mips_can_use_hardware_watchpoint, update function | |
516 | signature. | |
517 | ||
7bace51b MK |
518 | 2003-08-29 Mark Kettenis <[email protected]> |
519 | ||
b0f5c6f2 MK |
520 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
521 | USER_DS. We haven't given them a register number yet. | |
522 | ||
2a6d284d MK |
523 | * amd64-nat.h: New file. |
524 | * amd64-nat.c: New file. | |
525 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
526 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
527 | (amd64fbsd32_r_reg_offset): New variable. | |
528 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
529 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
530 | amd64_collect_native_gregset. | |
531 | (fill_fpregset): Rename `regno' to `regnum'. | |
532 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
533 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
534 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
535 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
536 | supply_gregset. Call x86_64_supply_fxsave instead of | |
537 | supply_fpregset. | |
538 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
539 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
540 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
541 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
542 | fill_gregset. Call x86_64_collect_fxsave instead of | |
543 | fill_fpregset. | |
544 | (_initialize_am64fbsd_nat): Initialize | |
545 | amd64_native_gregset32_reg_offset and | |
546 | amd64_native_gregset64_reg_offset. | |
547 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
548 | ||
a16d75cc MK |
549 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
550 | null pointer. Fix typo in comment. | |
551 | ||
7bace51b MK |
552 | * regcache.c (supply_register): Reimplement to call |
553 | regcache_raw_supply. | |
554 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
555 | ||
9a661b68 MK |
556 | 2003-08-28 Mark Kettenis <[email protected]> |
557 | ||
558 | * regcache.c (register_buffer): Consitify first argument. | |
559 | (regcache_raw_supply, regcache_raw_collect): New | |
560 | functions. | |
561 | ||
e94cc8fa DJ |
562 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
563 | ||
564 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
565 | by Nathan J. Williams. | |
566 | ||
c64bd0ce DJ |
567 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
568 | ||
569 | * lin-lwp.c (wait_lwp): New function, copied from | |
570 | stop_wait_callback. Clean up. | |
571 | (stop_wait_callback): Use wait_lwp. | |
572 | ||
e5ab0dce AC |
573 | 2003-08-28 Andrew Cagney <[email protected]> |
574 | ||
575 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
576 | flavour and disassembler options. | |
577 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
578 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
579 | deprecated_tm_print_insn_info. | |
580 | ||
a788de9b AC |
581 | 2003-08-27 Andrew Cagney <[email protected]> |
582 | ||
583 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
584 | Use target_read_memory. | |
585 | (s390_get_frame_info): Update. Do not reference | |
586 | deprecated_tm_print_insn_info. | |
587 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
588 | ||
36482093 AC |
589 | 2003-08-27 Andrew Cagney <[email protected]> |
590 | ||
591 | * Makefile.in (cris-tdep.o): Update dependencies. | |
592 | * cris-tdep.c: Include "gdb_assert.h". | |
593 | (cris_gdbarch_init): Set print_insn. | |
594 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
595 | (cris_delayed_get_disassembler): Simplify, directly call the | |
596 | disassembler returned by cris_get_disassembler. | |
597 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
598 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
599 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
600 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
601 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
602 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
603 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
604 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
605 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
606 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
607 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
608 | (gdb_print_insn_sparc): Delete function. | |
609 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
610 | deprecated_tm_print_insn_info. | |
611 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
612 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
613 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
614 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
615 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
616 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
617 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
618 | (s390_gdbarch_init): Set print_insn. | |
619 | ||
0285512f AC |
620 | 2003-08-27 Andrew Cagney <[email protected]> |
621 | ||
622 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
623 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
624 | * infcall.c (call_function_by_hand): Convert the entry point | |
625 | address into a code address. | |
626 | ||
cdcd5552 AC |
627 | 2003-08-27 Andrew Cagney <[email protected]> |
628 | ||
629 | * dsrec.c: Include "gdb_string.h". | |
630 | * Makefile.in (dsrec.o): Update dependencies. | |
631 | ||
e85cddad MC |
632 | 2003-08-27 Michael Chastain <[email protected]> |
633 | ||
634 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
635 | ||
8bbfbb23 AC |
636 | 2003-08-27 Andrew Cagney <[email protected]> |
637 | ||
638 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
639 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
640 | ||
ba058b66 DC |
641 | 2003-08-27 David Carlton <[email protected]> |
642 | ||
643 | From Randolph Chung <[email protected]>: | |
644 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
645 | compiles with -Wformat-nonliteral -Werror. | |
646 | ||
87f84c9d JB |
647 | 2003-08-26 Jim Blandy <[email protected]> |
648 | ||
649 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
650 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
651 | bfd_lookup_symbol, since we only want symbols in code sections. | |
652 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
653 | bfd_lookup_symbol, since we're not concerned about which section | |
654 | the symbol is in. | |
655 | ||
102d615a JJ |
656 | 2003-08-26 Jeff Johnston <[email protected]> |
657 | ||
658 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
659 | we are frameless or the return address register is already known. | |
660 | ||
cc7ad3ea AC |
661 | 2003-08-26 Andrew Cagney <[email protected]> |
662 | ||
663 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
664 | in size. Add comments. | |
665 | ||
af8b88dd JJ |
666 | 2003-08-26 Jeff Johnston <[email protected]> |
667 | ||
668 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
669 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
670 | ||
e0a4f5a1 JM |
671 | 2003-08-26 Jason Merrill <[email protected]> |
672 | ||
673 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
674 | case out of #ifdef MIPS block. | |
675 | ||
4ae9ee8e DJ |
676 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
677 | ||
678 | PR java/1322 | |
679 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
680 | available before calling SECT_OFF_TEXT. | |
3c164570 | 681 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 682 | |
004d836a JJ |
683 | 2003-08-25 Jeff Johnston <[email protected]> |
684 | ||
685 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
686 | bof, and nat0-nat127 as pseudo-registers. | |
687 | (ia64_frame_cache): New struct used to cache frame info. | |
688 | (ia64_register_reggroup_p): New routine used to override default | |
689 | register grouping so registers without names are still saved and | |
690 | restored. | |
691 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
692 | pseudo values. | |
693 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
694 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
695 | (ia64_alloc_frame_cache): New routine to create a new | |
696 | ia64_frame_cache. | |
697 | (examine_prologue): Change prototype to add next_frame pointer. | |
698 | Assume frameless until otherwise proven. Verify that the cfm for | |
699 | current frame matches the cfm that should occur for the prologues | |
700 | alloc insn and if equal, mark as not frameless. At end of routine, | |
701 | if not frameless, calculate registers for the previous frame and store | |
702 | in the cache, if a cache is provided. | |
703 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
704 | and pass 0 for next_frame. | |
705 | (ia64_store_return_value): Change to use convert_typed_floating() | |
706 | instead of calling ia64_convert_to_raw(). | |
707 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
708 | instead of calling ia64_convert_to_virtual(). | |
709 | (ia64_frame_cache): New routine to support new frame model. | |
710 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
711 | (ia64_frame_sniffer): Ditto. | |
712 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
713 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
714 | (ia64_sigtramp_frame_prev_register): Ditto. | |
715 | (ia64_sigtramp_frame_sniffer): Ditto. | |
716 | (ia64_frame_base_address): Ditto. | |
717 | (ia64_extract_struct_value_address): Change to issue error message. | |
718 | (ia64_frame_align): New routine to align sp. | |
719 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
720 | (ia64_push_arguments): Removed. Logic moved to | |
721 | ia64_push_dummy_call(). | |
722 | (ia64_push_return_address): Ditto. | |
723 | (ia64_unwind_dummy_id): New function. | |
724 | (ia64_unwind_pc): Ditto. | |
725 | (ia64_convert_register_p): Ditto. | |
726 | (ia64_register_to_value): Ditto. | |
727 | (ia64_value_to_register): Ditto. | |
728 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
729 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
730 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
731 | (ia64_saved_pc_after_call): Ditto. | |
732 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
733 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
734 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
735 | (ia64_register_convert_to_raw): Ditto. | |
736 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
737 | (ia64_init_extra_frame_info): Ditto. | |
738 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
739 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
740 | are no longer used. Add registration of new gdbarch functions. | |
741 | Remove registering deprecated_write_sp. Replace | |
742 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
743 | Delete set_gdbarch_deprecated_register_convertible(), | |
744 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
745 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
746 | set_gdbarch_deprecated_register_size(), | |
747 | set_gdbarch_deprecated_register_bytes(), | |
748 | set_gdbarch_pcregnum(), | |
749 | set_gdbarch_deprecated_register_byte(), | |
750 | set_gdbarch_deprecated_register_raw_size(), | |
751 | set_gdbarch_deprecated_max_register_raw_size(), | |
752 | set_gdbarch_deprecated_register_virtual_size(), | |
753 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
754 | Replace set_gdbarch_deprecated_extract_return_value() with | |
755 | set_gdbarch_extract_return_value(). Remove calls to: | |
756 | set_gdbarch_deprecated_saved_pc_after_call(); | |
757 | set_gdbarch_deprecated_frame_chain(), | |
758 | set_gdbarch_deprecated_frame_saved_pc(), | |
759 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
760 | set_gdbarch_deprecated_get_saved_register(), | |
761 | set_gdbarch_deprecated_call_dummy_words(), | |
762 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
763 | set_gdbarch_deprecated_init_extra_frame_info(), | |
764 | set_gdbarch_deprecated_frame_args_address(), | |
765 | set_gdbarch_deprecated_frame_locals_address(), | |
766 | and set_gdbarch_deprecated_dummy_write_sp(). | |
767 | Add set_gdbarch_convert_register_p(), | |
768 | set_gdbarch_register_to_value(), | |
769 | set_gdbarch_value_to_register(), | |
770 | set_gdbarch_push_dummy_call(), | |
771 | set_gdbarch_frame_align(), | |
772 | set_gdbarch_unwind_dummy_id(), | |
773 | set_gdbarch_unwind_pc(), | |
774 | frame_unwind_append_sniffer(), | |
775 | frame_unwind_append_sniffer(), | |
776 | and frame_base_set_default(). | |
777 | ||
aede7613 CD |
778 | 2003-08-25 Chris Demetriou <[email protected]> |
779 | ||
780 | * configure.tgt: Document need for special "mipsisa64" handling. | |
781 | (mipsisa64*-*-linux64): Handle as target linux64. | |
782 | (mipsisa64*-*-*): Handle as target embed64. | |
783 | ||
43c3a82e MC |
784 | 2003-08-18 Michael Chastain <[email protected]> |
785 | ||
786 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
787 | objfile bug. | |
788 | ||
6564f77d MK |
789 | 2003-08-24 Mark Kettenis <[email protected]> |
790 | ||
2de139ba MK |
791 | * i387-tdep.h: Update copyright date. |
792 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
793 | ||
6564f77d MK |
794 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
795 | CFLAGS games to reflect reality. | |
796 | ||
42cf1509 AC |
797 | 2003-08-24 Andrew Cagney <[email protected]> |
798 | ||
799 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
800 | GDB_MULTI_ARCH is always non-zero. | |
801 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
802 | (gdbarch_init_osabi): Ditto. | |
803 | * sparc-tdep.c: Ditto for #if code. | |
804 | ||
0485f6ad MK |
805 | 2003-08-23 Mark Kettenis <[email protected]> |
806 | ||
807 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
808 | Update comments. | |
809 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
810 | comments. | |
811 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
812 | x86_64_supply_fxsave. | |
813 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
814 | x86_64_supply_fxsave. | |
815 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
816 | x86_64_supply_fxsave. | |
817 | ||
c7716133 AJ |
818 | 2003-08-23 Andreas Jaeger <[email protected]> |
819 | ||
820 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
821 | i387_supply_fxsave. | |
822 | ||
ed504bdf MK |
823 | 2003-08-23 Mark Kettenis <[email protected]> |
824 | ||
825 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
826 | i387_supply_register. | |
827 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
828 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
829 | i387_supply_fsave. | |
830 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
831 | i387_supply_fxsave. | |
832 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
833 | i387_supply_fsave. | |
834 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
835 | i387_supply_fsave. | |
836 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
837 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
838 | supply_fpregset. | |
839 | (store_inferior_registers): Remove extraneous whitespace. Call | |
840 | i387_fill_fsave instead of fill_fpregset. | |
841 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
842 | (supply_fpregset): Likewise. | |
843 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
844 | i387_supply_fsave. | |
845 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
846 | i387_supply_fsave. | |
847 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
848 | i387_supply_fsave. | |
849 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
850 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
851 | i387supply_fsave and i387_supply_fxsave. | |
852 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
853 | Incorporate code from `i387_supply_register. | |
854 | (i387_supply_register): Remove. | |
855 | (i387_supply_fxsave): Add `regnum' argument. | |
856 | Update comments. | |
857 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
858 | prototype. | |
859 | (i387_supply_register): remove prototype. | |
860 | Update comments. | |
861 | ||
4be5d520 MC |
862 | 2003-08-22 Michael Chastain <[email protected]> |
863 | ||
864 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
865 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
866 | still not 8.3 unique. | |
867 | ||
7ed85d26 DJ |
868 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
869 | ||
870 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
871 | TYPE_VPTR_FIELDNO is valid. | |
872 | ||
eb0d3137 MK |
873 | 2003-08-19 Mark Kettenis <[email protected]> |
874 | ||
875 | * utils.c (set_width_command): Remove prototypes. | |
876 | (set_screen_size): New prototype. | |
877 | (init_page_info): Simplify by fetching the screen size from | |
878 | Readline. Call set_screen_size. | |
879 | (set_screen_size): New function. | |
880 | (set_width): Add missing whitespace in comment. | |
881 | (set_width_command): Call set_screen_size. | |
882 | (set_height_command): New function. | |
883 | (initialize_utils): Fix formatting. Make "set height" command | |
884 | call set_height_command. Remove redundant code that turns off | |
885 | pagination if output isn't a terminal. Remove redundant call to | |
886 | set_width_command. | |
887 | ||
7e6d0ac8 MK |
888 | 2003-08-22 Mark Kettenis <[email protected]> |
889 | ||
3567a8ea MK |
890 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
891 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
892 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
893 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
894 | `case' keyword. | |
895 | (sparc64_register_info): Give the reister with number | |
896 | SPARC64_STATE_REGNUM a name. | |
897 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
898 | %asi and %ccr. | |
899 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
900 | stcak alignment. | |
901 | (sparc_software_single_step): Remove assertions that check whether | |
902 | NPC and NNPC were zero. | |
903 | (sparc_supply_rwindow): Make public. Merge functionality with | |
904 | sparc64_supply_rwindow. | |
905 | (sparc_fill_rwindow): Make public. Merge functionality with | |
906 | sparc64_fill_rwindow. | |
907 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
908 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
909 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
910 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
911 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
912 | ||
7e6d0ac8 MK |
913 | * reggroups.c: Add whitespace after declarations of local |
914 | variables in functions. | |
915 | ||
72e5f484 MC |
916 | 2003-08-21 Michael Chastain <[email protected]> |
917 | ||
918 | * gdbtypes.h: Change array bound type from an int to enum. | |
919 | ||
435ac228 AC |
920 | 2003-08-21 Andrew Cagney <[email protected]> |
921 | ||
922 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
923 | * config/sparc/tm-sparc.h: Ditto. | |
924 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
925 | unconditionally. | |
926 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
927 | ||
0d0e1a63 MK |
928 | 2003-07-13 Mark Kettenis <[email protected]> |
929 | ||
930 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
931 | (register_objfile_data, set_objfile_data, objfile_data): New | |
932 | prototypes. | |
933 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
934 | prototypes. | |
935 | (allocate_objfile): Call objfile_alloc_data. | |
936 | (free_objfile): Call objfile_free_data. | |
937 | (struct objfile_data): New. | |
938 | (struct objfile_data_registration): New. | |
939 | (struct objfile_data_registry): New. | |
940 | (objfile_data_registry): New variable. | |
941 | (register_objfile_data): New function. | |
942 | (objfile_alloc_data, objfile_free_data): New functions. | |
943 | (set_objfile_data, objfile_data): New functions. | |
944 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
945 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
946 | (_initialize_dwarf2_frame): New function and prototype. | |
947 | ||
d90cf509 AC |
948 | 2003-08-21 Andrew Cagney <[email protected]> |
949 | ||
950 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
951 | a specific architecture. | |
952 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
953 | declaration. | |
954 | (target_architecture_hook): Delete declaration. | |
955 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
956 | (default_float_format): Assume GDB_MULTI_ARCH. | |
957 | (default_double_format): Assume GDB_MULTI_ARCH. | |
958 | (set_endian_from_file): Delete function. | |
959 | (arch_ok): Delete function. | |
960 | (set_arch): Delete function. | |
961 | (set_architecture_from_arch_mach): Delete function. | |
962 | (set_architecture_from_file): Delete function. | |
963 | (set_architecture): Assume GDB_MULTI_ARCH. | |
964 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
965 | ||
8b39fe56 MK |
966 | 2003-08-21 Mark Kettenis <[email protected]> |
967 | ||
968 | Rewrite FreeBSD/sparc64 native configuration. | |
969 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
970 | * sparc64fbsd-nat.c: New file. | |
971 | * sparc64fbsd-tdep.c: New file. | |
972 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
973 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
974 | sparc64fbsd-tdep.o): New dependencies. | |
975 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
976 | and sparc64fbsd-tdep.c. | |
977 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
978 | * config/sparc/fbsd.mh: Remove copyright notice. | |
979 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
980 | sparcbsd-nat.o. | |
981 | * config/sparc/fbsd.mt: Remove copyright notice. | |
982 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
983 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
984 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
985 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
986 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
987 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
988 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
989 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
990 | "sparc/tm-sp64.h". | |
991 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
992 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
993 | ||
a7f19c79 MC |
994 | 2003-08-21 Michael Chastain <[email protected]> |
995 | ||
996 | * symtab.h: Add doco on the space critical structures and | |
997 | some measurements of space usage. | |
998 | ||
da08ea5b MS |
999 | 2003-08-21 Michael Snyder <[email protected]> |
1000 | ||
1001 | * tracepoint.c (trace_dump_command): Trace break address | |
1002 | is subject to DECR_PC_AFTER_BREAK. | |
1003 | (set_traceframe_context): Make "trace_line" an int. | |
1004 | Fixes suggested by Mark Newman <[email protected]> | |
1005 | ||
6df2bf50 MS |
1006 | 2003-08-20 Michael Snyder <[email protected]> |
1007 | ||
1008 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
1009 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
1010 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
1011 | argument passing. | |
1012 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
1013 | functions, replace sh_push_dummy_call. | |
1014 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
1015 | ||
0955bbf0 MC |
1016 | 2003-08-20 Michael Chastain <[email protected]> |
1017 | ||
1018 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
1019 | ||
260a4188 MS |
1020 | 2003-08-20 Michael Snyder <[email protected]> |
1021 | ||
1022 | * trad-frame.c: Comment typo fix. | |
1023 | ||
8baa6f92 KB |
1024 | 2003-08-20 Michael Snyder <[email protected]> |
1025 | Kevin Buettner <[email protected]> | |
1026 | ||
1027 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
1028 | (frv_frame_init_saved_regs): Add declaration. | |
1029 | (frame_extra_info): Add new field ``saved_regs''. | |
1030 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
1031 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
1032 | Update frame related code. | |
1033 | (frv_extract_struct_value_address): Adjust formatting. | |
1034 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1035 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
1036 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
1037 | (target_remove_hw_breakpoint): Delete these macros. | |
1038 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
1039 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
1040 | these declarations. | |
1041 | ||
87193939 MC |
1042 | 2003-08-20 Michael Chastain <[email protected]> |
1043 | ||
1044 | * defs.h (ENUM_BITFIELD): New macro. | |
1045 | * symtab.h (ENUM_BITFIELD): Use it. | |
1046 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
1047 | ||
062103ba SA |
1048 | 2003-08-19 Shrinivas Atre <[email protected]> |
1049 | ||
1050 | * MAINTAINERS (write after approval): Add myself. | |
1051 | ||
8b148df9 AC |
1052 | 2003-08-18 Andrew Cagney <[email protected]> |
1053 | ||
1054 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
1055 | * gdbarch.h, gdbarch.c: Re-generate. | |
1056 | * infcall.c (call_function_by_hand): Adjust the SP by | |
1057 | frame_red_zone_size before allocating any stack space. | |
1058 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
1059 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
1060 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
1061 | ||
1062 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
1063 | Remove code adjusting SP so that it skips over the Red Zone. | |
1064 | ||
954a4db8 MK |
1065 | 2003-08-18 Mark Kettenis <[email protected]> |
1066 | ||
1067 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
1068 | ||
1a241548 AC |
1069 | 2003-08-18 Andrew Cagney <[email protected]> |
1070 | ||
1071 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
1072 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
1073 | "m68k_frame_p". | |
1074 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
1075 | ||
f82b2acd MK |
1076 | 2003-08-18 Mark Kettenis <[email protected]> |
1077 | ||
1078 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
1079 | ||
4056d258 ML |
1080 | 2003-08-18 Michal Ludvig <[email protected]> |
1081 | ||
1082 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
1083 | Define. | |
1084 | * i386-linux-nat.c: Include "linux-nat.h". | |
1085 | (child_post_startup_inferior): New function. | |
1086 | ||
99ab4326 MK |
1087 | 2003-08-18 Mark Kettenis <[email protected]> |
1088 | ||
1089 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
1090 | at the start of a frameless function. This probably fixes PR | |
1091 | backtrace/1338. | |
1092 | ||
c8d5f0d6 MC |
1093 | 2003-08-17 Michael Chastain <[email protected]> |
1094 | ||
1095 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
1096 | ||
9016a515 DJ |
1097 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1098 | ||
1099 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
1100 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
1101 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
1102 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
1103 | (linux_supports_tracevforkdone): New function. | |
1104 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
1105 | TRACEVFORKDONE. | |
1106 | (child_follow_fork): Handle vfork. | |
1107 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
1108 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
1109 | * NEWS: Mention fork tracing. | |
1110 | ||
c538c11c DJ |
1111 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1112 | ||
1113 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
1114 | ||
4de4c07c DJ |
1115 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1116 | ||
1117 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
1118 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
1119 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
1120 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
1121 | * i386-linux-nat.c: Include "linux-nat.h". | |
1122 | (child_post_startup_inferior): New function. | |
1123 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
1124 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
1125 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
1126 | attaching to each LWP. | |
1127 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
1128 | (init_lin_lwp_ops): Fill in some more operations. | |
1129 | * linux-nat.h (linux_enable_event_reporting) | |
1130 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
1131 | prototypes. | |
1132 | * linux-nat.c (linux_enable_event_reporting): New function. | |
1133 | (child_post_attach, linux_child_post_startup_inferior) | |
1134 | (child_post_startup_inferior, child_follow_fork) | |
1135 | (linux_handle_extended_wait, kill_inferior): New functions. | |
1136 | ||
7996bcec AC |
1137 | 2003-08-16 Andrew Cagney <[email protected]> |
1138 | ||
1139 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
1140 | * gdbarch.h, gdbarch.c: Re-generate. | |
1141 | ||
3d48a7a0 MK |
1142 | 2003-08-16 Mark Kettenis <[email protected]> |
1143 | ||
1144 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
1145 | ||
7989c619 AC |
1146 | 2003-08-16 Andrew Cagney <[email protected]> |
1147 | ||
1148 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
1149 | * top.c (get_prompt_1): Delete function. | |
1150 | (gdb_prompt_escape): | |
1151 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
1152 | prompt-escape-char" command. | |
1153 | (MAX_PROMPT_SIZE): Delete macro. | |
1154 | (get_prompt): Simplify, do not call get_prompt_1. | |
1155 | ||
07978cd8 AC |
1156 | 2003-08-16 Andrew Cagney <[email protected]> |
1157 | ||
1158 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
1159 | -Werror. -Wformat-nonliteral problems. | |
1160 | ||
3ff7cf9e JB |
1161 | 2003-08-15 J. Brobecker <[email protected]> |
1162 | ||
1163 | Further multiarching work mostly for hppa64-*-hpux11: | |
1164 | * hppa-tdep.h: New file. | |
1165 | * hppa-tdep.c: #include hppa-tdep.c. | |
1166 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
1167 | (hppa64_num_regs): New constant. | |
1168 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
1169 | (hppa32_call_dummy_length): New constant. | |
1170 | (hppa64_call_dummy_length): New constant. | |
1171 | (hppa32_stack_align): Make name 32bit explicit. | |
1172 | (hppa32_register_virtual_type): Likewise. | |
1173 | (hppa32_extract_return_value): Likewise. | |
1174 | (hppa32_use_struct_convention): Likewise. | |
1175 | (hppa32_store_return_value): Likewise. | |
1176 | (hppa64_register_virtual_type): New function. | |
1177 | (hppa64_extract_return_value): New function. | |
1178 | (hppa64_use_struct_convention): New function. | |
1179 | (hppa64_store_return_value): New function. | |
1180 | (hppa_frame_locals_address): Remove declaration, function does | |
1181 | not exist anymore. | |
1182 | (hppa_register_byte): Add support for PA64 ABI. | |
1183 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
1184 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
1185 | Make name 32bit explicit. | |
1186 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
1187 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
1188 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
1189 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
1190 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
1191 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
1192 | necessary now that the gdbarch vector is properly setup. | |
1193 | Transform some macros into function calls. Some minor cleanup. | |
1194 | * config/pa/tm-hppah.h: Update function calls in macros | |
1195 | following the function renaming in hppa-hpux-tdep.c. | |
1196 | * Makefile.in (hppa_tdep_h): New variable. | |
1197 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
1198 | ||
5d05ca6d MS |
1199 | 2003-08-14 Michael Snyder <[email protected]> |
1200 | ||
1201 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
1202 | ||
37ba2569 JB |
1203 | 2003-08-13 J. Brobecker <[email protected]> |
1204 | ||
1205 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
1206 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
1207 | routine. | |
1208 | ||
aed7f26a MS |
1209 | 2003-08-13 Michael Snyder <[email protected]> |
1210 | ||
1211 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
1212 | (frv_saved_pc_after_call): Use deprecated ftype. | |
1213 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
1214 | (frv_remote_translate_xfer_address): Remove. | |
1215 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
1216 | ||
752d4ac1 JB |
1217 | 2003-08-13 J. Brobecker <[email protected]> |
1218 | ||
1219 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
1220 | initialization after the common gdbarch initialization, not before. | |
1221 | ||
1426ac1d JB |
1222 | 2003-08-13 J. Brobecker <[email protected]> |
1223 | ||
1224 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
1225 | (ADDR_BITS_REMOVE): Remove, redundant. | |
1226 | ||
b6fbdd1d JB |
1227 | 2003-08-13 J. Brobecker <[email protected]> |
1228 | ||
1229 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
1230 | gdbarch method to clear the 2 low bits of text addresses. | |
1231 | ||
44160db3 AC |
1232 | 2003-08-12 Andrew Cagney <[email protected]> |
1233 | ||
1234 | * Makefile.in (dsrec.o): Update dependencies. | |
1235 | * dsrec.c: Include "gdb_assert.h". | |
1236 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
1237 | string. | |
1238 | ||
bcf7d3ca AC |
1239 | 2003-08-12 Andrew Cagney <[email protected]> |
1240 | ||
1241 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
1242 | FRAME_OBSTACK_ZALLOC. | |
1243 | ||
49ed40de KB |
1244 | 2003-08-12 Kevin Buettner <[email protected]> |
1245 | ||
1246 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
1247 | SSE registers. | |
1248 | ||
b246147c MK |
1249 | 2003-08-10 Mark Kettenis <[email protected]> |
1250 | ||
1251 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
1252 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
1253 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
1254 | declarations. | |
1255 | ||
d95fdc0d BE |
1256 | 2003-08-11 Ben Elliston <[email protected]> |
1257 | ||
1258 | * MAINTAINERS (write after approval): Update my mail address. | |
1259 | ||
cf6a0e73 AC |
1260 | 2003-08-10 Andrew Cagney <[email protected]> |
1261 | ||
1262 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
1263 | ||
f837910f MK |
1264 | 2003-08-10 Mark Kettenis <[email protected]> |
1265 | ||
e2dbbd2d MK |
1266 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
1267 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
1268 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
1269 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
1270 | i386bsd_sc_reg_offset): Add extern declarations. | |
1271 | * i386obsd-nat.c: Include "i386-tdep.h" | |
1272 | (_initialize_i386obsd_nat): Remove extern declarations. | |
1273 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
1274 | declarations. | |
1275 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
1276 | declarations. | |
1277 | ||
f837910f MK |
1278 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
1279 | instead of frame_read_register. | |
1280 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
1281 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
1282 | SP_REGNUM. | |
1283 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
1284 | instead of frame_unwind_unsigned_register. Use | |
1285 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
1286 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
1287 | instead of read_register. Use builtin_type_void_data_ptr instead | |
1288 | of builtin_type_void_func_ptr when extracting the address of the | |
1289 | jmp_buf. | |
1290 | (i386_extract_return_value, i386_store_return_value, | |
1291 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
1292 | register_size instead REGISTER_RAW_SIZE. | |
1293 | ||
edcf254d AC |
1294 | 2003-08-10 Andrew Cagney <[email protected]> |
1295 | ||
1296 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
1297 | sprintf. Make "name" constant. | |
1298 | ||
26604a34 MK |
1299 | 2003-08-10 Mark Kettenis <[email protected]> |
1300 | ||
192285c6 MK |
1301 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
1302 | instead of frame_read_register. | |
f837910f MK |
1303 | (i387_print_float_info): Use get_frame_register and |
1304 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 1305 | |
f0925262 MK |
1306 | * i386fbsd-nat.c: Include "i386-tdep.h". |
1307 | (child_resume): Make `eflags' an ULONGEST. Use | |
1308 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
1309 | instead of register_read and register_write. | |
1310 | ||
a144416f MK |
1311 | * i386bsd-nat.c (fetch_inferior_registers, |
1312 | store_inferior_registers): Don't use && at the end of a line. | |
1313 | (_initialize_i386bsd_nat): Fix typo. | |
1314 | ||
fec74868 MK |
1315 | * frame.c (_initialize_frame): Add missing backslash. |
1316 | ||
87232496 MK |
1317 | From Peter Schauer ([email protected]): |
1318 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
1319 | and supply_register instead of manipulating the register buffer | |
1320 | directly. | |
1321 | ||
c9b9de0b MK |
1322 | From Peter Schauer ([email protected]): |
1323 | * config/i386/nm-i386sol2.h | |
1324 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
1325 | ||
26604a34 MK |
1326 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
1327 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
1328 | instructions that GCC likes to mingle into the prologue. Fixes | |
1329 | gdb/1253 and gdb/1255. | |
1330 | ||
25d29d70 AC |
1331 | 2003-08-09 Andrew Cagney <[email protected]> |
1332 | ||
1333 | Fix GDB PR cli/926. | |
1334 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
1335 | * command.h (add_setshow_uinteger_cmd): Declare. | |
1336 | * frame.c (set_backtrace_cmd): New function. | |
1337 | (show_backtrace_cmd): New function. | |
1338 | * frame.c (_initialize_frame): Replace "set/show | |
1339 | backtrace-below-main" with "set/show backtrace past-main". Add | |
1340 | command "set/show backtrace limit". | |
1341 | (backtrace_past_main): Rename "backtrace_below_main". | |
1342 | (backtrace_limit): New variable. | |
1343 | (get_prev_frame): Update. Check the backtrace_limit. | |
1344 | ||
9ebf4acf AC |
1345 | 2003-08-09 Andrew Cagney <[email protected]> |
1346 | ||
1347 | * defs.h (xstrprintf): Declare. | |
1348 | * utils.c (xstrprintf): New function. | |
1349 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
1350 | non-literal format strings, with xstrprintf and cleanups. | |
1351 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
1352 | (commands_command, insert_breakpoints): Ditto. | |
1353 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
1354 | (break_at_finish_command_1): Ditto. | |
1355 | ||
3771659b AC |
1356 | 2003-08-09 Andrew Cagney <[email protected]> |
1357 | ||
1358 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
1359 | maintainer. | |
1360 | ||
b4263afa JB |
1361 | 2003-08-08 J. Brobecker <[email protected]> |
1362 | ||
1363 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
1364 | are now multiarched. | |
1365 | ||
d84defb1 JB |
1366 | 2003-08-08 J. Brobecker <[email protected]> |
1367 | ||
1368 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
1369 | longer necessary now that hppa64 is partially multiarch'ed. | |
1370 | ||
f786f615 AC |
1371 | 2003-08-08 Andrew Cagney <[email protected]> |
1372 | ||
1373 | * interps.c (interp_set): Check for a NULL "old_interp". | |
1374 | ||
c938e9b0 L |
1375 | 2003-08-08 H.J. Lu <[email protected]> |
1376 | ||
1377 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
1378 | (install-only): Support DESTDIR. | |
1379 | (uninstall): Likewise. | |
1380 | (install-gdbtk): Likewise. | |
1381 | ||
9a146a11 EZ |
1382 | 2003-08-08 Elena Zannoni <[email protected]> |
1383 | ||
1384 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
1385 | contains something meaningful at all times. | |
1386 | ||
1387 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 1388 | |
62599e99 | 1389 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 1390 | |
56296155 BC |
1391 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
1392 | ||
62599e99 | 1393 | * MAINTAINERS (write after approval): Added self. |
56296155 | 1394 | |
9710e734 AC |
1395 | 2003-08-07 Andrew Cagney <[email protected]> |
1396 | ||
1397 | * inferior.h (AT_SYMBOL): Define. | |
1398 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
1399 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
1400 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
1401 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
1402 | set call_dummy_address. | |
1403 | ||
98b3ab73 AC |
1404 | 2003-08-07 Andrew Cagney <[email protected]> |
1405 | ||
1406 | * language.c (op_error): Delete function. | |
1407 | (binop_type_check): Delete function. | |
1408 | * language.h (type_op_error, range_op_error): Delete macros. | |
1409 | (op_error): Delete declaration. | |
1410 | ||
2fcf52f0 AC |
1411 | 2003-08-07 Andrew Cagney <[email protected]> |
1412 | ||
1413 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
1414 | ||
abd4220e | 1415 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 1416 | |
abd4220e | 1417 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 1418 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 1419 | |
9dd5f34f AC |
1420 | 2003-08-05 Andrew Cagney <[email protected]> |
1421 | ||
1422 | * reggroups.c (reggroup_next): Check for the final entry. | |
1423 | ||
e5e78edc AC |
1424 | 2003-08-04 Andrew Cagney <[email protected]> |
1425 | ||
ab4e3d93 AC |
1426 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
1427 | * cli/cli-script.c (define_command): Call query directly, instead | |
1428 | of passing it a buffer. | |
1429 | * ocd.c (ocd_error): Pass error a constant format string. | |
1430 | * remote-mips.c (mips_error): Use fputs_filtered. | |
1431 | ||
1062ca82 AC |
1432 | * solib-svr4.c (_initialize_svr4_solib): Update |
1433 | register_gdbarch_data call. | |
1434 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
1435 | ||
fcc1c85c AC |
1436 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
1437 | (register_gdbarch_data): Delete "free" parameter. Update | |
1438 | comments. | |
1439 | * gdbarch.h, gdbarch.c: Re-generate. | |
1440 | * reggroups.c (_initialize_reggroup): Update. | |
1441 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
1442 | * frame-base.c (_initialize_frame_base): Update. | |
1443 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
1444 | * user-regs.c (_initialize_user_regs): Update. | |
1445 | * remote.c (_initialize_remote): Update. | |
1446 | * regcache.c (_initialize_regcache): Update. | |
1447 | ||
116f06ea AC |
1448 | * regcache.c (xfree_regcache_descr): Delete function. |
1449 | (_initialize_regcache): Update call to register_gdbarch_data. | |
1450 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
1451 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
1452 | ||
e5e78edc AC |
1453 | * remote.c (free_remote_state): Delete function. |
1454 | (_initialize_remote): Update register_gdbarch_data. | |
1455 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
1456 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
1457 | ||
6c7d17ba AC |
1458 | 2003-08-04 Andrew Cagney <[email protected]> |
1459 | ||
1460 | * reggroups.c (struct reggroup_el): Define. | |
1461 | (struct reggroups): Delete field "nr_group". Replace array | |
1462 | "group" with a "first" to "last" linked list. | |
1463 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
1464 | (reggroups_free): Delete function. | |
1465 | (add_group): Update. Add "el" parameter. | |
1466 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
1467 | (default_groups): Update. | |
1468 | (reggroup_next): Replace reggroups. | |
1469 | (reggroups_dump): Update. | |
1470 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
1471 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
1472 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
1473 | ||
89b7795b DJ |
1474 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
1475 | ||
1476 | * Makefile.in (tui-interp.o): Update dependencies. | |
1477 | ||
306d9ac5 DC |
1478 | 2003-08-04 David Carlton <[email protected]> |
1479 | ||
1480 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
1481 | to internal_error call. | |
1482 | * source.c (forward_search_command): Add "%s" format argument. | |
1483 | (reverse_search_command): Ditto. | |
1484 | * top.c (quit_confirm): Ditto. | |
1485 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
1486 | * cp-valprint.c (cp_print_class_method): Replace | |
1487 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
1488 | (cp_print_class_member): Ditto. | |
1489 | * event-top.c (command_line_handler): Ditto. | |
1490 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
1491 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
1492 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
1493 | (pascal_object_print_class_member): Ditto. | |
1494 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
1495 | * remote.c (remote_cisco_section_offsets): Ditto. | |
1496 | * top.c (command_line_input): Ditto. | |
1497 | * utils.c (vwarning,error_stream,quit): Ditto. | |
1498 | * valprint.c (print_floating,print_binary_chars) | |
1499 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
1500 | ||
57bfe177 AC |
1501 | 2003-08-04 Andrew Cagney <[email protected]> |
1502 | ||
1503 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
1504 | ||
e546b999 AC |
1505 | 2003-08-02 Andrew Cagney <[email protected]> |
1506 | ||
1507 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
1508 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
1509 | amd64fbsd-nat.c. | |
1510 | ||
91092ee5 AC |
1511 | 2003-08-02 Andrew Cagney <[email protected]> |
1512 | ||
1513 | * Makefile.in: Update all dependencies and definitions. | |
1514 | ||
889f28e2 AF |
1515 | 2003-08-02 Adam Fedor <[email protected]> |
1516 | ||
1517 | * linespec.c (is_objc_method_format): New function | |
1518 | (decode_line_1, locate_first_half): Use it. | |
1519 | Fixes PR objc/1298 | |
1520 | ||
880bc914 AC |
1521 | 2003-08-01 Andrew Cagney <[email protected]> |
1522 | ||
1523 | * NEWS: Mention that m32r is multi-arch. | |
1524 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
1525 | * configure.tgt: Recognize m32r-*-*. | |
1526 | * config/m32r/tm-m32r.h: Delete file. | |
1527 | * config/m32r/m32r.mt: New file. | |
1528 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
1529 | gethostname succeeds, in order to avoid a compilation | |
1530 | warning. | |
1531 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
1532 | compiler warning. | |
1533 | ||
19f59343 MS |
1534 | 2003-08-01 Michael Snyder <[email protected]> |
1535 | ||
1536 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
1537 | (sh_gdbarch_init): Set up frame_align method. | |
1538 | ||
4e7d7511 MS |
1539 | 2003-07-31 Michael Snyder <[email protected]> |
1540 | ||
1541 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
1542 | which is already covered by the new frames infrastructure. | |
1543 | ||
63022984 AC |
1544 | 2003-07-31 Andrew Cagney <[email protected]> |
1545 | ||
1546 | * user-regs.c (struct user_reg): Add "next" link. | |
1547 | (struct user_regs): Replace "user" with "first" and "last" links. | |
1548 | (append_user_reg): Add pre-allocated "reg" parameter. | |
1549 | (builtin_user_regs): Provide initial value for "last". | |
1550 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
1551 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
1552 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
1553 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
1554 | linked list. | |
1555 | (usernum_to_user_reg): New function. | |
1556 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
1557 | (value_of_user_reg): Use usernum_to_user_reg. | |
1558 | (user_regs_free): Delete function. | |
1559 | (_initialize_user_regs): Update register_gdbarch_data call. | |
1560 | ||
7cf6e574 DJ |
1561 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
1562 | ||
1563 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
1564 | ||
c48a845b MS |
1565 | 2003-07-30 Michael Snyder <[email protected]> |
1566 | ||
4e7d7511 | 1567 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
1568 | * infcall.c (call_function_by_hand): Pass struct_addr to |
1569 | value_being_returned. | |
1570 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
1571 | * values.c (value_being_returned): If struct_addr is passed, | |
1572 | use it instead of trying to recover it from the inferior. | |
1573 | ||
f0d8db19 KB |
1574 | 2003-07-30 Kevin Buettner <[email protected]> |
1575 | ||
1576 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
1577 | the prologue analyzer won't need to attempt to extract the pc | |
1578 | value from the woefully incomplete dummy frame. | |
1579 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
1580 | possible. Disable code which modifies the frame. | |
1581 | ||
e5c113a1 AC |
1582 | 2003-07-28 Andrew Cagney <[email protected]> |
1583 | ||
1584 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
1585 | to level 2. | |
1586 | (annotate_breakpoints_table, annotate_record): Ditto. | |
1587 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
1588 | (annotate_field_name_end, annotate_field_value): Ditto. | |
1589 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
1590 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
1591 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
1592 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
1593 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
1594 | (annotate_frame_args, annotate_frame_end): Ditto. | |
1595 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
1596 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
1597 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
1598 | (annotate_function_call, annotate_signal_name): Ditto. | |
1599 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
1600 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
1601 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
1602 | (annotate_value_history_end, annotate_value_end): Ditto. | |
1603 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
1604 | (annotate_display_format, annotate_display_expression): Ditto. | |
1605 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
1606 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
1607 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
1608 | (annotate_elt, annotate_array_section_end): Ditto. | |
1609 | ||
bb1db049 AC |
1610 | 2003-07-28 Andrew Cagney <[email protected]> |
1611 | ||
1612 | * regcache.c (struct regcache_descr): Update comments on | |
1613 | nr_raw_registers. | |
1614 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
1615 | sizeof_raw_register_valid_p. | |
1616 | (init_regcache_descr): Set nr_raw_registers and | |
1617 | sizeof_raw_register_valid_p before calling | |
1618 | init_legacy_regcache_descr. | |
1619 | ||
20e6603c AC |
1620 | 2003-07-28 Andrew Cagney <[email protected]> |
1621 | ||
1622 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
1623 | MOD NUM_REGS. | |
1624 | ||
db742940 DJ |
1625 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
1626 | ||
1627 | * thread.c (info_threads_command): Use get_selected_frame (). | |
1628 | Check that there is at least one non-sentinel frame. | |
1629 | ||
ce7f4371 SC |
1630 | 2003-07-27 Stephane Carrez <[email protected]> |
1631 | ||
1632 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
1633 | (m68hc11_pop_frame): Remove. | |
1634 | (m68hc11_frame_saved_pc): Remove. | |
1635 | (m68hc11_frame_chain): Remove. | |
1636 | (m68hc11_frame_init_saved_regs): Remove. | |
1637 | (m68hc11_init_extra_frame_info): Remove. | |
1638 | (m68hc11_store_struct_return): Remove. | |
1639 | (m68hc11_saved_pc_after_call): Remove. | |
1640 | ||
1ea653ae SC |
1641 | 2003-07-27 Stephane Carrez <[email protected]> |
1642 | ||
1643 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
1644 | frame unwind information. | |
1645 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
1646 | and adapted for frame unwinding. | |
1647 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
1648 | (m68hc11_unwind_pc): New function. | |
1649 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
1650 | (m68hc11_frame_this_id): New function to create new frame struct. | |
1651 | (m68hc11_frame_prev_register): New function to unwind a register from | |
1652 | the frame. | |
1653 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
1654 | (m68hc11_frame_p): New function for the above. | |
1655 | (m68hc11_frame_base_address): New function to return fp of frame. | |
1656 | (m68hc11_frame_args_address): Update for frame. | |
1657 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
1658 | (m68hc11_unwind_sp): New function. | |
1659 | (m68hc11_unwind_dummy_id): New function. | |
1660 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
1661 | calls. | |
1662 | ||
c8a7f6ac SC |
1663 | 2003-07-27 Stephane Carrez <[email protected]> |
1664 | ||
1665 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
1666 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
1667 | when we are beyond the current pc. | |
1668 | ||
3dc990bf SC |
1669 | 2003-07-27 Stephane Carrez <[email protected]> |
1670 | ||
1671 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
1672 | from m68hc11_push_arguments. | |
1673 | (m68hc11_push_arguments): Remove. | |
1674 | (m68hc11_push_return_address): Remove. | |
1675 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
1676 | handlers; remove deprecated_extra_stack_alignment_needed. | |
1677 | ||
222e5d1d AC |
1678 | 2003-07-27 Andrew Cagney <[email protected]> |
1679 | ||
1680 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
1681 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
1682 | REAL_PC and not the pointer. | |
1683 | * hppa-hpux-tdep.c: Include frame.h | |
1684 | ||
a7e9a47e AC |
1685 | 2003-07-27 Andrew Cagney <[email protected]> |
1686 | ||
1687 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
1688 | GDB_MULTI_ACH_PARTIAL. | |
1689 | ||
7e3dd49e AC |
1690 | 2003-07-27 Andrew Cagney <[email protected]> |
1691 | ||
1692 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
1693 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
1694 | operator at start and not end of line. | |
1695 | (decode_prologue): Ditto. | |
1696 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
1697 | frame_unwind_register_unsigned instead of | |
1698 | frame_unwind_unsigned_register. | |
1699 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
1700 | read_register. | |
1701 | (m32r_push_dummy_call): Use register_size instead of | |
1702 | REGISTER_RAW_SIZE. | |
1703 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
1704 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
1705 | * m32r-rom.c (report_transfer_performance): Delete extern | |
1706 | declaration. | |
1707 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
1708 | instead of report_transfer_performance. | |
1709 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
1710 | / add_show_from_set. | |
1711 | ||
0880807f AC |
1712 | 2003-07-26 Andrew Cagney <[email protected]> |
1713 | ||
1714 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
1715 | store_return_value and extract_struct_value_address. | |
1716 | ||
64ae9269 DJ |
1717 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
1718 | ||
1719 | PR c++/1267 | |
1720 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
1721 | NULL, default to the section containing PC. | |
1722 | ||
e286caf2 SC |
1723 | 2003-07-24 Stephane Carrez <[email protected]> |
1724 | ||
1725 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
1726 | ||
1727 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
1728 | (m68hc11_print_register): New function to print out one register. | |
1729 | (m68hc11_print_registers_info): New function to print registers. | |
1730 | (show_regs): Deprecate and use the above. | |
1731 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
1732 | ||
705b278b JJ |
1733 | 2003-07-24 Jeff Johnston <[email protected]> |
1734 | ||
1735 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
1736 | that we have a SIGTRAP before returning non-zero. | |
1737 | ||
63cd4198 EZ |
1738 | 2003-07-23 Michal Ludvig <[email protected]> |
1739 | Elena Zannoni <[email protected]> | |
1740 | ||
1741 | * linespec.c (decode_line_2): Avoid crash if | |
1742 | find_function_start_sal() returns empty record. | |
1743 | ||
6926787d AS |
1744 | 2003-07-23 Andreas Schwab <[email protected]> |
1745 | ||
1746 | * ia64-tdep.c (ia64_print_insn): New function. | |
1747 | (ia64_gdbarch_init): Set print_insn to it. | |
1748 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
1749 | deprecated_tm_print_insn_info. | |
1750 | ||
708cc1b6 MS |
1751 | 2003-07-22 Michael Snyder <[email protected]> |
1752 | ||
1753 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
1754 | handle 8-bit returns (long long). | |
1755 | (h8300h_extract_return_value): Ditto. | |
1756 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
1757 | ||
aebd7893 AC |
1758 | 2003-07-22 Andrew Cagney <[email protected]> |
1759 | ||
1760 | * gdbarch.c Include "gdb_obstack.h". | |
1761 | (struct gdbarch): Add an "obstack". | |
1762 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
1763 | GDBARCH_OBSTACK_CALLOC. | |
1764 | (free_gdbarch_data): Delete function. | |
1765 | (gdbarch_obstack_zalloc): New function. | |
1766 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
1767 | Assert that the architecture is not initialized. | |
1768 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
1769 | vector from the obstack. | |
1770 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
1771 | architecture obstack. | |
1772 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
1773 | (set_gdbarch_data): Assert that the data is not initialized. | |
1774 | (struct gdbarch_data): Delete member "free". | |
1775 | (register_gdbarch_data): Do not initialize "free". | |
1776 | * gdbarch.h, gdbarch.c: Re-generate. | |
1777 | ||
153721e6 AC |
1778 | 2003-07-22 Andrew Cagney <[email protected]> |
1779 | ||
1780 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
1781 | * configure: Re-generate. | |
1782 | ||
c193f044 | 1783 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
1784 | |
1785 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 1786 | |
c3228f12 EZ |
1787 | 2003-07-22 Elena Zannoni <[email protected]> |
1788 | ||
1789 | * findvar.c (read_var_value): Remove case for thread local storage | |
1790 | variables. It is now entirely handled by the dwarf2 location | |
1791 | expression code. | |
1792 | * printcmd.c (address_info): Ditto. | |
1793 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
1794 | enumeration value. | |
1795 | (struct symbol): Remove objfile field, which was used by | |
1796 | LOC_THREAD_LOCAL_STATIC only. | |
1797 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
1798 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
1799 | usage of objfile pointer. | |
1800 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
1801 | thread local variables. | |
1802 | Add include of objfiles.h. | |
1803 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
1804 | storage variables. | |
1805 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
1806 | ||
aef9bcd2 AC |
1807 | 2003-07-22 Andrew Cagney <[email protected]> |
1808 | ||
1809 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
1810 | get_frame_base. | |
1811 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
1812 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
1813 | (struct value): Add opaque declaration. | |
1814 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
1815 | ||
d95a8903 AC |
1816 | 2003-07-21 Andrew Cagney <[email protected]> |
1817 | ||
1818 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
1819 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
1820 | ||
4db73d49 SC |
1821 | 2003-07-20 Stephane Carrez <[email protected]> |
1822 | ||
1823 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
1824 | regcache_cooked_read_unsigned instead of read_register. | |
1825 | (m68hc11_saved_pc_after_call): Likewise. | |
1826 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
1827 | instead of write_register. | |
1828 | (m68hc11_register_type): New function. | |
1829 | (m68hc11_register_virtual_type): Remove. | |
1830 | (m68hc11_store_return_value): Convert to use the regcache. | |
1831 | (m68hc11_extract_struct_value_address): Likewise. | |
1832 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
1833 | m68hc11_register_type; undeprecate store_return_value and | |
1834 | extract_struct_value_address. | |
1835 | ||
ef2b8fcd SC |
1836 | 2003-07-20 Stephane Carrez <[email protected]> |
1837 | ||
1838 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
1839 | and translate to use regcache. | |
1840 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
1841 | ||
625b0b97 AC |
1842 | 2003-07-18 Andrew Cagney <[email protected]> |
1843 | ||
1844 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
1845 | * gdbarch.h, gdbarch.c: Re-generate. | |
1846 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
1847 | DWARF2_BUILD_FRAME_INFO. | |
1848 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
1849 | unconditionally. | |
1850 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
1851 | DWARF2_BUILD_FRAME_INFO. | |
1852 | ||
22b0d388 AC |
1853 | 2003-07-18 Andrew Cagney <[email protected]> |
1854 | ||
1855 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
1856 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
1857 | ||
1ce5d6dd AC |
1858 | 2003-07-18 Andrew Cagney <[email protected]> |
1859 | ||
1860 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
1861 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
1862 | (dwarf2_frame_cache): Ditto. | |
1863 | ||
e6e5e94c AC |
1864 | 2003-07-18 Andrew Cagney <[email protected]> |
1865 | ||
1866 | * user-regs.h (struct gdbarch): Declare opaque. | |
1867 | * ui-out.h (struct ui_file): Declare opaque. | |
1868 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
1869 | ||
5483d879 KW |
1870 | 2003-07-18 Kris Warkentin <[email protected]> |
1871 | ||
1872 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
1873 | #include "...". | |
1874 | (procfs_meminfo): Change strerror to safe_strerror. | |
1875 | (procfs_can_run): Remove K&R badness. | |
1876 | ||
278a7cf7 MS |
1877 | 2003-07-17 Michael Snyder <[email protected]> |
1878 | ||
1879 | * remote-sim.c: Comment typo fix. | |
1880 | ||
606e3b82 AC |
1881 | 2003-07-17 Andrew Cagney <[email protected]> |
1882 | ||
1883 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
1884 | configure. | |
1885 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
1886 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
1887 | GDB_MULTI_ARCH_PARTIAL. | |
1888 | ||
c43af07c EZ |
1889 | 2003-07-17 Elena Zannoni <[email protected]> |
1890 | ||
1891 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
1892 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
1893 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
1894 | ||
3b85b0f1 TR |
1895 | 2003-07-16 Theodore A. Roth <[email protected]> |
1896 | ||
1897 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
1898 | found. | |
1899 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
1900 | Update a comment. | |
1901 | Save the computed prev_sp. | |
1902 | (avr_saved_regs_unwinder): Remove function. | |
1903 | (avr_frame_prev_register): Use PC unwind logic from | |
1904 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
1905 | ||
336d1bba AC |
1906 | 2003-07-16 Andrew Cagney <[email protected]> |
1907 | ||
1908 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
1909 | (frame_base_append_predicate): Delete declaration. | |
1910 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
1911 | (frame_unwind_append_predicate): Delete declaration. | |
1912 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
1913 | (append_predicate): Delete parameter "p". | |
1914 | (frame_unwind_append_predicate): Delete function. | |
1915 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
1916 | (frame_unwind_free): Delete function. | |
1917 | (_initialize_frame_unwind): Pass NULL as "free" to | |
1918 | register_gdbarch_data. | |
1919 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
1920 | (frame_unwind_find_by_frame): Simplify. | |
1921 | * frame-base.c (struct frame_base_table): Delete field "p". | |
1922 | (append_predicate): Delete parameter "p". | |
1923 | (frame_base_append_predicate): Delete function. | |
1924 | (frame_base_append_sniffer): Update call to append_predicate. | |
1925 | (frame_base_free): Delete function. | |
1926 | (frame_base_find_by_frame): Simplify. | |
1927 | (_initialize_frame_base): Pass NULL as "free" to | |
1928 | register_gdbarch_data. | |
1929 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
1930 | (x86_64_sigtramp_frame_sniffer): Replace | |
1931 | "x86_64_sigtramp_frame_p". | |
1932 | (x86_64_init_abi): Set the frame unwind sniffers. | |
1933 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
1934 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
1935 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
1936 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
1937 | "i386_sigtramp_frame_p". | |
1938 | (i386_frame_sniffer): Replace "i386_frame_p". | |
1939 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
1940 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
1941 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
1942 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
1943 | "alpha_sigtramp_frame_p" | |
1944 | (alpha_heuristic_frame_sniffer): Replace | |
1945 | "alpha_heuristic_frame_p". | |
1946 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
1947 | (alpha_dwarf2_init_abi): Ditto. | |
1948 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
1949 | "alpha_debug_frame_p". | |
1950 | (alpha_mdebug_frame_base_sniffer): Replace | |
1951 | "alpha_mdebug_frame_base_p". | |
1952 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
1953 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
1954 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
1955 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
1956 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
1957 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
1958 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
1959 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
1960 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
1961 | ||
48db5a3c CV |
1962 | 2003-07-16 Michael Snyder <[email protected]> |
1963 | ||
1964 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
1965 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
1966 | will not get the right values. | |
1967 | ||
1968 | 2003-07-16 Corinna Vinschen <[email protected]> | |
1969 | ||
1970 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
1971 | deprecated_store_floating by call to store_typed_floating. | |
1972 | (sh_sh4_register_convert_to_raw): Substitute call to | |
1973 | deprecated_extract_floating by call to extract_typed_floating. | |
1974 | ||
1975 | 2003-07-16 Corinna Vinschen <[email protected]> | |
1976 | ||
1977 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
1978 | ||
1979 | 2003-07-16 Corinna Vinschen <[email protected]> | |
1980 | ||
1981 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
1982 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
1983 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
1984 | as possible. | |
1985 | (do_pseudo_register): Remove. | |
1986 | (sh_push_dummy_code): New function. | |
1987 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
1988 | Only called for sh64 now. | |
1989 | (sh_extract_struct_value_address): Regcache'ify. | |
1990 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
1991 | and accomodate new tasks. | |
1992 | (sh64_push_return_address): Rename from sh_push_return_address. | |
1993 | Only called for sh64 now. | |
1994 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
1995 | Regcache'ify. | |
1996 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
1997 | (sh_default_store_return_value): Ditto. | |
1998 | (sh3e_sh4_store_return_value): Ditto. | |
1999 | (sh_default_register_byte): Remove. | |
2000 | (sh_sh4_register_byte): Remove. | |
2001 | (sh_default_register_raw_size): Remove. | |
2002 | (sh_sh4_register_raw_size): Remove. | |
2003 | (sh_register_virtual_size): Remove. | |
2004 | (sh_sh3e_register_virtual_type): Remove. | |
2005 | (sh_sh3e_register_type): New function. | |
2006 | (sh_sh4_register_virtual_type): Remove. | |
2007 | (sh_sh4_register_type): New function. | |
2008 | (sh_default_register_virtual_type): Remove. | |
2009 | (sh_default_register_type): New function. | |
2010 | (do_fv_register_info): Add parameters to accomodate call from | |
2011 | sh_print_registers_info. | |
2012 | (do_dr_register_info): Ditto. | |
2013 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
2014 | Add parameters to accomodate call from sh_print_registers_info. | |
2015 | (sh_do_fp_register): Ditto. | |
2016 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
2017 | do_fv_register_info and sh_do_fp_register with default parameters. | |
2018 | (sh_do_register): Add parameters to accomodate call from | |
2019 | sh_print_registers_info. | |
2020 | (sh_print_register): Ditto. | |
2021 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
2022 | Add parameters to be used as gdbarch_print_registers_info | |
2023 | implementation. Accomodate removed do_pseudo_register function | |
2024 | pointer. | |
2025 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
2026 | function pointer. Call sh_print_register with default parameters. | |
2027 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
2028 | sh_do_registers_info. | |
2029 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
2030 | detection of deprecated vs. non-deprecated functionality. | |
2031 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
2032 | function pointer assignments by direct function calls. | |
2033 | ||
e8a89fe2 AC |
2034 | 2003-07-15 Andrew Cagney <[email protected]> |
2035 | ||
2036 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
2037 | (frame_register_unwind, create_new_frame): Ditto. | |
2038 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
2039 | (get_frame_base_address): Use frame_base_find_by_frame. | |
2040 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
2041 | (get_frame_args_address): Use frame_base_find_by_frame. | |
2042 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
2043 | (frame_base_append_sniffer): Declare. | |
2044 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
2045 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
2046 | (frame_base_append_sniffer): New function. | |
2047 | (frame_base_append_predicate): Add a NULL sniffer. | |
2048 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
2049 | (struct frame_base_table): Add "sniffer". | |
2050 | (frame_base_free): Free the "sniffer" table. | |
2051 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
2052 | (frame_unwind_append_sniffer): Declare. | |
2053 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2054 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
2055 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
2056 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
2057 | (frame_unwind_init): Update append_predicate call. | |
2058 | (frame_unwind_append_sniffer): New function. | |
2059 | (frame_unwind_append_predicate): Update append_predicate call. | |
2060 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2061 | ||
0714963c AC |
2062 | 2003-07-15 Andrew Cagney <[email protected]> |
2063 | ||
2064 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
2065 | before code inhibiting repeated unwind attempts. Add to | |
2066 | commentary on that test's problems. | |
2067 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
2068 | symbol table. | |
2069 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
2070 | identical. | |
2071 | ||
d9170e22 AC |
2072 | 2003-07-15 Andrew Cagney <[email protected]> |
2073 | ||
2074 | * complaints.c (struct explanation): Define. | |
2075 | (struct complaints): Change type of "explanation" to "struct | |
2076 | explanation". | |
2077 | (symfile_explanations): Convert to a "struct explanation" table. | |
2078 | (vcomplaint): Update. | |
2079 | ||
eba29c8c ML |
2080 | 2003-07-15 Michal Ludvig <[email protected]> |
2081 | ||
2082 | * x86-64-linux-nat.c (regmap): Removed. | |
2083 | (supply_gregset, fill_gregset): Call | |
2084 | x86_64_linux_(fill,supply)_gregset functions. | |
2085 | * x86-64-linux-tdep.c (USER_*): New defines. | |
2086 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
2087 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
2088 | New functions. | |
2089 | (fetch_core_registers): Ditto. | |
2090 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
2091 | * x86-64-linux-tdep.h: New file. | |
2092 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
2093 | and core-regset.o. | |
2094 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
2095 | ||
68cc0bfb MK |
2096 | 2003-07-13 Mark Kettenis <[email protected]> |
2097 | ||
88a115f7 MK |
2098 | * x86-64-tdep.c (x86_64_store_return_value): Use |
2099 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 2100 | |
68cc0bfb MK |
2101 | * configure.host: Add x86_64-*-freebsd*. |
2102 | * configure.tgt: Add x86_64-*-freebsd*. | |
2103 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
2104 | * amd64fbsd-nat.c: New file. | |
2105 | * amd64fbsd-tdep.c: New file. | |
2106 | * config/i386/nm-fbsd64.h: New file. | |
2107 | * config/i386/fbsd64.mh: New file. | |
2108 | * config/i386/fbsd64.mt: New file. | |
2109 | ||
138e7be5 MK |
2110 | 2003-07-11 Mark Kettenis <[email protected]> |
2111 | ||
2112 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
2113 | `sc_regs_offset' and `sc_fpregs_offset'. | |
2114 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
2115 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
2116 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
2117 | `struct gdbarch_tdep'. | |
2118 | (alpha_gdbarch_init): Initialize new members of struct | |
2119 | gdbarch_tdep'. | |
2120 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
2121 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
2122 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
2123 | (alphafbsd_pc_in_sigtramp): Implement. | |
2124 | (alphafbsd_sigtramp_offset): New function. | |
2125 | (alphafbsd_sigcontext_addr): New function. | |
2126 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
2127 | of `struct gdbarch_tdep'. | |
2128 | (_initialize_alphafbsd_tdep): Add prototype. | |
2129 | ||
95303a68 TR |
2130 | 2003-07-11 Theodore A. Roth <[email protected]> |
2131 | ||
ba292e4c TR |
2132 | * Makefile.in (install-only): Quote sed expression when generating |
2133 | transformed_name. | |
95303a68 | 2134 | |
6896c0c7 RH |
2135 | 2003-07-11 Richard Henderson <[email protected]> |
2136 | ||
2137 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
2138 | * dwarf2-frame.c: Include complaints.h. | |
2139 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
2140 | variable initialization; return NULL on error. | |
2141 | (decode_frame_entry): New. | |
2142 | ||
8edd5d01 AC |
2143 | 2003-07-11 Andrew Cagney <[email protected]> |
2144 | ||
c4a09524 AC |
2145 | * frame.h (frame_address_in_block): Delete declaration. |
2146 | * blockframe.c (frame_address_in_block): Delete function. | |
2147 | (get_frame_block): Use get_frame_address_in_block. | |
2148 | (block_innermost_frame): Ditto. | |
2149 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
2150 | ||
8edd5d01 AC |
2151 | * frame.h (get_frame_address_in_block): Declare. |
2152 | (frame_unwind_address_in_block): Declare. | |
2153 | * frame.c (frame_unwind_address_in_block): New function. | |
2154 | (get_frame_address_in_block): New function. | |
2155 | ||
f7968451 AC |
2156 | 2003-07-10 Andrew Cagney <[email protected]> |
2157 | ||
2158 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
2159 | pre-default. Note: re-generate has no effect. | |
2160 | ||
ae99b398 AC |
2161 | 2003-07-10 Andrew Cagney <[email protected]> |
2162 | ||
2163 | * gdbarch.sh: When a variable, but not a function, compare against | |
2164 | 0. Fix problem in previous patch. | |
2165 | * gdbarch.c: Re-generate. | |
2166 | ||
956ac328 AC |
2167 | 2003-07-10 Andrew Cagney <[email protected]> |
2168 | ||
2169 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
2170 | functions against NULL, not 0. | |
2171 | * gdbarch.c: Re-generate. | |
2172 | ||
287c3240 FF |
2173 | 2003-07-10 Fred Fish <[email protected]> |
2174 | ||
2175 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
2176 | null string instead of a null pointer. | |
2177 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
2178 | ||
32f63c4b MS |
2179 | 2003-07-09 Michael Snyder <[email protected]> |
2180 | ||
2181 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
2182 | ||
402ecd56 MK |
2183 | 2003-07-09 Mark Kettenis <[email protected]> |
2184 | ||
2185 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
2186 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
2187 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
2188 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
2189 | * x86-64-tdep.c: ... from here. | |
2190 | ||
c481dac7 AS |
2191 | 2003-07-09 Andreas Schwab <[email protected]> |
2192 | ||
2193 | * m68k-tdep.h (enum struct_return): Define. | |
2194 | (struct gdbarch_tdep): Add struct_return. | |
2195 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
2196 | bytes are padded to the right, not to the left. Pass struct value | |
2197 | address in register %a1, not on stack. | |
2198 | (m68k_use_struct_convention): New function. | |
2199 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
2200 | struct_return in tdep to pcc_struct_return. | |
2201 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
2202 | reg_struct_return. | |
2203 | ||
64176fa3 JB |
2204 | 2003-07-09 Joel Brobecker <[email protected]> |
2205 | ||
2206 | * somread.c (som_symfile_offsets): Fix compilation error. | |
2207 | ||
96a4ee76 AC |
2208 | 2003-07-09 Andrew Cagney <[email protected]> |
2209 | ||
2210 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
2211 | Add comments about the checks. | |
2212 | ||
1517c6d1 AC |
2213 | 2003-07-08 Andrew Cagney <[email protected]> |
2214 | ||
2215 | * Makefile.in: Make dependency section headers consistent. | |
2216 | (config_h): Move to $BUILD headers section. | |
2217 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
2218 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
2219 | (ada-exp.tab.c): Move to YACC/LEX section. | |
2220 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
2221 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
2222 | ||
dc5dd1eb KW |
2223 | 2003-07-08 Kris Warkentin <[email protected]> |
2224 | ||
2225 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
2226 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
2227 | of strerror with safe_strerror, use ISO C function definitions, | |
2228 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 2229 | |
612dde91 AC |
2230 | 2003-07-07 Andrew Cagney <[email protected]> |
2231 | ||
2232 | * frame.c (get_prev_frame): Enable check for identical frames. | |
2233 | Update comments. Update error messages. | |
2234 | ||
492c11d3 JB |
2235 | 2003-07-07 Joel Brobecker <[email protected]> |
2236 | ||
2237 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
2238 | ||
376a5a49 JB |
2239 | 2003-07-07 Joel Brobecker <[email protected]> |
2240 | ||
2241 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
2242 | sort_symtab_syms, no longer necessary. | |
2243 | ||
22b4a9ad JB |
2244 | 2003-07-07 Joel Brobecker <[email protected]> |
2245 | ||
2246 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
2247 | ||
5bbcb741 JB |
2248 | 2003-07-07 Joel Brobecker <[email protected]> |
2249 | ||
2250 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
2251 | (mips_register_byte): Likewise. | |
2252 | ||
c139e7d9 DJ |
2253 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2254 | ||
2255 | * Makefile.in (sparc_tdep_h): New. | |
2256 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
2257 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
2258 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
2259 | * sparc-nat.c: Likewise. | |
2260 | * sparc-tdep.c: Likewise. | |
2261 | * sparc64nbsd-nat.c: Likewise. | |
2262 | * sparcnbsd-nat.c: Likewise. | |
2263 | * sparcnbsd-tdep.c: Likewise. | |
2264 | * sparc-tdep.h: New file. | |
2265 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
2266 | and sparc_npc_regnum. | |
2267 | ||
fd8f87c5 DJ |
2268 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2269 | ||
2270 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
2271 | (mips_linux_cannot_store_register): List supported instead of | |
2272 | unsupported registers. | |
2273 | ||
13adf674 DJ |
2274 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2275 | ||
2276 | * disasm.c (dump_insns): Separate instructions from addresses. | |
2277 | ||
8de307e0 AS |
2278 | 2003-07-07 Andreas Schwab <[email protected]> |
2279 | ||
2280 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
2281 | dependencies. | |
2282 | * m68k-tdep.c (NUM_FREGS): Delete. | |
2283 | (SIG_PC_FP_OFFSET): Delete. | |
2284 | (TARGET_M68K): Delete. | |
2285 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
2286 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
2287 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
2288 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
2289 | P_TRAP): Delete. | |
2290 | (m68k_register_raw_size): Delete. | |
2291 | (m68k_register_virtual_size): Delete. | |
2292 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
2293 | add gdbarch argument. | |
2294 | (m68k_store_struct_return): Delete. | |
2295 | (m68k_deprecated_extract_return_value): Delete. | |
2296 | (m68k_deprecated_extract_struct_value_address): Delete. | |
2297 | (m68k_frame_chain): Delete. | |
2298 | (m68k_frame_saved_pc): Delete. | |
2299 | (m68k_fix_call_dummy): Delete. | |
2300 | (m68k_push_dummy_frame): Delete. | |
2301 | (m68k_pop_frame): Delete. | |
2302 | (m68k_extract_return_value): New function. | |
2303 | (m68k_store_return_value): Rewrite using regcache. | |
2304 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
2305 | (m68k_push_dummy_call): New function. | |
2306 | (struct m68k_frame_cache): Define. | |
2307 | (m68k_alloc_frame_cache): New function. | |
2308 | (m68k_analyze_frame_setup): New function. | |
2309 | (m68k_analyze_register_saves): New function. | |
2310 | (m68k_analyze_prologue): New function. | |
2311 | (m68k_skip_prologue): Rewrite using above functions. | |
2312 | (m68k_unwind_pc): New function. | |
2313 | (m68k_frame_cache): New function. | |
2314 | (m68k_frame_this_id): New function. | |
2315 | (m68k_frame_prev_register): New function. | |
2316 | (m68k_frame_unwind): New variable. | |
2317 | (m68k_frame_p): New function. | |
2318 | (m68k_sigtramp_frame_cache): New function. | |
2319 | (m68k_sigtramp_frame_this_id): New function. | |
2320 | (m68k_sigtramp_frame_prev_register): New function. | |
2321 | (m68k_sigtramp_frame_unwind): New variable. | |
2322 | (m68k_sigtramp_frame_p): New function. | |
2323 | (m68k_frame_base_address): New function. | |
2324 | (m68k_frame_base): New function. | |
2325 | (m68k_unwind_dummy_id): New function. | |
2326 | (fill_gregset): Use regcache_collect. | |
2327 | (fill_fpregset): Likewise. | |
2328 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
2329 | defined. | |
2330 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
2331 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
2332 | deprecated_extract_return_value, deprecated_store_return_value, | |
2333 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
2334 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
2335 | deprecated_register_virtual_size, | |
2336 | deprecated_max_register_raw_size, | |
2337 | deprecated_max_register_virtual_size, | |
2338 | deprecated_register_virtual_type, deprecated_register_size, | |
2339 | deprecated_register_byte, deprecated_register_bytes, | |
2340 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
2341 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
2342 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
2343 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
2344 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
2345 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
2346 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
2347 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
2348 | store_return_value, extract_struct_value_address, register_type, | |
2349 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
2350 | predicates. | |
2351 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
2352 | M68K_MAX_REGISTER_SIZE): Define. | |
2353 | (struct m68k_sigtramp_info): Define. | |
2354 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
2355 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
2356 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
2357 | (store_register): Likewise. | |
2358 | (fetch_inferior_registers): Likewise. | |
2359 | (store_inferior_registers): Likewise. | |
2360 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
2361 | (m68k_linux_frame_saved_pc): Delete. | |
2362 | (m68k_linux_sigcontext_reg_offset, | |
2363 | m68k_linux_ucontext_reg_offset): Define. | |
2364 | (m68k_linux_get_sigtramp_info): New function. | |
2365 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
2366 | (m68k_linux_store_return_value): Likewise. | |
2367 | (m68k_linux_extract_struct_value_address): Likewise. | |
2368 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
2369 | Don't set deprecated_frame_saved_pc, | |
2370 | deprecated_extract_return_value, deprecated_store_return_value, | |
2371 | deprecated_extract_struct_value_address. Set | |
2372 | extract_return_value, store_return_value, | |
2373 | extract_struct_value_address. | |
2374 | ||
eb8bc282 AC |
2375 | 2003-07-07 Andrew Cagney <[email protected]> |
2376 | ||
2377 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
2378 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
2379 | frame_map_regnum_to_name. | |
2380 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2381 | (frame_map_name_to_regnum): Simplify, call | |
2382 | user_reg_map_name_to_regnum. | |
2383 | (frame_map_regnum_to_name): Simplify, call | |
2384 | user_reg_map_regnum_to_name. | |
2385 | (frame_register_unwind): Update. | |
2386 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2387 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
2388 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2389 | (value_of_register): Use value_of_user_reg. | |
2390 | * eval.c (evaluate_subexp_standard): Update. | |
2391 | * parse.c (write_dollar_variable): Update. | |
2392 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
2393 | * infcmd.c (registers_info): Update. | |
2394 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
2395 | (builtin_regs_h): Delete macro. | |
2396 | (user_regs_h): Define. | |
2397 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
2398 | (builtin-regs.o): Delete target. | |
2399 | (user-regs.o): Specify dependencies. | |
2400 | (expprint.o): Update dependencies. | |
2401 | (findvar.o): Update dependencies. | |
2402 | (frame.o): Update dependencies. | |
2403 | (std-regs.o): Update dependencies. | |
2404 | ||
9f476a01 CF |
2405 | 2003-07-06 Christopher Faylor <[email protected]> |
2406 | ||
2407 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
2408 | address stuff. Pass variable rather than address of variable to | |
2409 | safe_symbol_file_add. | |
2410 | ||
a731b831 AS |
2411 | 2003-07-06 Andreas Schwab <[email protected]> |
2412 | ||
2413 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
2414 | ||
9f83329d JB |
2415 | 2003-07-04 Joel Brobecker <[email protected]> |
2416 | ||
2417 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
2418 | ||
27e28cc5 KW |
2419 | 2003-07-04 Kris Warkentin <[email protected]> |
2420 | ||
2421 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
2422 | ||
2423 | 2003-07-04 Kris Warkentin <[email protected]> | |
2424 | ||
2425 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
2426 | * config/i386/nto.mh: New file. | |
2427 | * config/i386/nm-nto.h: New file. | |
2428 | * configure.host: Add i[3456]86-*-nto*. | |
2429 | ||
100f2e98 JB |
2430 | 2003-07-03 Joel Brobecker <[email protected]> |
2431 | ||
2432 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
2433 | ||
e23457df AC |
2434 | 2003-07-03 Andrew Cagney <[email protected]> |
2435 | ||
2436 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
2437 | * gdbarch.h, gdbarch.c: Re-generate. | |
2438 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
2439 | (legacy_register_name): Declare. | |
2440 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
2441 | (REGISTER_NAME): Define. | |
2442 | * sparc-tdep.c (legacy_register_name): New function. | |
2443 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
2444 | (REGISTER_NAME): Define. | |
2445 | (hppa64_register_name): Declare. | |
2446 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
2447 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
2448 | (hppa64_register_name): New function. | |
2449 | (hppa_register_name): New function. | |
2450 | * arch-utils.c (legacy_register_name): Delete. | |
2451 | * arch-utils.h (legacy_register_name): Delete. | |
2452 | ||
38caaeec DJ |
2453 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
2454 | ||
2455 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
2456 | cli_uiout's stream to gdb_stdout. | |
2457 | ||
dadd712e AC |
2458 | 2003-07-03 Andrew Cagney <[email protected]> |
2459 | ||
2460 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
2461 | predicate. | |
2462 | * gdbarch.h, gdbarch.c: Re-generate. | |
2463 | * regcache.c (init_regcache_descr): Use legacy code when either | |
2464 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
2465 | ||
c7f1390e DJ |
2466 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
2467 | ||
2468 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
2469 | ||
4bc8c588 JB |
2470 | 2003-07-02 Jim Blandy <[email protected]> |
2471 | ||
a9dd42f1 JB |
2472 | * s390-tdep.c (struct frame_extra_info): new member: |
2473 | 'stack_bought_valid'. | |
2474 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
2475 | initialize fextra_info->stack_bought. | |
2476 | (s390_frameless_function_invocation): Don't trust the value of | |
2477 | fextra_info_ptr->stack_bought unless | |
2478 | fextra_info->stack_bought_valid is set. | |
2479 | ||
4bc8c588 JB |
2480 | New S390 prologue analyzer. |
2481 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
2482 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
2483 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
2484 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
2485 | compute_x_addr, s390_on_stack, s390_store, | |
2486 | s390_get_signal_frame_info): New functions. | |
2487 | (S390_NUM_SPILL_SLOTS): New macro. | |
2488 | (s390_get_frame_info): Rewritten. | |
2489 | (is_arg_reg): Deleted. | |
2490 | ||
2491 | Break out the decoding of S/390 instructions into separate | |
2492 | functions, to make it more legible, and easier to check | |
2493 | against the spec. | |
2494 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
2495 | is_rx, is_rxe): New functions. | |
2496 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
2497 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
2498 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
2499 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
2500 | enums for opcode values. (Is this an improvement?) | |
2501 | ||
fd13a04a AC |
2502 | 2003-07-02 Andrew Cagney <[email protected]> |
2503 | ||
2504 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
2505 | below. | |
2506 | ||
3f8091c1 DJ |
2507 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
2508 | ||
2509 | * breakpoint.c (insert_catchpoint): Make static. | |
2510 | ||
8dd5115e AS |
2511 | 2003-07-02 Andreas Schwab <[email protected]> |
2512 | ||
2513 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
2514 | former ia64_push_arguments and ia64_push_return_address, and use | |
2515 | regcache functions instead of read/write_register. | |
2516 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
2517 | deprecated_push_arguments and deprecated_push_return_address. | |
2518 | ||
a2229c23 AJ |
2519 | 2003-07-01 Andreas Jaeger <[email protected]> |
2520 | ||
2521 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
2522 | before the call. | |
2523 | Set %rax only to number of SSE registers used. | |
2524 | ||
3b3850e8 AC |
2525 | 2003-07-01 Andrew Cagney <[email protected]> |
2526 | ||
2527 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
2528 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
2529 | (trad_frame_reg_p): Declare. | |
2530 | (trad_frame_set_value): Rename trad_frame_register_value. | |
2531 | (trad_frame_set_unknown): Declare. | |
2532 | * trad-frame.c (trad_frame_realreg_p): New function. | |
2533 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
2534 | (trad_frame_set_unknown): New function. | |
2535 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
2536 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
2537 | trad_frame_addr_p and trad_frame_value_p. | |
2538 | (trad_frame_set_value): Rename trad_frame_register_value. | |
2539 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
2540 | and trad_frame_set_value. | |
a2229c23 | 2541 | |
4d819d0e JB |
2542 | 2003-06-30 Jim Blandy <[email protected]> |
2543 | ||
2544 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
2545 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
2546 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
2547 | for 16 registers, and then 32 more bytes. | |
2548 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
2549 | New macros. | |
2550 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
2551 | Move up in the file, since it's now used by is_simple_arg. | |
2552 | (is_simple_arg): Don't assume registers are four bytes long. | |
2553 | Exclude all double arguments. Extended floats are not simple | |
2554 | args. | |
2555 | (is_power_of_two): New function. | |
2556 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
2557 | length fits in a register, rather than listing all the acceptable | |
2558 | sizes. Extended floats are not passed by reference. | |
2559 | (s390_push_arguments): Don't assume registers are four bytes long. | |
2560 | Reserve an argument register to point to the buffer for structures | |
2561 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
2562 | S390_STACK_FRAME_OVERHEAD. | |
2563 | ||
1ad828f1 AS |
2564 | 2003-06-30 Andreas Schwab <[email protected]> |
2565 | ||
2566 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
2567 | format error message. | |
2568 | ||
39b00981 JB |
2569 | 2003-06-30 Joel Brobecker <[email protected]> |
2570 | ||
2571 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
2572 | ||
b2a7f303 DC |
2573 | 2003-06-30 David Carlton <[email protected]> |
2574 | ||
2575 | Band-aid for PR c++/1245. | |
2576 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
2577 | * cp-support.c: Include complaints.h. Add declaration for | |
2578 | find_last_component. | |
2579 | (cp_find_first_component): Separate code into | |
2580 | cp_find_first_component_aux. | |
2581 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
2582 | (demangled_name_complaint): New. | |
2583 | ||
a257b5bb AC |
2584 | 2003-06-30 Andrew Cagney <[email protected]> |
2585 | ||
2586 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
2587 | the payload size. Update comments to reflect. Fixes problem of | |
2588 | GDB not sending small packets as found by Fred Fish. | |
2589 | ||
0a2cfde4 AC |
2590 | 2003-06-30 Andrew Cagney <[email protected]> |
2591 | ||
2592 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
2593 | ||
3fcb8548 AC |
2594 | 2003-06-29 Andrew Cagney <[email protected]> |
2595 | ||
2596 | * remote.c (remote_wait): Call error, and not warning, when the | |
2597 | packet is corrupt. | |
2598 | (remote_async_wait): Ditto. | |
2599 | ||
9f9970a3 DJ |
2600 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
2601 | ||
2602 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
2603 | ||
83a8ccca DJ |
2604 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
2605 | ||
2606 | * cli/cli-logging.c (pop_output_files): Add void to function | |
2607 | definition. | |
2608 | ||
d2cf594a AC |
2609 | 2003-06-29 Andrew Cagney <[email protected]> |
2610 | ||
2611 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
2612 | the buffer contents. | |
2613 | ||
0fac0b41 DJ |
2614 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
2615 | ||
2616 | * cli/cli-logging.c: New file. | |
2617 | * cli-out.c (struct ui_out_data): Add original_stream. | |
2618 | (cli_redirect): New function. | |
2619 | (cli_ui_out_impl): Add cli_redirect. | |
2620 | (cli_out_new): Initialize original_stream. | |
2621 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
2622 | (uo_redirect, ui_out_redirect): New. | |
2623 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
2624 | (redirect_ftype): New. | |
2625 | (ui_out_redirect): Add prototype. | |
2626 | * Makefile.in: Add rules for cli-logging.c. | |
2627 | * NEWS: Mention "set logging". | |
2628 | ||
88a07d7c EZ |
2629 | 2003-06-27 Elena Zannoni <[email protected]> |
2630 | ||
2631 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
2632 | ||
4eb58876 AC |
2633 | 2003-06-27 Andrew Cagney <[email protected]> |
2634 | ||
2635 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
2636 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
2637 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
2638 | (avr_gdbarch_init): Do not set call_dummy_address. | |
2639 | ||
1549f619 EZ |
2640 | 2003-06-27 Elena Zannoni <[email protected]> |
2641 | ||
2642 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
2643 | Move the checks for the non-mainline case a bit earlier to avoid | |
2644 | doing some useless computations. | |
2645 | ||
3cb3398d EZ |
2646 | 2003-06-27 Elena Zannoni <[email protected]> |
2647 | ||
2648 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
2649 | ||
3799ccc6 EZ |
2650 | 2003-06-26 Elena Zannoni <[email protected]> |
2651 | ||
2652 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
2653 | sections. | |
2654 | ||
ce1f6491 MC |
2655 | 2003-06-26 Michael Chastain <[email protected]> |
2656 | ||
2657 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
2658 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
2659 | ||
d958dfd0 AC |
2660 | 2003-06-26 Andrew Cagney <[email protected]> |
2661 | ||
2662 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
2663 | altivec_expression.h and altivec_registers.h. | |
2664 | ||
d31431ed AC |
2665 | 2003-06-26 Andrew Cagney <[email protected]> |
2666 | ||
2667 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
2668 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
2669 | ||
714b1282 AC |
2670 | 2003-06-26 Andrew Cagney <[email protected]> |
2671 | ||
2672 | * utils.c (internal_vproblem): Print the problem to a reason | |
2673 | buffer and then pass to query. Make the msg variable more local. | |
2674 | ||
42efa47a AC |
2675 | 2003-06-26 Andrew Cagney <[email protected]> |
2676 | ||
2677 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
2678 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
2679 | * gdbarch.h, gdbarch.c: Re-generate. | |
2680 | * frame-base.c (default_frame_args_address): Update. Use | |
2681 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
2682 | not available. | |
2683 | (default_frame_locals_address): Ditto for | |
2684 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
2685 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
2686 | (vax_frame_num_args): Update. | |
2687 | (vax_gdbarch_init): Update. | |
2688 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2689 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2690 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2691 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2692 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2693 | * symtab.h (address_class): Update comments. | |
2694 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
2695 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2696 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2697 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2698 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2699 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2700 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2701 | * alpha-mdebug-tdep.c: Update. | |
2702 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
2703 | ||
8ffd9b1b AJ |
2704 | 2003-06-26 Andreas Jaeger <[email protected]> |
2705 | ||
2706 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
2707 | of SSE registers so that varargs functions work. Rework handling | |
2708 | of passing arguments on the stack. | |
2709 | (x86_64_store_return_value): Return double and float values in SSE | |
2710 | register. | |
2711 | ||
e8ac10a6 MC |
2712 | 2003-06-24 Michael Chastain <[email protected]> |
2713 | ||
2714 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
2715 | the "constructor breakpoints ignored" bug. | |
2716 | ||
986af8e6 DC |
2717 | 2003-06-25 David Carlton <[email protected]> |
2718 | ||
2719 | * MAINTAINERS: Update e-mail address. | |
2720 | ||
d64558a5 JB |
2721 | 2003-06-24 Jim Blandy <[email protected]> |
2722 | ||
e538d2d7 JB |
2723 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
2724 | ||
02631ec0 JB |
2725 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
2726 | function. | |
2727 | (ppc_linux_init_abi): Register it as the | |
2728 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
2729 | ||
e716d87a JB |
2730 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
2731 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
2732 | method. | |
2733 | ||
d64558a5 JB |
2734 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
2735 | (ppc64_standard_linkage_target): Use it. | |
2736 | ||
449a5da4 AC |
2737 | 2003-06-23 Andrew Cagney <[email protected]> |
2738 | ||
2739 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
2740 | for 0 "int0" and 4 "int32" sized registers. | |
2741 | * gdbtypes.c (builtin_type_int0): Define. | |
2742 | (build_gdbtypes): Initialize builtin_type_int0. | |
2743 | * gdbtypes.h (builtin_type_int0): Declare. | |
2744 | ||
b2a02dda SC |
2745 | 2003-06-23 Stephane Carrez <[email protected]> |
2746 | ||
2747 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
2748 | as characters are unsigned. | |
2749 | ||
fba3138e DJ |
2750 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
2751 | ||
2752 | PR gdb/1179 | |
2753 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
2754 | ||
f6c8180b AC |
2755 | 2003-06-22 Andrew Cagney <[email protected]> |
2756 | ||
2757 | GDB 6.0 branch created. | |
f2c06f52 AC |
2758 | * README: Update. |
2759 | * PROBLEMS: Update. Empty. | |
2760 | * NEWS: Update. | |
f6c8180b | 2761 | |
ae822768 DJ |
2762 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
2763 | ||
2764 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
2765 | Suggested by Nick Hibma <[email protected]>. | |
2766 | ||
261de166 AC |
2767 | 2003-06-22 Andrew Cagney <[email protected]> |
2768 | ||
2769 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
2770 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
2771 | Velikov. | |
2772 | ||
30e94205 DJ |
2773 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
2774 | ||
2775 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
2776 | compilers. | |
2777 | ||
9e14d721 DJ |
2778 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
2779 | ||
2780 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
2781 | argument of val_print. | |
2782 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
2783 | to the address argument of baseclass_offset or target_read_memory. | |
2784 | Do add it to the argument of cp_print_value_fields. | |
2785 | ||
a4b8ebc8 AC |
2786 | 2003-06-21 Andrew Cagney <[email protected]> |
2787 | ||
2788 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
2789 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
2790 | instead of 0..NUM_REGS. | |
2791 | (mips_register_reggroup_p): New function. | |
2792 | (mips_pseudo_register_write): New function. | |
2793 | (mips_pseudo_register_read): New function. | |
2794 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
2795 | based on the register's type. | |
2796 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
2797 | cooked. | |
2798 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
2799 | pseudo / cooked. | |
2800 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
2801 | (mips_register_type): Replace mips_register_virtual_type. Map | |
2802 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
2803 | when available. | |
2804 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
2805 | that the register is cooked / virtual. | |
2806 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
2807 | Only get the extra info when needed. | |
2808 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
2809 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
2810 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
2811 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
2812 | (mips_print_register): Use gdbarch_register_type, instead of | |
2813 | REGISTER_VIRTUAL_TYPE. | |
2814 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
2815 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
2816 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
2817 | Print the pseudo / cooked registers. | |
2818 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
2819 | Print the pseudo / cooked registers. | |
2820 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
2821 | REG_NUM is pseudo / cooked. | |
2822 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
2823 | (mips_n32n64_xfer_return_value): Ditto. | |
2824 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
2825 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
2826 | (mips_register_sim_regno): New function. | |
2827 | (mips_gdbarch_init): Set deprecated_register_byte, | |
2828 | register_group_p, pseudo_register_write, pseudo_register_read, | |
2829 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
2830 | instead of register_virtual_type. | |
2831 | * Makefile.in (mips-tdep.o): Update dependencies. | |
2832 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
2833 | REGISTER_VIRTUAL_TYPE. | |
2834 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
2835 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
2836 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
2837 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
2838 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
2839 | ||
325ed089 DJ |
2840 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
2841 | ||
2842 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
2843 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
2844 | (shell_escape): Use vfork. | |
2845 | ||
f0e7d0e8 AC |
2846 | 2003-06-21 Andrew Cagney <[email protected]> |
2847 | ||
c57bb9fa AC |
2848 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
2849 | 32 bit floating-point register saves. | |
2850 | ||
6e51443a AC |
2851 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
2852 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
2853 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
2854 | and deprecated_get_next_frame_hack instead of | |
2855 | deprecated_unwind_get_saved_register. | |
2856 | ||
ed183c7c AC |
2857 | * mips-tdep.c (mips_dump_tdep): Do not print |
2858 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
2859 | ||
f0e7d0e8 AC |
2860 | * frame.c (get_frame_register): New function. |
2861 | (frame_unwind_register_signed): New function. | |
2862 | (get_frame_register_signed): New function. | |
2863 | (frame_unwind_register_unsigned): New function. | |
2864 | (get_frame_register_unsigned): New function. | |
2865 | * frame.h: Add comments on naming schema. | |
2866 | (get_frame_register, frame_unwind_register_signed): Declare. | |
2867 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
2868 | (frame_unwind_register_unsigned): Declare. | |
2869 | (get_frame_register_unsigned): Declare. | |
2870 | ||
2224d941 TR |
2871 | 2003-06-20 Theodore A. Roth <[email protected]> |
2872 | ||
2873 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
2874 | ||
8619218d TR |
2875 | 2003-06-20 Theodore A. Roth <[email protected]> |
2876 | ||
2877 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
2878 | (avr_read_sp): Ditto. | |
2879 | ||
0b1b50c0 DJ |
2880 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
2881 | ||
2882 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
2883 | * config/arm/nm-linux.h: Likewise. | |
2884 | * config/arm/tm-linux.h: Likewise. | |
2885 | * config/ia64/nm-linux.h: Likewise. | |
2886 | * config/ia64/tm-ia64.h: Likewise. | |
2887 | * config/s390/tm-linux.h: Likewise. | |
2888 | * config/s390/tm-s390.h: Likewise. | |
2889 | * s390-nat.c: Likewise. | |
2890 | * s390-tdep.c: Likewise. | |
2891 | ||
2892 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
2893 | * config/ia64/linux.mt: Likewise. | |
2894 | * config/m68k/linux.mh: Likewise. | |
2895 | * config/mips/linux.mt: Likewise. | |
2896 | * config/powerpc/linux.mh: Likewise. | |
2897 | * config/sh/linux.mt: Likewise. | |
2898 | ||
c8c18e65 KW |
2899 | 2003-06-19 Kris Warkentin <[email protected]> |
2900 | ||
2901 | * solib.c (solib_open): Change tests for whether to search | |
2902 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
2903 | comments. | |
2904 | ||
dcccef2e TR |
2905 | 2003-06-19 Theodore A. Roth <[email protected]> |
2906 | ||
2907 | * avr-tdep.c (avr_frame_address): Delete function. | |
2908 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
2909 | set_gdbarch_frame_args_address. | |
2910 | ||
5861a190 AC |
2911 | 2003-06-19 Andrew Cagney <[email protected]> |
2912 | ||
2913 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
2914 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
2915 | (mips_register_convert_to_type): Delete declaration. | |
2916 | (mips_register_convert_from_type): Delete declaration. | |
2917 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
2918 | kernel/. | |
2919 | ||
0274a8ce MS |
2920 | 2003-06-19 Michael Snyder <[email protected]> |
2921 | ||
2922 | * linux-nat.h: New file. | |
2923 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 2924 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 2925 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 2926 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
2927 | (linux_make_note_section): Iterate over lwps instead of threads. |
2928 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
2929 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 2930 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
2931 | Add dependency on linux_nat_h. |
2932 | ||
adf5f719 TR |
2933 | 2003-06-19 Theodore A. Roth <[email protected]> |
2934 | ||
2935 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
2936 | ||
6766a268 DJ |
2937 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
2938 | ||
2939 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
2940 | ||
1171114a DJ |
2941 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
2942 | ||
2943 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
2944 | ||
adcf68a2 TR |
2945 | 2003-06-19 Theodore A. Roth <[email protected]> |
2946 | ||
2947 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
2948 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
2949 | ||
ea67f13b DJ |
2950 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
2951 | ||
2952 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
2953 | (generic_prepare_to_proceed): Remove. | |
2954 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
2955 | (generic_prepare_to_proceed): Remove prototype. | |
2956 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
2957 | * gdbarch.c: Regenerate. | |
2958 | * gdbarch.h: Regenerate. | |
2959 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
2960 | * hppah-nat.c (hppa_switched_threads): Remove. | |
2961 | * infrun.c (prepare_to_proceed): New static function, copied from | |
2962 | generic_prepare_to_proceed. Remove select_it argument. | |
2963 | (proceed): Call prepare_to_proceed. | |
2964 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
2965 | variables. | |
2966 | (ptrace_wait): Don't set the removed variables. | |
2967 | (hppa_switched_threads): Remove. | |
2968 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
2969 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
2970 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
2971 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
2972 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
2973 | ||
4add8633 TR |
2974 | 2003-06-18 Theodore A. Roth <[email protected]> |
2975 | ||
2976 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
2977 | trad-frame.h. | |
2978 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
2979 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
2980 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
2981 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
2982 | (struct frame_extra_info): Remove. | |
2983 | (struct avr_unwind_cache): Define. | |
2984 | (avr_write_sp): Delete function. | |
2985 | (avr_read_fp): Ditto. | |
2986 | (avr_init_extra_frame_info): Ditto. | |
2987 | (avr_pop_frame): Ditto. | |
2988 | (avr_frame_saved_pc): Ditto. | |
2989 | (avr_saved_pc_after_call): Ditto. | |
2990 | (avr_push_return_address): Ditto. | |
2991 | (avr_frame_chain): Ditto. | |
2992 | (avr_store_struct_return): Ditto. | |
2993 | (avr_push_arguments): Ditto. | |
2994 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
2995 | cache unwinding. Now returns end of prologue PC. | |
2996 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
2997 | by using avr_scan_prologue. | |
2998 | (avr_scan_arg_moves): New function. | |
2999 | (avr_saved_regs_unwinder): Ditto. | |
3000 | (avr_frame_unwind_cache): Ditto. | |
3001 | (avr_unwind_pc): Ditto. | |
3002 | (avr_frame_this_id): Ditto. | |
3003 | (avr_frame_prev_register): Ditto. | |
3004 | (avr_frame_p): Ditto. | |
3005 | (avr_frame_base_address ): Ditto. | |
3006 | (avr_unwind_dummy_id): Ditto. | |
3007 | (avr_push_dummy_code): Ditto. | |
3008 | (push_stack_item): Ditto. | |
3009 | (pop_stack_item): Ditto. | |
3010 | (avr_push_dummy_call): Ditto. | |
3011 | (struct stack_item): Define. | |
3012 | (avr_frame_unwind): Declare structure. | |
3013 | (avr_frame_base): Ditto. | |
3014 | (avr_gdbarch_init): Remove calls to | |
3015 | set_gdbarch_deprecated_init_frame_pc, | |
3016 | set_gdbarch_deprecated_target_read_fp, | |
3017 | set_gdbarch_deprecated_dummy_write_sp, | |
3018 | set_gdbarch_deprecated_fp_regnum, | |
3019 | set_gdbarch_deprecated_push_arguments, | |
3020 | set_gdbarch_deprecated_push_return_address, | |
3021 | set_gdbarch_deprecated_pop_frame, | |
3022 | set_gdbarch_deprecated_store_struct_return, | |
3023 | set_gdbarch_deprecated_frame_init_saved_regs, | |
3024 | set_gdbarch_deprecated_init_extra_frame_info, | |
3025 | set_gdbarch_deprecated_frame_chain, | |
3026 | set_gdbarch_deprecated_frame_saved_pc, | |
3027 | set_gdbarch_deprecated_saved_pc_after_call. | |
3028 | Add calls to set_gdbarch_push_dummy_call, | |
3029 | set_gdbarch_push_dummy_code, | |
3030 | frame_unwind_append_predicate, | |
3031 | frame_base_set_default, | |
3032 | set_gdbarch_unwind_dummy_id, | |
3033 | set_gdbarch_unwind_pc. | |
3034 | Wrap a long line. | |
3035 | ||
7be04a68 MS |
3036 | 2003-06-18 Corinna Vinschen <[email protected]> |
3037 | ||
3038 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
3039 | registers for H8/300S. | |
3040 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 3041 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 3042 | |
ae087d01 DJ |
3043 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
3044 | ||
3045 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
3046 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
3047 | (lin_lwp_wait): Likewise. Update comments. | |
3048 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
3049 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
3050 | ||
07d8f827 SC |
3051 | 2003-06-17 Stephane Carrez <[email protected]> |
3052 | ||
3053 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
3054 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
3055 | declared by ALL_BLOCK_SYMBOLS. | |
3056 | ||
7cb47b14 SC |
3057 | 2003-06-17 Stephane Carrez <[email protected]> |
3058 | ||
3059 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
3060 | ("regcache.h"): Include it. | |
3061 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
3062 | ||
6ad8ae5c DJ |
3063 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3064 | ||
3065 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
3066 | * infcmd.c (disconnect_command): New function. | |
3067 | (_initialize_infcmd): Add ``disconnect'' command. | |
3068 | * remote.c (remote_async_detach): Delete. | |
3069 | (remote_detach): Merge remote_async_detach. | |
3070 | (remote_disconnect): New. | |
3071 | (init_remote_ops): Set to_disconnect. | |
3072 | (init_remote_cisco_ops): Likewise. | |
3073 | (init_remote_async_ops): Likewise. Use remote_detach. | |
3074 | * target.c (cleanup_target): Default to_disconnect. | |
3075 | (update_current_target): Inherit to_disconnect. | |
3076 | (target_disconnect, debug_to_disconnect): New functions. | |
3077 | (setup_target_debug): Set to_disconnect. | |
3078 | * target.h (struct target_ops): Add to_disconnect. | |
3079 | (target_disconnect): Add prototype. | |
3080 | ||
687595f9 DJ |
3081 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3082 | ||
3083 | * breakpoint.c (insert_catchpoint): New function. | |
3084 | (insert_breakpoints): Use catch_exceptions to call | |
3085 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
3086 | ||
29239a8f DJ |
3087 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3088 | ||
3089 | * symfile.c (reread_symbols): Clear sym_private. | |
3090 | ||
2cdf3c63 AC |
3091 | 2003-06-17 Andrew Cagney <[email protected]> |
3092 | ||
3093 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
3094 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
3095 | declaration. | |
3096 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
3097 | comments. | |
3098 | ||
cf0e1e0d DJ |
3099 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3100 | ||
3101 | * remote.c (remote_prepare_to_store): Replace call to | |
3102 | deprecated_read_register_bytes with multiple regcache_raw_read | |
3103 | calls. | |
3104 | ||
192cdb19 KW |
3105 | 2003-06-17 Kris Warkentin <[email protected]> |
3106 | ||
3107 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
3108 | (nto_find_and_open_solib): Likewise. | |
3109 | (nto_init_solib_absolute_prefix): Likewise. | |
3110 | (_initialize_nto_tdep): Fix indentation. | |
3111 | ||
89929b45 KW |
3112 | 2003-06-17 Kris Warkentin <[email protected]> |
3113 | ||
3114 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
3115 | ||
46019f27 KW |
3116 | 2003-06-17 Kris Warkentin <[email protected]> |
3117 | ||
3118 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
3119 | ||
1a38736e JB |
3120 | 2003-06-17 Jim Blandy <[email protected]> |
3121 | ||
3122 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
3123 | ||
3605c34a TR |
3124 | 2003-06-16 Theodore A. Roth <[email protected]> |
3125 | ||
3126 | * avr-tdep.c (avr_extract_return_value): New function. | |
3127 | (avr_gdbarch_init): Set extract_return_value method. | |
3128 | ||
870b3035 AC |
3129 | 2003-06-16 Andrew Cagney <[email protected]> |
3130 | ||
3131 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
3132 | * frame.c (legacy_saved_regs_prev_register): Only require | |
3133 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
3134 | there are always saved regs. | |
3135 | (deprecated_generic_get_saved_register): Do not require | |
3136 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
3137 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
3138 | use frame ID unwind instead. | |
3139 | (deprecated_get_next_frame_hack): New function. | |
3140 | ||
63d47a7d CV |
3141 | 2003-06-16 Corinna Vinschen <[email protected]> |
3142 | ||
3143 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
3144 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
3145 | (h8300_push_return_address): Remove. | |
3146 | (h8300_gdbarch_init): Remove calls to | |
3147 | set_gdbarch_deprecated_dummy_write_sp, | |
3148 | set_gdbarch_deprecated_push_arguments and | |
3149 | set_gdbarch_deprecated_push_return_address. | |
3150 | Add call to set_gdbarch_push_dummy_call. | |
3151 | ||
4bb1dc5e CV |
3152 | 2003-06-16 Corinna Vinschen <[email protected]> |
3153 | ||
3154 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
3155 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
3156 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 3157 | registers into safe registers. |
4bb1dc5e CV |
3158 | (h8300_skip_prologue): Check for stm instruction to push registers |
3159 | used for register variables onto stack. | |
3160 | (gdb_print_insn_h8300): Remove. | |
3161 | (h8300_examine_prologue): Add a comment. | |
3162 | (h8300_register_name): Take pseudo registers into account. | |
3163 | (h8300s_register_name): Ditto. | |
3164 | (h8300sx_register_name): Ditto. | |
3165 | (h8300_print_register): Ditto. | |
3166 | (h8300_print_registers_info): Define "nice" printing order. | |
3167 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
3168 | (h8300_register_type): Ditto. Return type used for remote connection | |
3169 | when requesting real CCR or EXR register, return actual type when | |
3170 | requesting pseudo CCR or EXR. | |
3171 | (h8300_pseudo_register_read): New function. | |
3172 | (h8300_pseudo_register_write): Ditto. | |
3173 | (h8300_dbg_reg_to_regnum): Ditto. | |
3174 | (h8300s_dbg_reg_to_regnum): Ditto. | |
3175 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
3176 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
3177 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
3178 | set_gdbarch_print_insn architecture dependent. | |
3179 | Call set_gdbarch_pseudo_register_read and | |
3180 | set_gdbarch_pseudo_register_write. | |
3181 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
3182 | ||
a59fe496 AC |
3183 | 2003-06-16 Andrew Cagney <[email protected]> |
3184 | ||
3185 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
3186 | * gdbarch.h, gdbarch.c: Re-generate. | |
3187 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3188 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3189 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3190 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3191 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3192 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3193 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3194 | * infcall.c (call_function_by_hand): Update. | |
3195 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
3196 | * frame.c (legacy_get_prev_frame): Do not assume | |
3197 | SAVE_DUMMY_FRAME_TOS_P. | |
3198 | * dummy-frame.c (find_dummy_frame): Update comment. | |
3199 | ||
6f4e5a41 AC |
3200 | 2003-06-16 Andrew Cagney <[email protected]> |
3201 | ||
3202 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
3203 | ||
72fab697 TR |
3204 | 2003-06-15 Theodore A. Roth <[email protected]> |
3205 | ||
3206 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
3207 | (avr_scan_prologue): Correct some comments. | |
3208 | ||
e3d8b004 TR |
3209 | 2003-06-15 Theodore A. Roth <[email protected]> |
3210 | ||
3211 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
3212 | prologue types. | |
8ffd9b1b | 3213 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
3214 | option. |
3215 | Add code to scan -mcall-prologues for mega devices. | |
3216 | ||
866b76ea TR |
3217 | 2003-06-15 Theodore A. Roth <[email protected]> |
3218 | ||
3219 | * avr-tdep.c (avr_register_byte): Delete function. | |
3220 | (avr_register_raw_size): Delete function. | |
3221 | (avr_register_virtual_size): Delete function. | |
3222 | (avr_register_virtual_type): Delete function. | |
3223 | (avr_register_type): New function. | |
3224 | (avr_address_to_pointer): Remove unused code. | |
3225 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
3226 | avr_register_type() usage. | |
3227 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
3228 | Don't set deprecated_register_bytes. | |
3229 | Don't set deprecated_register_byte. | |
3230 | Don't set deprecated_register_raw_size. | |
3231 | Don't set deprecated_max_register_raw_size. | |
3232 | Don't set deprecated_register_virtual_size. | |
3233 | Don't set deprecated_max_register_virtual_size. | |
3234 | Don't set deprecated_register_virtual_type. | |
3235 | Set register_type method. | |
3236 | ||
3993f6b1 DJ |
3237 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
3238 | ||
3239 | * Makefile.in (linux-nat.o): Add rule. | |
3240 | * linux-nat.c: New file. | |
3241 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
3242 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
3243 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
3244 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3245 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
3246 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3247 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3248 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
3249 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
3250 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
3251 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
3252 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
3253 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
3254 | ||
786a90bb MK |
3255 | 2003-06-15 Mark Kettenis <[email protected]> |
3256 | ||
3257 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
3258 | replace out-of-date comment. | |
3259 | ||
3bd3f01e AC |
3260 | 2003-06-15 Andrew Cagney <[email protected]> |
3261 | ||
3262 | * rdi-share/host.h (Fail): Change to a varargs function. | |
3263 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 3264 | |
de5b9bb9 MK |
3265 | 2003-06-15 Mark Kettenis <[email protected]> |
3266 | ||
3267 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
3268 | (i386_convert_register_p, i386_register_to_value, | |
3269 | i386_register_from_value): Handle types longer than 8 bytes. | |
3270 | ||
d532c08f MK |
3271 | 2003-06-15 Mark Kettenis <[email protected]> |
3272 | ||
3273 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
3274 | Move floating-point code to new function in i387-tdep.c. | |
3275 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
3276 | New functions containing code moved here from i386-tdep.c. | |
3277 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
3278 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
3279 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
3280 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
3281 | value_to_register here. | |
8ffd9b1b | 3282 | |
42c466d7 AC |
3283 | 2003-06-14 Andrew Cagney <[email protected]> |
3284 | ||
3285 | * mips-tdep.c (mips_register_to_value): Make static. | |
3286 | (mips_value_to_register): Make static. | |
3287 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
3288 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
3289 | (ia64_register_virtual_size): Make static. | |
3290 | (ia64_register_byte): Make static. | |
3291 | * i387-tdep.c: Include "i387-tdep.h". | |
3292 | (print_387_control_word): Delete function. | |
3293 | (print_387_status_word): Delete function. | |
3294 | (print_387_status_bits): Delete function. | |
3295 | (print_387_control_bits): Delete function. | |
3296 | * Makefile.in (i387-tdep.o): Update dependencies. | |
3297 | * rdi-share/host.h (Fail): Declare. | |
3298 | * remote-rdi.c (Fail): Update to match declaration. | |
3299 | ||
2a9cda49 AC |
3300 | 2003-06-14 Andrew Cagney <[email protected]> |
3301 | ||
3302 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
3303 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
3304 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
3305 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
3306 | * README: Delete reference to remote-array. | |
3307 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
3308 | (remote-array.o): Delete target. | |
3309 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
3310 | * remote-array.c: Delete file. | |
3311 | ||
ff2e87ac AC |
3312 | 2003-06-14 Andrew Cagney <[email protected]> |
3313 | Mark Kettenis <[email protected]> | |
3314 | ||
3315 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
3316 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
3317 | parameter with "frame". | |
3318 | * gdbarch.h, gdbarch.c: Re-generate. | |
3319 | * frame.h (put_frame_register): Declare. | |
3320 | * frame.c (put_frame_register): New function. | |
3321 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
3322 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
3323 | register value. | |
3324 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
3325 | register's location before storing. | |
3326 | * arch-utils.h (legacy_convert_register_p): Update. | |
3327 | (legacy_register_to_value, legacy_value_to_register): Update. | |
3328 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
3329 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
3330 | "frame" to REGISTER_TO_VALUE. | |
3331 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
3332 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
3333 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
3334 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
3335 | I386_EDI_REGNUM): New defines. | |
3336 | (i386_next_regnum, i386_convert_register_p, | |
3337 | i386_register_to_value, i386_value_to_register): New functions. | |
3338 | (i386_register_convertible, i386_register_convert_to_virtual, | |
3339 | i386_convert_to_raw): Remove functions. | |
3340 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
3341 | value_to_register instead of register_convertible, | |
3342 | register_convert_to_virtual and register_convert_to_raw. | |
3343 | * mips-tdep.c (mips_convert_register_p): New function. | |
3344 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
3345 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
3346 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
3347 | register_to_value. | |
3348 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
3349 | (alpha_value_to_register): Update, store the register. | |
3350 | (alpha_register_to_value): Update, fetch the register. | |
3351 | ||
98be1e77 TR |
3352 | 2003-06-14 Theodore A. Roth <[email protected]> |
3353 | ||
3354 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
3355 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
3356 | Don't set deprecated_call_dummy_words. | |
3357 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
3358 | Don't set remote_translate_xfer_address. | |
3359 | (avr_io_reg_read_command): Remove commented out debug printf. | |
3360 | Wrap a long line. | |
3361 | ||
57bc6122 TR |
3362 | 2003-06-14 Theodore A. Roth <[email protected]> |
3363 | ||
3364 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
3365 | causes gdb to seg fault. | |
3366 | ||
eb01fc62 DJ |
3367 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
3368 | ||
3369 | * sparc-nat.c (fetch_inferior_registers): Correct | |
3370 | a reference to "registers". | |
3371 | ||
3b3e6bee DJ |
3372 | 2003-06-14 Jeroen Dekkers <[email protected]> |
3373 | ||
3374 | * Makefile.in (exc_request_U_h): Define | |
3375 | (exc_request_S_h): Likewise. | |
3376 | (msg_reply_S_h): Likewise. | |
3377 | (msg_U_h): Likewise. | |
3378 | (notify_S_h): Likewise. | |
3379 | (process_reply_S_h): Likewise. | |
3380 | (gnu-nat.o): Depend on gdb_obstack_h | |
3381 | * gnu-nat.c: Include "gdb_obstack.h". | |
3382 | ||
b8de8283 AC |
3383 | 2003-06-13 Andrew Cagney <[email protected]> |
3384 | ||
3385 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
3386 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 3387 | |
f3be58bc AC |
3388 | 2003-06-13 Andrew Cagney <[email protected]> |
3389 | ||
3390 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
3391 | when deprecated REGISTER macros can be deleted. | |
3392 | * gdbarch.h, gdbarch.c: Re-generate. | |
3393 | ||
4c0122c8 JB |
3394 | 2003-06-13 Jim Blandy <[email protected]> |
3395 | ||
3396 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
3397 | Linux entry point symbols for _dl_debug_state, too. | |
3398 | ||
3e210248 AC |
3399 | 2003-06-13 Andrew Cagney <[email protected]> |
3400 | ||
3401 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
3402 | available, do not use the FP register, and always save the TOS. | |
3403 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
3404 | SAVE_DUMMY_FRAME_TOS. | |
3405 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
3406 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
3407 | (i386_push_dummy_call): Add 8 to the returned SP. | |
3408 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
3409 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
3410 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
3411 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
3412 | (x86_64_push_dummy_call): Return "sp + 16". | |
3413 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
3414 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
3415 | save_dummy_frame_tos. | |
3416 | ||
0b65af49 JB |
3417 | 2003-06-13 Jim Blandy <[email protected]> |
3418 | ||
3419 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
3420 | declaration for function deleted in my change of 2003-06-12. | |
3421 | ||
4ea2465e TR |
3422 | 2003-06-13 Theodore A. Roth <[email protected]> |
3423 | ||
3424 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
3425 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
3426 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
3427 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
3428 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
3429 | ||
1581182a MK |
3430 | 2003-06-13 Mark Kettenis <[email protected]> |
3431 | ||
3432 | From Kelley Cook <[email protected]>: | |
3433 | * configure.host: Accept i[34567]86 variants. | |
3434 | * configure.tgt: Likewise. | |
3435 | * nlm/configure.in: Likewise. | |
3436 | * nlm/configure: Regenerated. | |
3437 | ||
7aa1783e RE |
3438 | 2003-06-13 Richard Earnshaw <[email protected]> |
3439 | ||
3440 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
3441 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
3442 | * arm-linux-tdep.c: ... here. Make static. | |
3443 | (arm_linux_init_abi): Register it. | |
3444 | (solib-svr4.h): Include it. | |
3445 | * Makefile.in: Update dependencies. | |
3446 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
3447 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
3448 | ||
0261a0d0 CV |
3449 | 2003-06-13 Corinna Vinschen <[email protected]> |
3450 | ||
3451 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
3452 | indicate registers used for return values. | |
3453 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
3454 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
3455 | members. | |
3456 | (h8300_init_extra_frame_info): Ditto. | |
3457 | (h8300_frame_locals_address): Removed. | |
3458 | (h8300_frame_args_address): Removed. | |
3459 | (h8300_extract_return_value): Use new regcache structure. Only care | |
3460 | for 16 bit CPUs. | |
3461 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
3462 | (h8300_store_return_value): Use new regcache structure. Only care | |
3463 | for 16 bit CPUs. | |
3464 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
3465 | (h8300_store_struct_return): Removed. | |
3466 | (h8300_extract_struct_value_address): Use new regcache structure. | |
3467 | (h8300h_extract_struct_value_address): Removed. | |
3468 | (h8300_push_dummy_code): New function. | |
3469 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
3470 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
3471 | set_gdbarch_store_return_value architecture dependent. | |
3472 | Call set_gdbarch_push_dummy_code and | |
3473 | set_gdbarch_extract_struct_value_address. | |
3474 | Remove calls to set_gdbarch_frame_args_address, | |
3475 | set_gdbarch_frame_locals_address, | |
3476 | set_gdbarch_deprecated_store_struct_return, | |
3477 | set_gdbarch_deprecated_extract_return_value, | |
3478 | set_gdbarch_deprecated_extract_struct_value_address, | |
3479 | set_gdbarch_deprecated_call_dummy_words and | |
3480 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
3481 | ||
055c394a CV |
3482 | 2003-06-13 Corinna Vinschen <[email protected]> |
3483 | ||
3484 | * h8300-tdep.c (h8300_register_byte): Remove. | |
3485 | (h8300h_register_byte): Remove. | |
3486 | (h8300_register_virtual_type): Remove. Substitute by... | |
3487 | (h8300_register_type): New function. | |
3488 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
3489 | (h8300h_extract_struct_value_address): Ditto. | |
3490 | (h8300_gdbarch_init): Drop calls to | |
3491 | set_gdbarch_deprecated_register_byte and | |
3492 | set_gdbarch_deprecated_register_virtual_type. | |
3493 | Add call to set_gdbarch_register_type. | |
3494 | ||
9c04cab7 AC |
3495 | 2003-06-13 Andrew Cagney <[email protected]> |
3496 | ||
3497 | * gdbarch.sh: Update comments on registers. | |
3498 | (deprecated_register_byte): Rename register_byte. | |
3499 | (deprecated_register_raw_size): Rename register_raw_size. | |
3500 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
3501 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
3502 | * gdbarch.h, gdbarch.c: Re-generate. | |
3503 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3504 | * vax-tdep.c (vax_gdbarch_init): Update. | |
3505 | * v850-tdep.c (v850_gdbarch_init): Update. | |
3506 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3507 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3508 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3509 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3510 | * ns32k-tdep.c: Update. | |
3511 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3512 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3513 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3514 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3515 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3516 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3517 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3518 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
3519 | * frv-tdep.c (frv_gdbarch_init): Update. | |
3520 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3521 | * avr-tdep.c (avr_gdbarch_init): Update. | |
3522 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
3523 | * arm-tdep.c (arm_gdbarch_init): Update. | |
3524 | ||
b060cbea AC |
3525 | 2003-06-13 Andrew Cagney <[email protected]> |
3526 | ||
3527 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
3528 | mips_o32_use_struct_convention with always_use_struct_convention. | |
3529 | ||
0fc9922a DC |
3530 | 2003-06-12 David Carlton <[email protected]> |
3531 | ||
3532 | * cp-namespace.c (cp_set_block_scope): Comment out | |
3533 | processing_has_namespace_info branch. | |
3534 | ||
1fd35568 JB |
3535 | 2003-06-12 Jim Blandy <[email protected]> |
3536 | ||
f470a70a JB |
3537 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
3538 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
3539 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
3540 | functions, macros, and types for working with PPC instructions. | |
3541 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
3542 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
3543 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
3544 | for recognizing and skipping linkage functions. | |
3545 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
3546 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
3547 | ||
49ff75ad JB |
3548 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
3549 | register offsets for both the 32- and 64-bit interfaces. | |
3550 | ||
bd918c83 JB |
3551 | Actually finish the job started by my change of 2003-05-29. |
3552 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
3553 | other #definition of this. | |
3554 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
3555 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
3556 | static. | |
3557 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
3558 | method for GDBARCH. | |
3559 | ||
3560 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
3561 | 'long' on ppc64-*-linux*. | |
3562 | ||
f8c59253 JB |
3563 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
3564 | isn't #defined, assume the register doesn't exist: act as if | |
3565 | tdep->ppc_mq_regnum were -1. | |
3566 | ||
8fbb30b1 JB |
3567 | * configure.host, configure.tgt: Add entries for |
3568 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
3569 | powerpc/linux.mt. | |
3570 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
3571 | New files. | |
3572 | ||
1fd35568 JB |
3573 | * arch-utils.c (always_use_struct_convention): New function. |
3574 | * arch-utils.h (always_use_struct_convention): New prototype. | |
3575 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
3576 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
3577 | instead of alpha_use_struct_convention. | |
3578 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
3579 | (cris_gdbarch_init): Register always_use_struct_convention, | |
3580 | instead of cris_use_struct_convention. | |
3581 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
3582 | (frv_gdbarch_init): Register always_use_struct_convention, | |
3583 | instead of frv_use_struct_convention. | |
3584 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
3585 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
3586 | instead of h8300_use_struct_convention. | |
e3305dd9 | 3587 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
3588 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
3589 | instead of mips_o32_use_struct_convention. | |
3590 | ||
e14e6e9c AC |
3591 | 2003-06-12 Andrew Cagney <[email protected]> |
3592 | ||
3593 | * wince.c: Include "mips-tdep.h". | |
3594 | * mips-tdep.h (mips_next_pc): Declare. | |
3595 | * mcore-tdep.c: Make more local functions static. | |
3596 | * Makefile.in (wince.o): Update dependencies. | |
3597 | ||
2335f48e DC |
3598 | 2003-06-12 David Carlton <[email protected]> |
3599 | ||
3600 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
3601 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
3602 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
3603 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
3604 | SYMBOL_NATURAL_NAME. | |
3605 | ||
f70a7d61 AS |
3606 | 2003-06-12 Andreas Schwab <[email protected]> |
3607 | ||
3608 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
3609 | ||
b6429628 DC |
3610 | 2003-06-12 David Carlton <[email protected]> |
3611 | ||
3612 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
3613 | Add declaration of lookup_partial_symbol. | |
3614 | * symtab.c (remove_params): Move to cp-support.c. | |
3615 | (overload_list_add_symbol, make_symbol_overload_list) | |
3616 | (sym_return_val_size, sym_return_val_index): Ditto. | |
3617 | (lookup_partial_symbol): Make extern. | |
3618 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
3619 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
3620 | symtab.h, and block.h. | |
3621 | (remove_params): Move here from symtab.c. | |
3622 | (overload_list_add_symbol, make_symbol_overload_list) | |
3623 | (sym_return_val_size, sym_return_val_index): Ditto. | |
3624 | * valops.c: Include cp-support.h. | |
3625 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
3626 | frame_h, and block_h. | |
3627 | (valops.o): Depend on cp_support_h. | |
3628 | ||
084edea5 CV |
3629 | 2003-06-12 Corinna Vinschen <[email protected]> |
3630 | ||
3631 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
3632 | substitute by NUM_REGS throughout. | |
3633 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
3634 | (h8300s_register_name): New function for H8S registers. | |
3635 | (h8300sx_register_name): Ditto for H8SX registers. | |
3636 | (h8300_print_register): Revise register printing, avoid depending | |
3637 | on 32 bit long. | |
0261a0d0 | 3638 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
3639 | (h8300h_register_byte): New function for any other architecture. |
3640 | (h8300_register_raw_size): Remove. | |
3641 | (h8300_register_virtual_type): Revise to return actually useful | |
3642 | type. | |
3643 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
3644 | (h8300h_extract_struct_value_address): New function for any other | |
3645 | architecture. | |
3646 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
3647 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
3648 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
3649 | Remove calls to set_gdbarch_deprecated_register_size, | |
3650 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
3651 | set_gdbarch_deprecated_max_register_raw_size, | |
3652 | set_gdbarch_register_virtual_size and | |
3653 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
3654 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
3655 | set_gdbarch_long_double_bit. | |
3656 | ||
06194148 JJ |
3657 | 2003-06-11 Jeff Johnston <[email protected]> |
3658 | ||
8ffd9b1b AJ |
3659 | * doublest.c (convert_doublest_to_floatformat): When dealing |
3660 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
3661 | processing a full 32 bits of mantissa. |
3662 | ||
de4f826b DC |
3663 | 2003-06-11 David Carlton <[email protected]> |
3664 | ||
3665 | * dictionary.h: New. | |
3666 | * dictionary.c: New. | |
3667 | * block.h: Add opaque declaration for struct dictionary. | |
3668 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
3669 | 'sym' members. | |
3670 | (BLOCK_DICT): New macro. | |
3671 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
3672 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
3673 | BLOCK_SHOULD_SORT. | |
3674 | (ALL_BLOCK_SYMBOLS): Update definition. | |
3675 | * Makefile.in (SFILES): Add dictionary.c. | |
3676 | (dictionary_h): New. | |
3677 | (COMMON_OBS): Add dictionary.o. | |
3678 | (dictionary.o): New. | |
3679 | (ada-lang.o): Depend on dictionary_h. | |
3680 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
3681 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
3682 | (mi-cmd-stack.o): Ditto. | |
3683 | (gdbtk-cmds.o): Update dependencies. | |
3684 | (gdbtk-stack.o): Ditto. | |
3685 | * ada-lang.c: Include dictionary.h. | |
3686 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
3687 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
3688 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
3689 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
3690 | 'is_sorted'. | |
3691 | * mdebugread.c: Include dictionary.h. | |
3692 | (struct parse_stack): Delete 'maxsyms' member. | |
3693 | (parse_symbol): Update calls to new_block. Delete calls to | |
3694 | shrink_block. Use dictionary methods. | |
3695 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
3696 | Update calls to new_symtab. Don't maintain maxsyms data. | |
3697 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
3698 | (add_symbol): Just call dict_add_symbol. | |
3699 | (new_symtab): Delete 'maxsyms' argument. | |
3700 | (new_symtab): Update calls to new_block. | |
3701 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
3702 | (shrink_block): Delete function. | |
3703 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
3704 | dict_add_symbol. | |
3705 | * jv-lang.c: Include dictionary.h. | |
3706 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
3707 | appropriately. Set class_symtab->free_func. Make sure the | |
3708 | blockvector is big enough to hold two blocks. | |
3709 | (add_class_symtab_symbol): Use dictionary methods. | |
3710 | (free_class_block): New function. | |
3711 | (type_from_class): Replace explicit iteration by | |
3712 | ALL_BLOCK_SYMBOLS. | |
3713 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
3714 | 'free_func'. | |
3715 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
3716 | sort_symtab_syms. | |
3717 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
3718 | sort_symtab_syms. | |
3719 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
3720 | Include dictionary.h. | |
3721 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
3722 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
3723 | sort_symtab_syms. | |
3724 | * objfiles.c: Include dictionary.h. | |
3725 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
3726 | * buildsym.c: Include dictionary.h. | |
3727 | (finish_block): Use dictionary methods. | |
3728 | (end_symtab): Set free_func to NULL, not free_ptr. | |
3729 | * tracepoint.c: Include dictionary.h. | |
3730 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
3731 | (scope_info): Ditto. | |
3732 | * stack.c: Include dictionary.h. | |
3733 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
3734 | (print_block_frame_labels, print_frame_arg_vars) | |
3735 | (print_frame_args): Ditto. | |
3736 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
3737 | (dump_symtab): Ditto. | |
3738 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
3739 | Include dictionary.h. | |
3740 | * symfile.h: Delete declarations of sort_block_syms, | |
3741 | sort_symtab_syms. | |
3742 | * symfile.c (sort_block_syms): Delete. | |
3743 | (sort_symtab_syms): Delete. | |
3744 | * symtab.c: Include dictionary.h. | |
3745 | (lookup_block_symbol): Use dictionary iterators. | |
3746 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
3747 | (search_symbols, make_symbol_completion_list): Ditto. | |
3748 | (make_symbol_overload_list): Ditto. | |
3749 | * valops.c (value_of_local): Use dict_empty. | |
3750 | Include dictionary.h. | |
3751 | ||
a31f978c JB |
3752 | 2003-06-11 J. Brobecker <[email protected]> |
3753 | ||
3754 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
3755 | ||
526e70c0 DC |
3756 | 2003-06-11 David Carlton <[email protected]> |
3757 | ||
3758 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
3759 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
3760 | blocks. | |
3761 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
3762 | * symfile.c (sort_block_syms): Delete. | |
3763 | (sort_symtab_syms): Ditto. | |
3764 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
3765 | declarations. | |
3766 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
3767 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
3768 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
3769 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
3770 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
3771 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
3772 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
3773 | ||
33c08150 JJ |
3774 | 2003-06-11 Jeff Johnston <[email protected]> |
3775 | ||
8ffd9b1b | 3776 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
3777 | bits to 128. |
3778 | ||
781a750d AC |
3779 | 2003-06-11 Andrew Cagney <[email protected]> |
3780 | ||
3781 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
3782 | REGISTER_CONVERTIBLE. | |
3783 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
3784 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
3785 | * gdbarch.h, gdbarch.c: Re-generate. | |
3786 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
3787 | generic_register_convertible_not. | |
3788 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
3789 | generic_register_convertible. | |
3790 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
3791 | * sh-tdep.c (sh64_push_arguments): Update. | |
3792 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
3793 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
3794 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
3795 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
3796 | * arch-utils.c (legacy_value_to_register): Update. | |
3797 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3798 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
3799 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3800 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
3801 | * infcmd.c (default_print_registers_info): Update. | |
3802 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3803 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
3804 | * i386-tdep.c (i386_gdbarch_init): Update. | |
3805 | (i386_register_convert_to_raw): Update. | |
3806 | ||
cd90e54f AC |
3807 | 2003-06-11 Andrew Cagney <[email protected]> |
3808 | ||
3809 | * remote-fileio.c: Include "remote-fileio.h". | |
3810 | * Makefile.in (remote-fileio.o): Update dependencies. | |
3811 | (remote_fileio_h): Fix typo. | |
3812 | ||
a78f21af AC |
3813 | 2003-06-11 Andrew Cagney <[email protected]> |
3814 | ||
3815 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
3816 | (xstormy16_save_dummy_frame_tos): Make static. | |
3817 | (_initialize_xstormy16_tdep): Add declaration. | |
3818 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
3819 | * v850-tdep.c: Make local functions static. | |
3820 | (_initialize_v850_tdep): Add declaration. | |
3821 | * sparc-tdep.c: Make local functions static. | |
3822 | (_initialize_sparc_tdep): Add declaration. | |
3823 | * sh-tdep.c: Make local functions static. | |
3824 | (_initialize_sh_tdep): Add declaration. | |
3825 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
3826 | * s390-tdep.c: Make local functions static. | |
3827 | (_initialize_s390_tdep): Add declaration. | |
3828 | * dbxread.c (find_stab_function_addr): Make static. | |
3829 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
3830 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
3831 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
3832 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
3833 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
3834 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
3835 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
3836 | * remote-array.c (_initialize_array): Add declaration. | |
3837 | (_initialize_remote_monitors): Add declaration. | |
3838 | * remote-mips.c: Make local functions static. | |
3839 | (_initialize_remote_mips): Add declaration. | |
3840 | * mcore-tdep.c: Make all local functions static. | |
3841 | (_initialize_mcore_tdep): Add declaration. | |
3842 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
3843 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
3844 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
3845 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
3846 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
3847 | * remote-est.c (_initialize_est): Add declaration. | |
3848 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
3849 | (m68hc11_call_dummy_address): Make static. | |
3850 | * ia64-tdep.c: Make local functions static. | |
3851 | (_initialize_ia64_tdep): Add declaration. | |
3852 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
3853 | * monitor.c (monitor_wait_filter): Make static. | |
3854 | (_initialize_remote_monitors): Add declaration. | |
3855 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
3856 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
3857 | (expect_n): Make static. | |
3858 | (_initialize_remote_e7000): Add declaration. | |
3859 | * ser-e7kpc.c: Always include "defs.h". | |
3860 | (_initialize_ser_e7000pc): Add declaration. | |
3861 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
3862 | * cris-tdep.c: Make all but one function static. | |
3863 | (_initialize_cris_tdep): Add declaration. | |
3864 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
3865 | * solib.c (update_solib_list): Make static. | |
3866 | (_initialize_solib): Add declaration. | |
3867 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
3868 | (_initialize_avr_tdep): Add declaration. | |
3869 | * remote-rdi.c (voiddummy): Make static. | |
3870 | (_initialize_remote_rdi): Add declaration. | |
3871 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
3872 | * remote-rdp.c (send_rdp): Make static. | |
3873 | (_initialize_remote_rdp): Add declaration. | |
3874 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
3875 | ||
cbcdb1f5 CV |
3876 | 2003-06-11 Corinna Vinschen <[email protected]> |
3877 | ||
3878 | * remote-fileio.c: Make ari happy. | |
3879 | ||
a191ea8d JB |
3880 | 2003-06-10 J. Brobecker <[email protected]> |
3881 | ||
3882 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
3883 | fetching the trailing bytes of the buffer we are about to write. | |
3884 | ||
0ef75e11 AC |
3885 | 2003-06-10 Andrew Cagney <[email protected]> |
3886 | ||
3887 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
3888 | * Makefile.in (remote-fileio.o): Update dependencies. | |
3889 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
3890 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
3891 | (remote_fio_jmp_buf): Delete global variable. | |
3892 | ||
449092f6 | 3893 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 3894 | Martin M. Hunt <[email protected]> |
449092f6 | 3895 | |
559fa028 AC |
3896 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
3897 | (SFILES): Add remote-fileio.c. | |
3898 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
3899 | dependencies for building remote.o. | |
449092f6 CV |
3900 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
3901 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 3902 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
3903 | static storage class. |
3904 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
3905 | 'F' packet. | |
3906 | (_initialize_remote): Call initialize_remote_fileio(). | |
3907 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
3908 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
3909 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
3910 | (captured_main): Initialize new ui_files. | |
3911 | * ui-file.c: Add read and fgets input functions. | |
3912 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
3913 | (null_file_read): New function. | |
3914 | (ui_file_read): New function. | |
3915 | (set_ui_file_read): New function. | |
3916 | (stdio_file_read): New function. | |
3917 | * ui-file.h: New type ui_file_read_ftype. | |
3918 | (set_ui_file_read): Declare. | |
3919 | (ui_file_read): Declare. | |
3920 | ||
248de703 AC |
3921 | 2003-06-09 Andrew Cagney <[email protected]> |
3922 | ||
3923 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
3924 | generic_unwind_get_saved_register, update comments. | |
3925 | * mips-tdep.c (mips_get_saved_register): Update. | |
3926 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
3927 | ||
0ed8aa57 AC |
3928 | 2003-06-09 Andrew Cagney <[email protected]> |
3929 | ||
3930 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
3931 | (vax_gdbarch_init): Do not set frame_locals_address. | |
3932 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
3933 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
3934 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
3935 | (s390_gdbarch_init): Do not set frame_args_address or | |
3936 | frame_locals_address. | |
3937 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
3938 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
3939 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
3940 | (hppa_frame_locals_address): Delete function. | |
3941 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
3942 | frame_locals_address. | |
3943 | * arm-tdep.c (arm_frame_args_address): Delete. | |
3944 | (arm_frame_locals_address): Delete. | |
3945 | (arm_gdbarch_init): Do not set frame_args_address, or | |
3946 | frame_locals_address. | |
3947 | ||
983a287a AC |
3948 | 2003-06-09 Andrew Cagney <[email protected]> |
3949 | ||
3950 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
3951 | * gdbarch.h, gdbarch.c: Re-generate. | |
3952 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
3953 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
3954 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
3955 | (frame_info): Use FRAME_NUM_ARGS_P. | |
3956 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
3957 | (arm_gdbarch_init): Do not set frame_num_args. | |
3958 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
3959 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
3960 | (hppa_gdbarch_init): Do not set frame_num_args. | |
3961 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
3962 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
3963 | frame_num_args to default frame_num_args_unknown. | |
3964 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
3965 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
3966 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3967 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
3968 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3969 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
3970 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
3971 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
3972 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
3973 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
3974 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
3975 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
3976 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
3977 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
3978 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
3979 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
3980 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
3981 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
3982 | ||
8d3b0994 AC |
3983 | 2003-06-09 Andrew Cagney <[email protected]> |
3984 | ||
3985 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
3986 | (print_frame_args): Moved to "stack.c". | |
3987 | * stack.c: Include "gdb_assert.h". | |
3988 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
3989 | (print_frame_args): Moved from "printcmd.c". | |
3990 | * frame.h (print_frame_args): Delete declaration. | |
3991 | * Makefile.in (stack.o): Update dependencies. | |
3992 | ||
25e3a86b AC |
3993 | 2003-06-08 Andrew Cagney <[email protected]> |
3994 | ||
3995 | * frame.c (get_prev_frame): Remove reference to | |
3996 | frame_args_address_correct in comments. | |
3997 | * frame-base.c (default_frame_args_address): Delete code | |
3998 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
3999 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
4000 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
4001 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
4002 | (vax_frame_args_address_correct): Delete declaration. | |
4003 | ||
a9e5fdc2 AC |
4004 | 2003-06-08 Andrew Cagney <[email protected]> |
4005 | ||
4006 | * gdbarch.sh (UNWIND_SP): Add. | |
4007 | * gdbarch.h, gdbarch.c: Re-generate. | |
4008 | * frame.c (frame_sp_unwind): New function. | |
4009 | (get_frame_sp): New function. | |
4010 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
4011 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
4012 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
4013 | value. | |
4014 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
4015 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
4016 | ||
8983bd83 AC |
4017 | 2003-06-08 Andrew Cagney <[email protected]> |
4018 | ||
7fec2c59 AC |
4019 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
4020 | REMOTE_BREAKPOINT. | |
4021 | * remote.c: Update. | |
4022 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
4023 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
4024 | * config/m68k/tm-sun3.h: Update. | |
4025 | * config/m68k/tm-m68klynx.h: Update. | |
4026 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
4027 | ||
8983bd83 AC |
4028 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
4029 | trad_frame". Update comments. | |
4030 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
4031 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
4032 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
4033 | ||
b9362cc7 AC |
4034 | 2003-06-08 Andrew Cagney <[email protected]> |
4035 | ||
4036 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
4037 | from GCC's acinclude.m4. | |
4038 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 4039 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
4040 | * main.c (error_init): Delete declaration. |
4041 | * defs.h (error_init): Declare. | |
4042 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
4043 | (rs6000_convert_from_func_ptr_addr): Make static. | |
4044 | (_initialize_rs6000_tdep): Add declaration. | |
4045 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
4046 | (show_commands, set_verbose, show_history): Delete declaration. | |
4047 | * top.h (set_verbose): Add declaration. | |
4048 | (show_history, set_history, show_commands): Add declaration. | |
4049 | (do_restore_instream_cleanup): Add declaration. | |
4050 | * objc-lang.c (specialcmp): Make static. | |
4051 | (print_object_command): Make static. | |
4052 | (find_objc_msgsend): Make static. | |
4053 | (find_objc_msgcall_submethod_helper): Make static. | |
4054 | (find_objc_msgcall_submethod): Make static. | |
4055 | (_initialize_objc_language): Add declaration. | |
4056 | (find_implementation_from_class): Make static. | |
4057 | (find_implementation): Make static. | |
4058 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
4059 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
4060 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
4061 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
4062 | (do_restore_user_call_depth): Make static. | |
4063 | (do_restore_instream_cleanup): Delete declaration. | |
4064 | (dont_repeat): Delete declaration. | |
4065 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
4066 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
4067 | * reggroups.c (_initialize_reggroup): Add declaration. | |
4068 | * cp-support.c (_initialize_cp_support): Add declaration. | |
4069 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
4070 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
4071 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
4072 | (_initialize_gnu_v3_abi): Add declaration. | |
4073 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
4074 | (_initialize_gnu_v2_abi): Add declaration. | |
4075 | * frame-base.c (_initialize_frame_base): Add declaration. | |
4076 | * doublest.c (floatformat_from_length): Make static. | |
4077 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
4078 | * frame.c (create_sentinel_frame): Make static. | |
4079 | (_initialize_frame): Add declaration. | |
4080 | * top.c (do_catch_errors): Make static. | |
4081 | (gdb_rl_operate_and_get_next_completion): Make static. | |
4082 | * typeprint.c: Include "typeprint.h". | |
4083 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
4084 | (sentinel_frame_this_id): Make static. | |
4085 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
4086 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
4087 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
4088 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
4089 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
4090 | * maint.c (maintenance_print_architecture): Make static. | |
4091 | * signals/signals.c (_initialize_signals): Add declaration. | |
4092 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
4093 | * jv-exp.y (push_variable): ISO C definition. | |
4094 | (push_qualified_expression_name): Ditto. | |
4095 | * memattr.c (_initialize_mem): Add declaration. | |
4096 | * remote.c (remote_check_watch_resources): Make static. | |
4097 | (remote_stopped_by_watchpoint): Make static. | |
4098 | (remote_stopped_data_address): Make static. | |
4099 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
4100 | (a0_regnum): Make static. | |
4101 | (d10v_frame_unwind_cache): Make static. | |
4102 | (d10v_frame_p): Make static. | |
4103 | * osabi.c (show_osabi): Make static. | |
4104 | (_initialize_gdb_osabi): Add extern declaration. | |
4105 | * gdbtypes.c (make_qualified_type): Make static. | |
4106 | (safe_parse_type): Make static. | |
4107 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
4108 | * macrotab.c (macro_bcache_free): Make static. | |
4109 | * interps.c (interp_set_quiet): Make static. | |
4110 | (interpreter_exec_cmd): Make static. | |
4111 | * stack.h (select_frame_command): New file. | |
4112 | * stack.c: Include "stack.h". | |
4113 | (select_frame_command_wrapper): Delete function. | |
4114 | (select_frame_command): Make global. | |
4115 | * infcall.c: Include "infcall.h". | |
4116 | * linespec.c: Include "linespec.h". | |
4117 | * symfile.c (sections_overlap): Make static. | |
4118 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
4119 | * charset.c (_initialize_charset): Add missing prototype. | |
4120 | * regcache.c (init_legacy_regcache_descr): Make static. | |
4121 | (do_regcache_xfree): Make static. | |
4122 | (regcache_xfer_part): Make static. | |
4123 | (_initialize_regcache): Add missing prototype. | |
4124 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
4125 | (breakpoint_sals_to_pc): Make static. | |
4126 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
4127 | * Makefile.in (stack_h): Define. | |
4128 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
4129 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
4130 | ||
a0f267c7 AC |
4131 | 2003-06-08 Andrew Cagney <[email protected]> |
4132 | ||
4133 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
4134 | (SFILES): Add trad-frame.c. | |
4135 | (trad_frame_h): Define. | |
4136 | (COMMON_OBS): Add trad-frame.o. | |
4137 | (trad-frame.o): Specify dependencies. | |
4138 | * d10v-tdep.c: Include "trad-frame.h". | |
4139 | (saved_regs_unwinder): Delete function. | |
4140 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
4141 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
4142 | trad_frame", delete "regs" and "prev_sp". | |
4143 | (prologue_find_regs): Use trad-frame. | |
4144 | * trad-frame.h, trad-frame.c: New files. | |
4145 | ||
4538b4f4 MK |
4146 | 2003-06-08 Mark Kettenis <[email protected]> |
4147 | ||
4148 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
4149 | ||
a0273b2f AF |
4150 | 2003-06-07 Adam Fedor <[email protected]> |
4151 | ||
4152 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
4153 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
4154 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
4155 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 4156 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
4157 | Use it. |
4158 | ||
3a6c3343 AC |
4159 | 2003-06-07 Andrew Cagney <[email protected]> |
4160 | ||
4161 | * symfile.h: Re-indent, clean up comments. | |
4162 | ||
b46e02f6 AC |
4163 | 2003-06-07 Andrew Cagney <[email protected]> |
4164 | ||
4165 | * inferior.h (deprecated_write_sp): Replace | |
4166 | generic_target_write_sp. | |
4167 | * regcache.c (deprecated_write_sp): Replace | |
4168 | generic_target_write_sp. | |
4169 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4170 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4171 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4172 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4173 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4174 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4175 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4176 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4177 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4178 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4179 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4180 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4181 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4182 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4183 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4184 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4185 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
4186 | ||
a42e117c AC |
4187 | 2003-06-07 Andrew Cagney <[email protected]> |
4188 | ||
4189 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
4190 | Assert that PC_REGNUM is valid. | |
4191 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
4192 | ||
bd1ce8ba AC |
4193 | 2003-06-07 Andrew Cagney <[email protected]> |
4194 | ||
4195 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
4196 | * gdbarch.h, gdbarch.c: Regenerate. | |
4197 | * mn10300-tdep.c: Include "gdb_assert.h". | |
4198 | (mn10300_read_fp): New function. | |
4199 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
4200 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
4201 | * ia64-tdep.c: Include "gdb_assert.h". | |
4202 | (ia64_read_fp): New function. | |
4203 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
4204 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
4205 | * regcache.c (generic_target_read_sp): Delete function. | |
4206 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
4207 | * inferior.h (generic_target_read_sp): Delete declaration. | |
4208 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
4209 | generic_target_read_sp. | |
4210 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4211 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
4212 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4213 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4214 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
4215 | ||
ec5cbaec AC |
4216 | 2003-06-07 Andrew Cagney <[email protected]> |
4217 | ||
4218 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
4219 | * gdbarch.h, gdbarch.c: Re-generate. | |
4220 | ||
cde9ea48 AC |
4221 | 2003-06-07 Andrew Cagney <[email protected]> |
4222 | ||
4223 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
4224 | * gdbarch.h, gdbarch.c: Re-generate. | |
4225 | * regcache.c: Update comments on read_pc et.al. | |
4226 | (generic_target_read_pc): Delete function. | |
4227 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
4228 | * inferior.h (generic_target_read_pc): Delete declaration. | |
4229 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
4230 | generic_target_read_pc. | |
4231 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4232 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4233 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4234 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 4235 | |
9a90a780 AC |
4236 | 2003-06-07 Andrew Cagney <[email protected]> |
4237 | ||
4238 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
4239 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
4240 | Append period to coments. | |
4241 | ||
a39a16c4 MM |
4242 | 2003-06-06 Mark Mitchell <[email protected]> |
4243 | ||
4244 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
4245 | (elfstab_offset_sections): Likewise. | |
4246 | * gdb-stabs.h (stab_section_info): Likewise. | |
4247 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
4248 | * objfiles.c (objfile_relocate): Likewise. | |
4249 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
4250 | * remote.c (get_offsets): Likewise. | |
4251 | (remote_cisco_objfile_relocate): Likewise. | |
4252 | * somread.c (som_symfile_offsets): Likewise. | |
4253 | * symfile.c (alloc_section_addr_info): New function. | |
4254 | (build_section_addr_info_from_section_tab): Use it. | |
4255 | (free_section_addr_info): Adjust. | |
4256 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
4257 | (syms_from_objfile): Allocate local_addr dynamically. | |
4258 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
4259 | dynamically. | |
4260 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
4261 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
4262 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
4263 | (alloc_section_addr_info): Declare it. | |
4264 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
4265 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
4266 | dynamically. | |
4267 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 4268 | |
20c6c2f8 AC |
4269 | 2003-06-06 Andrew Cagney <[email protected]> |
4270 | ||
4271 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
4272 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
4273 | ||
884a26c8 MS |
4274 | 2003-06-06 Michael Snyder <[email protected]> |
4275 | ||
4276 | * h8300-tdep.c: Make tidy (long lines). | |
4277 | ||
088ce440 ML |
4278 | 2003-06-06 Michal Ludvig <[email protected]> |
4279 | ||
8ffd9b1b | 4280 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
4281 | to regcache_collect(). |
4282 | ||
7d773d96 JB |
4283 | 2003-06-05 J. Brobecker <[email protected]> |
4284 | ||
4285 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
4286 | pc_in_sigtramp multiarch method. | |
4287 | (hppa_hpux_som_init_abi): Use it. | |
4288 | (hppa_hpux_elf_init_abi): Likewise. | |
4289 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
4290 | macro has been multiarched. | |
4291 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
4292 | macro here, as hppa64 isn't multiarched yet. | |
4293 | ||
1df6926e AC |
4294 | 2003-06-05 Andrew Cagney <[email protected]> |
4295 | ||
4296 | * Makefile.in (value_h): Add $(frame_h). | |
4297 | * value.h: Include "frame.h". | |
4298 | (struct value): Replace "frame_addr" with "frame_id". | |
4299 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
4300 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
4301 | (value_copy): Use VALUE_FRAME_ID. | |
4302 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
4303 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
4304 | ||
6b53acc6 ML |
4305 | 2003-06-05 Michal Ludvig <[email protected]> |
4306 | ||
4307 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
4308 | in each pass. | |
4309 | ||
4d9850d3 JJ |
4310 | 2003-06-05 Jeff Johnston <[email protected]> |
4311 | ||
4312 | * thread-db.c (check_event): For create/death event breakpoints, | |
4313 | loop through all messages to ensure that we read the message | |
4314 | corresponding to the breakpoint we are at. | |
4315 | ||
8efca6ba MS |
4316 | 2003-06-04 Michael Snyder <[email protected]> |
4317 | ||
4318 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
4319 | ||
0912c7f2 MK |
4320 | 2003-06-04 Mark Kettenis <[email protected]> |
4321 | ||
4322 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
4323 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
4324 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
4325 | when handling .eh_frame sections. | |
4326 | ||
4e370325 JB |
4327 | 2003-06-04 J. Brobecker <[email protected]> |
4328 | ||
4329 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
4330 | prepare_to_proceed procedure instead of the hppa-specific one. | |
4331 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
4332 | ||
b757528f | 4333 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 4334 | |
b757528f JJ |
4335 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
4336 | * config.in: Regenerated. | |
4337 | * configure.in: Add test for syscall function and check for | |
4338 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
4339 | * configure: Regenerated. | |
4340 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
4341 | <sys/syscall.h>. | |
4342 | (kill_lwp): New function that uses tkill syscall or | |
4343 | uses kill, depending on whether threading model is nptl or not. | |
4344 | All callers of kill() changed to use kill_lwp(). | |
4345 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
4346 | see if all threads have already exited in the nptl model. | |
4347 | (stop_and_resume_callback): New callback function used by the | |
4348 | lin_lwp_wait thread exit handling code. | |
4349 | (stop_wait_callback): Check for threads already having exited and | |
4350 | delete such threads fromt the lwp list when discovered. | |
4351 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 4352 | |
b757528f JJ |
4353 | Roland McGrath <[email protected]> |
4354 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
4355 | nptl libthread_db. | |
4356 | ||
087779b1 RH |
4357 | 2003-06-03 Richard Henderson <[email protected]> |
4358 | ||
b21fd293 RH |
4359 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
4360 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
4361 | (alpha_sigtramp_frame_prev_register): Likewise. | |
4362 | (alpha_heuristic_frame_prev_register): Likewise. | |
4363 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
4364 | ||
8ffd9b1b | 4365 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
4366 | alpha-specific register id names. |
4367 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
4368 | (alpha_mdebug_frame_prev_register): Likewise. | |
4369 | ||
baa490c4 RH |
4370 | 2003-06-03 Richard Henderson <[email protected]> |
4371 | ||
4372 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
4373 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
4374 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
4375 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
4376 | unwind routines. | |
4377 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4378 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4379 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
4380 | ||
4381 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
4382 | * Makefile.in (alpha-linux-tdep.o): Update. | |
4383 | ||
4384 | 2003-06-03 Richard Henderson <[email protected]> | |
4385 | ||
4386 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
4387 | (alphabsd_fill_fpreg): Likewise. | |
4388 | ||
f534e522 JB |
4389 | 2003-06-03 J. Brobecker <[email protected]> |
4390 | ||
4391 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
4392 | references to struct frame_info fields by calls to the equivalent | |
4393 | accessors. Necessary now that frame_info is opaque. | |
4394 | ||
4035536b JB |
4395 | 2003-06-03 J. Brobecker <[email protected]> |
4396 | ||
4397 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
4398 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
4399 | structure, field no longer exists. | |
4400 | ||
0bd79c5c JB |
4401 | 2003-06-03 J. Brobecker <[email protected]> |
4402 | ||
4403 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4404 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
4405 | ||
37bb6d9f JB |
4406 | 2003-06-03 J. Brobecker <[email protected]> |
4407 | ||
4408 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
4409 | references to struct frame_info fields by calls to the equivalent | |
4410 | accessors. Necessary now that frame_info is opaque. | |
4411 | ||
852ee05c JB |
4412 | 2003-06-03 J. Brobecker <[email protected]> |
4413 | ||
4414 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
4415 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
4416 | structure, field no longer exists. | |
4417 | ||
7d58c67d TR |
4418 | 2003-06-03 Theodore A. Roth <[email protected]> |
4419 | ||
8ffd9b1b | 4420 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
4421 | accumulation of the size of all registers instead of blindly using |
4422 | DEPRECATED_REGISTER_BYTES. | |
4423 | ||
0a48e7e8 MS |
4424 | 2003-06-03 Michael Snyder <[email protected]> |
4425 | ||
4426 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
4427 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
4428 | for h8300sx. | |
4429 | ||
9798ab0d JB |
4430 | 2003-06-03 J. Brobecker <[email protected]> |
4431 | ||
4432 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
4433 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
4434 | ||
00b037e2 AC |
4435 | 2003-06-03 Andrew Cagney <[email protected]> |
4436 | ||
4437 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
4438 | (sparc_convert_to_raw): Delete function. | |
4439 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
4440 | register_convert_to_virtual. | |
4441 | ||
043b2f77 JJ |
4442 | 2003-06-03 Jeff Johnston <[email protected]> |
4443 | ||
4444 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
4445 | layer if not dealing with a statically-linked threaded program. | |
4446 | ||
f43caff8 KW |
4447 | 2003-06-03 Kris Warkentin <[email protected]> |
4448 | ||
4449 | * solib.c (solib_open): Update comment to reflect actual search order. | |
4450 | ||
ae1e7417 AC |
4451 | 2003-06-03 Andrew Cagney <[email protected]> |
4452 | ||
4453 | * frame.c (get_frame_memory_signed): New function. | |
4454 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
4455 | (get_frame_arch): New function. | |
4456 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
4457 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
4458 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
4459 | get_frame_memory_unsigned and get_frame_arch. | |
4460 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
4461 | ||
cb123844 RG |
4462 | 2003-06-03 Raoul Gough <[email protected]> |
4463 | ||
4464 | * MAINTAINERS (write after approval): Add myself. | |
4465 | ||
1bb792e9 JB |
4466 | 2003-06-03 Jim Blandy <[email protected]> |
4467 | ||
4468 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
4469 | elements of gregset_t are 64 bits each, but access registers | |
4470 | are still 32 bits, so they're packed two per gregset_t | |
4471 | element. Unpack/pack them properly. | |
4472 | ||
aee8d8ba DC |
4473 | 2003-06-02 David Carlton <[email protected]> |
4474 | ||
4475 | * linespec.c (find_methods): Break out code into | |
4476 | add_matching_methods and add_constructors. | |
4477 | (add_matching_methods): New. | |
4478 | (add_constructors): Ditto. | |
4479 | ||
bf7488d2 AC |
4480 | 2003-06-02 Andrew Cagney <[email protected]> |
4481 | ||
bf7488d2 AC |
4482 | * sparc-tdep.c (sparc_print_registers): Delete call to |
4483 | REGISTER_CONVERTIBLE. | |
4484 | (sparc_gdbarch_init): Do not set register_convertible. | |
4485 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4486 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4487 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4488 | ||
adedef68 EZ |
4489 | 2003-06-02 Elena Zannoni <[email protected]> |
4490 | ||
8ffd9b1b | 4491 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
4492 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
4493 | (syms_from_objfile): Ditto. | |
4494 | ||
650fcc91 AS |
4495 | 2003-06-03 Andreas Schwab <[email protected]> |
4496 | ||
4497 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
4498 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
4499 | ||
df4a182b RH |
4500 | 2003-06-02 Richard Henderson <[email protected]> |
4501 | ||
4502 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
4503 | a member of all_reggroup. | |
4504 | ||
c483c494 RH |
4505 | 2003-06-02 Richard Henderson <[email protected]> |
4506 | ||
4507 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
4508 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
4509 | (alpha_lds, alpha_sts): New. | |
4510 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 4511 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
4512 | restructure and fail for type sizes other than 4 or 8. |
4513 | (alpha_value_to_register): Similarly. | |
4514 | (alpha_extract_return_value): Use alpha_sts. | |
4515 | (alpha_store_return_value): Use alpha_lds. | |
4516 | (alpha_gdbarch_init): Update hooks. | |
4517 | ||
b38b6be2 RH |
4518 | 2003-06-02 Richard Henderson <[email protected]> |
4519 | ||
4520 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
4521 | regnum identifiers. | |
4522 | (alpha_sigtramp_register_address): Likewise. | |
4523 | ||
98a8e1e5 RH |
4524 | 2003-06-02 Richard Henderson <[email protected]> |
4525 | ||
4526 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
4527 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
4528 | * alpha-tdep.h: Declare them. | |
4529 | ||
4530 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
4531 | Remove zerobuf. Don't error on UNIQUE. | |
4532 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
4533 | (ALPHA_REGSET_UNIQUE): Provide default. | |
4534 | (supply_gregset): Use alpha_supply_int_regs. | |
4535 | (fill_gregset): Use alpha_fill_int_regs. | |
4536 | (supply_fpregset): Use alpha_supply_fp_regs. | |
4537 | (fill_fpregset): Use alpha_fill_fp_regs. | |
4538 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
4539 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
4540 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
4541 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
4542 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
4543 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
4544 | ||
67dfac52 RH |
4545 | 2003-06-02 Richard Henderson <[email protected]> |
4546 | ||
f75d70cc RH |
4547 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
4548 | ||
67dfac52 RH |
4549 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
4550 | (alpha_store_return_value): Likewise. | |
4551 | ||
0cf566ec DC |
4552 | 2003-06-02 David Carlton <[email protected]> |
4553 | ||
4554 | * block.c (contained_in): Add 'const' to arguments. | |
4555 | (block_function): Ditto. | |
4556 | * block.h: Update declarations for block_function and | |
4557 | contained_in. | |
4558 | ||
cdef89d0 DC |
4559 | 2003-06-02 David Carlton <[email protected]> |
4560 | ||
4561 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
4562 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
4563 | * p-valprint.c (pascal_val_print): Ditto. | |
4564 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
4565 | ||
72667056 RH |
4566 | 2003-06-02 Richard Henderson <[email protected]> |
4567 | ||
98a8e1e5 RH |
4568 | * alpha-tdep.c (alpha_push_dummy_call): Use |
4569 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 4570 | |
8ffd9b1b | 4571 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
4572 | sign-extension of 32-bit values. |
4573 | (alpha_store_return_value): Similarly. | |
0ede8eca | 4574 | |
98a8e1e5 RH |
4575 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
4576 | (alpha_extract_return_value): Likewise. | |
4577 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 4578 | |
98a8e1e5 RH |
4579 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
4580 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 4581 | |
98a8e1e5 RH |
4582 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
4583 | (alpha_extract_struct_value_address): Likewise. | |
4584 | (alpha_store_return_value): Likewise. | |
4585 | (alpha_store_struct_return): Remove. | |
4586 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 4587 | |
98a8e1e5 RH |
4588 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
4589 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
4590 | macros where appropriate. | |
4591 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
4592 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 4593 | |
98a8e1e5 RH |
4594 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
4595 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
4596 | for all others. | |
4597 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 4598 | |
6dd77b81 RH |
4599 | 2003-06-02 Richard Henderson <[email protected]> |
4600 | ||
4601 | * top.h (lim_at_start): Declare. | |
4602 | * main.c (captured_main): Set it. | |
4603 | * top.c (lim_at_start): Define. | |
4604 | (command_loop): Use it instead of &environ. | |
4605 | * event-top.c (command_handler): Likewise. | |
4606 | ||
f4dbdb54 JT |
4607 | 2003-06-01 Jason Thorpe <[email protected]> |
4608 | ||
4609 | * mipsnbsd-tdep.c: Update copyright years. | |
4610 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
4611 | ||
8f285956 RH |
4612 | 2003-06-01 Richard Henderson <[email protected]> |
4613 | ||
98a8e1e5 RH |
4614 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
4615 | (alpha-linux-tdep.o): Update dependencies. | |
4616 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
4617 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 4618 | |
615967cb RH |
4619 | 2003-06-01 Richard Henderson <[email protected]> |
4620 | ||
98a8e1e5 RH |
4621 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
4622 | (alpha_gdbarch_init): Register it. | |
615967cb | 4623 | |
b59661bd AC |
4624 | 2003-06-02 Andrew Cagney <[email protected]> |
4625 | ||
4626 | * dwarfread.c: Eliminate "register" | |
4627 | (decode_die_type): Eliminate assignment within "if". | |
4628 | (struct_type, decode_array_element_type): Ditto. | |
4629 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
4630 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
4631 | (decode_modified_type, completedieinfo): Ditto. | |
4632 | * block.c: Eliminate "register". | |
4633 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
4634 | * cp-support.h (struct symbol): Opaque declaration. | |
4635 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
4636 | ||
5ef165c2 RH |
4637 | 2003-06-01 Richard Henderson <[email protected]> |
4638 | ||
98a8e1e5 RH |
4639 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
4640 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 4641 | |
143985b7 AF |
4642 | 2003-06-01 Adam Fedor <[email protected]> |
4643 | ||
4644 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
4645 | * gdbarch.[ch]: Regenerate. | |
4646 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
4647 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
4648 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
4649 | (i386_gdbarch_init): Set it into gdbarch. | |
4650 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
4651 | (rs6000_gdbarch_init): Set it in gdbarch. | |
4652 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
4653 | (sparc_gdbarch_init): Set it in gdbarch. | |
4654 | ||
ae0167b9 AC |
4655 | 2003-06-01 Andrew Cagney <[email protected]> |
4656 | ||
7c0b4a20 AC |
4657 | * defs.h (extract_address): Delete declaration. |
4658 | * findvar.c (extract_address): Delete function. | |
4659 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
4660 | extract_address with the inline equivalent, | |
4661 | extract_unsigned_integer. | |
4662 | (xstormy16_extract_struct_value_address): Ditto. | |
4663 | (xstormy16_pointer_to_address): Ditto. | |
4664 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
4665 | * v850-tdep.c (v850_push_arguments): Ditto. | |
4666 | (v850_extract_return_value): Ditto. | |
4667 | (v850_extract_struct_value_address): Ditto. | |
4668 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
4669 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
4670 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
4671 | (get_longjmp_target): Ditto. | |
4672 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
4673 | (sh64_extract_struct_value_address): Ditto. | |
4674 | (sh_push_arguments): Ditto. | |
4675 | (sh64_push_arguments): Ditto. | |
4676 | * remote-vxsparc.c (vx_read_register): Ditto. | |
4677 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
4678 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
4679 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
4680 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
4681 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
4682 | * mips-nat.c (get_longjmp_target): Ditto. | |
4683 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
4684 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
4685 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
4686 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
4687 | * irix5-nat.c (get_longjmp_target): Ditto. | |
4688 | * irix4-nat.c (get_longjmp_target): Ditto. | |
4689 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
4690 | (ia64_push_arguments): Ditto. | |
4691 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
4692 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
4693 | (h8300_store_return_value): Ditto. | |
4694 | (h8300_extract_struct_value_address): Ditto. | |
4695 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
4696 | (frv_push_arguments): Ditto. | |
4697 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
4698 | (avr_push_arguments): Ditto. | |
4699 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
4700 | (arm_get_longjmp_target): Ditto. | |
4701 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
4702 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
4703 | (alpha_get_longjmp_target): Ditto. | |
4704 | ||
ae0167b9 AC |
4705 | * solib-irix.c (extract_mips_address): Inline extract_address, |
4706 | replacing it with extract_signed_integer. | |
4707 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
4708 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
4709 | (first_link_map_member, open_symbol_file_object): Ditto. | |
4710 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
4711 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
4712 | (LM_NEXT, LM_NAME): Ditto. | |
4713 | ||
44d88583 RH |
4714 | 2003-06-01 Richard Henderson <[email protected]> |
4715 | ||
98a8e1e5 RH |
4716 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
4717 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
4718 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
4719 | (alpha_cannot_store_register): Likewise. | |
4720 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
4721 | * alpha-nat.c (supply_gregset): Likewise. | |
4722 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 4723 | |
310e9b6a AC |
4724 | 2003-06-01 Andrew Cagney <[email protected]> |
4725 | ||
4726 | * infcall.c (call_function_by_hand): Update comment on | |
4727 | DEPRECATED_DUMMY_WRITE_SP. | |
4728 | ||
4729 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
4730 | deprecated_dummy_write_sp. | |
4731 | (mips_eabi_push_dummy_call): Set the SP register. | |
4732 | (mips_o64_push_dummy_call): Set the SP register. | |
4733 | (mips_o32_push_dummy_call): Set the SP register. | |
4734 | (mips_n32n64_push_dummy_call): Set the SP register. | |
4735 | ||
5ab84872 RH |
4736 | 2003-06-01 Richard Henderson <[email protected]> |
4737 | ||
98a8e1e5 RH |
4738 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
4739 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
4740 | (supply_gregset): Likewise. | |
4741 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
4742 | (alpha_get_longjmp_target): Likewise. | |
4743 | (alpha_register_name): Constify array. | |
4744 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
4745 | deprecated_register_size, deprecated_register_bytes, | |
4746 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
4747 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
4748 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 4749 | |
09cc52fd RH |
4750 | 2003-06-01 Richard Henderson <[email protected]> |
4751 | ||
4752 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
4753 | from arg_reg_buffer to regcache to avoid double conversion. | |
4754 | ||
c7f16359 MK |
4755 | 2003-06-01 Mark Kettenis <[email protected]> |
4756 | ||
4757 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
4758 | SP_REGNUM. | |
4759 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
4760 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
4761 | ||
7131cb6e RH |
4762 | 2003-06-01 Richard Henderson <[email protected]> |
4763 | ||
98a8e1e5 RH |
4764 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
4765 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 4766 | |
f3e0f90b RH |
4767 | 2003-06-01 Richard Henderson <[email protected]> |
4768 | ||
98a8e1e5 RH |
4769 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
4770 | not overlapping PC_REGNUM. | |
f3e0f90b | 4771 | |
c88e30c0 RH |
4772 | 2003-06-01 Richard Henderson <[email protected]> |
4773 | ||
98a8e1e5 RH |
4774 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
4775 | alpha_push_arguments. Don't dump argument register data to | |
4776 | the target stack. Fix float and 128-bit long double semantics. | |
4777 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
4778 | (alpha_fix_call_dummy): Remove. | |
4779 | (alpha_call_dummy_words): Remove. | |
4780 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 4781 | |
f1a559ae RH |
4782 | 2003-06-01 Richard Henderson <[email protected]> |
4783 | ||
4784 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
4785 | ||
5e045346 AC |
4786 | 2003-06-01 Andrew Cagney <[email protected]> |
4787 | ||
95404a3e AC |
4788 | * mips-tdep.c (is_mips16_addr): New function. |
4789 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
4790 | (pc_is_mips16, mips_fetch_instruction): Use. | |
4791 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
4792 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
4793 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
4794 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
4795 | TARGET_MIPS. | |
4796 | * config/mips/tm-mips.h: Update copyright. | |
4797 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
4798 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
4799 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
4800 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
4801 | (TM_PRINT_INSN_MACH): Delete. | |
4802 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
4803 | ||
5e045346 AC |
4804 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
4805 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
4806 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
4807 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
4808 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
4809 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
4810 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
4811 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
4812 | * config/mips/mips64.mt: New file. | |
4813 | * config/mips/mips.mt: New file. | |
4814 | * config/mips/littlemips.mt: Delete file. | |
4815 | * config/mips/decstation.mt: Delete file. | |
4816 | * config/mips/vr4300el.mt: Delete file. | |
4817 | * config/mips/vr5000el.mt: Delete file. | |
4818 | * config/mips/vr5000.mt: Delete file. | |
4819 | * config/mips/vr4100.mt: Delete file. | |
4820 | * config/mips/vr4xxxel.mt: Delete file. | |
4821 | * config/mips/vr4300.mt: Delete file. | |
4822 | * config/mips/vr4xxx.mt: Delete file. | |
4823 | * config/mips/bigmips.mt: Delete file. | |
4824 | * config/mips/bigmips64.mt: Delete file. | |
4825 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
4826 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
4827 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
4828 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
4829 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
4830 | "tm-bigmips.h". | |
4831 | * config/mips/tm-irix3.h: Ditto. | |
4832 | * config/mips/tm-mipsv4.h: Ditto. | |
4833 | * config/mips/tm-embed.h: Ditto. | |
4834 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
4835 | "tm-bigmips64.h". | |
4836 | * config/mips/tm-vr5000el.h: Delete file. | |
4837 | * config/mips/tm-tx39l.h: Delete file. | |
4838 | * config/mips/tm-vr4300el.h: Delete file. | |
4839 | * config/mips/tm-vr4xxxel.h: Delete file. | |
4840 | * config/mips/tm-vr4300.h: Delete file. | |
4841 | * config/mips/tm-vr4100.h: Delete file. | |
4842 | * config/mips/tm-vr4xxx.h: Delete file. | |
4843 | * config/mips/tm-vr5000.h: Delete file. | |
4844 | * config/mips/tm-embedl64.h: Delete file. | |
4845 | * config/mips/tm-embedl.h: Delete file. | |
4846 | * config/mips/tm-embed64.h: Delete file. | |
4847 | * config/mips/tm-bigmips64.h: Delete file. | |
4848 | * config/mips/tm-bigmips.h: Delete file. | |
4849 | ||
2473a4a9 MK |
4850 | 2003-06-01 Mark Kettenis <[email protected]> |
4851 | ||
97a5b208 MK |
4852 | Fix gdb/1216. |
4853 | * shnbsd-nat.c: Include "sh-tdep.h". | |
4854 | ||
2473a4a9 MK |
4855 | From Richard Henderson <[email protected]>: |
4856 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
4857 | ||
e0f7ec59 AC |
4858 | 2003-05-31 Andrew Cagney <[email protected]> |
4859 | ||
4860 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
4861 | forward declaration. | |
4862 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
4863 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
4864 | (mips_find_saved_regs): Use set_reg_offset. | |
4865 | (mips_frame_init_saved_regs): Delete function. | |
4866 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
4867 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4868 | ||
68dcc709 AC |
4869 | 2003-05-31 Andrew Cagney <[email protected]> |
4870 | ||
4871 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
4872 | deprecated_max_register_raw_size, register_virtual_size, and | |
4873 | deprecated_max_register_virtual_size. | |
4874 | ||
cfc14b3a MK |
4875 | 2003-05-31 Mark Kettenis <[email protected]> |
4876 | ||
6405b0a6 MK |
4877 | * i386-tdep.c: Include "dwarf2-frame.h". |
4878 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
4879 | * Makefile.in (i386-tdep.o): Update dependencies. | |
4880 | ||
cfc14b3a MK |
4881 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
4882 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
4883 | (dwarf2_frame_h): Define. | |
4884 | (COMMON_OBS): Add dwarf2-frame.o. | |
4885 | (dwarf2-frame.o): Add dependencies. | |
4886 | ||
6a2751d2 AJ |
4887 | 2003-05-31 Andreas Jaeger <[email protected]> |
4888 | ||
4889 | * x86-64-linux-nat.c: Fix comment. | |
4890 | ||
1c3545ae MK |
4891 | 2003-05-31 Mark Kettenis <[email protected]> |
4892 | ||
10f93086 MK |
4893 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
4894 | function signature. | |
4895 | ||
1c3545ae MK |
4896 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
4897 | have a sigcontext_addr handler. | |
4898 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
4899 | sigcontext_addr handler. | |
4900 | ||
e11c53d2 AC |
4901 | 2003-05-31 Andrew Cagney <[email protected]> |
4902 | ||
4903 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
4904 | (print_fp_register_row): Replace do_fp_register_row. | |
4905 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
4906 | (mips_print_register): Add "file" and "frame" parameters. | |
4907 | (mips_print_registers_info): Replace mips_do_registers_info. | |
4908 | (mips_gdbarch_init): Set print_registers_info instead of | |
4909 | deprecated_do_registers_info. | |
4910 | (mips_read_fp_register_single): Add "frame" parameter. | |
4911 | (mips_read_fp_register_double): Add "frame" parameter. | |
4912 | ||
a3386186 MK |
4913 | 2003-05-31 Mark Kettenis <[email protected]> |
4914 | ||
70913449 MK |
4915 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
4916 | Fixes a bug where GDB would print the wrong register names for | |
4917 | targets without SSE. | |
4918 | ||
2b5e0749 MK |
4919 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
4920 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
4921 | registers. | |
4922 | ||
4923 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
4924 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
4925 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4926 | TDEP->sc_sp_offset. | |
4927 | ||
a3386186 MK |
4928 | From Michal Ludvig <[email protected]>: |
4929 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
4930 | and `sc_num_regs'. | |
4931 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
4932 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
4933 | I386_ST0_REGNUM): Move here from... | |
4934 | * i386-tdep.c: ... here. | |
4935 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
4936 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
4937 | registers if possible. | |
4938 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
4939 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
4940 | Remove variables. | |
4941 | (i386bsd_sc_reg_offset): New variable. | |
4942 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4943 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4944 | TDEP->sc_sp_offset. | |
4945 | (i386fbsd_sc_reg_offset): New variable. | |
4946 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
4947 | TDEP->sc_num_regs. | |
4948 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
4949 | variables. | |
4950 | (i386fbsd4_sc_reg_offset): New variable. | |
4951 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
4952 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4953 | TDEP->sc_sp_offset. | |
4954 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
4955 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
4956 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
4957 | Remove variables. | |
4958 | (i386nbsd_sc_reg_offset): New variable. | |
4959 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4960 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4961 | TDEP->sc_sp_offset. | |
4962 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
4963 | Remove variables. | |
4964 | (i386obsd_sc_reg_offset): New variable. | |
4965 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4966 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4967 | TDEP->sc_sp_offset. | |
4968 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
4969 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
4970 | for frame pointer offset in `struct sigcontext'. | |
4971 | ||
25ab4790 AC |
4972 | 2003-05-31 Andrew Cagney <[email protected]> |
4973 | ||
4974 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
4975 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
4976 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
4977 | push_dummy_call instead of deprecated_push_arguments. | |
4978 | (mips_store_struct_return): Delete function. | |
4979 | (mips_fix_call_dummy): Delete function. | |
4980 | (mips_push_return_address): Delete function. | |
4981 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
4982 | RA_REGNUM and T9_REGNUM. | |
4983 | (mips_n32n64_push_dummy_call): Ditto for | |
4984 | mips_n32n64_push_arguments. | |
4985 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
4986 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
4987 | ||
6a65450a AC |
4988 | 2003-05-31 Andrew Cagney <[email protected]> |
4989 | ||
4990 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
4991 | "dummy_addr" to "bp_addr". | |
4992 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
4993 | gdbarch_push_dummy_call. | |
4994 | * gdbarch.h, gdbarch.c: Re-generate. | |
4995 | * i386-tdep.c (i386_push_dummy_call): Update. | |
4996 | * arm-tdep.c (arm_push_dummy_call): Update. | |
4997 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
4998 | ||
c4f35dd8 MK |
4999 | 2003-05-31 Mark Kettenis <[email protected]> |
5000 | ||
5001 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
5002 | variable declarations. | |
5003 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
5004 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
5005 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
5006 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
5007 | x86_64_function_has_prologue): Remove prototypes. | |
5008 | (X86_64_NUM_GREGS): New define. | |
5009 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
5010 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
5011 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
5012 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
5013 | XMM1_REGNUM): Remove defines. | |
5014 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
5015 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
5016 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
5017 | X86_64_XMM1_REGNUM): New defines. | |
5018 | (struct x86_64_register_info): Renamed from `struct | |
5019 | register_info'. Remove `size' member. | |
5020 | (x86_64_register_info_table): Remove variable. | |
5021 | (x86_64_register_info): New variable. | |
5022 | (X86_64_NUM_REGS): New define. | |
5023 | (X86_64_NUM_GREGS): Remove define. | |
5024 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
5025 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
5026 | Remove variables. | |
5027 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
5028 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
5029 | (x86_64_dwarf_reg_to_regnum): New function. | |
5030 | (x86_64_register_name): Rewrite. | |
5031 | (x86_64_register_raw_size): Remove function. | |
5032 | (x86_64_register_byte_table): Remove variable. | |
5033 | (x86_64_register_byte): Remove function. | |
5034 | (x86_64_register_virtual_type): Remove function. | |
5035 | (x86_64_register_type): New function. | |
5036 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
5037 | x86_64_register_convert_to_raw): Remove functions. | |
5038 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
5039 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
5040 | defines. | |
5041 | (x86_64_frame_init_saved_regs): Remove function. | |
5042 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
5043 | as argument. | |
5044 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
5045 | static. Rewrite based on i386 counterparts. | |
5046 | (x86_64_push_dummy_call): New function. | |
5047 | (X86_64_NUM_SAVED_REGS): New define. | |
5048 | (x86_64_register_number): Remove function. | |
5049 | (x86_64_store_struct_return): Remove function. | |
5050 | (x86_64_frameless_function_invocation, | |
5051 | x86_64_function_has_prologue): Remove functions. | |
5052 | (PROLOG_BUFSIZE): Remove define. | |
5053 | (struct x86_64_frame_cache): New structure. | |
5054 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
5055 | x86_64_frame_cache, x86_64_frame_this_id, | |
5056 | x86_64_frame_prev_register, x86_64_frame_p, | |
5057 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
5058 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
5059 | functions. | |
5060 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
5061 | variables. | |
5062 | (x86_64_skip_prologue): Rewrite in terms of | |
5063 | x86_64_analyze_prologue. | |
5064 | (x86_64_frame_base_address): New function. | |
5065 | (x86_64_frame_base): New variable. | |
5066 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
5067 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
5068 | set deprecated_fp_regnum, deprecated_register_size, | |
5069 | deprecated_register_bytes, register_raw_size, register_byte, | |
5070 | register_virtual_type, register_convertiable, | |
5071 | register_convert_to_virtual, convert_to_raw, | |
5072 | deprecated_get_saved_register, deprecated_target_read_fp, | |
5073 | deprecated_push_arguments, deprecated_push_return_address, | |
5074 | deprecated_pop_frame, deprecated_store_struct_return, | |
5075 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
5076 | frameless_function_invocation, deprecated_frame_saved_pc, | |
5077 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
5078 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
5079 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
5080 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
5081 | and x86_64_frame_p. Call frame_base_set_default to register | |
5082 | x86_64_frame_base. | |
5083 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
5084 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
5085 | (_initialize_x86_64_tdep): Remove function. | |
5086 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
5087 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
5088 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
5089 | define. | |
5090 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
5091 | (x86_64_linux_sigcontext_addr): Rewrite. | |
5092 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
5093 | x86_64_linux_frame_saved_pc): Remove functions. | |
5094 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
5095 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
5096 | trampoline. | |
5097 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
5098 | Remove_functions. | |
5099 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
5100 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5101 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
5102 | (x86_64_regmap): Rename to regmap. | |
5103 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
5104 | x86_64_num_gregs. | |
5105 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
5106 | x86_64_regmap. | |
5107 | (x86_64_fxsave_offset): Remove function. | |
5108 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
5109 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
5110 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
5111 | asignment in if-statement. | |
5112 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
5113 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
5114 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
5115 | (fetch_core_registers): Remove function. | |
5116 | (linux_elf_core_fns): Remove. | |
5117 | (offsetoff): Don't define. | |
5118 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
5119 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
5120 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
5121 | add core-regset.o. | |
5122 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
5123 | protection against multiple includes instead of NM_X86_64_h. Add | |
5124 | various comments. Include "config/nm-linux.h". Don't include | |
5125 | <signal.h>. | |
5126 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
5127 | GET_THREAD_SIGNALS): Remove defines. | |
5128 | (x86_64_register_u_addr, kernel_u_size, | |
5129 | lin_thread_get_thread_signals): Remove prototypes. | |
5130 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
5131 | [HAVE_LINK_H]: Don't include "solib.h". | |
5132 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
5133 | * config/i386/tm-x86-64linux.h: Fix comments. | |
5134 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
5135 | x86-64-tdep.o): Update dependencies. | |
5136 | ||
c25083af AC |
5137 | 2003-05-30 Andrew Cagney <[email protected]> |
5138 | ||
c8f55a7b AC |
5139 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
5140 | Change parameter type to a "struct regcache *". | |
5141 | ||
c25083af AC |
5142 | * gdbarch.sh: Regardless of the multi-arch level, always define |
5143 | the macro when not already defined. | |
5144 | * gdbarch.h, gdbarch.c: Re-generate. | |
5145 | ||
fbe586ae RH |
5146 | 2003-05-30 Richard Henderson <[email protected]> |
5147 | ||
5148 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
5149 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
5150 | (alpha_mdebug_frame_this_id): Likewise. | |
5151 | (alpha_mdebug_frame_prev_register): Likewise. | |
5152 | (alpha_mdebug_frame_base_address): Likewise. | |
5153 | (alpha_mdebug_frame_locals_address): Likewise. | |
5154 | (alpha_mdebug_frame_args_address): Likewise. | |
5155 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
5156 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
5157 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
5158 | loop increment. | |
5159 | (alpha_heuristic_frame_this_id): Make static. | |
5160 | (alpha_heuristic_frame_prev_register): Likewise. | |
5161 | (alpha_heuristic_frame_base_address): Likewise. | |
5162 | * alpha-tdep.h: Update. | |
5163 | ||
acd5c798 MK |
5164 | 2003-05-30 Mark Kettenis <[email protected]> |
5165 | ||
5166 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
5167 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
5168 | defenitions. | |
5169 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
5170 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
5171 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5172 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5173 | I386_ST0_REGNUM): New defines. | |
5174 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
5175 | codestream_get): Remove define. | |
5176 | (codestream_next_addr, condestream_addr, condestream_buf, | |
5177 | codestream_off, codestream_cnt): Remove variables. | |
5178 | (codestream_fill, codestream_seek, codestream_read): Remove | |
5179 | functions. | |
5180 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
5181 | functionality. | |
5182 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
5183 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
5184 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
5185 | i386_frame_num_args, i386_frame_init_saved_regs, | |
5186 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
5187 | i386_push_arguments): Remove functions. | |
5188 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
5189 | functionality. Use i386_analyze_prologue instead of | |
5190 | i386_get_frame_setup. | |
5191 | (I386_NUM_SAVED_REGS): New define. | |
5192 | (struct i386_frame_cache): New structure. | |
5193 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
5194 | i386_skip_probe, i386_analyze_frame_setup, | |
5195 | i386_analyze_register_saves, i386_analyze_prologue, | |
5196 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
5197 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
5198 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
5199 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
5200 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
5201 | New functions. | |
5202 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
5203 | New variables. | |
5204 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
5205 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
5206 | (i386_extract_return_value, i386_store_return_value): Use | |
5207 | I386_ST0_REGNUM where appropriate. | |
5208 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
5209 | (i386_svr4_pc_in_sigtramp): Add comment. | |
5210 | (i386_svr4_sigcontext_addr): Rewrite. | |
5211 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
5212 | TDEP->sc_sp_offset. | |
5213 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
5214 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
5215 | of new defines. Set push_dummy_call, don't set | |
5216 | deprecated_push_arguments, deprecated_push_return_address, | |
5217 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
5218 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
5219 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
5220 | save_dummy_frame_tos, unwind_pc. Call | |
5221 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
5222 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
5223 | Don't set frameless_function_invocation. Don't set | |
5224 | deprecated_register_bytes, deprecated_register_size, | |
5225 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
5226 | * i386-linux-tdep.c: Fix formatting in some comments. | |
5227 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
5228 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
5229 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
5230 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
5231 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
5232 | redundant parentheses. | |
5233 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
5234 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
5235 | (find_minsym_and_objfile): Change name of second argument. | |
5236 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
5237 | changed. Use frame_pc_unwind instead of | |
5238 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
5239 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
5240 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
5241 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
5242 | unwinder. | |
5243 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
5244 | "dummy-frame.h". | |
5245 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
5246 | (_initialize_i386_cygwin_tdep): New prototype. | |
5247 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
5248 | deprecated_frame_chain_valid. | |
5249 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
5250 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5251 | Rely on the SVR4 defaults. | |
5252 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
5253 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
5254 | ||
c89b70f1 AC |
5255 | 2003-05-30 Andrew Cagney <[email protected]> |
5256 | ||
5257 | * infcall.c (call_function_by_hand): Always call | |
5258 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
5259 | ||
85b32d22 RH |
5260 | 2003-05-30 Richard Henderson <[email protected]> |
5261 | ||
c89b70f1 AC |
5262 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
5263 | increment. | |
85b32d22 | 5264 | |
bfe51b1e JB |
5265 | 2003-05-29 Jim Blandy <[email protected]> |
5266 | ||
5267 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
5268 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
5269 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
5270 | show through. | |
5271 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
5272 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
5273 | giving the same effect as the #definitions above. | |
5274 | ||
1abf022c AF |
5275 | 2003-05-29 Adam Fedor <[email protected]> |
5276 | ||
5277 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
5278 | (find_implementation_from_class): Replace it with the standard | |
5279 | case i.e. do nothing. | |
5280 | ||
d2427a71 RH |
5281 | 2003-05-29 Richard Henderson <[email protected]> |
5282 | ||
5283 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
5284 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
5285 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
5286 | update for new frame model. | |
5287 | * alpha-mdebug-tdep.c: New file. | |
5288 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
5289 | (alpha_osf1_init_abi): Install it. | |
5290 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
5291 | (linked_proc_desc_table): Remove. | |
5292 | (alpha_frame_past_sigtramp_frame): Remove. | |
5293 | (alpha_dynamic_sigtramp_offset): Remove. | |
5294 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
5295 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
5296 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
5297 | (push_sigtramp_desc): Remove. | |
5298 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
5299 | (alpha_cannot_store_register): Likewise. | |
5300 | (alpha_sigcontext_addr): Remove. | |
5301 | (alpha_find_saved_regs): Remove. | |
5302 | (alpha_frame_init_saved_regs): Remove. | |
5303 | (alpha_init_frame_pc_first): Remove. | |
5304 | (read_next_frame_reg): Remove. | |
5305 | (alpha_frame_saved_pc): Remove. | |
5306 | (alpha_saved_pc_after_call): Remove. | |
5307 | (temp_proc_desc, temp_saved_regs): Remove. | |
5308 | (alpha_about_to_return): Remove. | |
5309 | (cached_proc_desc): Remove. | |
5310 | (alpha_frame_chain): Remove. | |
5311 | (alpha_print_extra_frame_info): Remove. | |
5312 | (alpha_init_extra_frame_info): Remove. | |
5313 | (alpha_frame_locals_address): Remove. | |
5314 | (alpha_frame_args_address): Remove. | |
5315 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
5316 | (alpha_push_dummy_frame): Remove. | |
5317 | (alpha_pop_frame): Remove. | |
5318 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
5319 | (alpha_read_insn): New. | |
5320 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
5321 | for different insn encodings. | |
5322 | (alpha_in_lenient_prologue): Remove. | |
5323 | (struct alpha_sigtramp_unwind_cache): New. | |
5324 | (alpha_sigtramp_frame_unwind_cache): New. | |
5325 | (alpha_sigtramp_register_address): New. | |
5326 | (alpha_sigtramp_frame_this_id): New. | |
5327 | (alpha_sigtramp_frame_prev_register): New. | |
5328 | (alpha_sigtramp_frame_unwind): New. | |
5329 | (alpha_sigtramp_frame_p): New. | |
5330 | (struct alpha_heuristic_unwind_cache): New. | |
5331 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
5332 | don't count nop insns that occur between functions. | |
5333 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
5334 | heuristic_proc_desc, but without the mdebug wrapping. | |
5335 | (alpha_heuristic_frame_this_id): New. | |
5336 | (alpha_heuristic_frame_prev_register): New. | |
5337 | (alpha_heuristic_frame_unwind): New. | |
5338 | (alpha_heuristic_frame_p): New. | |
5339 | (alpha_heuristic_frame_base_address): New. | |
5340 | (alpha_heuristic_frame_base): New. | |
5341 | (alpha_unwind_dummy_id): New. | |
5342 | (alpha_unwind_pc): New. | |
5343 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
5344 | frame related deprecated initializations; install replacements. | |
5345 | (alpha_dump_tdep): Remove. | |
5346 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
5347 | (alpha_read_insn, alpha_after_prologue, | |
5348 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
5349 | alpha_heuristic_frame_prev_register, | |
5350 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
5351 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5352 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
5353 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
5354 | ||
93ec1121 AC |
5355 | 2003-05-29 Andrew Cagney <[email protected]> |
5356 | ||
5357 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
5358 | dependant on the availability of ASSERT_FUNCTION. | |
5359 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
5360 | ||
98f08d3d KB |
5361 | 2003-05-29 Kevin Buettner <[email protected]> |
5362 | ||
5363 | From Jimi X <[email protected]>: | |
5364 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
5365 | ||
0897f59b JB |
5366 | 2003-05-28 Jim Blandy <[email protected]> |
5367 | ||
5368 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
5369 | argument to ptrace to int; the system headers should give it the | |
5370 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
5371 | ||
14898363 L |
5372 | 2003-05-28 H.J. Lu <[email protected]> |
5373 | ||
5374 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
5375 | DW_TAG_catch_block. | |
5376 | ||
a7a48797 EZ |
5377 | 2003-05-26 Elena Zannoni <[email protected]> |
5378 | ||
5379 | * stabsread.c (dbx_lookup_type): Make static. | |
5380 | (read_type): Ditto. | |
5381 | (add_undefined_type): Ditto. | |
5382 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
5383 | not export. | |
5384 | ||
f5479e9c EZ |
5385 | 2003-05-26 Elena Zannoni <[email protected]> |
5386 | ||
5387 | * hpread.c (hpread_has_name): Make static. | |
5388 | (hpread_psymtab_to_symtab): Ditto. | |
5389 | (file_exists): Ditto. | |
5390 | (hpread_call_pxdb): Ditto. | |
5391 | (hpread_pxdb_needed): Ditto. | |
5392 | (hpread_quick_traverse): Ditto. | |
5393 | (hpread_get_header): Ditto. | |
5394 | (hpread_get_lntt): Ditto. | |
5395 | (hpread_get_slt): Ditto. | |
5396 | (class_of): Ditto. | |
5397 | ||
eb2e12d7 AS |
5398 | 2003-05-25 Andreas Schwab <[email protected]> |
5399 | ||
78bf922a AS |
5400 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
5401 | stack_align and deprecated_extra_stack_alignment_needed. | |
5402 | (m68k_stack_align): Delete. | |
5403 | ||
eb2e12d7 AS |
5404 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
5405 | (m68k_register_virtual_size): Likewise. | |
5406 | (altos_skip_prologue): Remove obsolete function. | |
5407 | (isi_frame_num_args): Likewise. | |
5408 | (news_frame_num_args): Likewise. | |
5409 | (m68k_fix_call_dummy): Make static. | |
5410 | (m68k_push_dummy_frame): Likewise. | |
5411 | (m68k_pop_frame): Likewise. | |
5412 | (m68k_skip_prologue): Likewise. | |
5413 | (m68k_frame_init_saved_regs): Likewise. | |
5414 | (m68k_saved_pc_after_call): Likewise. | |
5415 | (m68k_get_longjmp_target): Make multi-arch. | |
5416 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
5417 | structure. Register m68k_get_longjmp_target if enabled. | |
5418 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
5419 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
5420 | ||
5421 | * Makefile.in (config.status): Also depend on configure.tgt | |
5422 | and configure.host. | |
5423 | (m68klinux-tdep.o): Update dependencies. | |
5424 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
5425 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
5426 | (M68K_LINUX_JB_PC): Define. | |
5427 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
5428 | and take additional parameter. | |
5429 | (m68k_linux_sigtramp_saved_pc): Update. | |
5430 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
5431 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
5432 | find_solib_trampoline_target. | |
5433 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
5434 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
5435 | (JB_ELEMENT_SIZE): Likewise. | |
5436 | (JB_PC): Likewise. | |
5437 | (GET_LONGJMP_TARGET): Likewise. | |
5438 | (IN_SIGTRAMP): Likewise. | |
5439 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
5440 | ||
eb2c22dc MK |
5441 | 2003-05-25 Mark Kettenis <[email protected]> |
5442 | ||
5443 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
5444 | (sparc32_push_arguments): Re-implement by calling | |
5445 | sparc32_do_push_arguments. | |
5446 | ||
44b7b84e MK |
5447 | 2003-05-25 Mark Kettenis <[email protected]> |
5448 | ||
5449 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
5450 | SPARC_O1_REGNUM): New defines. | |
5451 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
5452 | (sparc32_store_return_value): New function. | |
5453 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
5454 | regcache. | |
5455 | (sparc_gdbarch_init): Don't set | |
5456 | deprecated_extract_struct_value_address. Set | |
5457 | extract_struct_value_address instead. Don't set | |
5458 | deprecated_extract_return_value and deprecated_store_return_value | |
5459 | for 32-bit targets. Set extract_return_value and | |
5460 | store_return_value instead. | |
5461 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
5462 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
5463 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
5464 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
5465 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
5466 | (sparc_store_return_value): Remove prototype. | |
5467 | (sparc32_store_return_value): New prototype. | |
5468 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
5469 | Adjust prototypes. | |
5470 | ||
f6ad61e3 MK |
5471 | 2003-05-24 Mark Kettenis <[email protected]> |
5472 | ||
5473 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
5474 | ||
b276f1bb AC |
5475 | 2003-05-23 Andrew Cagney <[email protected]> |
5476 | ||
5477 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
5478 | the inline equivalent extract_unsigned_integer. | |
5479 | * jv-valprint.c (java_value_print): Ditto. | |
5480 | * ada-valprint.c (ada_val_print_1): Ditto. | |
5481 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
5482 | ||
e76c5fcc TR |
5483 | 2003-05-23 Theodore A. Roth <[email protected]> |
5484 | ||
5485 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
5486 | after_prologue variable. | |
5487 | ||
2cdd89cb MK |
5488 | 2003-05-23 Mark Kettenis <[email protected]> |
5489 | ||
5490 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
5491 | asignments in if-statements. | |
5492 | ||
182d43bc EZ |
5493 | 2003-05-23 Raoul Gough <[email protected]> |
5494 | ||
5495 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 5496 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
5497 | files, don't relocate absolute symbols (and do use mst_abs). |
5498 | ||
e8f3fcdd AC |
5499 | 2003-05-23 Andrew Cagney <[email protected]> |
5500 | ||
5501 | * objc-lang.c: Include "gdb_assert.h". | |
5502 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
5503 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
5504 | (gdb_check, gdb_check_fatal): Delete functions. | |
5505 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
5506 | gdb_assert. | |
5507 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
5508 | * Makefile.in (objc-lang.o): Update dependencies. | |
5509 | ||
3c23e6fb ILT |
5510 | 2003-05-22 Ian Lance Taylor <[email protected]> |
5511 | ||
5512 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
5513 | with fprintf_filtered, not fprintf_unfiltered. | |
5514 | ||
af1342ab AC |
5515 | 2003-05-22 Andrew Cagney <[email protected]> |
5516 | ||
5517 | * stack.c (frame_info): Inline extract_address, replacing it with | |
5518 | extract_unsigned_integer. | |
5519 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
5520 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
5521 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
5522 | * frame.c (frame_pc_unwind): Update comment. | |
5523 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
5524 | ||
47e242ec JJ |
5525 | 2003-05-22 Jeff Johnston <[email protected]> |
5526 | ||
5527 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
5528 | perror_with_name to issue warning message when errno is non-zero | |
5529 | after calling ptrace detach. | |
5530 | ||
e2ac8128 JB |
5531 | 2003-05-21 J. Brobecker <[email protected]> |
5532 | ||
5533 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
5534 | macro definitions from here... | |
5535 | * hppa-tdep.c: ...to there. | |
5536 | ||
92b3541e KB |
5537 | 2003-05-20 Kevin Buettner <[email protected]> |
5538 | ||
5539 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
5540 | register_ptrace_addr(). Fix all callers. | |
5541 | ||
55809acb AS |
5542 | 2003-05-21 Andreas Schwab <[email protected]> |
5543 | ||
5544 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
5545 | dependencies. | |
5546 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
5547 | end. | |
5548 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
5549 | (_initialize_m68k_linux_tdep): New function. | |
5550 | (m68k_linux_frame_saved_pc): Make static. | |
5551 | (m68k_linux_extract_return_value): Likewise. | |
5552 | (m68k_linux_store_return_value): Likewise. | |
5553 | (m68k_linux_extract_struct_value_address): Likewise. | |
5554 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
5555 | Remove. | |
5556 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
5557 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
5558 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
5559 | ||
0fbc10f7 KW |
5560 | 2003-05-20 Kris Warkentin <[email protected]> |
5561 | ||
5562 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
5563 | regset numbering rather than our own. | |
5564 | ||
58da2eb2 DC |
5565 | 2003-05-19 David Carlton <[email protected]> |
5566 | ||
5567 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
5568 | ||
1fcb5155 DC |
5569 | 2003-05-19 David Carlton <[email protected]> |
5570 | ||
5571 | Partial fix for PR c++/827. | |
5572 | * cp-support.h: Include symtab.h. | |
5573 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
5574 | * cp-namespace.c: Update contributors. | |
5575 | (cp_lookup_symbol_nonlocal): New. | |
5576 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
5577 | (lookup_symbol_file): Ditto. | |
5578 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
5579 | * block.h: Declare block_scope, block_using, block_global_block. | |
5580 | * block.c (block_scope): New. | |
5581 | (block_using, block_global_block): Ditto. | |
5582 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
5583 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
5584 | ||
5f9a71c3 DC |
5585 | 2003-05-19 David Carlton <[email protected]> |
5586 | ||
5587 | * language.h (struct language_defn): Add 'la_value_of_this' | |
5588 | and 'la_lookup_symbol_nonlocal' members. | |
5589 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
5590 | lookup_symbol_static, lookup_symbol_global, | |
5591 | lookup_symbol_aux_block. | |
5592 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
5593 | if we should search fields of this and how to do static/global | |
5594 | lookup. | |
5595 | (lookup_symbol_aux_block): Make extern. | |
5596 | (basic_lookup_symbol_nonlocal): New. | |
5597 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
5598 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
5599 | 'la_lookup_symbol_nonlocal' members. | |
5600 | * c-lang.c (c_language_defn, cplus_language_defn) | |
5601 | (asm_language_defn, minimal_language_defn): Ditto. | |
5602 | * jv-lang.c (java_language_defn): Ditto. | |
5603 | * language.c (unknown_language_defn, auto_language_defn) | |
5604 | (local_language_defn): Ditto. | |
5605 | * m2-lang.c (m2_language_defn): Ditto. | |
5606 | * objc-lang.c (objc_language_defn): Ditto. | |
5607 | * scm-lang.c (scm_language_defn): Ditto. | |
5608 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
5609 | * p-lang.c (pascal_language_defn): Ditto for both. | |
5610 | * Makefile.in (f-lang.o): Depend on value_h. | |
5611 | (p-lang.o): Ditto. | |
5612 | ||
89a9d1b1 DC |
5613 | 2003-05-19 David Carlton <[email protected]> |
5614 | ||
5615 | * block.h: Declare block_static_block. | |
5616 | * block.c (block_static_block): New. | |
5617 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
5618 | lookup_symbol_aux_local, calling block_static_block instead. | |
5619 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
5620 | ||
eed3f8ab DC |
5621 | 2003-05-19 David Carlton <[email protected]> |
5622 | ||
5623 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
5624 | ||
a09d8bda ML |
5625 | 2003-05-19 Michal Ludvig <[email protected]> |
5626 | ||
5627 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
5628 | register numbers mapping. | |
5629 | ||
69636828 AF |
5630 | 2003-05-18 Adam Fedor <[email protected]> |
5631 | ||
5632 | * symtab.c (completion_list_objc_symbol): New function. | |
5633 | (make_symbol_completion_list): Use it to add ObjC symbols | |
5634 | when looking though the list. | |
5635 | (language_search_unquoted_string): New function. | |
5636 | (make_file_symbol_completion_list): Use it. | |
5637 | ||
55baeb84 AS |
5638 | 2003-05-18 Andreas Schwab <[email protected]> |
5639 | ||
d0b45d99 AS |
5640 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
5641 | dependencies. | |
5642 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
5643 | as m68k_linux_extract_return_value. | |
5644 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
5645 | m68k_linux_store_return_value. | |
5646 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
5647 | m68k_linux_extract_struct_value_address. | |
5648 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
5649 | get_next_frame, get_frame_base, get_frame_pc. | |
5650 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
5651 | (m68k_linux_extract_return_value): New function. | |
5652 | (m68k_linux_store_return_value): New function. | |
5653 | (m68k_linux_extract_struct_value_address): New function. | |
5654 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
5655 | ||
55baeb84 AS |
5656 | * c-exp.y (typebase): Remove duplicate occurence of |
5657 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 5658 | of lookup_signed_typename. |
55baeb84 | 5659 | |
b6b08ebf MK |
5660 | 2003-05-18 Mark Kettenis <[email protected]> |
5661 | ||
5662 | * dwarf2loc.c (find_location_expression): Change type of second | |
5663 | argument to `size_t *'. | |
5664 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
5665 | for size variable. | |
5666 | ||
5ad1c190 DC |
5667 | 2003-05-18 David Carlton <[email protected]> |
5668 | ||
5669 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
5670 | 'linkage_name'. Add comment. | |
5671 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
5672 | 'linkage_name'. | |
5673 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
5674 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
5675 | (lookup_block_symbol): Ditto. | |
5676 | ||
b8b527c5 AC |
5677 | 2003-05-16 Andrew Cagney <[email protected]> |
5678 | ||
5679 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
5680 | * gdbarch.h, gdbarch.c: Re-generate. | |
5681 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
5682 | * TODO (REGISTER_BYTES): Delete reference. | |
5683 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5684 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5685 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
5686 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5687 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5688 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5689 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5690 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5691 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5692 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
5693 | (ns32k_gdbarch_init_32382): Update. | |
5694 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5695 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5696 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5697 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5698 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5699 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5700 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
5701 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5702 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5703 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5704 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5705 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5706 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5707 | * sparc-tdep.c (sparc_pop_frame): Update. | |
5708 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
5709 | * remote.c (init_remote_state): Update. | |
5710 | (remote_prepare_to_store): Update. | |
5711 | * remote-vx.c (vx_prepare_to_store): Update. | |
5712 | * remote-sds.c (sds_fetch_registers): Update. | |
5713 | (sds_prepare_to_store): Update. | |
5714 | * remote-array.c: Update. | |
5715 | * regcache.c (init_legacy_regcache_descr): Update. | |
5716 | (init_regcache_descr): Update. | |
5717 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
5718 | (mips_o64_extract_return_value): Update. | |
5719 | * irix5-nat.c (fetch_core_registers): Update. | |
5720 | * irix4-nat.c (fetch_core_registers): Update. | |
5721 | * i386-tdep.h: Update. | |
5722 | * hppa-tdep.c (pa_do_registers_info): Update. | |
5723 | (pa_do_strcat_registers_info): Update. | |
5724 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
5725 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
5726 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
5727 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
5728 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
5729 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
5730 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5731 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
5732 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5733 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
5734 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
5735 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
5736 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
5737 | (REGISTER_BYTES_OK): Update. | |
5738 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
5739 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5740 | ||
ee2842e2 ILT |
5741 | 2003-05-16 Ian Lance Taylor <[email protected]> |
5742 | ||
5743 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
5744 | (vax_print_insn, print_insn_arg): Remove static functions. | |
5745 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
5746 | print_insn_vax from opcodes library. | |
5747 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
5748 | ||
973177d3 AC |
5749 | 2003-05-15 Andrew Cagney <[email protected]> |
5750 | ||
aaab4dba AC |
5751 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
5752 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
5753 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
5754 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
5755 | * monitor.c (monitor_insert_breakpoint): Use | |
5756 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
5757 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
5758 | * gdbarch.h, gdbarch.c: Re-generate. | |
5759 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
5760 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
5761 | sparc_breakpoint_from_pc. | |
5762 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
5763 | (BREAKPOINT_FROM_PC): Define. | |
5764 | (sparc_breakpoint_from_pc): Declare. | |
5765 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
5766 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
5767 | (BREAKPOINT_FROM_PC): Define. | |
5768 | (BREAKPOINT): Delete macro. | |
5769 | * target.h: Update comment. | |
5770 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
5771 | * remote.c: Update comments. | |
5772 | * remote-mips.c: Update comments. | |
5773 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
5774 | * mem-break.c: Update comment. | |
5775 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
5776 | (ia64_memory_insert_breakpoint): Update. | |
5777 | * config/sparc/tm-sparc.h: Update comment. | |
5778 | * config/pa/tm-hppa64.h: Update comment. | |
5779 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
5780 | (rs6000_breakpoint_from_pc): Update. | |
5781 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
5782 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
5783 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
5784 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
5785 | (mips_breakpoint_from_pc): Update. | |
5786 | (mips_dump_tdep): Update. | |
5787 | ||
e06963ff AC |
5788 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
5789 | * minsyms.c (lookup_minimal_symbol): Inline | |
5790 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
5791 | ||
973177d3 AC |
5792 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
5793 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
5794 | * p-lang.c (pascal_printstr): Ditto. | |
5795 | * objc-lang.c (objc_printstr): Ditto. | |
5796 | * m2-lang.c (m2_printstr): Ditto. | |
5797 | * jv-valprint.c (java_print_value_fields): Ditto. | |
5798 | * f-lang.c (f_printstr): Ditto. | |
5799 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
5800 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
5801 | for repeat_count_threshold. | |
5802 | * Makefile.in (cp-valprint.o): Update dependencies. | |
5803 | ||
5ea2bd7f | 5804 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 5805 | |
5ea2bd7f JJ |
5806 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
5807 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
5808 | they start with mov r2,r12. Support skipping over indirect stores |
5809 | of the input registers. Upon hitting a non-nop branch instruction | |
5810 | or predicated instruction, bail out by setting lim_pc to the current | |
5811 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
5812 | beyond our calculated value and we have trust_limit set, |
5813 | use the lim_pc value. | |
5814 | ||
cc8c88f3 AC |
5815 | 2003-05-15 Andrew Cagney <[email protected]> |
5816 | ||
5817 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
5818 | generic_find_dummy_frame. | |
5819 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
5820 | (deprecated_generic_find_dummy_frame): Update. | |
5821 | (deprecated_read_register_dummy): Update. | |
5822 | * frame.c (deprecated_generic_get_saved_register): Update. | |
5823 | ||
909cd28e TR |
5824 | 2003-05-15 Theodore A. Roth <[email protected]> |
5825 | ||
5826 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
5827 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
5828 | ||
b923b08d AC |
5829 | 2003-05-15 Andrew Cagney <[email protected]> |
5830 | ||
5831 | * regcache.c (build_regcache): Set deprecated_register_valid | |
5832 | directly. | |
5833 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
5834 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
5835 | declaration. | |
5836 | ||
ae2f03ac | 5837 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
5838 | |
5839 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
5840 | * symtab.c (lookup_symbol_aux): Delete calls to |
5841 | lookup_symbol_aux_minsyms. | |
5842 | (lookup_symbol_aux_minsyms): Comment out function and | |
5843 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 5844 | |
18ec9831 KB |
5845 | 2003-05-14 Kevin Buettner <[email protected]> |
5846 | ||
5847 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
5848 | correctly indicate an empty stack and ``stack_allocated'' to the | |
5849 | indicate the number of elements initially allocated. | |
5850 | (dwarf_expr_grow_stack): Simplify method for computing new | |
5851 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
5852 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
5853 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
5854 | be used in conjuction with DW_OP_piece. Revise error message | |
5855 | accordingly. | |
5856 | ||
de18ac1f TR |
5857 | 2003-05-14 Theodore A. Roth <[email protected]> |
5858 | ||
5859 | * MAINTAINERS: Update my email address. | |
5860 | * avr-tdep.c: Ditto. | |
5861 | ||
176620f1 EZ |
5862 | 2003-05-14 Elena Zannoni <[email protected]> |
5863 | ||
5864 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
5865 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
5866 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
5867 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
5868 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
5869 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
5870 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
5871 | (struct symbol, struct partial_symbol): Rename field | |
5872 | 'namespace_enum namespace' to 'domain_enum domain'. | |
5873 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
5874 | Delete old define kludge for namespace. | |
5875 | ||
5876 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
5877 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
5878 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
5879 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
5880 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
5881 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
5882 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
5883 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
5884 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
5885 | occurrences of the above. | |
5886 | ||
b7f31508 ILT |
5887 | 2003-05-14 Ian Lance Taylor <[email protected]> |
5888 | ||
5889 | * Makefile.in (install-only): Use $(SHELL) when running | |
5890 | mkinstalldirs. | |
5891 | ||
2fdbdd39 ILT |
5892 | 2003-05-13 Ian Lance Taylor <[email protected]> |
5893 | ||
a208d82c ILT |
5894 | * MAINTAINERS (write after approval): Add myself. |
5895 | ||
2fdbdd39 ILT |
5896 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
5897 | second and third arguments. | |
5898 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
5899 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
5900 | ||
fbd9dcd3 AC |
5901 | 2003-05-13 Andrew Cagney <[email protected]> |
5902 | ||
5903 | * defs.h (store_address): Delete declaration. | |
5904 | findvar.c (store_address): Delete function. | |
5905 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
5906 | store_unsigned_integer. | |
5907 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
5908 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5909 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
5910 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
5911 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
5912 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
5913 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
5914 | (mips_get_saved_register): Ditto. | |
5915 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
5916 | (find_func_descr, ia64_push_arguments): Ditto. | |
5917 | * i386-tdep.c (i386_push_arguments): Ditto. | |
5918 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
5919 | * frv-tdep.c (frv_push_arguments): Ditto. | |
5920 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
5921 | (deprecated_generic_get_saved_register): Ditto. | |
5922 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
5923 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
5924 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5925 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
5926 | ||
6760f9e6 JB |
5927 | 2003-05-12 J. Brobecker <[email protected]> |
5928 | ||
5929 | * NEWS: Mention that the hppa-hpux port has been partially | |
5930 | multiarched (32bit ABIT only, so far). | |
5931 | ||
30e221b4 AC |
5932 | 2003-05-11 Andrew Cagney <[email protected]> |
5933 | ||
5934 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
5935 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
5936 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
5937 | sim/testsuite/sim/arm/misaligned2.ms, and | |
5938 | sim/testsuite/sim/arm/misaligned3.ms. | |
5939 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
5940 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
5941 | * frame.h (struct ui_file): Ditto. | |
5942 | ||
dea7f9ba MK |
5943 | 2003-05-11 Mark Kettenis <[email protected]> |
5944 | ||
5945 | * value.h: Pretty print. | |
5946 | ||
01986c48 MK |
5947 | 2003-05-10 Mark Kettenis <[email protected]> |
5948 | ||
5949 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
5950 | ||
123a958e AC |
5951 | 2003-05-08 Andrew Cagney <[email protected]> |
5952 | ||
5953 | * regcache.h (max_register_size): Delete declaration. | |
5954 | * regcache.c (max_register_size): Delete function. | |
5955 | (struct regcache_descr): Delete field "max_register_size". | |
5956 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
5957 | registers fit in MAX_REGISTER_SIZE. | |
5958 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
5959 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
5960 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
5961 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
5962 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
5963 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
5964 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
5965 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
5966 | ||
eb294659 DC |
5967 | 2003-05-08 David Carlton <[email protected]> |
5968 | ||
5969 | * valops.c (push_word): Fix typo. | |
5970 | ||
d9d9c31f AC |
5971 | 2003-05-08 Andrew Cagney <[email protected]> |
5972 | ||
5973 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
5974 | * gdbarch.h: Re-generate. | |
5975 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
5976 | (legacy_max_register_raw_size): Delete declaration. | |
5977 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
5978 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
5979 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
5980 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
5981 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
5982 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
5983 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
5984 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
5985 | * findvar.c, dwarf2cfi.c: Ditto. | |
5986 | ||
22540ece AC |
5987 | 2003-05-08 Andrew Cagney <[email protected]> |
5988 | ||
5989 | * mips-tdep.c (read_signed_register): New function, moved to here | |
5990 | from "regcache.c". | |
5991 | (read_signed_register_pid): Ditto. | |
5992 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
5993 | "mips-tdep.c". | |
5994 | (read_signed_register): Ditto. | |
5995 | * regcache.h (read_signed_register): Delete declaration. | |
5996 | (read_signed_register_pid): Delete declaration. | |
5997 | ||
0c92afe8 AC |
5998 | 2003-05-08 Andrew Cagney <[email protected]> |
5999 | ||
6000 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
6001 | * gdbarch.h: Re-generate. | |
6002 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
6003 | (legacy_max_register_virtual_size): Delete declaration. | |
6004 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
6005 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
6006 | * tracepoint.c (memrange_sortmerge): Ditto. | |
6007 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
6008 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
6009 | ||
6037b830 JB |
6010 | 2002-05-08 J. Brobecker <[email protected]> |
6011 | ||
6012 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
6013 | (fork_inferior): Escape '!' characters in quoted arguments | |
6014 | only when needed. | |
6015 | ||
5d62c8b1 JB |
6016 | 2003-05-08 J. Brobecker <[email protected]> |
6017 | ||
6018 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
6019 | the language of the CU is not currently supported by GDB. | |
6020 | ||
20a0e81d JB |
6021 | 2003-05-08 J. Brobecker <[email protected]> |
6022 | ||
6023 | * defs.h (language): Add language_minimal enum value. | |
6024 | * c-lang.c (minimal_language_defn): New language definition. | |
6025 | (_initialize_c_language): Add the new minimal language to the list | |
6026 | of languages known to GDB. | |
6027 | ||
710ee10a KB |
6028 | 2003-05-08 Kevin Buettner <[email protected]> |
6029 | ||
6030 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
6031 | frame's unwinder for legacy frames. | |
6032 | ||
1750fa04 AC |
6033 | 2003-05-07 Andrew Cagney <[email protected]> |
6034 | ||
6035 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
6036 | and "regcache" parameters. | |
6037 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
6038 | ||
ddf9f258 | 6039 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
6040 | |
6041 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
6042 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
6043 | the current address. |
6044 | ||
87767c29 AC |
6045 | 2003-05-07 Andrew Cagney <[email protected]> |
6046 | ||
6047 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
6048 | code. | |
6049 | ||
5e7b2f39 JB |
6050 | 2003-05-07 Jim Blandy <[email protected]> |
6051 | ||
6052 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
6053 | 'maint info symtabs' and 'maint info psymtabs'. | |
6054 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6055 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
6056 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6057 | Declarations updated. | |
6058 | * maint.c (maintenance_list_command): Delete. | |
6059 | (_initialize_maint_cmds): Update calls to add_cmd. | |
6060 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
6061 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
6062 | (init_cmd_lists): Don't initialize it. | |
6063 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
6064 | ||
f6684c31 AC |
6065 | 2003-05-07 Andrew Cagney <[email protected]> |
6066 | ||
6067 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
6068 | "regcache". | |
6069 | (d10v_print_registers_info): Update. | |
6070 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
6071 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
6072 | and "imap_register". | |
6073 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
6074 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
6075 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
6076 | "regcache" and "gdbarch" parameters. | |
6077 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
6078 | parameter. Change class to multi-arch. | |
6079 | * gdbarch.h, gdbarch.c: Re-generate. | |
6080 | * remote.c (remote_xfer_memory): Use | |
6081 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 6082 | |
e4846b08 JJ |
6083 | 2003-05-07 Jeff Johnston <[email protected]> |
6084 | ||
6085 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
6086 | (proceed): Refresh prev_pc value before resuming. | |
6087 | (stop_stepping): Remove code to refresh prev_pc. | |
6088 | ||
6b71b8ac KW |
6089 | 2003-05-06 Kris Warkentin <[email protected]> |
6090 | ||
6091 | * nto-tdep.c: Removed stray comment. | |
6092 | ||
47979a4b KW |
6093 | 2003-05-06 Kris Warkentin <[email protected]> |
6094 | ||
6095 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
6096 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
6097 | Also change add_show_from_set() call to add_setshow_cmd(). | |
6098 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
6099 | ||
00905d52 AC |
6100 | 2003-05-05 Andrew Cagney <[email protected]> |
6101 | ||
6102 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
6103 | (fprint_dummy_frames): New function. | |
6104 | (maintenance_print_dummy_frames): New function. | |
6105 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
6106 | * frame.c (fprint_frame_id): Make global. | |
6107 | * frame.h (fprint_frame_id): Declare. | |
6108 | * Makefile.in (dummy-frame.o): Update dependencies. | |
6109 | ||
b1e29e33 AC |
6110 | 2003-05-05 Andrew Cagney <[email protected]> |
6111 | ||
6112 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
6113 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
6114 | SIZEOF_CALL_DUMMY_WORDS. | |
6115 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
6116 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
6117 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
6118 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
6119 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
6120 | CALL_DUMMY_START_OFFSET. | |
6121 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
6122 | * gdbarch.h, gdbarch.c: Re-generate. | |
6123 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
6124 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
6125 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
6126 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
6127 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
6128 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
6129 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
6130 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
6131 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
6132 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
6133 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
6134 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
6135 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
6136 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
6137 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
6138 | |
6139 | 2003-05-05 Kris Warkentin <[email protected]> | |
6140 | ||
6141 | * configure.tgt: Add i[3456]86-*-nto*. | |
6142 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
6143 | * nto-tdep.c: New file. Neutrino target support routines. | |
6144 | * nto-tdep.h: New file. Neutrino target header. | |
6145 | * config/tm-qnxnto.h: New file. | |
6146 | * config/i386/i386nto.mt: New file. | |
6147 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 6148 | |
0ce3d317 AC |
6149 | 2003-05-04 Andrew Cagney <[email protected]> |
6150 | ||
6151 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
6152 | (load_infrun_state): Ditto. | |
6153 | (struct thread_info): Drop "prev_func_name" field. | |
6154 | * thread.c (load_infrun_state): Update. | |
6155 | (save_infrun_state): Update. | |
6156 | * infrun.c (prev_func_name): Delete variable. | |
6157 | (init_wait_for_inferior): Do not clear prev_func_name. | |
6158 | (stop_stepping, keep_going, context_switch): Do not swap | |
6159 | prev_func_name. | |
6160 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
6161 | instead of PC_IN_SIGTRAMP. | |
6162 | ||
46654a5b AC |
6163 | 2003-05-04 Andrew Cagney <[email protected]> |
6164 | ||
6165 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
6166 | REGISTER_BYTE with register_offset_hack. | |
6167 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
6168 | that REGISTER_BYTE is consistent with the regcache. | |
6169 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
6170 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 6171 | |
14b08c1b MK |
6172 | 2003-05-04 Mark Kettenis <[email protected]> |
6173 | ||
04c8243f MK |
6174 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
6175 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
6176 | ||
14b08c1b MK |
6177 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
6178 | ||
c7a11e01 JB |
6179 | 2003-05-03 J. Brobecker <[email protected]> |
6180 | ||
6181 | From Thierry Schneider <[email protected]> | |
6182 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
6183 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
6184 | (mi-cmd-symbol.o): Add rule. | |
6185 | ||
7043d8dc AC |
6186 | 2003-05-03 Andrew Cagney <[email protected]> |
6187 | ||
6188 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
6189 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
6190 | * gdbarch.h, gdbarch.c: Re-generate. | |
6191 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
6192 | (d10v_gdbarch_init): Set push_dummy_code. | |
6193 | * infcall.c (legacy_push_dummy_code): New function. | |
6194 | (generic_push_dummy_code): New function. | |
6195 | (push_dummy_code): New function. | |
6196 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
6197 | instead of dummy_addr, to push_dummy_call. Move call to | |
6198 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
6199 | switch. | |
6200 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
6201 | ||
92bf2b80 AC |
6202 | 2003-05-03 Andrew Cagney <[email protected]> |
6203 | ||
6204 | * disasm.h (print_insn): Declare. | |
6205 | * disasm.c (init_gdb_disassemble_info): New function. | |
6206 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
6207 | (gdb_print_insn): New function. | |
6208 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
6209 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
6210 | * mcore-tdep.c: Include "disasm.h" | |
6211 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
6212 | * d10v-tdep.c: Include "disasm.h". | |
6213 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
6214 | (print_insn): Delete function. | |
6215 | * printcmd.c: Include "disasm.h". | |
6216 | (print_insn): Delete function. | |
6217 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
6218 | * Makefile.in (printcmd.o): Update dependencies. | |
6219 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 6220 | |
27d94c49 AC |
6221 | 2003-05-02 Andrew Cagney <[email protected]> |
6222 | ||
82de1e5b AC |
6223 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
6224 | PC_REGNUM, re-indent. | |
6225 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
6226 | PC_REGNUM isn't set. | |
6227 | ||
27d94c49 AC |
6228 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
6229 | * gdbarch.h, gdbarch.c: Re-generate. | |
6230 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
6231 | register_virtual_size, pc_regnum, or register_bytes. | |
6232 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
6233 | (d10v_register_type): Use D10V_PC_REGNUM. | |
6234 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
6235 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
6236 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
6237 | ||
a9c0dc7f DC |
6238 | 2003-05-02 David Carlton <[email protected]> |
6239 | ||
6240 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
6241 | the name with mstrsave. | |
6242 | ||
e33d66ec EZ |
6243 | 2003-05-02 Elena Zannoni <[email protected]> |
6244 | ||
6245 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
6246 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
6247 | (host_charset_name, target_charset_name): New vars for use by | |
6248 | set/show commands. | |
6249 | (host_charset_enum, target_charset_enum): New enums for set/show | |
6250 | commands. | |
6251 | (set_charset_sfunc, set_host_charset_sfunc, | |
6252 | set_target_charset_sfunc): New functions. | |
6253 | (set_host_charset, set_target_charset): Make static. | |
6254 | (list_charsets, set_host_charset_command, | |
6255 | set_target_charset_command): Delete functions. | |
6256 | (show_charset_command): Rewrite as.... | |
6257 | (show_charset): Hook this up with the set/show command mechanism. | |
6258 | (_initialize_charset): Change names of charsets to match the | |
6259 | set/show enums. Use host_charset_name and target_charset_name. | |
6260 | Use set/show mechanism for charset, host-charset, target-charset | |
6261 | commands. Do not make 'show host-charset' and 'show | |
6262 | target-charset' be aliases of 'show charset'. | |
6263 | ||
6264 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
6265 | they are not used outside the file. | |
6266 | ||
2b6fd0d8 AC |
6267 | 2003-05-01 Andrew Cagney <[email protected]> |
6268 | ||
6269 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
6270 | (gdb_disassembly): Make "di" non static, always initialize and | |
6271 | cleanup. Always use dis_asm_read_memory. | |
6272 | (gdb_dis_asm_read_memory): Delete function. | |
6273 | ||
6ae2f580 AC |
6274 | 2003-05-01 Andrew Cagney <[email protected]> |
6275 | ||
6276 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
6277 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
6278 | ||
810ecf9f AC |
6279 | 2003-04-30 Andrew Cagney <[email protected]> |
6280 | ||
6281 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
6282 | "tm_print_insn_info". | |
6283 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
6284 | (dis_asm_read_memory): Delete function declaration. | |
6285 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6286 | (tm_print_insn_info): Delete variable definition. | |
6287 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
6288 | * gdbarch.h, gdbarch.c: Re-generate. | |
6289 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
6290 | "deprecated_tm_print_insn_info". | |
6291 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
6292 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6293 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
6294 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
6295 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
6296 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
6297 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
6298 | * s390-tdep.c (s390_get_frame_info): Instead of | |
6299 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
6300 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
6301 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
6302 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6303 | * disasm.c: Include "gdbcore.h". | |
6304 | (_initialize_disasm): New function, initialize | |
6305 | "deprecated_tm_print_insn_info". | |
6306 | (deprecated_tm_print_insn_info): New variable. | |
6307 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
6308 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
6309 | * Makefile.in (disasm.o): Update dependencies. | |
6310 | ||
07020390 AC |
6311 | 2003-04-30 Andrew Cagney <[email protected]> |
6312 | ||
6313 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
6314 | ||
a9fa03de AF |
6315 | 2003-04-29 Adam Fedor <[email protected]> |
6316 | ||
6317 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
6318 | * infcall.c (find_function_addr): Make non-static. | |
6319 | * infcall.h (find_function_addr): Declare. | |
6320 | * Makefile.in (eval.o): Update dependencies. | |
6321 | ||
1bae87b9 AF |
6322 | 2003-04-28 Adam Fedor <[email protected]> |
6323 | ||
6324 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
6325 | ObjC symbols. | |
6326 | (symbol_init_demangled_name): Init for language_objc as well. | |
6327 | ||
0ba6dca9 AC |
6328 | 2003-04-28 Andrew Cagney <[email protected]> |
6329 | ||
6330 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
6331 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
6332 | * gdbarch.h, gdbarch.c: Re-generate. | |
6333 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
6334 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
6335 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
6336 | (generic_target_read_fp): Delete declaration. | |
6337 | * regcache.c (generic_target_read_fp): Delete function. | |
6338 | (deprecated_read_fp): Replace read_fp, use | |
6339 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
6340 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
6341 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
6342 | ||
6343 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
6344 | deprecated_target_read_fp to generic_target_read_fp. | |
6345 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6346 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6347 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6348 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6349 | ||
6350 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
6351 | deprecated_fp_regnum. | |
6352 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
6353 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
6354 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6355 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6356 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6357 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6358 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6359 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6360 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6361 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
6362 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6363 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6364 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
6365 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6366 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
6367 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6368 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6369 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6370 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6371 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
6372 | ||
6373 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
6374 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6375 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6376 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6377 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6378 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6379 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6380 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6381 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6382 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6383 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6384 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6385 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6386 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6387 | ||
6388 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
6389 | DEPRECATED_FP_REGNUM. | |
6390 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
6391 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
6392 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
6393 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
6394 | (sparc32_register_virtual_type): Ditto. | |
6395 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
6396 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
6397 | (sh_nofp_frame_init_saved_regs): Ditto. | |
6398 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
6399 | (sh_fp_frame_init_saved_regs): Ditto. | |
6400 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
6401 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
6402 | * procfs.c (procfs_fetch_registers): Ditto. | |
6403 | (procfs_store_registers): Ditto. | |
6404 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
6405 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6406 | (fetch_kcore_registers, clear_regs): Ditto. | |
6407 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
6408 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
6409 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
6410 | * nlm/i386.c (do_status): Ditto. | |
6411 | * mipsv4-nat.c (supply_gregset): Ditto. | |
6412 | * mips-tdep.c: Ditto for comments. | |
6413 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
6414 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6415 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
6416 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
6417 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
6418 | (i386_do_pop_frame, i386_register_type): Ditto. | |
6419 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
6420 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
6421 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
6422 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
6423 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
6424 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
6425 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
6426 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6427 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
6428 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6429 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6430 | * blockframe.c: Ditto for comments. | |
6431 | * arch-utils.h: Ditto for comments. | |
6432 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
6433 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
6434 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
6435 | * alpha-tdep.h: Ditto for comments. | |
6436 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
6437 | (alpha_cannot_store_register): Ditto. | |
6438 | (alpha_push_dummy_frame): Ditto. | |
6439 | * alpha-nat.c (supply_gregset): Ditto. | |
6440 | ||
6441 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6442 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6443 | * config/sparc/tm-sparc.h: Update comment. | |
6444 | ||
6445 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
6446 | deprecated_read_fp instead of TARGET_READ_FP. | |
6447 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
6448 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
6449 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
6450 | deprecated_read_fp instead of read_fp. | |
6451 | * s390-tdep.c (s390_push_arguments): Ditto. | |
6452 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6453 | * frame.h: Ditto in comments. | |
6454 | * frame.c (legacy_get_prev_frame): Ditto. | |
6455 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
6456 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
6457 | ||
d7a27068 AC |
6458 | 2003-04-28 Andrew Cagney <[email protected]> |
6459 | ||
6460 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
6461 | * gdbarch.h, gdbarch.c: Re-generate. | |
6462 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
6463 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
6464 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
6465 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
6466 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
6467 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
6468 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
6469 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
6470 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
6471 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
6472 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
6473 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
6474 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
6475 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
6476 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
6477 | (_initialize_cris_tdep): Update. | |
6478 | * arch-utils.c (legacy_print_insn): Update. | |
6479 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
6480 | ||
d2630e69 AF |
6481 | 2003-04-26 Adam Fedor <[email protected]> |
6482 | ||
6483 | * linespec.c (decode_objc): New function to decode ObjC calls | |
6484 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
6485 | * Makefile (linespec.o): Update dependencies. | |
6486 | ||
3086aeae DJ |
6487 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
6488 | ||
6489 | * breakpoint.h (struct breakpoint_ops): New. | |
6490 | (struct breakpoint): Add ops member. | |
6491 | ||
6492 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
6493 | (mention): Use new breakpoint ops member. | |
6494 | (set_raw_breakpoint): Initialize ops field to NULL. | |
6495 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
6496 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
6497 | (gnu_v3_exception_catchpoint_ops): New. | |
6498 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
6499 | ||
1fbec6c3 AF |
6500 | 2003-04-25 Adam Fedor <[email protected]> |
6501 | ||
6502 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
6503 | ||
0ef21242 AC |
6504 | 2003-04-25 Andrew Cagney <[email protected]> |
6505 | ||
6506 | * d10v-tdep.c (print_insn): Delete function. | |
6507 | (display_trace): Use TARGET_PRINT_INSN. | |
6508 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
6509 | (d10v_gdbarch_init): Set print_insn. | |
6510 | ||
f75493ed AC |
6511 | 2003-04-25 Andrew Cagney <[email protected]> |
6512 | ||
6513 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
6514 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
6515 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
6516 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
6517 | (nr_dmap_regs, a0_regnum): ... new functions. | |
6518 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
6519 | (d10v_register_byte): Delete function. | |
6520 | (d10v_register_raw_size): Delete function. | |
6521 | (d10v_register_type): Use a0_regnum. | |
6522 | (d10v_print_registers_info): Use a0_regnum. | |
6523 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
6524 | (d10v_gdbarch_init): Do not set register_byte or | |
6525 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
6526 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
6527 | extract_address. | |
6528 | (trace_command): Use XCALLOC. | |
6529 | (print_insn): Delete reference to tm_print_insn. | |
6530 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
6531 | store_address. | |
6532 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
6533 | ||
2202b100 DC |
6534 | 2003-04-25 David Carlton <[email protected]> |
6535 | ||
6536 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
6537 | ||
4e45ca2e AF |
6538 | 2003-04-24 Adam Fedor <[email protected]> |
6539 | ||
6540 | * objc-lang.c: Include "valprint.h" | |
6541 | * Makefile.in (objc-lang.o): Update dependencies. | |
6542 | ||
93de3e7f AF |
6543 | 2003-04-24 Adam Fedor <[email protected]> |
6544 | ||
8ffd9b1b | 6545 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
6546 | architecture dependant compilation and mark as unimplemented |
6547 | (until they get put in the gdbarch vector). | |
6548 | ||
0f20eeea DC |
6549 | 2003-04-23 David Carlton <[email protected]> |
6550 | ||
6551 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
6552 | more locations. | |
6553 | ||
74cfe982 AC |
6554 | 2003-04-23 Andrew Cagney <[email protected]> |
6555 | ||
6556 | * infcall.c (call_function_by_hand): Eliminate redundant | |
6557 | indentation. Move "saved_async" and "old_cleanups" to where they | |
6558 | are needed. | |
8ffd9b1b | 6559 | |
52557533 AC |
6560 | 2003-04-23 Andrew Cagney <[email protected]> |
6561 | ||
6562 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
6563 | and "buffer". Move the "name" code to where it is needed. | |
6564 | ||
158775de AC |
6565 | 2003-04-23 Andrew Cagney <[email protected]> |
6566 | ||
6567 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
6568 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
6569 | code to ON_STACK switch branch. | |
8ffd9b1b | 6570 | |
ebc7896c AC |
6571 | 2003-04-23 Andrew Cagney <[email protected]> |
6572 | ||
6573 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
6574 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
6575 | lint. | |
6576 | ||
d727590f AC |
6577 | 2003-04-23 Andrew Cagney <[email protected]> |
6578 | ||
6579 | * infcall.c (call_function_by_hand): Delete variable | |
6580 | "n_method_args". Localize "param_type"'s declaration to the loop | |
6581 | that it is used. Reinstate code assigning to said variable - | |
6582 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
6583 | Rationalize code using "param_type". | |
6584 | ||
d585e13a AC |
6585 | 2003-04-22 Andrew Cagney <[email protected]> |
6586 | ||
6587 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
6588 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
6589 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
6590 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
6591 | ||
051caad9 KB |
6592 | 2003-04-22 Kevin Buettner <[email protected]> |
6593 | ||
6594 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
6595 | on the DWARF2 register number prior to fetching a register. | |
6596 | ||
77296879 JB |
6597 | 2003-04-22 J. Brobecker <[email protected]> |
6598 | ||
6599 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
6600 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 6601 | this macro was always set to 0. |
77296879 JB |
6602 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
6603 | considering the fact that this macro was always set to 0. | |
6604 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
6605 | (hppa_extract_return_value): Likewise. | |
6606 | ||
4252f1df JB |
6607 | 2003-04-22 J. Brobecker <[email protected]> |
6608 | ||
6609 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
6610 | the hppa-pro target only. | |
6611 | ||
14604c6b JB |
6612 | 2003-04-21 J. Brobecker <[email protected]> |
6613 | ||
6614 | Ongoing multi-arch conversion effort for HP/UX: | |
6615 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
6616 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
6617 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
6618 | ||
77eb01d1 JB |
6619 | 2003-04-21 J. Brobecker <[email protected]> |
6620 | ||
6621 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
6622 | for hppa-pro. | |
6623 | ||
61995b3b JB |
6624 | 2003-04-21 J. Brobecker <[email protected]> |
6625 | ||
6626 | Ongoing multi-arch conversion for HP/UX. | |
6627 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
6628 | if already defined (allows hppa64 to stay non-multiarched for now). | |
6629 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
6630 | ||
4aa79dcc AC |
6631 | 2003-04-21 Andrew Cagney <[email protected]> |
6632 | ||
6633 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
6634 | ||
0f751ff2 AC |
6635 | 2003-04-21 Andrew Cagney <[email protected]> |
6636 | ||
6637 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
6638 | "i386_num_mmx_regs". | |
6639 | ||
04714b91 AC |
6640 | 2003-04-21 Andrew Cagney <[email protected]> |
6641 | ||
6642 | * infcall.c: New file. | |
6643 | * infcall.h: New file. | |
6644 | * valarith.c: Include "infcall.h". | |
6645 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
6646 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
6647 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
6648 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
6649 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
6650 | (SFILES): Add "infcall.c" | |
6651 | (COMMON_OBS): Add "infcall.o". | |
6652 | (infcall.o): Specify dependencies. | |
6653 | * value.h (call_function_by_hand): Delete declaration. | |
6654 | * inferior.h (run_stack_dummy): Delete declaration. | |
6655 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
6656 | (run_stack_dummy): Move to "infcall.c", merged into | |
6657 | call_function_by_hand. | |
6658 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
6659 | (find_function_addr, value_arg_coerce): Ditto. | |
6660 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
6661 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
6662 | "set/show unwindonsignal" commands to "infcall.c". | |
6663 | * v850-tdep.c, target.h: Update comments. | |
6664 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
6665 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
6666 | (sh64_init_extra_frame_info): Update comments. | |
6667 | * mn10300-tdep.c: Update comments. | |
6668 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
6669 | * config/sparc/tm-sparc.h: Update comments. | |
6670 | * breakpoint.h: Update comments. | |
6671 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
6672 | * arm-tdep.c: Update comment. | |
6673 | ||
f9d3c2a8 MK |
6674 | 2003-04-19 Mark Kettenis <[email protected]> |
6675 | ||
c40e1eab MK |
6676 | * i386-tdep.c (i386_num_register_names): New variable. |
6677 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
6678 | (MM0_REGNUM): Remove redundant parentheses in define. | |
6679 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
6680 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
6681 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
6682 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 6683 | |
94ea66b3 MK |
6684 | * i386-tdep.c (i386_extract_return_value, |
6685 | i386_store_return_value): Correct check for availability of | |
6686 | floating-point registers. | |
6687 | ||
54299a1d MK |
6688 | * i386-tdep.c (i386_frame_num_args): Remove function. |
6689 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
6690 | ||
c86c27af MK |
6691 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
6692 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
6693 | ||
f9d3c2a8 MK |
6694 | * i386-tdep.c (i386_get_longjmp_target): Use |
6695 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
6696 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
6697 | extract_address. | |
6698 | ||
94ba74a9 MK |
6699 | 2003-04-19 Mark Kettenis <[email protected]> |
6700 | ||
6701 | * core-regset.c: Update comments to reflect reality. Re-order | |
6702 | includes. | |
6703 | (fetch_core_registers): Use switch instead of if. Remove | |
6704 | redundant prototype. | |
6705 | ||
4074e13c JB |
6706 | 2003-04-18 Jim Blandy <[email protected]> |
6707 | ||
6708 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 6709 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 6710 | |
e3ab4aba RH |
6711 | 2003-04-17 Richard Henderson <[email protected]> |
6712 | ||
6713 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
6714 | ||
627bf7c1 EZ |
6715 | 2003-04-17 Michael Snyder <[email protected]> |
6716 | Karen Bennet <[email protected]> | |
6717 | ||
6718 | Committed by Elena Zannoni <[email protected]> | |
6719 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 6720 | |
514621a9 EZ |
6721 | 2003-04-17 Elena Zannoni <[email protected]> |
6722 | ||
6723 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 6724 | value if the return type is void. |
514621a9 | 6725 | |
b4acd559 JJ |
6726 | 2003-04-17 Jeff Johnston <[email protected]> |
6727 | ||
6728 | * thread-db.c: Reindented. | |
8ffd9b1b | 6729 | |
530b167e | 6730 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
6731 | |
6732 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
6733 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
6734 | as types. |
6735 | ||
0a48e7e8 MS |
6736 | |
6737 | ||
6738 | ||
6739 | ||
6740 | ||
6741 | ||
6742 | ||
6743 | ||
6744 | ||
6745 | ||
6746 | ||
6747 | ||
6748 | ||
6749 | ||
6750 | ||
6751 | ||
6752 | ||
6753 | ||
6754 | ||
6755 | ||
6756 | ||
6757 | ||
6758 | ||
8ffd9b1b | 6759 | |
ab9fe00e KB |
6760 | 2003-04-16 Kevin Buettner <[email protected]> |
6761 | ||
610a3745 | 6762 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
6763 | the size of ``long double'' to 16, instead of 8. |
6764 | ||
e64a344c MK |
6765 | 2003-04-16 Mark Kettenis <[email protected]> |
6766 | ||
6767 | * i386-linux-nat.c: Add some whitespace to make things more | |
6768 | readable. | |
6769 | (fetch_register, store_register, fetch_inferior_registers, | |
6770 | store_inferior_registers): Get rid of assignment in if-statement. | |
6771 | (store_register): Fix typo in error message. | |
6772 | ||
25d41031 AC |
6773 | 2003-04-16 Andrew Cagney <[email protected]> |
6774 | ||
6775 | * utils.c (xmmalloc): Always allocate something, matches | |
6776 | libiberty/xmalloc's semantics. | |
6777 | (xmrealloc, xmcalloc): Ditto. | |
6778 | ||
c50901fd AC |
6779 | 2003-04-16 Andrew Cagney <[email protected]> |
6780 | ||
6781 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
6782 | update comments. | |
6783 | (get_frame_type): Initialize unwind and type when needed. | |
6784 | (get_frame_id, frame_register_unwind): Ditto. | |
6785 | ||
f81824a9 AC |
6786 | 2003-04-16 Andrew Cagney <[email protected]> |
6787 | ||
6788 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
6789 | obsolete. | |
6790 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
6791 | * sparcl-stub.c: Obsolete file. | |
6792 | * config/sparc/tm-sparclet.h: Obsolete file. | |
6793 | * sparclet-stub.c: Obsolete file. | |
6794 | * sparclet-rom.c: Obsolete file. | |
6795 | * sparcl-tdep.c: Obsolete file. | |
6796 | * config/sparc/tm-sparclite.h: Obsolete file. | |
6797 | * config/sparc/sparclite.mt: Obsolete file. | |
6798 | * config/sparc/sparclet.mt: Obsolete file. | |
6799 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
6800 | sparc86x-*-* obsolete. | |
6801 | ||
9219021c DC |
6802 | 2003-04-15 David Carlton <[email protected]> |
6803 | ||
6804 | * Makefile.in (SFILES): Add cp-namespace.c. | |
6805 | (COMMON_OBS): Add cp-namespace.o. | |
6806 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
6807 | (buildsym.o): Depend on cp_support_h. | |
6808 | (cp-namespace.o): New. | |
6809 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
6810 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
6811 | (dwarf2read.o): Depend on cp_support_h. | |
6812 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
6813 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
6814 | processing_current_namespace. | |
6815 | (read_namespace): Update processing_current_namespace; check for | |
6816 | anonymous namespaces. | |
6817 | (dwarf2_name): New function. | |
6818 | (dwarf2_extension): Ditto. | |
6819 | * cp-support.h: Update copyright, contributors. | |
6820 | Add inclusion guards. | |
6821 | Add opaque declaration for structs obstack, block, symbol. | |
6822 | (struct using_direct): New struct. | |
6823 | Add declarations for cp_find_first_component, | |
6824 | cp_entire_prefix_len, processing_has_namespace_info, | |
6825 | processing_current_namespace, cp_is_anonymous, | |
6826 | cp_add_using_directive, cp_initialize_namespace, | |
6827 | cp_finalize_namespace, cp_set_block_scope, | |
6828 | cp_scan_for_anonymous_namespaces. | |
6829 | * cp-namespace.c: New file. | |
6830 | * cp-support.c: Update copyright. | |
6831 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
6832 | New variable maint_cplus_cmd_list. | |
6833 | (cp_find_first_component): New function. | |
6834 | (cp_entire_prefix_len, maint_cplus_command) | |
6835 | (first_component_command, _initialize_cp_support): Ditto. | |
6836 | * buildsym.c: Include cp-support.h. | |
6837 | New variable using_list. | |
6838 | (add_symbol_to_list): Check for anonymous namespaces. | |
6839 | (finish_block): Set block's scope. | |
6840 | (start_symtab): Initialize C++ namespace support. | |
6841 | (end_symtab): Finalize C++ namespace support. | |
6842 | * block.h: Add opaque declarations for structs | |
6843 | block_namespace_info, using_direct, and obstack. | |
6844 | Add declarations for block_set_scope and block_set_using. | |
6845 | (struct block): Add 'language_specific' member. | |
6846 | (BLOCK_NAMESPACE): New macro. | |
6847 | * block.c: Include gdb_obstack.h and cp-support.h. | |
6848 | (struct block_namespace_info): New struct. | |
6849 | (block_set_scope): New function. | |
6850 | (block_set_using, block_initialize_namespace): Ditto. | |
6851 | ||
d5a921c9 KB |
6852 | 2003-04-14 Kevin Buettner <[email protected]> |
6853 | ||
6854 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
6855 | (locate_base): Return early if there aren't any link map offsets. | |
6856 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
6857 | is unavailable. | |
6858 | ||
d2a52b27 DC |
6859 | 2003-04-14 David Carlton <[email protected]> |
6860 | ||
6861 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
6862 | in hash table. Fix for PR java/1039. | |
6863 | ||
980cae7a DC |
6864 | 2003-04-14 David Carlton <[email protected]> |
6865 | ||
6866 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
6867 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
6868 | * symtab.h: Change 'name' argument in declaration of | |
6869 | symbol_set_names to 'linkage_name'. | |
6870 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
6871 | ||
e227b13c AC |
6872 | 2003-04-14 Andrew Cagney <[email protected]> |
6873 | ||
6874 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
6875 | return the fully sign-extended register value. | |
6876 | (get_frame_pointer): Ditto. | |
6877 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
6878 | dummy frame. | |
6879 | ||
36712a20 AC |
6880 | 2003-04-14 Andrew Cagney <[email protected]> |
6881 | ||
6882 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
6883 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
6884 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
6885 | (mips_push_register): Delete function. | |
6886 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
6887 | PUSH_FP_REGNUM. | |
6888 | ||
44ea7b70 JB |
6889 | 2003-04-14 Jim Blandy <[email protected]> |
6890 | ||
6891 | * symmisc.c: #include "gdb_regex.h". | |
6892 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
6893 | functions. | |
6894 | * maint.c (maintenance_list_command): New function. | |
6895 | (_initialize_maint_cmds): Register the above as commands. | |
6896 | * symtab.h (maintenance_list_symtabs, | |
6897 | maintenance_list_psymtabs): New declarations. | |
6898 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
6899 | (init_cmd_lists): Initialize it. | |
6900 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
6901 | * gdbcmd.h (maintenancelistlist): New declaration. | |
6902 | * Makefile.in (symmisc.o): Update dependencies. | |
6903 | ||
2d0c7962 EZ |
6904 | 2003-04-14 Elena Zannoni <[email protected]> |
6905 | ||
6906 | * s390-nat.c: Include asm/types.h for addr_t. | |
6907 | ||
1947a811 CV |
6908 | 2003-04-14 Corinna Vinschen <[email protected]> |
6909 | ||
6910 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
6911 | actually incoming type. | |
6912 | ||
adb616d7 AC |
6913 | 2003-04-13 Andrew Cagney <[email protected]> |
6914 | ||
6915 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
6916 | get_next_frame and get_frame_saved_regs. | |
6917 | ||
9b5e151c AC |
6918 | 2003-04-13 Andrew Cagney <[email protected]> |
6919 | ||
6920 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
6921 | of gdbarch_num_regs. | |
6922 | ||
ef6e7e13 AC |
6923 | 2003-04-13 Andrew Cagney <[email protected]> |
6924 | ||
6925 | * frame.h: Mention what replaced what in "struct frame_info". | |
6926 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
6927 | deprecated_update_frame_base_hack and | |
6928 | deprecated_update_frame_pc_hack. | |
6929 | * hppa-tdep.c: Ditto. | |
6930 | ||
61fbb938 DJ |
6931 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
6932 | ||
6933 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
6934 | to read_reg and update its comment. Remove regnum member. | |
6935 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
6936 | Don't call read_reg when setting in_reg. Call read_reg to get | |
6937 | the frame base if it's in a register. Return the register number | |
6938 | on the stack instead of in the context. Remove extra arguments | |
6939 | to read_reg. | |
6940 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
6941 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
6942 | the register number on the expression stack. | |
6943 | (needs_frame_read_reg): Remove extra arguments. | |
6944 | ||
0d53c4c4 DJ |
6945 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
6946 | ||
6947 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
6948 | made non-static. | |
6949 | (execute_stack_op): All callers updated. | |
6950 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
6951 | * dwarf2loc.c (find_location_expression): New function. | |
6952 | (dwarf_expr_frame_base): Call it. | |
6953 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
6954 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
6955 | locexpr_tracepoint_var_ref. | |
6956 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
6957 | Make static. | |
6958 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
6959 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
6960 | functions. | |
6961 | (dwarf2_loclist_funcs): New struct location_funcs. | |
6962 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
6963 | (struct dwarf2_locexpr_baton): Add comments. | |
6964 | (dwarf2_loclist_funcs): New extern. | |
6965 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
6966 | base_address and base_known. | |
6967 | (dwarf_loc_buffer): New variable. | |
6968 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
6969 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
6970 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
6971 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
6972 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
6973 | DWARF_LOC_SIZE. | |
6974 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
6975 | here, from... | |
6976 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
6977 | cu_header. | |
6978 | (dwarf2_symbol_mark_computed): Handle location lists. | |
6979 | ||
6aca59a3 DJ |
6980 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
6981 | ||
6982 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
6983 | if the linkage name demangled successfully. | |
6984 | ||
aca1fcd0 MK |
6985 | 2003-04-13 Mark Kettenis <[email protected]> |
6986 | ||
97095916 MK |
6987 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
6988 | disassmbly_flavour): Removed. | |
6989 | ||
aca1fcd0 MK |
6990 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
6991 | ||
562a961f MK |
6992 | 2003-04-13 Mark Kettenis <[email protected]> |
6993 | ||
6994 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
6995 | ||
bd013d54 AC |
6996 | 2003-04-12 Andrew Cagney <[email protected]> |
6997 | ||
6998 | * frame.h (struct frame_info): Move definition from here ... | |
6999 | * frame.c (struct frame_info): ... to here. | |
7000 | ||
167ef8b1 AC |
7001 | 2003-04-12 Andrew Cagney <[email protected]> |
7002 | ||
7003 | * gdbthread.h (save_infrun_state): Delete parameter | |
7004 | "prev_func_start". | |
7005 | (struct thread_info): Delete field "prev_func_start". | |
7006 | (load_infrun_state): Ditto. | |
7007 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
7008 | * infrun.c (prev_func_start): Delete variable. | |
7009 | (context_switch, init_wait_for_inferior): Update. | |
7010 | (stop_stepping, keep_going): Update. | |
7011 | ||
da3331ec AC |
7012 | 2003-04-12 Andrew Cagney <[email protected]> |
7013 | ||
7014 | * gdbarch.sh: Add missing opaque declarations. | |
7015 | * gdbarch.h: Regnerate. | |
7016 | * symtab.h: Add missing opaque declarations. | |
7017 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
7018 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
7019 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
7020 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
7021 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
7022 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
7023 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
7024 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
7025 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
7026 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
7027 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
7028 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
7029 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
7030 | ||
18adea3f AC |
7031 | 2003-04-11 Andrew Cagney <[email protected]> |
7032 | ||
7033 | * frame.c (get_frame_id): Return this frame's "id". | |
7034 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
7035 | function start. | |
7036 | (legacy_saved_regs_this_id): Replace function body with | |
7037 | internal-error. | |
7038 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
7039 | FRAME_OBSTACK_ZALLOC. | |
7040 | (create_new_frame): Mark the frame ID as valid. | |
7041 | ||
2252e863 AO |
7042 | 2003-04-11 Alexandre Oliva <[email protected]> |
7043 | ||
7044 | * Makefile.in (libbfd_h): Added missing setting. | |
7045 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
7046 | according to the selected ABI. | |
7047 | ||
a8245ab8 JJ |
7048 | 2003-04-11 Jeff Johnston <[email protected]> |
7049 | ||
7050 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
7051 | ||
6913c89a AC |
7052 | 2003-04-11 Andrew Cagney <[email protected]> |
7053 | ||
7054 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
7055 | SAVED_PC_AFTER_CALL. | |
7056 | * gdbarch.h, gdbarch.c: Regenerate. | |
7057 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7058 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7059 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7060 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7061 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7062 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7063 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7064 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7065 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7066 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7067 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7068 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7069 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7070 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7071 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7072 | (ia64_saved_pc_after_call): Update declaration. | |
7073 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
7074 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7075 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7076 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7077 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7078 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7079 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7080 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7081 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7082 | * ns32knbsd-nat.c (frame_num_args): Update. | |
7083 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
7084 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
7085 | * infrun.c (step_over_function): Update. | |
7086 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
7087 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
7088 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7089 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7090 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7091 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7092 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
7093 | * arch-utils.c (init_frame_pc_default): Update. | |
7094 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
7095 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
7096 | declaration. | |
8ffd9b1b | 7097 | |
38edeab8 AC |
7098 | 2003-04-11 Andrew Cagney <[email protected]> |
7099 | ||
7100 | * i387-tdep.c: Update copyright. | |
7101 | (i387_to_double): Delete function. | |
7102 | (double_to_i387): Delete function. | |
7103 | ||
81f8a206 AC |
7104 | 2003-04-10 Andrew Cagney <[email protected]> |
7105 | ||
7106 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
7107 | frame's function's address. Simplify. | |
7108 | (d10v_frame_unwind_cache): Check that the frame's function is | |
7109 | non-zero. | |
7110 | ||
6e691f7a JB |
7111 | 2003-04-10 Jim Blandy <[email protected]> |
7112 | ||
7113 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
7114 | call to set_gdbarch_deprecated_push_arguments. | |
7115 | ||
7f78e237 AC |
7116 | 2003-04-10 Andrew Cagney <[email protected]> |
7117 | ||
7118 | * frame.c (fprint_frame_id): New function. | |
7119 | (fprint_frame_type, fprint_frame): New function. | |
7120 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
7121 | (create_sentinel_frame, get_frame_id): Ditto. | |
7122 | (frame_id_p, frame_id_eq): Ditto. | |
7123 | (frame_id_inner, create_new_frame): Ditto. | |
7124 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
7125 | (deprecated_update_frame_pc_hack): Ditto. | |
7126 | (frame_register_unwind): Ditto. | |
7127 | (deprecated_update_frame_base_hack): Ditto. | |
7128 | ||
f870b49b CV |
7129 | 2003-04-10 Corinna Vinschen <[email protected]> |
7130 | ||
7131 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
7132 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
7133 | frame_chain function. | |
7134 | * Makefile.in: Add dependencies due to above change. | |
7135 | ||
7c86889b CV |
7136 | 2003-04-10 Corinna Vinschen <[email protected]> |
7137 | ||
7138 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
7139 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
7140 | inside_entry_file. | |
7141 | ||
d0a55772 AC |
7142 | 2003-04-09 Andrew Cagney <[email protected]> |
7143 | ||
7144 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
7145 | "stack_addr" and "code_addr". Update comments. | |
7146 | (frame_id_build): Update parameter names and comment. | |
7147 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
7148 | * dummy-frame.c (dummy_frame_this_id): Update. | |
7149 | * breakpoint.c (print_one_breakpoint): Update. | |
7150 | * frame.c (get_frame_id): Update. | |
7151 | (get_frame_base, frame_id_build): Update. | |
7152 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
7153 | (deprecated_update_frame_base_hack): Update. | |
7154 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
7155 | (frame_id_inner): Ditto. | |
7156 | ||
ac16bf07 AC |
7157 | 2003-04-09 Andrew Cagney <[email protected]> |
7158 | ||
7159 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
7160 | pointer constant. | |
7161 | * utils.c (gdb_print_host_address): Update. | |
7162 | ||
366cfc9e KB |
7163 | 2003-04-09 Kevin Buettner <[email protected]> |
7164 | ||
7165 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
7166 | register number for R0 is 0. | |
7167 | ||
cd983b5c JB |
7168 | 2003-04-09 J. Brobecker <[email protected]> |
7169 | ||
7170 | * frame.h (struct gdbarch): Add opaque structure definition | |
7171 | to avoid a compilation warning on LynxOS 4.0. | |
7172 | ||
d1340264 AC |
7173 | 2003-04-09 Andrew Cagney <[email protected]> |
7174 | ||
7175 | * frame.h (struct frame_info): Delete field "pc". Replace | |
7176 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
7177 | structure. | |
7178 | * frame.c (frame_pc_unwind): Update. | |
7179 | (create_sentinel_frame): Do not set "pc". | |
7180 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
7181 | (get_frame_pc): Call frame_pc_unwind. | |
7182 | (deprecated_update_frame_pc_hack): Update. | |
7183 | (create_new_frame): Use "pc" not "->pc". | |
7184 | ||
90a6fffb AC |
7185 | 2003-04-09 Andrew Cagney <[email protected]> |
7186 | ||
7187 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
7188 | (legacy_get_prev_frame): Ditto. | |
7189 | (get_frame_base): Return id.base directly. | |
7190 | (deprecated_update_frame_base_hack): Update "id.base". | |
7191 | * frame.h (struct frame_info): Delete field "frame". | |
7192 | ||
2fbce691 AC |
7193 | 2003-04-09 Andrew Cagney <[email protected]> |
7194 | ||
7195 | * NEWS: Mention that the "Sequent family" is obsolete. | |
7196 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
7197 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7198 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
7199 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7200 | * config/i386/tm-ptx4.h: Obsolete file. | |
7201 | * config/i386/tm-ptx.h: Obsolete file. | |
7202 | * symm-tdep.c: Obsolete file. | |
7203 | * config/i386/symmetry.mt: Obsolete file. | |
7204 | * config/i386/tm-symmetry.h: Obsolete file. | |
7205 | * symm-nat.c: Obsolete file. | |
7206 | * config/i386/nm-symmetry.h: Obsolete file. | |
7207 | * config/i386/xm-symmetry.h: Obsolete file. | |
7208 | * config/i386/symmetry.mh: Obsolete file. | |
7209 | * config/i386/nm-ptx4.h: Obsolete file. | |
7210 | * config/i386/ptx4.mh: Obsolete file. | |
7211 | * config/i386/ptx.mt: Obsolete file. | |
7212 | * config/i386/ptx.mh: Obsolete file. | |
7213 | * config/i386/xm-ptx4.h: Obsolete file. | |
7214 | * config/i386/xm-ptx.h: Obsolete file. | |
7215 | ||
78c43945 AC |
7216 | 2003-04-09 Andrew Cagney <[email protected]> |
7217 | ||
7218 | Obsolete mips*-*-mach3*. | |
7219 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
7220 | * m3-nat.c: Obsolete file. | |
7221 | * config/nm-m3.h: Obsolete file. | |
7222 | * config/mips/tm-mipsm3.h: Obsolete file. | |
7223 | * config/mips/mipsm3.mt: Obsolete file. | |
7224 | * config/mips/mipsm3.mh: Obsolete file. | |
7225 | * config/mips/xm-mipsm3.h: Obsolete file. | |
7226 | * mipsm3-nat.c: Obsolete file. | |
7227 | * configure.host: Obsolete mips-dec-mach3*. | |
7228 | * configure.tgt: Obsolete mips*-*-mach3*. | |
7229 | ||
f1908289 AC |
7230 | 2003-04-09 Andrew Cagney <[email protected]> |
7231 | ||
7232 | * doublest.h: Update copyright. | |
7233 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
7234 | store_floating and extract_floating. Update comments. | |
7235 | * doublest.c: Update copyright. | |
7236 | (extract_floating_by_length): Replace extract_floating. | |
7237 | (store_floating_by_length): Replace store_floating. | |
7238 | (deprecated_extract_floating): New function. | |
7239 | (deprecated_store_floating): New function. | |
7240 | (extract_typed_floating): Call extract_floating_by_length. | |
7241 | (store_typed_floating): Call store_floating_by_length. | |
7242 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
7243 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
7244 | (sh64_extract_return_value): Update. | |
7245 | (sh_sh4_register_convert_to_virtual): Update. | |
7246 | (sh_sh64_register_convert_to_virtual): Update. | |
7247 | (sh_sh4_register_convert_to_raw): Update. | |
7248 | (sh_sh64_register_convert_to_raw): Update. | |
7249 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
7250 | (rs6000_register_convert_to_raw): Update. | |
7251 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
7252 | (ia64_register_convert_to_raw): Update. | |
7253 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
7254 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
7255 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
7256 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
7257 | (alpha_register_convert_to_raw): Update. | |
7258 | ||
4443bd83 AC |
7259 | 2003-04-08 Andrew Cagney <[email protected]> |
7260 | ||
7261 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
7262 | * gdbarch.h, gdbarch.c: Re-generate. | |
7263 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
7264 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
7265 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
7266 | conditionally, use frame_pc_unwind as an alternative. Add | |
7267 | comments. | |
7268 | * arch-utils.c (init_frame_pc_default): Only call | |
7269 | SAVED_PC_AFTER_CALL when available. | |
7270 | ||
c0236d92 EZ |
7271 | 2003-04-08 Elena Zannoni <[email protected]> |
7272 | ||
fbe586ae | 7273 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7274 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
7275 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
7276 | (start_remote): Ditto. | |
7277 | (handle_inferior_event): Ditto. | |
7278 | (save_inferior_status): Ditto. | |
7279 | (restore_inferior_status): Ditto. | |
7280 | * infcmd.c (attach_command): Ditto. | |
7281 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 7282 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7283 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
7284 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
7285 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
7286 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
7287 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
7288 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
7289 | * remote-vx.c (vx_create_inferior): Ditto. | |
7290 | ||
7291 | 2003-04-08 Elena Zannoni <[email protected]> | |
7292 | ||
7293 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
7294 | override the default behavior of handle_inferior_event. | |
7295 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
7296 | reflect that it is now an enum. | |
7297 | (start_remote): Ditto. | |
7298 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
7299 | is set to handle the new GNU/Linux kernel behavior for | |
7300 | attach/sigstop. Update uses of stop_soon_quietly. | |
7301 | * inferior.h (enum stop_kind): New enum. | |
7302 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
7303 | Reset normal handle_inferior_event behavior, afterwards. | |
7304 | * fork-child.c (startup_inferior): Update. | |
7305 | * alpha-tdep.c (heuristic_proc_start): Update. | |
7306 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
7307 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
7308 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
7309 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
7310 | * remote-vx.c (vx_create_inferior): Update. | |
7311 | * mips-tdep.c (heuristic_proc_start): Update. | |
7312 | ||
1211bce3 EZ |
7313 | 2003-04-07 Elena Zannoni <[email protected]> |
7314 | ||
7315 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 7316 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 7317 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 7318 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 7319 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 7320 | with the "core" target. |
1211bce3 | 7321 | |
f0ef6b29 KB |
7322 | 2003-04-07 Kevin Buettner <[email protected]> |
7323 | ||
7324 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
7325 | do_fp_register_row(). Registers are now (also) printed as hex. | |
7326 | Only one register is printed per row. | |
7327 | (mips_print_register, do_fp_register_row): Print floating point | |
7328 | registers with mips_print_fp_register(). | |
7329 | ||
8cf71652 AC |
7330 | 2003-04-06 Andrew Cagney <[email protected]> |
7331 | ||
5e488a7b AC |
7332 | * valprint.h (inspect_it): Add extern declaration. |
7333 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
7334 | (selectors_info, classes_info): Ditto. | |
7335 | (find_objc_msgcall): Fix indentation. | |
7336 | (objc_printstr): Delete extern declarations. | |
7337 | ||
8cf71652 AC |
7338 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
7339 | ||
e6ba3bc9 AC |
7340 | 2003-04-06 Andrew Cagney <[email protected]> |
7341 | ||
7342 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
7343 | Update comment. | |
7344 | * frame.c (legacy_saved_regs_this_id): Update. | |
7345 | (legacy_get_prev_frame): Update. | |
7346 | * xstormy16-tdep.c: Update comment. | |
7347 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
7348 | * blockframe.c (legacy_frame_chain_valid): Update. | |
7349 | ||
55e1d7e7 AC |
7350 | 2003-04-06 Andrew Cagney <[email protected]> |
7351 | ||
996179ee AC |
7352 | * valprint.c (val_print_type_code_int): Delete #ifdef |
7353 | PRINT_TYPELESS_INTEGER code. | |
7354 | ||
55e1d7e7 AC |
7355 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
7356 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
7357 | multi-arch definition. | |
7358 | * gdbarch.h: Re-generate. | |
7359 | ||
43bd9a9e AC |
7360 | 2003-04-05 Andrew Cagney <[email protected]> |
7361 | ||
7362 | Eliminate FRAME_FIND_SAVED_REGS. | |
7363 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7364 | Change FSR parameter to a pointer. | |
7365 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
7366 | Assume FSR parameter is a pointer. | |
7367 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7368 | Make fsr a pointer. | |
7369 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
7370 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
7371 | saved_regs a pointer. | |
7372 | (hppa_frame_saved_pc): Ditto. | |
7373 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
7374 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
7375 | pointer. | |
7376 | (restore_pc_queue): Make fsr a pointer. | |
7377 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
7378 | (hppa_frame_chain): Make saved_regs a pointer, call | |
7379 | hppa_frame_init_saved_regs. | |
7380 | * sparc-tdep.c: Include "gdb_assert.h". | |
7381 | (sparc_frame_find_saved_regs): Replace internal_error with | |
7382 | gdb_assert. | |
7383 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
7384 | FRAME_FIND_SAVED_REGS. | |
7385 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
7386 | * gdbarch.h: Regenerate. | |
7387 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
7388 | (deprecated_get_frame_saved_regs): Delete declaration. | |
7389 | (struct frame_saved_regs): Delete definition. | |
7390 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
7391 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
7392 | (hppa_frame_find_saved_regs): Delete declaration. | |
7393 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
7394 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
7395 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
7396 | FRAME_FIND_SAVED_REGS in comment. | |
7397 | ||
be41e9f4 AC |
7398 | 2003-04-05 Andrew Cagney <[email protected]> |
7399 | ||
7400 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
7401 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
7402 | (struct frame_info): Add field "prev_func" for caching the | |
7403 | previous frame's function address. | |
7404 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
7405 | get_pc_function_start and get_frame_pc into get_frame_func. | |
7406 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
7407 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7408 | * s390-tdep.c (s390_function_start): Ditto. | |
7409 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
7410 | (rs6000_frameless_function_invocation): Ditto. | |
7411 | (rs6000_frame_saved_pc): Ditto. | |
7412 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
7413 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
7414 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
7415 | (i386_frame_init_saved_regs): Ditto. | |
7416 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
7417 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
7418 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
7419 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
7420 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
7421 | ||
a01dd7cc AC |
7422 | 2003-04-05 Andrew Cagney <[email protected]> |
7423 | ||
7424 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
7425 | function start. Update comments. | |
7426 | ||
5e5592e6 AC |
7427 | 2003-04-05 Andrew Cagney <[email protected]> |
7428 | ||
7429 | * frame.c (get_frame_id): Update comment. | |
7430 | (legacy_get_prev_frame): Update comment. | |
7431 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
7432 | * gdbarch.h: Regenerate. | |
7433 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
7434 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
7435 | ||
6fba5002 AC |
7436 | 2003-04-05 Andrew Cagney <[email protected]> |
7437 | ||
7438 | * stack.c (print_frame_info): Use get_frame_pc. | |
7439 | ||
7df05f2b AC |
7440 | 2003-04-04 Andrew Cagney <[email protected]> |
7441 | ||
7442 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
7443 | the frame's type from the unwinder. | |
7444 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
7445 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
7446 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
7447 | (get_frame_base_address): Use get_frame_type. | |
7448 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
7449 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
7450 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
7451 | (struct frame_info): Add comment explaining why the frame contains | |
7452 | a "type" field. | |
7453 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
7454 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
7455 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
7456 | NORMAL_FRAME. | |
7457 | * frame-unwind.h: Include "frame.h". | |
7458 | (struct frame_unwind): Add "type" field. | |
7459 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 7460 | |
11889732 AC |
7461 | 2003-04-04 Andrew Cagney <[email protected]> |
7462 | ||
7463 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
7464 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
7465 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
7466 | get_frame_base. | |
7467 | (d10v_unwind_dummy_id): Use frame_id_build. | |
7468 | * frame.c (find_frame_sal): Use get_frame_pc. | |
7469 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
7470 | deprecated_update_frame_base_hack. | |
7471 | (create_sentinel_frame): Add comment about ->pc going away. | |
7472 | (get_prev_frame): Add comment about ->pc going away. | |
7473 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
7474 | frame_id_build, deprecated_update_frame_pc_hack and | |
7475 | deprecated_update_frame_base_hack. | |
7476 | (select_frame): Use get_frame_pc. | |
7477 | (legacy_saved_regs_this_id): Use frame_id_build. | |
7478 | ||
50c46a0d EZ |
7479 | 2003-04-04 Elena Zannoni <[email protected]> |
7480 | ||
fbe586ae RH |
7481 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
7482 | signed integer case. | |
7483 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 7484 | |
50bbdbd9 AC |
7485 | 2003-04-04 Andrew Cagney <[email protected]> |
7486 | ||
7487 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
7488 | ID to NULL. | |
7489 | ||
36018d2e AF |
7490 | 2003-04-01 Adam Fedor <[email protected]> |
7491 | ||
7492 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
7493 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
7494 | SYMBOL_NATURAL_NAME. | |
7495 | (classes_info, find_methods): Likewise. | |
7496 | ||
35cec841 KB |
7497 | 2003-04-03 Kevin Buettner <[email protected]> |
7498 | ||
7499 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
7500 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
7501 | ||
43136899 BR |
7502 | 2003-04-02 Bob Rossi <[email protected]> |
7503 | ||
7504 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
7505 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
7506 | (mi-cmd-file.o): Update dependencies. | |
7507 | ||
040b99fd KB |
7508 | 2003-04-01 Kevin Buettner <[email protected]> |
7509 | ||
7510 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
7511 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
7512 | ||
9a3d7dfd AF |
7513 | 2003-04-01 Adam Fedor <[email protected]> |
7514 | ||
7515 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
7516 | * language.h (struct language_defn): Add la_demangle. | |
7517 | (language_demangle): Declare. | |
7518 | * language.c (language_demangle): New function. | |
7519 | (unk_lang_demangle): Likewise. | |
7520 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 7521 | Add ukn_lang_demangle. |
9a3d7dfd | 7522 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 7523 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
7524 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
7525 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
7526 | * jv-lang.c (java_demangle): New function | |
7527 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
7528 | * objc-lang.c (objc_demangle): Add options argument |
7529 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
7530 | * maint.c (maintenance_demangle): Replace switch with |
7531 | call to language_demangle. | |
7532 | * utils.c (fprintf_symbol_filtered): Likewise. | |
7533 | ||
5e074003 AC |
7534 | 2003-04-01 Andrew Cagney <[email protected]> |
7535 | ||
7536 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
7537 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
7538 | PRINT_TYPELESS_INTEGER. | |
7539 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
7540 | PUSH_RETURN_ADDRESS. | |
7541 | ||
270cb5d6 AC |
7542 | 2003-04-01 Andrew Cagney <[email protected]> |
7543 | ||
7544 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7545 | * d10v-tdep.c: Include "frame-base.h". | |
7546 | (d10v_frame_unwind): Make constant. | |
7547 | (d10v_frame_base_address): New function. | |
7548 | (d10v_frame_base): New variable. | |
7549 | (d10v_gdbarch_init): Set frame_base default. | |
7550 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
7551 | comment for base. | |
7552 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
7553 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
7554 | address and this frame's func address for the frame ID. Use | |
7555 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 7556 | |
6bfb3e36 AC |
7557 | 2003-04-01 Andrew Cagney <[email protected]> |
7558 | ||
7559 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
7560 | Refer to the base address, instead of the address of the first | |
7561 | local or parameter. | |
8ffd9b1b | 7562 | |
da62e633 AC |
7563 | 2003-04-01 Andrew Cagney <[email protected]> |
7564 | ||
7565 | Add frame debug info addresses: | |
7566 | * frame-base.c: New file. | |
7567 | * frame-base.h: New file. | |
7568 | * frame.h (struct frame_base): Add opaque declaration. | |
7569 | (get_frame_base): Update comment. | |
7570 | (get_frame_base_address): Declare. | |
7571 | (get_frame_locals_address): Declare. | |
7572 | (get_frame_args_address): Declare. | |
7573 | (struct frame_info): Add "base" and "base_cache". Update | |
7574 | comments on the unwinder. | |
7575 | * frame.c: Include "frame-base.h". | |
7576 | (get_frame_locals_address): New function. | |
7577 | (get_frame_base_address): New function. | |
7578 | (get_frame_args_address): New function. | |
7579 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
7580 | get_frame_args_address. | |
7581 | * stack.c (frame_info): Use get_frame_locals_address and | |
7582 | get_frame_args_address. | |
7583 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
7584 | moved to "frame-base.c". | |
7585 | * printcmd.c (print_frame_nameless_args): Ditto. | |
7586 | * symtab.h (address_class): Update comments. | |
7587 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
7588 | get_frame_base_address. | |
7589 | * dwarf2expr.c (execute_stack_op): Ditto. | |
7590 | * Makefile.in (frame_base_h): Define. | |
7591 | (frame.o): Update dependencies. | |
7592 | (frame-base.o): Add dependencies. | |
7593 | (SFILES): Add frame-base.c. | |
7594 | (COMMON_OBS): Add frame-base.o. | |
7595 | ||
3d30e9c2 AC |
7596 | 2003-04-01 Andrew Cagney <[email protected]> |
7597 | ||
7598 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
7599 | CALL_DUMMY_LENGTH): Ditto. | |
7600 | * gdbarch.c: Re-generate. | |
7601 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
7602 | (CALL_DUMMY_LENGTH): Delete macro. | |
7603 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
7604 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7605 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7606 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7607 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7608 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7609 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7610 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7611 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7612 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7613 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7614 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7615 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7616 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7617 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7618 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7619 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7620 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7621 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7622 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7623 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7624 | ||
ce0c7262 CV |
7625 | 2003-04-01 Corinna Vinschen <[email protected]> |
7626 | ||
7627 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
7628 | ||
73dd234f AC |
7629 | 2003-04-01 Andrew Cagney <[email protected]> |
7630 | ||
7631 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
7632 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7633 | * gdbarch.h, gdbarch.c: Re-generate. | |
7634 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7635 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7636 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7637 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7638 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
7639 | * infcmd.c (run_stack_dummy): Simplify assuming | |
7640 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
7641 | * infrun.c (handle_inferior_event): Ditto. | |
7642 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
7643 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
7644 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7645 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7646 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7647 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7648 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7649 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7650 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7651 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7652 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7653 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7654 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7655 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7656 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7657 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7658 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7659 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7660 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7661 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7662 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7663 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7664 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7665 | ||
97606a13 DJ |
7666 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
7667 | ||
7668 | * symfile.c (symfile_relocate_debug_section): Update call to | |
7669 | bfd_simple_get_relocated_section_contents. | |
7670 | ||
e8ab51f7 AC |
7671 | 2003-03-31 Andrew Cagney <[email protected]> |
7672 | ||
7673 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
7674 | * gdbarch.h, gdbarch.c: Regenerate. | |
7675 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
7676 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
7677 | available. | |
7678 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
7679 | * dummy-frame.h: Update comment. | |
7680 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
7681 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7682 | fix_call_dummy. | |
7683 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7684 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7685 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7686 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7687 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7688 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7689 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7690 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7691 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7692 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7693 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7694 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7695 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7696 | ||
018d1b48 JB |
7697 | 2003-03-31 J. Brobecker <[email protected]> |
7698 | ||
7699 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
7700 | (INIT_FRAME_AP): Likewise. | |
7701 | (EXTRA_FRAME_INFO): Likewise. | |
7702 | ||
e9a2674e AC |
7703 | 2003-03-31 Andrew Cagney <[email protected]> |
7704 | ||
7705 | * gdbarch.sh: Include "symfile.h". | |
7706 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
7707 | * gdbarch.h, gdbarch.c: Re-generate. | |
7708 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
7709 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7710 | call_dummy_address, the default is at entry_point_address. | |
7711 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7712 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7713 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7714 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7715 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7716 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7717 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7718 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7719 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7720 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7721 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7722 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7723 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7724 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7725 | ||
e8a8712a AC |
7726 | 2003-03-31 Andrew Cagney <[email protected]> |
7727 | ||
7728 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
7729 | * gdbarch.h, gdbarch.c: Re-generate. | |
7730 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
7731 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7732 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7733 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7734 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7735 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7736 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7737 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7738 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7739 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7740 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7741 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7742 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7743 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7744 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7745 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7746 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7747 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7748 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
7749 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7750 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
7751 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7752 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7753 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7754 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
7755 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
7756 | * frame.c (legacy_get_prev_frame): Ditto. | |
7757 | * valops.c (call_function_by_hand): Delete function. | |
7758 | (hand_function_call): Rename to call_function_by_hand | |
7759 | ||
ed234cf8 AC |
7760 | 2003-03-30 Andrew Cagney <[email protected]> |
7761 | ||
7762 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 7763 | * value.h (struct value): Update comment. |
ed234cf8 | 7764 | |
06c77151 AC |
7765 | 2003-03-30 Andrew Cagney <[email protected]> |
7766 | ||
6c2b5168 AC |
7767 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
7768 | D10V_FP_REGNUM. | |
7769 | (d10v_gdbarch_init): Do not set fp_regnum. | |
7770 | ||
06c77151 AC |
7771 | * frame.c (get_frame_base): Force ID initialization. |
7772 | (get_prev_frame): Move computation of the frame ID from here ... | |
7773 | (get_frame_id): ... to here. | |
7774 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
7775 | * frame.h (struct frame_info): Add field "id_p". | |
7776 | ||
97a1a11c MK |
7777 | 2003-03-30 Mark Kettenis <[email protected]> |
7778 | ||
7779 | * i386-tdep.c (i386_store_struct_return): Removed. | |
7780 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
7781 | ||
6c0e89ed AC |
7782 | 2003-03-30 Andrew Cagney <[email protected]> |
7783 | ||
7784 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
7785 | * gdbarch.h, gdbarch.c: Regenerate. | |
7786 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
7787 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7788 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7789 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7790 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7791 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7792 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7793 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7794 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7795 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7796 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7797 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7798 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
7799 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
7800 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
7801 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7802 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7803 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7804 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7805 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7806 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7807 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7808 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7809 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
7810 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
7811 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 7812 | |
f7dd6af2 AC |
7813 | 2003-03-30 Andrew Cagney <[email protected]> |
7814 | ||
7815 | * infttrace.c: Include "gdbthread.h". | |
7816 | (parent_attach_all): Fix function signature. | |
7817 | (call_ptrace): Update call. | |
7818 | * Makefile.in (infttrace.o): Update dependencies. | |
7819 | ||
28f617b3 AC |
7820 | 2003-03-30 Andrew Cagney <[email protected]> |
7821 | ||
7822 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
7823 | PUSH_RETURN_ADDRESS. | |
7824 | * gdbarch.h, gdbarch.c: Regenerate. | |
7825 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7826 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7827 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7828 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7829 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7830 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7831 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7832 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7833 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7834 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7835 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7836 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7837 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7838 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7839 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7840 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7841 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7842 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7843 | * valops.c (hand_function_call): Update. | |
7844 | ||
4d628cd7 AC |
7845 | 2003-03-29 Andrew Cagney <[email protected]> |
7846 | ||
7847 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
7848 | sizeof_call_dummy_words. | |
7849 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
7850 | define. | |
7851 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 7852 | |
65e82032 AC |
7853 | 2003-03-29 Andrew Cagney <[email protected]> |
7854 | ||
7855 | * infttrace.h: New file. | |
7856 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
7857 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
7858 | (hpread_read_doc_function_type): Detect an initialized type1. | |
7859 | (hpread_quick_traverse): Initialize mod_name_string. | |
7860 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
7861 | (som_solib_get_solib_by_pc): Declare. | |
7862 | (so_lib_thread_start_addr): Declare. | |
7863 | (no_shared_libraries): Declare. | |
7864 | * somread.c (init_import_symbols): Make static. Add forward | |
7865 | declaration. | |
7866 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
7867 | parent_attach_all. | |
7868 | (hppa_insert_hw_watchpoint): Declare. | |
7869 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
7870 | * hppah-nat.c: Include "gdb_string.h". | |
7871 | (parent_attach_all): Delete extern declaration, moved to | |
7872 | "infttrace.h". | |
7873 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
7874 | int. | |
7875 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
7876 | * Makefile.in (infttrace_h): Define. | |
7877 | (hpread.o): Update dependencies. | |
7878 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
7879 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
7880 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
7881 | * infrun.c (handle_inferior_event): Always initialize | |
7882 | stepped_after_stopped_by_watchpoint. Add default and remove | |
7883 | fallthrough in switch statement. | |
7884 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
7885 | parameter to int. | |
7886 | (hppa_remove_hw_watchpoint): Ditto. | |
7887 | ||
2c3bbe77 AC |
7888 | 2003-03-29 Andrew Cagney <[email protected]> |
7889 | ||
7890 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
7891 | offset. | |
7892 | ||
2dd604e7 RE |
7893 | 2003-03-29 Richard Earnshaw <[email protected]> |
7894 | ||
7895 | * arm-tdep.c (arm_push_arguments): Delete. | |
7896 | (struct stack_item): New type. | |
7897 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
7898 | (arm_store_struct_return): Delte. | |
7899 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
7900 | arm_push_arguments or arm_store_struct_return. | |
7901 | ||
e8933a55 AC |
7902 | 2003-03-28 Andrew Cagney <[email protected]> |
7903 | ||
7904 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7905 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
7906 | * d10v-tdep.c: Include "remote.h". | |
7907 | (target_resume_hook): Delete extern declaration. | |
7908 | (target_wait_loop_hook): Ditto. | |
7909 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
7910 | (d10v_ts2_register_sim_regno): Eliminate call to | |
7911 | legacy_register_sim_regno. | |
7912 | (d10v_ts3_register_sim_regno): Ditto. | |
7913 | ||
6949171e JJ |
7914 | 2003-03-28 Jeff Johnston <[email protected]> |
7915 | ||
7916 | * thread.c: Reindented. | |
7917 | * lin-lwp.c: Ditto. | |
7918 | * linux-proc.c: Ditto. | |
7919 | ||
98c7071f BR |
7920 | 2003-03-28 Bob Rossi <[email protected]> |
7921 | ||
fbe586ae | 7922 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 7923 | |
5edc9ca6 TR |
7924 | 2003-03-27 Theodore A. Roth <[email protected]> |
7925 | ||
7926 | * objc-exp.y: Add missing semi-colons. | |
7927 | ||
378bfd1b AC |
7928 | 2003-03-27 Andrew Cagney <[email protected]> |
7929 | ||
7930 | * regcache.c (write_sp): Delete function and references. | |
7931 | * inferior.h (write_sp): Delete declaration. | |
7932 | * valops.c (hand_function_call): Replace write_sp with | |
7933 | TARGET_WRITE_SP. | |
7934 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
7935 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 7936 | |
56056df7 AC |
7937 | 2003-03-27 Andrew Cagney <[email protected]> |
7938 | ||
7939 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
7940 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
7941 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
7942 | * config/pa/xm-pa.h: Obsolete file. | |
7943 | * config/pa/xm-hppab.h: Obsolete file. | |
7944 | * config/pa/nm-hppab.h: Obsolete file. | |
7945 | * config/pa/tm-hppab.h: Obsolete file. | |
7946 | * config/pa/tm-hppao.h: Obsolete file. | |
7947 | * config/pa/nm-hppao.h: Obsolete file. | |
7948 | * config/pa/tm-pro.h: Obsolete file. | |
7949 | * config/pa/hppaosf.mt: Obsolete file. | |
7950 | * config/pa/hppaosf.mh: Obsolete file. | |
7951 | * config/pa/hppapro.mt: Obsolete file. | |
7952 | * config/pa/hppabsd.mt: Obsolete file. | |
7953 | * config/pa/hppabsd.mh: Obsolete file. | |
7954 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
7955 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
7956 | hppa*-*-osf*. | |
7957 | ||
5873a88d AC |
7958 | 2003-03-27 Andrew Cagney <[email protected]> |
7959 | ||
7960 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
7961 | push_arguments. Don't set push_return_address or write_sp. | |
7962 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
7963 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
7964 | handled by push_dummy_call. | |
7965 | ||
b81774d8 AC |
7966 | 2003-03-26 Andrew Cagney <[email protected]> |
7967 | ||
7968 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
7969 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
7970 | regcache and dummy_addr parameters. | |
7971 | * gdbarch.h, gdbarch.c: Re-generate. | |
7972 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
7973 | available; assume it will handle stack alignment and return | |
7974 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
7975 | legacy_push_arguments. | |
7976 | (legacy_push_arguments): Rename default_push_arguments. | |
7977 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
7978 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
7979 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7980 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7981 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7982 | * config/i386/tm-symmetry.h: Update. | |
7983 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7984 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7985 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7986 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7987 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7988 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7989 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7990 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7991 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7992 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7993 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7994 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7995 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7996 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7997 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7998 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7999 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8000 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8001 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8002 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8003 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
8004 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8005 | ||
f541410f DJ |
8006 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8007 | ||
8008 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
8009 | signal range test. | |
8010 | ||
69f567ae DJ |
8011 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8012 | ||
8013 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
8014 | (struct sal_chain, map_catch_names): Remove. | |
8015 | (catch_exception_command_1): Don't call | |
8016 | handle_gnu_4_16_catch_command. | |
8017 | ||
d5d14a5a DJ |
8018 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8019 | ||
8020 | From Mark Dettinger <[email protected]>: | |
8021 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
8022 | ||
bdd73e22 DJ |
8023 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8024 | ||
8025 | * signals/signals.c: Fix typos in last change. | |
8026 | ||
960cb555 DJ |
8027 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8028 | ||
8029 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
8030 | not already defined. Use __SIGRTMIN if available. | |
8031 | (target_signal_from_host): Remove SIGRTMIN block. | |
8032 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
8033 | the signal is within the realtime range. | |
8034 | ||
f636b87d AF |
8035 | 2003-03-25 Adam Fedor <[email protected]> |
8036 | ||
8037 | * Makefile.in (infrun.o): Add $(language_h) | |
8038 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
8039 | for language specific trampolines. | |
8040 | * language.h (struct language_defn): Add skip_trampoline. | |
8041 | (skip_language_trampoline): Declare. | |
8042 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
8043 | New functions. | |
8044 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
8045 | Add ukn_lang_trampoline. | |
8046 | * ada-lang.c (ada_language_defn): Add NULL for language | |
8047 | specific skip_trampoline. | |
8048 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
8049 | scm-lang.c: Likewise. | |
8050 | * objc-lang.c (objc_skip_trampoline): New function. | |
8051 | (objc_language_defn): Add objc_skip_trampoline. | |
8052 | ||
28f617b3 | 8053 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
8054 | |
8055 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
8056 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
8057 | the previous frame. | |
8058 | ||
f933a9c5 AC |
8059 | 2003-03-25 Andrew Cagney <[email protected]> |
8060 | ||
8061 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
8062 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
8063 | * gdbarch.h, gdbarch.c: Re-generate. | |
8064 | * config/sparc/tm-sparc.h | |
8065 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
8066 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
8067 | deprecated_extra_stack_alignment_needed. | |
8068 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
8069 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
8070 | extra_stack_alignment_needed. | |
8071 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8072 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8073 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8074 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8075 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8076 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8077 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 8078 | |
4183d812 AC |
8079 | 2003-03-25 Andrew Cagney <[email protected]> |
8080 | ||
8081 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
8082 | STORE_STRUCT_RETURN. | |
8083 | * gdbarch.h, gdbarch.c: Regenerate. | |
8084 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
8085 | (d10v_push_arguments): Set the struct return register. | |
8086 | (d10v_gdbarch_init): Update. | |
8087 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8088 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8089 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8090 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8091 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8092 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8093 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8094 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8095 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8096 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8097 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8098 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8099 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8100 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8101 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8102 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8103 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8104 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8105 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8106 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8107 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8108 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8109 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 8110 | |
1bf6d5cc AC |
8111 | 2003-03-25 Andrew Cagney <[email protected]> |
8112 | ||
8113 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
8114 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
8115 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
8116 | * gdbarch.h, gdbarch.c: Regenerate. | |
8117 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8118 | call_dummy_stack_adjust_p. | |
8119 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8120 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8121 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8122 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8123 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8124 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8125 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8126 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8127 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8128 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8129 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8130 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8131 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8132 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8133 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8134 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8135 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8136 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8137 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8138 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8139 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8140 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8141 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8142 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
8143 | call_dummy_stack_adjust_p. | |
8144 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
8145 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
8146 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
8147 | * valops.c (hand_function_call): Update. | |
8148 | ||
71c08af0 CV |
8149 | 2003-03-25 Corinna Vinschen <[email protected]> |
8150 | ||
8151 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
8152 | set_gdbarch_char_signed. | |
8153 | ||
30757f90 RE |
8154 | 2003-03-25 Richard Earnshaw <[email protected]> |
8155 | ||
8156 | PR cli/548 | |
8157 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
8158 | ||
03d48a7d RE |
8159 | 2003-03-25 Richard Earnshaw <[email protected]> |
8160 | ||
8161 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
8162 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
8163 | ||
2cf6873c AF |
8164 | 2003-03-24 Adam Fedor <[email protected]> |
8165 | ||
8166 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
8167 | * objc-lang.h: Add multiple inclusion protection. | |
8168 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
8169 | ||
17c0759e RE |
8170 | 2003-03-24 Richard Earnshaw <[email protected]> |
8171 | ||
8172 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
8173 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
8174 | ||
618ce49f AC |
8175 | 2003-03-23 Andrew Cagney <[email protected]> |
8176 | ||
8177 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
8178 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
8179 | * gdbarch.h, gdbarch.c: Regenerate. | |
8180 | * valops.c (hand_function_call): Update. | |
8181 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8182 | * frame.c (legacy_saved_regs_this_id): Update. | |
8183 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
8184 | * dummy-frame.h: Update. | |
8185 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
8186 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8187 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
8188 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
8189 | * config/m68k/tm-sun3.h: Update. | |
8190 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
8191 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8192 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8193 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8194 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8195 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
8196 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8197 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8198 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
8199 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
8200 | (frame_get_saved_regs): Update. | |
8201 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8202 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8203 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8204 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8205 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8206 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8207 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8208 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8209 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
8210 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8211 | (i386_interix_back_one_frame): Update. | |
8212 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8213 | (hppa_init_extra_frame_info): Update. | |
8214 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8215 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8216 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8217 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8218 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8219 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8220 | ||
fd50bc42 RE |
8221 | 2003-03-22 Richard Earnshaw <[email protected]> |
8222 | ||
8223 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
8224 | (arm_get_fp_model): Declare. | |
8225 | * arm-tdep.c (fp_model_strings): New string array. | |
8226 | (arm_fp_model, current_fp_model): New variables. | |
8227 | (arm_get_fp_model): New function. | |
8228 | (arm_set_fp): New function. | |
8229 | (set_fp_model_sfunc): New function. | |
8230 | (show_fp_model): New function. | |
8231 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
8232 | (arm_extract_return_value): Use arm_get_fp_model. | |
8233 | (arm_store_return_value): Likewise. | |
8234 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
8235 | to initialize the floating-point data types. | |
8236 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
8237 | model is FPA. | |
8238 | ||
26304000 RE |
8239 | 2003-03-22 Richard Earnshaw <[email protected]> |
8240 | ||
8241 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
8242 | the current setting of each value. | |
8243 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 8244 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
8245 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
8246 | commands and add new version as subcommands of "set/show arm". | |
8247 | ||
afd7eef0 RE |
8248 | 2003-03-22 Richard Earnshaw <[email protected]> |
8249 | ||
8250 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
8251 | (set_arm_command, show_arm_command): New functions. | |
8252 | (_initialize_arm_tdep): Add them. | |
8253 | (num_disassembly_options): Renamed from num_flavor_options. | |
8254 | (valid_disassembly_styles): Renamed from valid_flavors. | |
8255 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 8256 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
8257 | set_disassembly_flavor_sfunc. |
8258 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
8259 | (arm_othernames): Updated. | |
8260 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
8261 | command. Add "set/show arm disassembly" commands. Deprecate | |
8262 | "othernames" command. | |
8263 | ||
299a7944 RE |
8264 | 2003-03-22 Richard Earnshaw <[email protected]> |
8265 | ||
8266 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
8267 | (arm-tdep.o): Depend on elf_arm_h. | |
8268 | ||
c1dac9e6 RE |
8269 | 2003-03-22 Richard Earnshaw <[email protected]> |
8270 | ||
8271 | * Makefile.in (coff_internal_h): Define. | |
8272 | (arm-tdep.o): Update dependencies. | |
8273 | ||
2702d96c RE |
8274 | 2003-03-22 Richard Earnshaw <[email protected]> |
8275 | ||
8276 | * arm-tdep.c (prologue_cache): Delete. | |
8277 | (check_prologue_cache, save_prologue_cache): Delete. | |
8278 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
8279 | (arm_gdb_arch_init): Don't initialize it. | |
8280 | (_initialize_arm_tdep): Likewise. | |
8281 | ||
27d5d74b SC |
8282 | 2003-03-21 Stephane Carrez <[email protected]> |
8283 | ||
8284 | * MAINTAINERS (tui): Maintainer of tui code. | |
8285 | ||
1762d96d CV |
8286 | 2003-03-21 Corinna Vinschen <[email protected]> |
8287 | ||
8288 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
8289 | (i386-cygwin-tdep.o): Add dependencies. | |
8290 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
8291 | * i386-cygwin-tdep.c: New file. | |
8292 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
8293 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
8294 | ||
4c2e2391 AC |
8295 | 2003-03-20 Andrew Cagney <[email protected]> |
8296 | ||
f20d38b7 AC |
8297 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
8298 | (handle_inferior_event): Remove code calling | |
8299 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
8300 | ||
0022b738 AC |
8301 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
8302 | already has a full path. | |
8303 | ||
864dbc90 AC |
8304 | * main.c (gdb_main): Return 1. |
8305 | (captured_main): Call error to report an invalid interpreter. | |
8306 | ||
4c2e2391 AC |
8307 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
8308 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
8309 | ||
5ef7553b JB |
8310 | 2003-03-19 J. Brobecker <[email protected]> |
8311 | ||
8312 | Continuing work to convert the hppa targets to multiarch partial. | |
8313 | ||
8314 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
8315 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
8316 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
8317 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
8318 | for the switch to multiarch partial. | |
8319 | ||
7bde8967 KB |
8320 | 2003-03-19 Kevin Buettner <[email protected]> |
8321 | ||
8322 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
8323 | when iss is issNull. | |
8324 | ||
b006a9e9 KB |
8325 | 2003-03-18 Kevin Buettner <[email protected]> |
8326 | ||
8327 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
8328 | NUM_REGS bounds check. | |
8329 | ||
5e2e9765 KB |
8330 | 2003-03-18 Kevin Buettner <[email protected]> |
8331 | ||
8332 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
8333 | * mips-tdep.c (gdb_assert.h): Include. | |
8334 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
8335 | (mips_register_name): Handle integer registers explicitly. Add | |
8336 | bounds checking. | |
8337 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
8338 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
8339 | handled by mips_register_name() now. | |
8340 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
8341 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
8342 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
8343 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
8344 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
8345 | ||
a2867626 AC |
8346 | 2003-03-18 Andrew Cagney <[email protected]> |
8347 | ||
8348 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
8349 | a void pointer. | |
8350 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
8351 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
8352 | ||
06600e06 JB |
8353 | 2003-03-18 J. Brobecker <[email protected]> |
8354 | ||
8355 | * infrun.c (observer.h): Add #include. | |
8356 | (normal_stop): Add call to observer_notify_normal_stop. | |
8357 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
8358 | ||
7daf4f5b JB |
8359 | 2003-03-18 J. Brobecker <[email protected]> |
8360 | ||
8361 | Continuing work to convert the hppa targets to multiarch partial. | |
8362 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
8363 | parameter. Reformat comment. | |
8364 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
8365 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
8366 | to match new profile. | |
8367 | ||
3371ccc0 JB |
8368 | 2003-03-18 J. Brobecker <[email protected]> |
8369 | ||
8370 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
8371 | appear to be working in any case. | |
8372 | ||
4fbe891e JB |
8373 | 2003-03-18 J. Brobecker <[email protected]> |
8374 | ||
8375 | * observer.c (observer_test_first_observer): New static variable. | |
8376 | (observer_test_second_observer): Likewise. | |
8377 | (observer_test_third_observer): Likewise. | |
8378 | (observer_test_first_notification_function): New static function. | |
8379 | (observer_test_second_notification_function): Likewise. | |
8380 | (observer_test_third_notification_function): Likewise. | |
8381 | ||
a7ff40e7 JB |
8382 | 2003-03-17 J. Brobecker <[email protected]> |
8383 | ||
8384 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
8385 | * somsolib.c (gdb_assert.h): Likewise. | |
8386 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
8387 | (somsolib.o): Likewise. | |
8388 | ||
26ca4152 AC |
8389 | 2003-03-17 Andrew Cagney <[email protected]> |
8390 | ||
8391 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
8392 | BFD. Simplify setting of di.endian. | |
8393 | ||
0a613259 AC |
8394 | 2003-03-17 Andrew Cagney <[email protected]> |
8395 | ||
8396 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
8397 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
8398 | ||
8399 | From Elena Zannoni <[email protected]> | |
8400 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
8401 | vector and floating-point parameters. | |
8402 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
8403 | convention. | |
8404 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
8405 | ||
1132738f FN |
8406 | 2003-03-17 Fernando Nasser <[email protected]> |
8407 | ||
8408 | * MAINTAINERS: Remove my name from several maintainership roles. | |
8409 | ||
6dc42492 AC |
8410 | 2003-03-17 Andrew Cagney <[email protected]> |
8411 | ||
8412 | Fix frame off-by-one bug. | |
8413 | * frame-unwind.h (frame_this_id_ftype): Replace | |
8414 | frame_unwind_id_ftype. | |
8415 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
8416 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
8417 | with "prev_register". | |
8418 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
8419 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
8420 | comment. | |
8421 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
8422 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
8423 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
8424 | (dummy_frame_unwind): Update. | |
8425 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
8426 | sentinel_frame_register_unwind. | |
8427 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
8428 | (sentinel_frame_unwinder): Update. | |
8429 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8430 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
8431 | * frame.c (create_sentinel_frame): Update. Initialize | |
8432 | "prologue_cache" instead of "unwind_cache". | |
8433 | (frame_register_unwind): Call this frame's prev_register with the | |
8434 | next frame and this frame's prologue cache. | |
8435 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
8436 | this frame and prev frame's prologue cache. Document that this | |
8437 | call is shifted one to the left when compared to the | |
8438 | frame_register_unwind call. | |
8439 | (legacy_saved_regs_prev_register): Replace | |
8440 | frame_saved_regs_register_unwind. | |
8441 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
8442 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
8443 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8444 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
8445 | (d10v_frame_unwind): Update. | |
8446 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
8447 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
8448 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
8449 | "saved_regs" with "this_saved_regs". | |
8450 | ||
efd710d6 AC |
8451 | 2003-03-16 Andrew Cagney <[email protected]> |
8452 | ||
8453 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
8454 | problem reported by Mark Kettenis. | |
8455 | ||
4e259f09 MK |
8456 | 2003-03-16 Mark Kettenis <[email protected]> |
8457 | ||
8458 | * i386-tdep.c (i386_register_type): Renamed from | |
8459 | i386_register_virtual_type. Adjust function signature. | |
8460 | (i386_gdbarch_init): Set register_type instead of | |
8461 | deprecated_max_register_raw_size, | |
8462 | deprecated_max_register_virtual_size and register_virtual_type. | |
8463 | ||
055bb976 AC |
8464 | 2003-03-14 Andrew Cagney <[email protected]> |
8465 | ||
8466 | * frame.c (get_prev_frame): When a legacy frame, always call | |
8467 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
8468 | the unwinder is new. | |
8469 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
8470 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
8471 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
8472 | ||
ac2adee5 AC |
8473 | 2003-03-14 Andrew Cagney <[email protected]> |
8474 | ||
8475 | * frame.c (get_saved_register): Delete function. | |
8476 | * frame.h (get_saved_register): Delete declaration. | |
8477 | * xstormy16-tdep.c: Update comment. | |
8478 | * regcache.h: Update comments. | |
8479 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
8480 | get_saved_register and extract_address, use | |
8481 | frame_read_unsigned_register. | |
8482 | (sparc_frame_saved_pc): Ditto. | |
8483 | (sparc_get_saved_register): Instead of get_saved_register, use | |
8484 | frame_register. | |
8485 | (sparc_pop_frame): Ditto. | |
8486 | * findvar.c: Update comments. | |
8487 | (value_of_register): Call frame_register instead of | |
8488 | get_saved_register. | |
8489 | (value_from_register): Ditto. | |
8490 | * config/sparc/tm-sparc.h: Update comment. | |
8491 | * breakpoint.c: Update comment. | |
8492 | ||
129c1cd6 AC |
8493 | 2003-03-14 Andrew Cagney <[email protected]> |
8494 | ||
8495 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
8496 | GET_SAVED_REGISTER. | |
8497 | * gdbarch.h, gdbarch.c: Re-generate. | |
8498 | * frame.h: Update comments. | |
8499 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8500 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8501 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8502 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8503 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8504 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8505 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8506 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8507 | * frame.c (frame_register): Update. | |
8508 | (get_saved_register): Update. | |
8509 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 8510 | |
749b82f6 AC |
8511 | 2003-03-13 Andrew Cagney <[email protected]> |
8512 | ||
8513 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
8514 | * gdbarch.h, gdbarch.c: Regenerate. | |
8515 | * valops.c (hand_function_call): Update comment. | |
8516 | * stack.c (return_command): Update comment. | |
8517 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
8518 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
8519 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8520 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8521 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8522 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8523 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8524 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8525 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8526 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8527 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8528 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8529 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8530 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8531 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8532 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8533 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8534 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8535 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8536 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8537 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8538 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8539 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8540 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8541 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8542 | ||
1594fa56 AC |
8543 | 2003-03-13 Andrew Cagney <[email protected]> |
8544 | ||
8545 | * frame.c (legacy_frame_p): New function. | |
8546 | (get_prev_frame): Use legacy_frame_p. | |
8547 | * frame.h (legacy_frame_p): Declare. | |
8548 | ||
7717fda3 V |
8549 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
8550 | ||
fbe586ae | 8551 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
8552 | listing corrected. |
8553 | ||
0c67cbe9 V |
8554 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
8555 | ||
fbe586ae | 8556 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 8557 | |
03febf99 AC |
8558 | 2003-03-12 Andrew Cagney <[email protected]> |
8559 | ||
8560 | * frame.c (get_prev_frame): Rename the frame parameter to | |
8561 | "this_frame". | |
8562 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
8563 | ||
0a1e1ca1 AC |
8564 | 2003-03-12 Andrew Cagney <[email protected]> |
8565 | ||
8566 | * frame.c (get_current_frame): Check target_has_registers before | |
8567 | checking target_has_stack. | |
8568 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
8569 | instead of deprecated_selected_frame. | |
8570 | * findvar.c (value_of_register): Pass "frame", not | |
8571 | deprecated_selected_frame, to value_of_builtin_reg. | |
8572 | ||
a66a9c23 AC |
8573 | 2003-03-12 Andrew Cagney <[email protected]> |
8574 | ||
8575 | * regcache.c (regcache_cooked_write_signed): New function. | |
8576 | (regcache_cooked_write_unsigned): New function. | |
8577 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
8578 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
8579 | * regcache.h (regcache_cooked_write_signed): Declare. | |
8580 | (regcache_cooked_write_unsigned): Declare. | |
8581 | ||
8bedc050 AC |
8582 | 2003-03-12 Andrew Cagney <[email protected]> |
8583 | ||
8584 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
8585 | * gdbarch.h, gdbarch.c: Re-generate. | |
8586 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8587 | * x86-64-tdep.h: Update. | |
8588 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8589 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8590 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8591 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8592 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8593 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8594 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8595 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8596 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8597 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8598 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8599 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8600 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8601 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8602 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8603 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8604 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8605 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8606 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8607 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8608 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8609 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8610 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8611 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
8612 | (sh64_init_extra_frame_info): Update. | |
8613 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8614 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
8615 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
8616 | (xstormy16_frame_chain_valid): Update. | |
8617 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
8618 | * v850-tdep.c (v850_frame_chain): Update. | |
8619 | (v850_pop_frame): Update. | |
8620 | (v850_init_extra_frame_info): Update. | |
8621 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
8622 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8623 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
8624 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
8625 | (mn10300_pop_frame_regular): Update. | |
8626 | (mn10300_init_extra_frame_info): Update. | |
8627 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8628 | (mips_frame_chain): Update. | |
8629 | (mips_pop_frame): Update. | |
8630 | * mcore-tdep.c (mcore_frame_chain): Update. | |
8631 | (mcore_pop_frame): Update. | |
8632 | (mcore_init_extra_frame_info): Update. | |
8633 | * arch-utils.c (init_frame_pc_default): Update. | |
8634 | * m68k-tdep.c (isi_frame_num_args): Update. | |
8635 | (delta68_frame_num_args): Update. | |
8636 | (news_frame_num_args): Update. | |
8637 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
8638 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8639 | (alpha_frame_chain): Update. | |
8640 | (alpha_pop_frame): Update. | |
8641 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
8642 | (hppa_init_extra_frame_info): Update. | |
8643 | (hppa_frame_chain): Update. | |
8644 | (hppa_frame_chain_valid): Update. | |
8645 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
8646 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
8647 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
8648 | (arm_init_extra_frame_info): Update. | |
8649 | (arm_pop_frame): Update. | |
8650 | * frame.c (frame_pc_unwind): Update. | |
8651 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8652 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8653 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8654 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8655 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8656 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 8657 | |
7a25a7c1 AC |
8658 | 2003-03-12 Andrew Cagney <[email protected]> |
8659 | ||
8660 | Eliminate the need for POP_FRAME. | |
8661 | * frame.c (do_frame_unwind_register): New function. | |
8662 | (frame_pop): When no POP_FRAME, pop the frame using register | |
8663 | unwind and a scratch regcache. | |
8664 | (frame_saved_regs_pop): Delete function. | |
8665 | (trad_frame_unwinder): Update. | |
8666 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
8667 | (d10v_frame_unwind): Update. | |
8668 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
8669 | (sentinel_frame_unwinder): Update. | |
8670 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
8671 | (dummy_frame_unwind): Update. | |
8672 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
8673 | (struct frame_unwind): Update. | |
8674 | ||
2f38ef89 KB |
8675 | 2003-03-11 Kevin Buettner <[email protected]> |
8676 | ||
8677 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
8678 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
8679 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
8680 | Do range checks on register number obtained from debugging info. | |
8681 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
8682 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
8683 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
8684 | mapping function. | |
8685 | (do_fp_register_row): Fix typo which caused double type to be | |
8686 | used when attempting to unpack a float. | |
8687 | ||
552f4abf JB |
8688 | 2003-03-11 J. Brobecker <[email protected]> |
8689 | ||
8690 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
8691 | ||
e0d2ae16 AC |
8692 | 2003-03-11 Andrew Cagney <[email protected]> |
8693 | ||
8694 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
8695 | frame. Problem found by Corinna Vinschen. | |
8696 | ||
ddbfdd06 PM |
8697 | 2003-03-11 Pierre Muller <[email protected]> |
8698 | ||
8699 | * doublest.c (floatformat_from_length): Accept also | |
8700 | the real size of 'long double' type. | |
8701 | ||
088b2ddc | 8702 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 8703 | |
088b2ddc | 8704 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
8705 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
8706 | as the old value, to match what is freed in bpstat_clear. | |
8707 | ||
f56f77c1 DC |
8708 | 2003-03-10 David Carlton <[email protected]> |
8709 | ||
8710 | * minsyms.c (add_minsym_to_hash_table): Replace | |
8711 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
8712 | (compare_minimal_symbols, compact_minimal_symbols) | |
8713 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
8714 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
8715 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
8716 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
8717 | ||
5602984a AC |
8718 | 2003-03-10 Andrew Cagney <[email protected]> |
8719 | ||
8720 | * regcache.h (regcache_cooked_read_ftype): Define. | |
8721 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
8722 | * regcache.c (regcache_save, regcache_restore): Update. | |
8723 | (do_cooked_read): New function. | |
8724 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
8725 | regcache_restore. | |
8726 | ||
8bedc050 AC |
8727 | 2003-03-10 Andrew Cagney <[email protected]> |
8728 | ||
8729 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
8730 | * gdbarch.h, gdbarch.c: Re-generate. | |
8731 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8732 | * x86-64-tdep.h: Update. | |
8733 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8734 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8735 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8736 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8737 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8738 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8739 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8740 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8741 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8742 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8743 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8744 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8745 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8746 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8747 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8748 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8749 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8750 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8751 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8752 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8753 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8754 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8755 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8756 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
8757 | (sh64_init_extra_frame_info): Update. | |
8758 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8759 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
8760 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
8761 | (xstormy16_frame_chain_valid): Update. | |
8762 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
8763 | * v850-tdep.c (v850_frame_chain): Update. | |
8764 | (v850_pop_frame): Update. | |
8765 | (v850_init_extra_frame_info): Update. | |
8766 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
8767 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8768 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
8769 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
8770 | (mn10300_pop_frame_regular): Update. | |
8771 | (mn10300_init_extra_frame_info): Update. | |
8772 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8773 | (mips_frame_chain): Update. | |
8774 | (mips_pop_frame): Update. | |
8775 | * mcore-tdep.c (mcore_frame_chain): Update. | |
8776 | (mcore_pop_frame): Update. | |
8777 | (mcore_init_extra_frame_info): Update. | |
8778 | * arch-utils.c (init_frame_pc_default): Update. | |
8779 | * m68k-tdep.c (isi_frame_num_args): Update. | |
8780 | (delta68_frame_num_args): Update. | |
8781 | (news_frame_num_args): Update. | |
8782 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
8783 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8784 | (alpha_frame_chain): Update. | |
8785 | (alpha_pop_frame): Update. | |
8786 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
8787 | (hppa_init_extra_frame_info): Update. | |
8788 | (hppa_frame_chain): Update. | |
8789 | (hppa_frame_chain_valid): Update. | |
8790 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
8791 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
8792 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
8793 | (arm_init_extra_frame_info): Update. | |
8794 | (arm_pop_frame): Update. | |
8795 | * frame.c (frame_pc_unwind): Update. | |
8796 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8797 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8798 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8799 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8800 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8801 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 8802 | |
12cc2063 AC |
8803 | 2003-03-10 Andrew Cagney <[email protected]> |
8804 | ||
8805 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
8806 | * gdbarch.h, gdbarch.c: Regenerate. | |
8807 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
8808 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
8809 | (frame_saved_regs_pc_unwind): Delete function. | |
8810 | (trad_frame_unwinder): Update. | |
8811 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
8812 | (struct frame_unwind): Update. | |
8813 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
8814 | (dummy_frame_unwind): Update. | |
8815 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
8816 | (sentinel_frame_unwinder): Update. | |
8817 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
8818 | (d10v_frame_unwind): Update. | |
8819 | (d10v_unwind_pc): New function. | |
8820 | (d10v_gdbarch_init): Set unwind_pc. | |
8821 | ||
ef840a37 AC |
8822 | 2003-03-10 Andrew Cagney <[email protected]> |
8823 | ||
a2ce2e56 AC |
8824 | * gdbarch.h: Re-generate. |
8825 | ||
ef840a37 AC |
8826 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
8827 | PC. | |
8828 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
8829 | the PC register. | |
8830 | ||
08f3424b MK |
8831 | 2003-03-08 Mark Kettenis <[email protected]> |
8832 | ||
8833 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
8834 | ||
1248ede2 AC |
8835 | 2003-03-08 Andrew Cagney <[email protected]> |
8836 | ||
8837 | * cli-out.c: Update copyright. | |
8838 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
8839 | ||
f49bacc8 AC |
8840 | 2003-03-08 Andrew Cagney <[email protected]> |
8841 | ||
8842 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
8843 | the result. | |
8844 | ||
9b05f993 AC |
8845 | 2003-03-07 Andrew Cagney <[email protected]> |
8846 | ||
8847 | * gdbarch.sh: Don't generate two macro definitions when an | |
8848 | undefined macro taking no arguments. | |
8849 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 8850 | |
166f4c7b ML |
8851 | 2002-03-07 Michal Ludvig <[email protected]> |
8852 | ||
8853 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
8854 | (x86_64_unwind_dummy_id): New functions. | |
8855 | (x86_64_init_abi): Register these two new functions. | |
8856 | ||
6d686a84 ML |
8857 | 2003-03-07 Michal Ludvig <[email protected]> |
8858 | ||
8859 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 8860 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
8861 | separate function. |
8862 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
8863 | ||
6314f104 AC |
8864 | 2003-03-05 Andrew Cagney <[email protected]> |
8865 | ||
8866 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
8867 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
8868 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
8869 | to use unwind_dummy_id when a dummy frame. | |
8870 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
8871 | predicate. | |
8872 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 8873 | |
ceea5145 AC |
8874 | 2003-03-05 Andrew Cagney <[email protected]> |
8875 | ||
8876 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
8877 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
8878 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
8879 | values. | |
8880 | ||
0d843116 AC |
8881 | 2003-03-05 Andrew Cagney <[email protected]> |
8882 | ||
8883 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
8884 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
8885 | "next_addr" with "sp_offset". Add "r11_offset". | |
8886 | (d10v_frame_unwind_cache): Update. | |
8887 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
8888 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
8889 | RN was saved in r11_offset. | |
8890 | ||
b2579786 AC |
8891 | 2003-03-05 Andrew Cagney <[email protected]> |
8892 | ||
8893 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
8894 | cached PC value in the next frame. | |
8895 | ||
218e5956 AC |
8896 | 2003-03-05 Andrew Cagney <[email protected]> |
8897 | ||
8898 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
8899 | "id_unwind_cache" with "id". | |
8900 | (frame_id_unwind): Delete declaration. | |
8901 | * frame.c (frame_id_unwind): Delete function. | |
8902 | (get_prev_frame): Call the frame id unwind method directly. Store | |
8903 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
8904 | is a problem with the wrong unwind ID being called with the wrong | |
8905 | unwind cache. | |
8906 | ||
ed363b1b DJ |
8907 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
8908 | ||
8909 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
8910 | ||
fe1f4a5e DJ |
8911 | 2003-03-05 James Ingham <[email protected]> |
8912 | Daniel Jacobowitz <[email protected]> | |
8913 | ||
8914 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
8915 | (auto_cp_abi): New variable. | |
8916 | (current_cp_abi, num_cp_abis): Make static. | |
8917 | (CP_ABI_MAX): Define. | |
8918 | (cp_abis): Turn into an array. | |
8919 | (value_virtual_fn_field): Fix formatting. | |
8920 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
8921 | takes a pointer. | |
8922 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
8923 | (list_cp_abis, _initialize_cp_abi): New functions. | |
8924 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
8925 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
8926 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
8927 | * Makefile.in (cp-abi.o): Update dependencies. | |
8928 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
8929 | instead of switch_to_cp_abi. | |
8930 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
8931 | register_cp_abi. | |
8932 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
8933 | register_cp_abi. | |
8934 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
8935 | ||
e4adbba9 DJ |
8936 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
8937 | ||
8938 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
8939 | * dwarf2loc.c: Include "regcache.h". | |
8940 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
8941 | register_size. | |
8942 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
8943 | ||
91ccbfc1 TR |
8944 | 2003-03-04 Theodore A. Roth <[email protected]> |
8945 | ||
8946 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
8947 | number of io registers reported by remote target is not a multiple of | |
8948 | step. | |
8949 | ||
3d4e8fd2 DC |
8950 | 2003-03-04 David Carlton <[email protected]> |
8951 | ||
8952 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
8953 | (lookup_symbol_aux_psymtabs): Update call to | |
8954 | lookup_partial_symbol. | |
8955 | (lookup_transparent_type, find_main_psymtab) | |
8956 | (make_symbol_overload_list): Ditto. | |
8957 | ||
ed42d87b KH |
8958 | 2003-03-04 Kazu Hirata <[email protected]> |
8959 | ||
8960 | * MAINTAINERS (Write after approval): Update my email address. | |
8961 | ||
a0ed5532 AC |
8962 | 2003-03-03 Andrew Cagney <[email protected]> |
8963 | ||
8964 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
8965 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
8966 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
8967 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
8968 | MAX_REGISTER_VIRTUAL_SIZE. | |
8969 | * regcache.c (legacy_max_register_raw_size): New function. | |
8970 | (legacy_max_register_virtual_size): New function. | |
8971 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
8972 | (MAX_REGISTER_RAW_SIZE): Define. | |
8973 | (legacy_max_register_raw_size): Declare. | |
8974 | (legacy_max_register_virtual_size): Declare. | |
8975 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8976 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
8977 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8978 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
8979 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8980 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
8981 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8982 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8983 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8984 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8985 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8986 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8987 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8988 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8989 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8990 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8991 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8992 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8993 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8994 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8995 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8996 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8997 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8998 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8999 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9000 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9001 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9002 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9003 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9004 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9005 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9006 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
9007 | max_register_raw_size or max_register_virtual_size. | |
9008 | ||
8e437497 DC |
9009 | 2003-03-03 David Carlton <[email protected]> |
9010 | ||
9011 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
9012 | SYMBOL_MATCHES_NAME, add comment. | |
9013 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
9014 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
9015 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
9016 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
9017 | * symtab.c (lookup_partial_symbol): Use | |
9018 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
9019 | unhelpful comment. | |
9020 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
9021 | SYMBOL_MATCHES_NAME. | |
9022 | Fix for PR c++/33. | |
9023 | ||
25120b0d DC |
9024 | 2003-03-03 David Carlton <[email protected]> |
9025 | ||
9026 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
9027 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
9028 | by regexp matching against SYMBOL_NATURAL_NAME. | |
9029 | ||
78a11fb4 DC |
9030 | 2003-03-03 David Carlton <[email protected]> |
9031 | ||
9032 | * linespec.c (find_method): Extract code into collect_methods. | |
9033 | (collect_methods): New. | |
9034 | ||
645dd519 MK |
9035 | 2003-03-02 Mark Kettenis <[email protected]> |
9036 | ||
b4700d91 MK |
9037 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
9038 | get_frame_base. | |
9039 | ||
645dd519 MK |
9040 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
9041 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9042 | ||
0aa7e1aa SC |
9043 | 2003-03-02 Stephane Carrez <[email protected]> |
9044 | ||
8ffd9b1b | 9045 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
9046 | and not regnum when summing the size of all registers up to regnum. |
9047 | ||
f30ee0bc AC |
9048 | 2003-03-01 Andrew Cagney <[email protected]> |
9049 | ||
9050 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
9051 | FRAME_INIT_SAVED_REGS. | |
9052 | * gdbarch.h, gdbarch.c: Regenerate. | |
9053 | * stack.c (frame_info): Update. | |
9054 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
9055 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
9056 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
9057 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
9058 | * mips-tdep.c (mips_pop_frame): Update. | |
9059 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
9060 | * ia64-tdep.c (ia64_frame_chain): Update. | |
9061 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
9062 | (ia64_frameless_function_invocation): Update. | |
9063 | (ia64_init_extra_frame_info): Update. | |
9064 | (ia64_pop_frame_regular): Update. | |
9065 | * frame.h (struct frame_info): Update comment. | |
9066 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
9067 | * frame.c (frame_saved_regs_register_unwind): Update. | |
9068 | (frame_saved_regs_register_unwind): Update. | |
9069 | (deprecated_generic_get_saved_register): Update. | |
9070 | * cris-tdep.c: Update comment. | |
9071 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
9072 | Rename macro. | |
9073 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9074 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9075 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9076 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9077 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9078 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9079 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9080 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9081 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9082 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9083 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9084 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9085 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9086 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9087 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9088 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9089 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9090 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9091 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9092 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9093 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9094 | |
42fa7c0f AC |
9095 | 2003-03-01 Andrew Cagney <[email protected]> |
9096 | ||
9097 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
9098 | option enum and switch. When no windows, set the interpreter to | |
9099 | INTERP_CONSOLE. | |
8ffd9b1b | 9100 | |
49c7e338 AC |
9101 | 2003-03-01 Andrew Cagney <[email protected]> |
9102 | ||
9103 | * main.c (captured_main): Replace magic option characters with an | |
9104 | enum. | |
9105 | ||
e9582e71 AC |
9106 | 2003-03-01 Andrew Cagney <[email protected]> |
9107 | ||
9108 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
9109 | INIT_EXTRA_FRAME_INFO. | |
9110 | * gdbarch.h, gdbarch.c: Regenerate. | |
9111 | * arm-tdep.c: Update comments. | |
9112 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
9113 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
9114 | * frame.h, avr-tdep.c: Ditto. | |
9115 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
9116 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
9117 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9118 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9119 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
9120 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
9121 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
9122 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9123 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9124 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9125 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9126 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
9127 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9128 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9129 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9130 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9131 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9132 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
9133 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9134 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9135 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9136 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9137 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9138 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9139 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9140 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9141 | ||
35cac7cf AC |
9142 | 2003-03-01 Andrew Cagney <[email protected]> |
9143 | ||
9144 | * gdbarch.sh (register_type): New function with predicate. | |
9145 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
9146 | * gdbarch.h, gdbarch.c: Re-generate. | |
9147 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
9148 | (generic_register_size): When available, use | |
9149 | gdbarch_register_type. | |
9150 | * regcache.c (init_regcache_descr): When available, initialize the | |
9151 | register type array using gdbarch_register_type. If the | |
9152 | architecture supplies gdbarch_register_type, do not use the legacy | |
9153 | regcache layout. | |
9154 | * d10v-tdep.c (d10v_register_type): Replace | |
9155 | d10v_register_virtual_type. | |
9156 | (d10v_gdbarch_init): Set register_type instead of | |
9157 | register_virtual_type. | |
9158 | ||
7b83296f AC |
9159 | 2003-03-01 Andrew Cagney <[email protected]> |
9160 | ||
9161 | * Makefile.in (ax-gdb.o): Update dependencies. | |
9162 | * ax-gdb.c: Include "regcache.h". | |
9163 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
9164 | * findvar.c (value_of_register): Ditto. | |
9165 | * infcmd.c (default_print_registers_info): Ditto. | |
9166 | ||
eadc1c87 MK |
9167 | 2003-03-01 Mark Kettenis <[email protected]> |
9168 | ||
9169 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
9170 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9171 | ||
14143612 MK |
9172 | 2003-03-01 Mark Kettenis <[email protected]> |
9173 | ||
9174 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
9175 | of STREQ. | |
9176 | ||
a55cc764 DJ |
9177 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
9178 | ||
9179 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9180 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9181 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
9182 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
9183 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
9184 | (locexpr_tracepoint_var_ref): New function. | |
9185 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
9186 | ||
08a617da AC |
9187 | 2003-02-28 Andrew Cagney <[email protected]> |
9188 | ||
9189 | * regcache.c (register_size): New function. | |
9190 | * regcache.h (register_size): Declare | |
9191 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
9192 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
9193 | ||
4224873a DC |
9194 | 2003-02-28 David Carlton <[email protected]> |
9195 | ||
9196 | * linespec.c (decode_compound): Extract code into find_method. | |
9197 | (find_method): New. | |
9198 | ||
ccdc5d7f JB |
9199 | 2003-02-28 J. Brobecker <[email protected]> |
9200 | ||
9201 | * Makefile.in: Add rules to build and link in observer.o. | |
9202 | ||
974e8ced JB |
9203 | 2003-02-27 J. Brobecker <[email protected]> |
9204 | ||
9205 | * observer.c: Minor comments edits. | |
9206 | ||
7a28f973 JB |
9207 | 2003-02-27 J. Brobecker <[email protected]> |
9208 | ||
9209 | * observer.h, observer.c: New file. | |
9210 | ||
27cddce2 AC |
9211 | 2003-02-27 Andrew Cagney <[email protected]> |
9212 | ||
9213 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
9214 | ||
b94a41a1 SC |
9215 | 2003-02-27 Stephane Carrez <[email protected]> |
9216 | ||
9217 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
9218 | (M6812_OP_STS_EXT): Likewise. | |
9219 | (m6811_prologue): Use the above to recognize prologue. | |
9220 | (m6812_prologue): Likewise. | |
9221 | ||
c8be8951 DC |
9222 | 2003-02-27 David Carlton <[email protected]> |
9223 | ||
9224 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
9225 | SYMBOL_PRINT_NAME. | |
9226 | (compare_psymbols): Ditto. | |
9227 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
9228 | ||
d05bb1fc MS |
9229 | 2003-02-27 Michael Snyder <[email protected]> |
9230 | ||
4e845cd3 MS |
9231 | * f-lang.c (build_fortran_types): New function. |
9232 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
9233 | * doublest.c (extract_floating): Fix warning text. |
9234 | ||
f3824013 AC |
9235 | 2003-02-27 Andrew Cagney <[email protected]> |
9236 | ||
9237 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
9238 | predicate. Replaces PUSH_DUMMY_FRAME. | |
9239 | * gdbarch.h, gdbarch.c: Regnerate. | |
9240 | * valops.c (hand_function_call): Update. Call | |
9241 | generic_push_dummy_frame directly. | |
9242 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9243 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9244 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9245 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9246 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9247 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9248 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9249 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9250 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
9251 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
9252 | push_dummy_frame to generic_push_dummy_frame. | |
9253 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9254 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9255 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9256 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9257 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9258 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9259 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9260 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9261 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9262 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9263 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9264 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9265 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9266 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9267 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9268 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 9269 | |
ad188201 KB |
9270 | 2003-02-26 Kevin Buettner <[email protected]> |
9271 | ||
9272 | * mips-tdep.c (show_mips_abi): New function. | |
9273 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
9274 | command ``show mips abi''. | |
9275 | ||
6b37567a | 9276 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 9277 | |
6b37567a | 9278 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 9279 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
9280 | more sline entries have been seen for the function. |
9281 | ||
d3e0a5bf MC |
9282 | 2003-02-26 Michael Chastain <[email protected]> |
9283 | ||
9284 | * configure: Regenerate with autoconf 000227. | |
9285 | ||
18972eea MC |
9286 | 2003-02-26 Michael Chastain <[email protected]> |
9287 | ||
9288 | Close PR build/660. | |
9289 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
9290 | for old libc5/glibc. | |
9291 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
9292 | ||
0bbde931 KW |
9293 | 2003-02-26 Kris Warkentin <[email protected]> |
9294 | ||
9295 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
9296 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
9297 | ||
27ca5dad MC |
9298 | 2003-02-26 Michael Chastain <[email protected]> |
9299 | ||
9300 | * configure.in: New variable HAVE_UINTPTR_T. | |
9301 | * configure, config.in: Regenerated. | |
9302 | ||
6f88d630 DJ |
9303 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
9304 | ||
9305 | Fix PR build/1097. | |
9306 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
9307 | ||
b14185ce AC |
9308 | 2003-02-25 Andrew Cagney <[email protected]> |
9309 | ||
9310 | * frame.c (get_prev_frame): Add comment on check for | |
9311 | inside_entry_func. Only check for inside_entry_file when not a | |
9312 | dummy and not a sentinel. Check that the new frame is not inner | |
9313 | to the old frame. | |
9314 | ||
ac2bd0a9 AC |
9315 | 2003-02-25 Andrew Cagney <[email protected]> |
9316 | ||
9317 | * frame.c (frame_debug): New variable. | |
9318 | (_initialize_frame): Add "set/show debug frame" command. | |
9319 | (get_prev_frame): When frame_debug, print reason why unwind | |
9320 | failed. | |
9321 | ||
b18a0fd2 MC |
9322 | 2003-02-25 Michael Chastain <[email protected]> |
9323 | ||
9324 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
9325 | to avoid uintptr_t definition problems. | |
9326 | ||
22abf04a DC |
9327 | 2003-02-25 David Carlton <[email protected]> |
9328 | ||
9329 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
9330 | (SYMBOL_LINKAGE_NAME): Ditto. | |
9331 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
9332 | SYMBOL_LINKAGE_NAME. | |
9333 | (struct general_symbol_info): Expand comment. | |
9334 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
9335 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
9336 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
9337 | * symtab.c (symbol_natural_name): New function. | |
9338 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
9339 | DEPRECATED_SYMBOL_NAME. | |
9340 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
9341 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
9342 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
9343 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
9344 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
9345 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
9346 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
9347 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
9348 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
9349 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
9350 | * ada-exp.y: Ditto. | |
9351 | * ada-exp.y: Update copyright. | |
9352 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
9353 | * cp-valprint.c: Ditto. | |
9354 | ||
1a5848f6 JJ |
9355 | 2003-02-25 Jeff Johnston <[email protected]> |
9356 | ||
9357 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
9358 | and errno is set to ESRCH. | |
9359 | ||
7343d46a AC |
9360 | 2003-02-24 Andrew Cagney <[email protected]> |
9361 | ||
9362 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
9363 | paddr when printing udot_off's value. | |
9364 | ||
49fa1dc2 DC |
9365 | 2003-02-24 David Carlton <[email protected]> |
9366 | ||
9367 | * symtab.c (make_symbol_overload_list): Only read in partial | |
9368 | symtabs containing a matching partial symbol. | |
9369 | ||
0fe19209 DC |
9370 | 2003-02-24 David Carlton <[email protected]> |
9371 | ||
9372 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
9373 | do the comparison, not strcmp. | |
9374 | * symfile.c (compare_psymbols): Ditto. | |
9375 | * defs.h: Declare strcmp_iw_ordered. | |
9376 | * utils.c (strcmp_iw_ordered): New function. | |
9377 | ||
8e3ee7b5 JB |
9378 | 2003-02-24 Jim Blandy <[email protected]> |
9379 | ||
9380 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
9381 | support, shared libs): Remove my name from here, to better reflect | |
9382 | reality. | |
9383 | ||
7df1a324 KW |
9384 | 2003-02-24 Kris Warkentin <[email protected]> |
9385 | ||
9386 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
9387 | (target_ops): Add to_have_continuable_watchpoint. | |
9388 | * target.c (update_current_target): Add INHERIT line for | |
9389 | to_have_continuable_watchpoint. | |
9390 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
9391 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
9392 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
9393 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
9394 | ||
d1c76907 EZ |
9395 | 2003-02-24 Elena Zannoni <[email protected]> |
9396 | ||
9397 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
9398 | maintainership. | |
9399 | ||
2610b0bf KW |
9400 | 2003-02-24 Kris Warkentin <[email protected]> |
9401 | ||
f46169db KW |
9402 | * solib.c (solib_open): Call target defined search function after |
9403 | failing with solib-search-path. | |
9404 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
9405 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 9406 | |
9a3c34fe KW |
9407 | 2003-02-24 Kris Warkentin <[email protected]> |
9408 | ||
f46169db | 9409 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 9410 | |
2417dd25 SC |
9411 | 2003-02-23 Stephane Carrez <[email protected]> |
9412 | ||
9413 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
9414 | ||
b631436b SC |
9415 | 2003-02-22 Stephane Carrez <[email protected]> |
9416 | ||
9417 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
9418 | (m68hc11_add_reggroups): New function. | |
9419 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
9420 | (m68hc11_gdbarch_init): Install the reggroups. | |
9421 | (_initialize_m68hc11_tdep): Initialize them. | |
9422 | ||
0aa8c1e4 JW |
9423 | 2003-02-21 James E Wilson <[email protected]> |
9424 | ||
9425 | * MAINTAINERS: Update my email address. | |
9426 | ||
50ceaba5 DC |
9427 | 2003-02-21 David Carlton <[email protected]> |
9428 | ||
9429 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
9430 | ||
4c2df51b DJ |
9431 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
9432 | ||
9433 | Based on a patch from Daniel Berlin ([email protected]). | |
9434 | * symtab.h: Add opaque declarations of struct axs_value and | |
9435 | struct agent_expr. | |
9436 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9437 | (struct location_funcs): New type. | |
9438 | (struct symbol): Add "loc" to aux_value. | |
9439 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
9440 | * dwarf2read.c: Include "dwarf2expr.h". | |
9441 | (dwarf2_symbol_mark_computed): New function. | |
9442 | (read_func_scope): Use it. | |
9443 | (var_decode_location): New function. | |
9444 | (new_symbol): Use it. | |
9445 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
9446 | ||
9447 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
9448 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
9449 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
9450 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
9451 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
9452 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
9453 | LOC_COMPUTED_ARG. | |
9454 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
9455 | * m2-exp.y (yylex): Likewise. | |
9456 | * printcmd.c (address_info, print_frame_args): Likewise. | |
9457 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
9458 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
9459 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
9460 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
9461 | * symtab.c (lookup_block_symbol): Likewise. | |
9462 | ||
5784d15e AF |
9463 | 2003-02-20 Adam Fedor <[email protected]> |
9464 | ||
9465 | * symtab.h: Remove objc_specific struct | |
9466 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
9467 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
9468 | Have language_objc use cplus_specific struct. | |
9469 | ||
d4cad8db TT |
9470 | 2003-02-20 Tom Tromey <[email protected]> |
9471 | ||
9472 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
9473 | TYPE_NAME, when printing a String value. PR java/1075. | |
9474 | ||
2f9a90b4 AF |
9475 | 2003-02-20 Adam Fedor <[email protected]> |
9476 | ||
d38074a8 | 9477 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 9478 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 9479 | |
6f17862b CF |
9480 | 2003-02-20 Christopher Faylor <[email protected]> |
9481 | ||
9482 | * win32-nat.c (get_image_name): Check return value from | |
9483 | ReadProcessMemory. | |
9484 | (child_xfer_memory): Ditto. | |
9485 | ||
715d1656 AO |
9486 | 2003-02-20 Alexandre Oliva <[email protected]> |
9487 | ||
9488 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
9489 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
9490 | '${exec_prefix}' (in addition to the expansion thereof) as | |
9491 | relocatable. | |
9492 | * configure: Rebuilt. | |
9493 | ||
b1262a02 DC |
9494 | 2003-02-20 David Carlton <[email protected]> |
9495 | ||
9496 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
9497 | 2002-12-23 patch. Add comment. | |
9498 | ||
7134143f DJ |
9499 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
9500 | ||
9501 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
9502 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
9503 | install_minimal_symbols. | |
9504 | (stabsect_build_psymtabs): Likewise. | |
9505 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
9506 | earlier. | |
9507 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
9508 | and do_cleanups earlier. | |
9509 | * nlmread.c (nlm_symfile_read): Likewise. | |
9510 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
9511 | install_minimal_symbols and make appropriate cleanups. | |
9512 | ||
cf466558 KB |
9513 | 2003-02-20 Kevin Buettner <[email protected]> |
9514 | ||
9515 | * solib.c (reload_shared_libraries): New function. | |
9516 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
9517 | and ``set solib-absolute-prefix''. | |
9518 | ||
de5ad195 DC |
9519 | 2003-02-20 David Carlton <[email protected]> |
9520 | ||
9521 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
9522 | expand comment. | |
9523 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
9524 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
9525 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
9526 | * ax-gdb.c (gen_var_ref): Ditto. | |
9527 | * breakpoint.c (print_one_breakpoint): Ditto. | |
9528 | * buildsym.c (finish_block): Ditto. | |
9529 | * c-valprint.c (c_val_print): Ditto. | |
9530 | * expprint.c (print_subexp): Ditto. | |
9531 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
9532 | * infcmd.c (jump_command): Ditto. |
9533 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
9534 | * maint.c (maintenance_translate_address): Ditto. | |
9535 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
9536 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
9537 | Ditto. | |
8ffd9b1b AJ |
9538 | * p-valprint.c (pascal_val_print): Ditto. |
9539 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 9540 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
9541 | (print_frame_arg_vars, return_command): Ditto. |
9542 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
9543 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
9544 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
9545 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
9546 | (rbreak_command): Ditto. |
9547 | * tracepoint.c (tracepoints_info): Ditto. | |
9548 | * typeprint.c (typedef_print): Ditto. | |
9549 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
9550 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
9551 | * ada-typeprint.c: Update Copyright. | |
9552 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
9553 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
9554 | ||
f796e4be KB |
9555 | 2003-02-20 Kevin Buettner <[email protected]> |
9556 | ||
9557 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
9558 | * frame.h (generic_unwind_get_saved_register): Declare. | |
9559 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
9560 | current regcache when frame is NULL. | |
9561 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
9562 | that must be NULL. | |
9563 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
9564 | instead of frame_register_unwind(). | |
9565 | ||
836cc9f4 AC |
9566 | 2003-02-20 Andrew Cagney <[email protected]> |
9567 | ||
9568 | * remote-sim.c (gdbsim_insert_breakpoint) | |
9569 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
9570 | code. | |
9571 | ||
501eef12 AC |
9572 | 2003-02-20 Andrew Cagney <[email protected]> |
9573 | ||
9574 | * remote.c (_initialize_remote): Add commands "set/show remote | |
9575 | hardware-watchpoint-limit" and "set/show remote | |
9576 | hardware-breakpoint-limit". | |
9577 | (remote_hw_watchpoint_limit): Initialize to -1. | |
9578 | (remote_hw_breakpoint_limit): Ditto. | |
9579 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
9580 | ||
1b6bc7e0 CF |
9581 | 2003-02-19 Raoul Gough <[email protected]> |
9582 | ||
9583 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
9584 | portable executable using the export table. | |
9585 | * coff-pe-read.h: New file. | |
9586 | * coffread.c: Include coff-pe-read.h. | |
9587 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
9588 | debugging symbols found. | |
9589 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
9590 | (coff_pe_read_h): Define. | |
9591 | (COMMON_OBS): Add coff-pe-read.o. | |
9592 | (coffread.o): Add coff_pe_read_h dependency. | |
9593 | (coff-pe-read.o): New target. | |
9594 | ||
fe898f56 DC |
9595 | 2003-02-19 David Carlton <[email protected]> |
9596 | ||
9597 | * Makefile.in (SFILES): Add block.c. | |
9598 | (block_h): New. | |
9599 | (COMMON_OBS): Add block.o. | |
9600 | (block.o): New. | |
9601 | (x86-64-tdep.o): Add $(block_h). | |
9602 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
9603 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
9604 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
9605 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
9606 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
9607 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
9608 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
9609 | * value.h: Add opaque declaration for struct block. | |
9610 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
9611 | * ada-lang.h: Ditto. | |
9612 | * x86-64-tdep.c: #include "block.h" | |
9613 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
9614 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
9615 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
9616 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
9617 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
9618 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
9619 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
9620 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
9621 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
9622 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
9623 | * symtab.c (block_function): Ditto. | |
9624 | (contained_in): Ditto. | |
9625 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
9626 | block.h. Add opaque declaration for struct block. | |
9627 | * symtab.h: Move block_function and contained_in declarations to | |
9628 | block.h. Add opaque declarations for struct block, struct | |
9629 | blockvector. | |
9630 | (struct block): Move to block.h. | |
9631 | (struct blockvector): Ditto. | |
9632 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
9633 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
9634 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
9635 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
9636 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
9637 | Ditto. | |
9638 | * block.c: New file. | |
9639 | * block.h: New file. | |
9640 | ||
173345b5 TR |
9641 | 2003-02-19 Theodore A. Roth <[email protected]> |
9642 | ||
9643 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
9644 | (avr_store_return_value): Remove function. | |
9645 | (avr_extract_struct_value_address): Remove function. | |
9646 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
9647 | ||
338ef23d AC |
9648 | 2003-02-19 Andrew Cagney <[email protected]> |
9649 | ||
9650 | * rs6000-tdep.c: Include "gdb_assert.h". | |
9651 | (registers_e500): Add "acc" and "spefscr". | |
9652 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
9653 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
9654 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
9655 | really is "r0". | |
9656 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
9657 | ||
5412f5f3 KS |
9658 | 2003-02-18 Keith Seitz <[email protected]> |
9659 | ||
9660 | * Makefile.in: Add gdbtk-interps.c. | |
9661 | ||
881324eb KB |
9662 | 2003-02-18 Kevin Buettner <[email protected]> |
9663 | ||
9664 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
9665 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
9666 | ||
6a2f5abf AC |
9667 | 2003-02-18 Andrew Cagney <[email protected]> |
9668 | ||
9669 | * symtab.h (struct objfile): Add opaque declaration. | |
9670 | ||
54c7009d EZ |
9671 | 2003-02-18 Elena Zannoni <[email protected]> |
9672 | ||
9673 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
9674 | * dbxread.c (process_one_symbol): Use last_function_start rather |
9675 | than function_start_offset to find the real beginning of the | |
9676 | current function. The latter is just the text section offset on | |
9677 | some systems, the former is always the real function start. | |
54c7009d | 9678 | |
7ee6d7eb AC |
9679 | 2003-02-17 Andrew Cagney <[email protected]> |
9680 | ||
9681 | * configure.in: Revert ${target} != ${host}. | |
9682 | ||
2846da9b AC |
9683 | 2003-02-17 Andrew Cagney <[email protected]> |
9684 | ||
9685 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
9686 | instead of the absence of the "nm.h" file, to determine of the | |
9687 | configuration non-native. | |
9688 | * configure: Regenerate. | |
8ffd9b1b | 9689 | |
3b27aeea EZ |
9690 | 2003-02-14 Elena Zannoni <[email protected]> |
9691 | ||
fbe586ae | 9692 | From Brian Ford <[email protected]> |
3b27aeea EZ |
9693 | |
9694 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
9695 | conditionalize tui_active test. | |
9696 | (lookup_cmd_1): Ditto. | |
9697 | ||
b0b1c2c0 MK |
9698 | 2003-02-14 Mark Kettenis <[email protected]> |
9699 | ||
9700 | * configure.in: Add check for _etext. | |
9701 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
9702 | available. | |
9703 | * config.in, configure: regenerated. | |
9704 | ||
8f05cde5 DJ |
9705 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
9706 | ||
9707 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
9708 | ||
021e7609 AC |
9709 | 2003-02-14 Andrew Cagney <[email protected]> |
9710 | ||
9711 | * main.c (tui_version): Delete variable. | |
9712 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
9713 | enabling tui_version. | |
9714 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
9715 | tui_version. | |
9716 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
9717 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
9718 | * defs.h (tui_version): Delete declaration. | |
9719 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
9720 | (tui-interp.o): Add rules. | |
9721 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
9722 | ||
e325dcec CF |
9723 | 2003-02-14 Christopher Faylor <[email protected]> |
9724 | ||
36ffb041 | 9725 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
9726 | just-loaded dll. |
9727 | ||
c4f90d87 JM |
9728 | 2003-02-12 Jason Molenda ([email protected]) |
9729 | ||
fbe586ae RH |
9730 | * symmisc.c (print_objfile_statistics): Include information about |
9731 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 9732 | |
e46e5ccd KS |
9733 | 2003-02-13 Keith R Seitz <[email protected]> |
9734 | ||
9735 | * main.h (struct captured_main_args): Add interpreter_p. | |
9736 | * main.c (captured_main): Initialize interpreter_p from context. | |
9737 | * gdb.c (main): Set interpreter_p argument. | |
9738 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
9739 | ||
fe97fe9c AC |
9740 | 2003-02-12 Andrew Cagney <[email protected]> |
9741 | ||
9742 | * event-top.c (cli_command_loop): Delete declaration. | |
9743 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
9744 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
9745 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
9746 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
9747 | cli_command_loop. | |
9748 | ||
1cdac4ef AC |
9749 | 2003-02-12 Andrew Cagney <[email protected]> |
9750 | ||
9751 | * interps.h (interp_command_loop_ftype): Change return type to | |
9752 | void. | |
9753 | ||
48037ead ML |
9754 | 2003-02-12 Michal Ludvig <[email protected]> |
9755 | ||
9756 | * x86-64-tdep.c (x86_64_extract_return_value) | |
9757 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
9758 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
9759 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
9760 | ||
033afc63 AC |
9761 | 2003-02-11 Andrew Cagney <[email protected]> |
9762 | ||
9763 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
9764 | * aclocal.m4: Regenerate. | |
9765 | * configure: Regenerate. | |
9766 | ||
9767 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
9768 | TCL_LD_SEARCH_FLAGS. | |
9769 | ||
40d02bca ML |
9770 | 2003-02-10 Michal Ludvig <[email protected]> |
9771 | ||
9772 | * dwarf2cfi.c: Reindented. | |
9773 | ||
11308a41 AC |
9774 | 2003-02-09 Andrew Cagney <[email protected]> |
9775 | ||
9776 | * interps.c (clear_interpreter_hooks): Convert function definition | |
9777 | to ISO C. | |
9778 | ||
e1c1c0f6 DC |
9779 | 2003-02-07 David Carlton <[email protected]> |
9780 | ||
9781 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
9782 | ||
ab5d3da6 KB |
9783 | 2003-02-07 Kevin Buettner <[email protected]> |
9784 | ||
9785 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
9786 | (struct type): ...to here. | |
9787 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
9788 | field. | |
9789 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
9790 | (replace_type): Set length on all type variants for a given type. | |
9791 | ||
b8a92b82 AC |
9792 | 2003-02-07 Andrew Cagney <[email protected]> |
9793 | ||
9794 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
9795 | <sys/stat.h>. | |
9796 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 9797 | |
5cb316ef AC |
9798 | 2003-02-06 Andrew Cagney <[email protected]> |
9799 | ||
2555fe1a AC |
9800 | * Makefile.in (symm-nat.o): Update dependencies. |
9801 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
9802 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
9803 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
9804 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
9805 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
9806 | ||
44270758 AC |
9807 | * Makefile.in (inflow_h): Define. |
9808 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
9809 | * inftarg.c (child_stop): Delete extern declaration of | |
9810 | inferior_process_group. Include "inflow.h". | |
9811 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
9812 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
9813 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
9814 | (our_process_group, inferior_process_group): Extern declarations. | |
9815 | ||
df8f7274 AC |
9816 | * procfs.c: Include "gdb_assert.h". |
9817 | ||
5cb316ef AC |
9818 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
9819 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
9820 | * jv-typeprint.c (java_type_print_base): Ditto. | |
9821 | * typeprint.c (typedef_print): Eliminate STREQ. | |
9822 | * cli/cli-script.c (define_command, define_command): Ditto. | |
9823 | * main.c (captured_main): Ditto. | |
9824 | * values.c (lookup_internalvar): Ditto. | |
9825 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
9826 | within `if' conditional. | |
9827 | * linespec.c (decode_line_2): Ditto. | |
9828 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
9829 | (bfd_openw_with_cleanup): Ditto. | |
9830 | ||
2a28ccea MK |
9831 | 2003-02-07 Mark Kettenis <[email protected]> |
9832 | ||
9833 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
9834 | legacy_extract_return_value and store_return_value to | |
9835 | legacy_return_value. | |
9836 | ||
786b8124 CF |
9837 | 2003-02-06 Raoul Gough <[email protected]> |
9838 | ||
9839 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
9840 | section load addresses for symbol handling in relocated DLLs. | |
9841 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
9842 | ||
b871e4ec FF |
9843 | 2003-02-05 Fred Fish <[email protected]> |
9844 | ||
9845 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
9846 | '=' and '!='. | |
9847 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
9848 | with '&' and '=='. | |
9849 | (angel_RDI_info): Ditto. | |
9850 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
9851 | with '&' and '!='. | |
9852 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 9853 | |
4389a95a | 9854 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
9855 | Keith Seitz <[email protected]> |
9856 | Elena Zannoni <[email protected]> | |
9857 | Andrew Cagney <[email protected]> | |
4389a95a AC |
9858 | |
9859 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
9860 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
9861 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
9862 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
9863 | (SFILES): Add "interps.c". | |
9864 | (COMMON_OBS): Add "interps.o". | |
9865 | (interps_h, mi_main_h): Define. | |
9866 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
9867 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
9868 | * cli/cli-interp.c: New file. | |
9869 | * interps.h, interps.c: New files. | |
9870 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
9871 | by captured_main. | |
9872 | * main.c: Include "interps.h". | |
9873 | (interpreter_p): Note that it should malloc'ed. | |
9874 | (captured_command_loop): Call current_interp_command_loop. | |
9875 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
9876 | xfree and xstrdup when updating interpreter_p. Install the | |
9877 | default interpreter. Add hack to stop mi1's copyright notice | |
9878 | being encoded. | |
9879 | * event-top.h (gdb_setup_readline): Declare. | |
9880 | (gdb_disable_readline): Declare. | |
9881 | * event-top.c: Include "interps.h". | |
9882 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
9883 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
9884 | gdb_stdlog, and gdb_stdtarg. | |
9885 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
9886 | * cli-out.c (cli_out_set_stream): New function. | |
9887 | * cli-out.h (cli_out_set_stream): Declare. | |
9888 | ||
ff3b5810 MK |
9889 | 2003-02-06 Mark Kettenis <[email protected]> |
9890 | ||
9891 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
9892 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
9893 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
9894 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
9895 | config/i386/i386v42mp.mt: Removed. | |
9896 | ||
5b729aa5 MK |
9897 | 2003-02-05 Mark Kettenis <[email protected]> |
9898 | ||
9899 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
9900 | GDB_OSABI_SOLARIS. | |
9901 | ||
8cc15142 MC |
9902 | 2003-02-05 Michael Chastain <[email protected]> |
9903 | ||
9904 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
9905 | 2.12.1 and earlier versions. | |
9906 | ||
5aa5d4b9 AC |
9907 | 2003-02-05 Andrew Cagney <[email protected]> |
9908 | ||
9909 | Remove orphaned hosts, targets and files. | |
9910 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
9911 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
9912 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
9913 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
9914 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
9915 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
9916 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
9917 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
9918 | * config/sparc/tm-sp64sim.h: Delete. | |
9919 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
9920 | hosts. | |
9921 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
9922 | mips*-dec-mach3* targets. | |
9923 | ||
b68767c1 MC |
9924 | 2003-02-04 Michael Chastain <[email protected]> |
9925 | ||
9926 | * NEWS: Fix typo: sepcifying -> specifying. | |
9927 | ||
5ae7ca1d MC |
9928 | 2003-02-04 Michael Chastain <[email protected]> |
9929 | ||
9930 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
9931 | looking towards obsoletion. | |
9932 | ||
d08a4280 MC |
9933 | 2003-02-03 Michael Chastain <[email protected]> |
9934 | ||
9935 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
9936 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
9937 | ||
e9be73e4 AC |
9938 | 2003-02-04 Andrew Cagney <[email protected]> |
9939 | ||
9940 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
9941 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
9942 | ||
9943 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
9944 | * main.c (captured_main): Delete #ifdef MPW. | |
9945 | ||
05d57f6f AC |
9946 | 2003-02-04 Andrew Cagney <[email protected]> |
9947 | ||
8ffd9b1b | 9948 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
9949 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
9950 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
9951 | * MAINTAINERS: Mark m32k as obsolete. | |
9952 | * m32r-rom.c: Obsolete file. | |
9953 | * config/m32r/m32r.mt: Obsolete file. | |
9954 | * config/m32r/tm-m32r.h: Obsolete file. | |
9955 | * m32r-stub.c: Obsolete file. | |
9956 | * m32r-tdep.c: Obsolete file. | |
9957 | ||
8b0e5691 AC |
9958 | 2003-02-04 Andrew Cagney <[email protected]> |
9959 | ||
9960 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
9961 | * MAINTAINERS: Mark z8k as obsolete. | |
9962 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
9963 | * config/z8k/z8k.mt: Obsolete file. | |
9964 | * config/z8k/tm-z8k.h: Obsolete file. | |
9965 | * z8k-tdep.c: Obsolete file. | |
9966 | ||
67f16606 AC |
9967 | 2003-02-04 Andrew Cagney <[email protected]> |
9968 | ||
9969 | * NEWS: Mention that the mn10200-elf is obsolete. | |
9970 | * configure.tgt: Obsolete mn10200-*-* target. | |
9971 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
9972 | mention that the mn10200 is obsolete. | |
9973 | * breakpoint.h: Ditto. | |
9974 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
9975 | * config/mn10200/mn10200.mt: Obsolete file. | |
9976 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
9977 | * mn10200-tdep.c: Obsolete file. | |
9978 | ||
fd2299bd AC |
9979 | 2003-02-04 Andrew Cagney <[email protected]> |
9980 | ||
9981 | * MAINTAINERS: Mark h8500 as obsolete. | |
9982 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
9983 | * findvar.c (value_from_register): Ditto. | |
9984 | * h8500-tdep.c: Mark file as obsolete. | |
9985 | * config/h8500/h8500.mt: Ditto. | |
9986 | * config/h8500/tm-h8500.h: Ditto. | |
9987 | * NEWS: Mention that h8500 is obsolete. | |
9988 | ||
eb9a305d DC |
9989 | 2003-02-04 David Carlton <[email protected]> |
9990 | ||
9991 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
9992 | start of function. | |
9993 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
9994 | ||
406fc7fb DC |
9995 | 2003-02-04 David Carlton <[email protected]> |
9996 | ||
9997 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
9998 | * printcmd.c (build_address_symbolic): Replace uses of | |
9999 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
10000 | SYMBOL_NAME, and asm_demangle. | |
10001 | Update copyright. | |
10002 | ||
93d91629 DC |
10003 | 2003-02-04 David Carlton <[email protected]> |
10004 | ||
10005 | * linespec.c (decode_compound): Extract code into | |
10006 | lookup_prefix_sym. | |
10007 | (lookup_prefix_sym): New function. | |
10008 | ||
1c5cb38e DC |
10009 | 2003-02-04 David Carlton <[email protected]> |
10010 | ||
10011 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
10012 | FLOAT_COERCION_BADNESS. | |
10013 | * gdbtypes.c (rank_one_type): Replace all uses of | |
10014 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
10015 | ||
0cf824c9 JB |
10016 | 2003-02-04 Jim Blandy <[email protected]> |
10017 | ||
10018 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
10019 | section, let dwarf_macinfo_section point to it, not | |
10020 | dwarf_loc_section. | |
10021 | ||
a2d356b0 DJ |
10022 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10023 | ||
10024 | Pointed out by Anton Blanchard <[email protected]>. | |
10025 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
10026 | (ppc_linux_at_sigtramp_return_path): Use it. | |
10027 | ||
2de7ced7 DJ |
10028 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10029 | ||
10030 | * defs.h (streq): Add prototype. | |
10031 | * utils.c (streq): New function. | |
10032 | ||
10033 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
10034 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
10035 | * mdebugread.c (new_symbol): Likewise. | |
10036 | * stabsread.c (define_symbol): Likewise. | |
10037 | * coffread.c (process_coff_symbol): Likewise. | |
10038 | * dwarfread.c (new_symbol): Likewise. | |
10039 | ||
10040 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
10041 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
10042 | here. | |
10043 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
10044 | SYMBOL_INIT_DEMANGLED_NAME. | |
10045 | * objfiles.c: Include "hashtab.h". | |
10046 | (allocate_objfile): Call htab_set_functions_ex for the | |
10047 | demangled_names_hash. | |
10048 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
10049 | * objfiles.h (struct htab): Add declaration. | |
10050 | (struct objfile): Add demangled_names_hash. | |
10051 | * symfile.c: Include "hashtab.h". | |
10052 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
10053 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
10054 | SYMBOL_NAME in the bcache. | |
10055 | * symtab.c: Include "hashtab.h". Update comments. | |
10056 | (create_demangled_names_hash, symbol_set_names): New functions. | |
10057 | (symbol_find_demangled_name): New function, broken out from | |
10058 | symbol_init_demangled_names. | |
10059 | (symbol_init_demangled_names): Use it. | |
10060 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
10061 | (SYMBOL_SET_NAMES): New macro. | |
10062 | (symbol_set_names): Add prototype. | |
10063 | ||
15831452 JB |
10064 | 2003-02-03 Jim Blandy <[email protected]> |
10065 | ||
10066 | Use a single, consistent representation for an empty minimal | |
10067 | symbol table in an objfile. | |
10068 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
10069 | (allocate_objfile): Call it. | |
10070 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
10071 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 10072 | non-NULL. |
15831452 JB |
10073 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
10074 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
10075 | instead of comparing msymbols with NULL. | |
10076 | * objfiles.c (have_minimal_symbols): Same. | |
10077 | * solib-sunos.c (solib_add_common_symbols): Call | |
10078 | terminate_minimal_symbol_table. | |
10079 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 10080 | |
ffc65945 KB |
10081 | 2003-02-03 Kevin Buettner <[email protected]> |
10082 | ||
10083 | * s390-tdep.c (s390_address_class_type_flags) | |
10084 | (s390_address_class_type_flags_to_name) | |
10085 | (s390_address_class_name_to_type_flags): New functions. | |
10086 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
10087 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
10088 | ||
f211c6d4 MS |
10089 | 2003-02-03 Michael Snyder <[email protected]> |
10090 | ||
10091 | * arm-tdep.c: Fix spell-o in comment. | |
10092 | ||
659b0389 ML |
10093 | 2003-02-03 Michal Ludvig <[email protected]> |
10094 | ||
10095 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
10096 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 10097 | error messages to contain BFD filename. |
659b0389 | 10098 | |
3b31d625 EZ |
10099 | 2003-02-02 Elena Zannoni <[email protected]> |
10100 | ||
997b089a | 10101 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
10102 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
10103 | (do_mixed_source_and_assembly): Use | |
10104 | make_cleanup_ui_out_tuple_begin_end and | |
10105 | make_cleanup_ui_out_tuple_begin_end. | |
10106 | (do_mixed_source_and_assembly): Ditto. | |
10107 | * thread.c (do_captured_list_thread_ids): Ditto. | |
10108 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
10109 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
10110 | ui_out_tuple_end): Delete prototypes. | |
10111 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
10112 | ui_out_list_end, ui_out_tuple_end): Delete. | |
10113 | ||
10114 | From Kevin Buettner <[email protected]>: | |
10115 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
10116 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
10117 | (do_cleanup_table_end): New functions. | |
10118 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
10119 | Use cleanups to invoke_ui_out_tuple_end(). | |
10120 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
10121 | * cli/cli-setshow.c (cmd_show_list): Use |
10122 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 10123 | |
5b181d62 AC |
10124 | 2003-02-02 Andrew Cagney <[email protected]> |
10125 | ||
10126 | * frame.c (frame_unwind_register): New function. | |
10127 | (frame_unwind_unsigned_register): Use. | |
10128 | (frame_unwind_signed_register): Use. | |
10129 | (frame_read_register): New function. | |
10130 | * frame.h (frame_unwind_register): Declare. | |
10131 | (frame_read_register): Declare. | |
10132 | ||
10133 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
10134 | and frame_unwind_register instead of read_memory, write_register | |
10135 | and deprecated_write_register_bytes. | |
10136 | ||
5f601589 AC |
10137 | 2003-02-02 Andrew Cagney <[email protected]> |
10138 | ||
10139 | * frame.h: Note that namelen can be negative. | |
10140 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
10141 | NAME's length. | |
10142 | ||
10143 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
10144 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
10145 | (d10v_print_registers_info): New function. | |
10146 | (show_regs): Call d10v_print_registers_info. | |
10147 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
10148 | ||
6a3fe0a4 MK |
10149 | 2003-02-02 Mark Kettenis <[email protected]> |
10150 | ||
10151 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
10152 | lost in the previous patch. | |
10153 | ||
075559bc AC |
10154 | 2003-02-01 Andrew Cagney <[email protected]> |
10155 | ||
10156 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
10157 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
10158 | for synthesized frames. | |
075559bc | 10159 | |
6789195b AC |
10160 | 2003-02-02 Andrew Cagney <[email protected]> |
10161 | ||
10162 | * mips-nat.c (zerobuf): Delete. | |
10163 | (fetch_inferior_registers): Alloc local zerobuf. | |
10164 | (fetch_core_registers): Alloc local zerobuf. | |
10165 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
10166 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
10167 | * thread-db.c (thread_db_store_registers): Ditto. | |
10168 | * sh-tdep.c (sh_do_register): Ditto. | |
10169 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
10170 | * remote-sim.c (gdbsim_store_register): Ditto. | |
10171 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
10172 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
10173 | * monitor.c (monitor_supply_register): Ditto. | |
10174 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10175 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
10176 | * m68klinux-nat.c (fetch_register): Ditto. | |
10177 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
10178 | (fetch_inferior_registers): Ditto. | |
10179 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10180 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
10181 | (hpux_thread_store_registers): Ditto. | |
10182 | * hppah-nat.c (fetch_register): Ditto. | |
10183 | * hppab-nat.c (fetch_register): Ditto. | |
10184 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
10185 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
10186 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
10187 | ||
e669114a AC |
10188 | 2003-02-01 Andrew Cagney <[email protected]> |
10189 | ||
10190 | * gdbarch.sh: Explictly specify all method levels. When a | |
10191 | variable with an empty level, provide a non-multi-arch default. | |
10192 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
10193 | * gdbarch.h: Re-generate. | |
10194 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
10195 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
10196 | ||
9a043c1d AC |
10197 | 2003-02-01 Andrew Cagney <[email protected]> |
10198 | ||
10199 | * defs.h (host_pointer_to_address): Delete declaration. | |
10200 | (address_to_host_pointer): Delete declaration. | |
10201 | * utils.c (host_pointer_to_address): Delete function. | |
10202 | (address_to_host_pointer): Delete function. | |
10203 | * procfs.c (procfs_address_to_host_pointer): New function. | |
10204 | * procfs.c (proc_set_watchpoint): Use. | |
10205 | (procfs_can_use_hw_breakpoint): Update comments. | |
10206 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
10207 | (som_solib_add): Use. | |
10208 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
10209 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 10210 | |
7ca9f392 AC |
10211 | 2003-02-01 Andrew Cagney <[email protected]> |
10212 | ||
94bbfd30 AC |
10213 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
10214 | strlen d_name. | |
10215 | ||
7ca9f392 AC |
10216 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
10217 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
10218 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
10219 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
10220 | (define_symbol): Update. | |
10221 | * symfile.c (generic_load): Remove references to nindy. | |
10222 | * symtab.c: Remove references to nindy. | |
10223 | ||
31a85ea2 AC |
10224 | 2003-02-01 Andrew Cagney <[email protected]> |
10225 | ||
10226 | * infcmd.c (print_float_info): Delete code conditional on | |
10227 | FLOAT_INFO. | |
10228 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
10229 | * config/m68k/nm-apollo68b.h: Ditto. | |
10230 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
10231 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
10232 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
10233 | ||
f6e85fc8 MK |
10234 | 2003-02-01 Mark Kettenis <[email protected]> |
10235 | ||
6015b6a0 MK |
10236 | * config/i386/tm-i386os9k.h: Removed. |
10237 | ||
f7a30bdf MK |
10238 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
10239 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
10240 | they're identical to i[3456]86-*-sysv* now. | |
10241 | * config/i386/i386v32.mh: Removed. | |
10242 | * config/i386/xm-i386v32.h: Removed. | |
10243 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
10244 | ||
28d52111 MK |
10245 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
10246 | ||
4d3f6bce MK |
10247 | * config/i386/i386dgux.mh: Removed. |
10248 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
10249 | ||
f6e85fc8 MK |
10250 | * configure.in: Fix typo. |
10251 | * configure: Regenerated. | |
10252 | ||
53955967 DC |
10253 | 2003-01-31 David Carlton <[email protected]> |
10254 | ||
10255 | * dwarf2read.c (dwarf2_locate_sections): Set | |
10256 | dwarf_ranges_section. | |
10257 | ||
b1364885 AC |
10258 | 2003-01-31 Andrew Cagney <[email protected]> |
10259 | ||
8dbb1c65 AC |
10260 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
10261 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 10262 | |
8731e58e AC |
10263 | * utils.c: Re-indent. |
10264 | ||
b1364885 AC |
10265 | * config/djgpp/fnchange.lst: Delete nindy files. |
10266 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
10267 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
10268 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
10269 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
10270 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
10271 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
10272 | * Makefile.in (init.c): Remove nindy references. | |
10273 | (saber_gdb): Delete rule. | |
10274 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
10275 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
10276 | and a68v-nat.c. | |
10277 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
10278 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
10279 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
10280 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
10281 | nindy-share/stop.h. | |
10282 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
10283 | * saber.suppress: Delete file. | |
10284 | ||
086df311 DJ |
10285 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
10286 | ||
10287 | * dbxread.c (stabs_data): New static variable. | |
10288 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
10289 | (stabs_seek): New function. | |
10290 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
10291 | (read_ofile_symtab): Use stabs_seek. | |
10292 | (elfstab_build_psymtabs): Take an asection* instead of | |
10293 | an offset and size. Relocate the stabs data if necessary. | |
10294 | Save the section* for dbx_psymtab_to_symtab. | |
10295 | * dwarf2read.c: Add section variables for each debug section. | |
10296 | (dwarf2_locate_sections): Fill them in. | |
10297 | (dwarf2_read_section): Take an asection* argument. | |
10298 | Relocate the section contents if necessary. | |
10299 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
10300 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
10301 | it to dwarf2_read_section. | |
10302 | (dwarf2_build_frame_info): Update callers. | |
10303 | * elfread.c (elf_symfile_read): Update call to | |
10304 | elfstab_build_psymtabs. | |
10305 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
10306 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 10307 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
10308 | * symfile.c (symfile_dummy_outputs): New function. |
10309 | (symfile_relocate_debug_section): New function. | |
10310 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
10311 | ||
87d1b352 RH |
10312 | 2003-01-31 Richard Henderson <[email protected]> |
10313 | ||
10314 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
10315 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
10316 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
10317 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
10318 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
10319 | (ALPHA_UNIQUE_REGNUM): New. | |
10320 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
10321 | ||
c48861fb AC |
10322 | 2003-01-31 Andrew Cagney <[email protected]> |
10323 | ||
10324 | * README: Remove reference to Ericsson 1800 monitor. | |
10325 | * Makefile.in (remote-es.o): Delete rule. | |
10326 | (ALLDEPFILES): Delete remote-es.c. | |
10327 | * remote-es.c: Delete file. | |
10328 | * config/m68k/es1800.mt: Delete file. | |
10329 | * config/djgpp/fnchange.lst: Update. | |
10330 | * configure.tgt: Delete m68*-ericsson-* target. | |
10331 | ||
d764a824 AF |
10332 | 2003-01-31 Adam Fedor <[email protected]> |
10333 | ||
10334 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
10335 | Remove duplicate/shadowing variable of same name. | |
10336 | ||
fe36c4f4 JB |
10337 | 2003-01-30 Jim Blandy <[email protected]> |
10338 | ||
10339 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
10340 | directory name we compute ends with a slash, and then assume that | |
10341 | that's so everywhere we use it. | |
10342 | ||
cb741690 DJ |
10343 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
10344 | ||
10345 | * valops.c (value_assign): Flush frame cache after stores to memory | |
10346 | also. | |
10347 | ||
96ee5227 AC |
10348 | 2003-01-30 Andrew Cagney <[email protected]> |
10349 | ||
10350 | * Makefile.in (mon960-rom.o): Delete rule. | |
10351 | * mon960-rom.c: Delete file. | |
10352 | ||
7f6104a9 AC |
10353 | 2003-01-30 Andrew Cagney <[email protected]> |
10354 | ||
10355 | * d10v-tdep.c: Include "frame-unwind.h". | |
10356 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
10357 | list. | |
10358 | (next_addr, uses_frame): Delete. | |
10359 | (struct d10v_unwind_cache): Define. | |
10360 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
10361 | Use info instead of next_addr and uses_frame globals. | |
10362 | (d10v_frame_init_saved_regs): Delete function. | |
10363 | (d10v_init_extra_frame_info): Delete function. | |
10364 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
10365 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
10366 | init_frame_pc or frame_saved_pc. | |
10367 | (d10v_pop_frame): Delete function. | |
10368 | (do_d10v_pop_frame): Delete function. | |
10369 | (d10v_frame_chain): Delete function. | |
10370 | (d10v_frame_chain_valid): Delete function. | |
10371 | (d10v_frame_pc_unwind): New function. | |
10372 | (d10v_frame_id_unwind): New function. | |
10373 | (saved_regs_unwinder): New function. | |
10374 | (d10v_frame_register_unwind): New function. | |
10375 | (d10v_frame_pop): New function. | |
10376 | (d10v_frame_unwind): New variable. | |
10377 | (d10v_frame_p): New function. | |
10378 | (d10v_frame_saved_pc): Delete function. | |
10379 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
10380 | ||
cad2e848 JB |
10381 | 2003-01-30 J. Brobecker <[email protected]> |
10382 | ||
10383 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
10384 | causing some regressions due to a change in the default value | |
10385 | for this macro. | |
10386 | ||
af34e669 DJ |
10387 | 2003-01-29 Richard Henderson <[email protected]> |
10388 | Elena Zannoni <[email protected]> | |
10389 | Daniel Jacobowitz <[email protected]> | |
10390 | ||
10391 | Fix PR gdb/961. | |
8ffd9b1b | 10392 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
10393 | variables. |
10394 | (RANGES_SECTION): New. | |
10395 | (dwarf_ranges_buffer): New variable. | |
10396 | (struct comp_unit_head): Add member "die". | |
10397 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
10398 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
10399 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
10400 | (dwarf2_locate_sections): Likewise. | |
10401 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
10402 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
10403 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
10404 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
10405 | Look for DW_AT_ranges and return the bounding box. | |
10406 | ||
baa93fa6 CF |
10407 | 2003-01-29 Brian Ford <[email protected]> |
10408 | ||
10409 | * win32-nat.c (cygwin_pid): Removed as unused. | |
10410 | (child_attach): Try fall back to Cygwin pid. | |
10411 | ||
c63f977f JB |
10412 | 2003-01-29 Jim Blandy <[email protected]> |
10413 | ||
10414 | * objfiles.h (struct objfile): Doc fix. | |
10415 | ||
d62d1979 AC |
10416 | 2003-01-29 Andrew Cagney <[email protected]> |
10417 | ||
10418 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
10419 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
10420 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
10421 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
10422 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
10423 | (FRAME_SAVED_PC): Change to a function with predicate. | |
10424 | * gdbarch.h, gdbarch.c: Re-generate. | |
10425 | ||
1ae18a04 AC |
10426 | 2003-01-28 Andrew Cagney <[email protected]> |
10427 | ||
52287340 AC |
10428 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
10429 | ||
1ae18a04 AC |
10430 | * complaints.c (complain): Delete function. |
10431 | * complaints.h (struct deprecated_complaint): Delete definition. | |
10432 | (complain): Delete declaration. | |
10433 | ||
f2c16bd6 KB |
10434 | 2003-01-28 Kevin Buettner <[email protected]> |
10435 | ||
10436 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
10437 | dummy frames. | |
10438 | ||
a94dd1fd AC |
10439 | 2003-01-27 Andrew Cagney <[email protected]> |
10440 | ||
10441 | * sentinel-frame.h, sentinel-frame.c: New files. | |
10442 | * Makefile.in (frame.o): Update dependencies. | |
10443 | (SFILES): Add sentinel-frame.c. | |
10444 | (sentinel_frame_h): Define. | |
10445 | (COMMON_OBS): Add sentinel-frame.o. | |
10446 | (sentinel-frame.o): Specify dependencies. | |
10447 | * frame.c: Include "sentinel-frame.h". | |
10448 | (frame_register_unwind): Rewrite assuming that there is always a a | |
10449 | ->next frame. | |
10450 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
10451 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
10452 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
10453 | (get_current_frame): Rewrite using create_sentinel_frame and | |
10454 | unwind_to_current_frame. When possible, always create a frame. | |
10455 | (create_new_frame): Set next to the sentinel frame. | |
10456 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
10457 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
10458 | ID cache when necessary. | |
10459 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
10460 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
10461 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
10462 | get_next_frame. | |
10463 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
10464 | frame_register. | |
10465 | ||
5378adc4 DJ |
10466 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10467 | ||
10468 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
10469 | ||
51ee2ddc DJ |
10470 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10471 | ||
10472 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
10473 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
10474 | ||
d9feb4e7 DJ |
10475 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10476 | ||
10477 | * configure.in: Check that -pg works if using --enable-profiling. | |
10478 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
10479 | * maint.c: Check for monstartup and _mcleanup before using them. | |
10480 | * config.in: Regenerated. | |
10481 | * configure: Regenerated. | |
10482 | ||
2d188dd3 NC |
10483 | 2003-01-24 Nick Clifton <[email protected]> |
10484 | ||
10485 | * Add sh2e support: | |
10486 | ||
10487 | 2002-04-02 Elena Zannoni <[email protected]> | |
10488 | ||
10489 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
10490 | (sh2e_show_regs): New. | |
10491 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
10492 | * config/sh/tm-sh.h: Added sh2e to comments. | |
10493 | ||
cb3c37b2 JB |
10494 | 2003-01-23 Jim Blandy <[email protected]> |
10495 | ||
10496 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
10497 | symbols found)" message here; we haven't checked for a separate | |
10498 | debug info file yet, so we don't know yet. | |
10499 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
10500 | we've looked everywhere. Also, there's no need to print a special | |
10501 | message when we're loading the separate debug info file: the one | |
10502 | symbol_file_add prints is fine. | |
10503 | ||
5b5d99cf JB |
10504 | 2003-01-23 Alexander Larsson <[email protected]> |
10505 | Jim Blandy <[email protected]> | |
10506 | ||
10507 | Add support for executables whose debug info has been separated | |
10508 | out into a separate file, leaving only a link behind. | |
10509 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
10510 | and separate_debug_objfile_backlink. | |
10511 | (put_objfile_before): New declaration. | |
10512 | * symfile.c: #include "filenames.h". | |
10513 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
10514 | debug info in a separate file, read that, too. Save the addrs | |
10515 | argument, so we can use it again to read the separated debug info; | |
10516 | syms_from_objfile modifies the table we pass it. | |
10517 | (reread_symbols): After re-reading an objfile, call | |
10518 | reread_separate_symbols to refresh its separate debug info | |
10519 | objfile, if it has one. | |
10520 | (reread_separate_symbols, find_separate_debug_file, | |
10521 | get_debug_link_info, separate_debug_file_exists): New functions. | |
10522 | (debug_file_directory): New global var. | |
10523 | (_initialize_symfile): Initialize debug_file_directory, and | |
10524 | provide the new `set debug-file-directory' command to let the user | |
10525 | change it. | |
10526 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
10527 | a separate objfile, free that one too. If this is itself a | |
10528 | separate debug info objfile, clear our parent's backlink. | |
10529 | (put_objfile_before): New function. | |
10530 | * utils.c (gnu_debuglink_crc32): New function. | |
10531 | * defs.h (gnu_debuglink_crc32): New declaration. | |
10532 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
10533 | * configure.in: Handle --with-separate-debug-dir config option. | |
10534 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
10535 | * acconfig.h (DEBUGDIR): New macro. | |
10536 | * configure, aclocal.m4, config.in: Regenerated. | |
10537 | ||
7e8580c1 JB |
10538 | 2003-01-22 Jim Blandy <[email protected]> |
10539 | ||
7904e09f JB |
10540 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
10541 | like the old symbol_file_add, but taking new arguments: you can | |
10542 | now pass in either a `struct section_addr_info' list to say where | |
10543 | each section is loaded, or a `struct section_offsets' table. Pass | |
10544 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 10545 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
10546 | with the appropriate quiescent values for the new arguments. |
10547 | ||
7e8580c1 JB |
10548 | * symfile.c: #include "gdb_assert.h". |
10549 | (syms_from_objfile): Add the ability to pass in a section offset | |
10550 | table directly, as an alternative to the section_addr_info table. | |
10551 | Document arguments better. | |
10552 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
10553 | * symfile.h (syms_from_objfile): Update declaration. | |
10554 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
10555 | syms_from_objfile. | |
10556 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
10557 | ||
d28f9cdf DJ |
10558 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
10559 | ||
10560 | Original patch by Tom Tromey <[email protected]> and | |
10561 | Jason Molenda <[email protected]>. | |
10562 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
10563 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
10564 | * NEWS: Mention profiling. | |
10565 | * configure.in (--enable-gdbtk): Fix typo. | |
10566 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
10567 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
10568 | Fill in function. | |
10569 | (profiling_state): New variable. | |
10570 | (mcleanup_wrapper): New function. | |
10571 | (_initialize_maint): Remove NOTYET, fix call to | |
10572 | add_setshow_boolean_cmd for "maint set profile". | |
10573 | * configure: Regenerated. | |
10574 | ||
df21e465 MH |
10575 | 2003-01-21 Martin M. Hunt <[email protected]> |
10576 | ||
10577 | * Makefile.in (install-gdbtk): Install PNG images too. | |
10578 | ||
73c1f219 AC |
10579 | 2003-01-21 Andrew Cagney <[email protected]> |
10580 | ||
10581 | * exec.c (text_start): Delete global variable. | |
10582 | (exec_file_attach): Make text_start local to the function. | |
10583 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
10584 | * valops.c (hand_function_call): Delete code that handles | |
10585 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
10586 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
10587 | of CALL_DUMMY_LOCATION. | |
10588 | * gdbarch.c: Regenerate. | |
10589 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
10590 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
10591 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
10592 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
10593 | (text_end): Delete extern declaration. | |
10594 | ||
eb4f72c5 AC |
10595 | 2003-01-21 Andrew Cagney <[email protected]> |
10596 | ||
10597 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
10598 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
10599 | (frame_chain_valid): Delete check for backtrace_below_main. | |
10600 | (_initialize_blockframe): Delete initialization, move ``set | |
10601 | backtrace-below-main'' command to "frame.c". | |
10602 | (do_flush_frames_sfunc): Delete function. | |
10603 | * frame.c: Include "command.h" and "gdbcmd.h". | |
10604 | (frame_type_from_pc): New function. | |
10605 | (create_new_frame): Use frame_type_from_pc. | |
10606 | (legacy_get_prev_frame): New function. | |
10607 | (get_prev_frame): Rewrite. When an old style frame, call | |
10608 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
10609 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
10610 | * Makefile.in (frame.o): Update dependencies. | |
10611 | ||
778ce8cc AC |
10612 | 2003-01-19 Andrew Cagney <[email protected]> |
10613 | ||
10614 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
10615 | DEPRECATED_REGISTERS_INFO. | |
10616 | ||
01c193c8 AC |
10617 | 2003-01-19 Andrew Cagney <[email protected]> |
10618 | ||
10619 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
10620 | Maintainers'. Update `Various Maintainers'. | |
10621 | ||
dedc2a2b AC |
10622 | 2003-01-19 Andrew Cagney <[email protected]> |
10623 | ||
10624 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
10625 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
10626 | Suppress actual parameters when `-'. | |
10627 | * gdbarch.h, gdbarch.c: Regenerate. | |
10628 | ||
b7261c70 AC |
10629 | 2003-01-19 Andrew Cagney <[email protected]> |
10630 | ||
10631 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
10632 | code handling dummy frames. | |
10633 | ||
dbe9fe58 AC |
10634 | 2003-01-19 Andrew Cagney <[email protected]> |
10635 | ||
10636 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
10637 | (struct frame_unwind): Add field pop. | |
10638 | * frame.h (frame_pop): Declare. | |
10639 | * frame.c (frame_saved_regs_pop): New function. | |
10640 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
10641 | (frame_pop): New function. | |
10642 | * dummy-frame.c (dummy_frame_pop): New function. | |
10643 | (discard_innermost_dummy): New function. | |
10644 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
10645 | (dummy_frame_unwind): Add dummy_frame_pop. | |
10646 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
10647 | * valops.c (hand_function_call): Ditto. | |
10648 | * stack.c (return_command): Ditto. | |
10649 | ||
570b8f7c AC |
10650 | 2003-01-18 Andrew Cagney <[email protected]> |
10651 | ||
10652 | * cris-tdep.c: Fix function declaration indentation. | |
10653 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
10654 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
10655 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
10656 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
10657 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
10658 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
10659 | ||
10660 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
10661 | |
10662 | * README (Unpacking and Installation -- quick overview): | |
10663 | Warn against ".../gdb-5.3/gdb/configure". | |
10664 | ||
494cca16 AC |
10665 | 2003-01-18 Andrew Cagney <[email protected]> |
10666 | ||
10667 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
10668 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
10669 | (struct frame_unwind): Declare opaque. | |
10670 | (dummy_frame_p): Declare function. | |
10671 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
10672 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
10673 | * dummy-frame.c: Include "frame-unwind.h". | |
10674 | (dummy_frame_p): New function. | |
10675 | (dummy_frame_unwind): New variable. | |
10676 | * frame.c: Include "frame-unwind.h". | |
10677 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
10678 | to use the new unwind field. | |
10679 | (set_unwind_by_pc): Delete function. | |
10680 | (create_new_frame, get_prev_frame): Set unwind field using | |
10681 | frame_unwind_find_by_pc. | |
10682 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
10683 | * frame.h (trad_frame_unwind): Declare variable. | |
10684 | (frame_id_unwind_ftype): Delete declaration. | |
10685 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
10686 | (struct frame_unwind): Declare opaque. | |
10687 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
10688 | register_unwind with a single unwind pointer. | |
10689 | * frame-unwind.h, frame-unwind.c: New files. | |
10690 | * Makefile.in (SFILES): Add frame-unwind.c. | |
10691 | (frame_unwind_h): Define. | |
10692 | (COMMON_OBS): Add frame-unwind.o. | |
10693 | (frame-unwind.o): Specify dependencies. | |
10694 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 10695 | |
4efb68b1 AC |
10696 | 2003-01-18 Andrew Cagney <[email protected]> |
10697 | ||
10698 | * ada-valprint.c: Eliminate PTR. | |
10699 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
10700 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
10701 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
10702 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
10703 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
10704 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
10705 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 10706 | |
a84d24ee AC |
10707 | 2003-01-17 Andrew Cagney <[email protected]> |
10708 | ||
762f08a3 AC |
10709 | * main.c (captured_main): Don't use PTR. |
10710 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
10711 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
10712 | (lookup_struct_elt_type): Ditto. | |
10713 | * f-valprint.c (info_common_command): Ditto. | |
10714 | (list_all_visible_commons): Ditto. | |
10715 | * jv-typeprint.c (java_type_print_base): Ditto. | |
10716 | ||
a84d24ee AC |
10717 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
10718 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
10719 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
10720 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
10721 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
10722 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
10723 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
10724 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
10725 | * main.c (captured_main): Use xfree, not free. | |
10726 | ||
c170fb60 AC |
10727 | 2003-01-16 Andrew Cagney <[email protected]> |
10728 | ||
10729 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
10730 | ID back using a parameter. | |
10731 | * frame.c (frame_id_unwind): Update call. | |
10732 | (frame_saved_regs_id_unwind): Update. | |
10733 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
10734 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
10735 | (dummy_frame_id_unwind): Update declaration. | |
10736 | ||
867f3898 AC |
10737 | 2003-01-15 Andrew Cagney <[email protected]> |
10738 | ||
10739 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
10740 | ||
40622be8 | 10741 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 10742 | |
40622be8 | 10743 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 10744 | |
ae66c1fc EZ |
10745 | 2003-01-14 Elena Zannoni <[email protected]> |
10746 | ||
997b089a | 10747 | Fix PR gdb/898 |
ae66c1fc EZ |
10748 | * breakpoint.c (until_break_command): Add new argument. Use it to |
10749 | decide whether to stop only at the current frame or not. | |
10750 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 10751 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
10752 | call. |
10753 | (advance_command): New function. | |
10754 | (_initialize_infcmd): Update help string for 'until' command. | |
10755 | Add new 'advance' command. | |
10756 | ||
a04257e6 DC |
10757 | 2003-01-14 David Carlton <[email protected]> |
10758 | ||
10759 | * linespec.c (decode_line_1): Normalize comments. | |
10760 | (set_flags): Ditto. | |
10761 | (locate_first_half): Ditto. | |
10762 | (decode_compound): Ditto. | |
10763 | (symtab_from_filename): Ditto. | |
10764 | (decode_all_digits): Ditto. | |
10765 | (decode_dollar): Ditto. | |
10766 | (find_methods): Ditto. | |
10767 | (find_toplevel_char): Ditto. | |
10768 | ||
1bac305b AC |
10769 | 2003-01-13 Andrew Cagney <[email protected]> |
10770 | ||
10771 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
10772 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
10773 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
10774 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
10775 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
10776 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
10777 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
10778 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
10779 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
10780 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
10781 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
10782 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
10783 | ||
25caa7a8 EZ |
10784 | 2003-01-13 Elena Zannoni <[email protected]> |
10785 | ||
10786 | * stabsread.h (process_later, resolve_cfront_continuation): | |
10787 | Obsolete. | |
10788 | Update copyright years. | |
10789 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
10790 | Update copyright year. | |
10791 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 10792 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
10793 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
10794 | Update copyright year. | |
10795 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
10796 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
10797 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
10798 | (parse_partial_symbols): Obsolete cfront support. | |
10799 | * stabsread.c | |
10800 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
10801 | macros. | |
10802 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
10803 | read_cfront_baseclasses, read_cfront_member_functions, | |
10804 | resolve_cfront_continuation,read_cfront_static_fields, | |
10805 | copy_cfront_struct_fields): Obsolete functions. | |
10806 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
10807 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
10808 | Update Copyright year. | |
10809 | ||
7789c6f5 EZ |
10810 | 2003-01-13 Elena Zannoni <[email protected]> |
10811 | ||
10812 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
10813 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
10814 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
10815 | print_only_stack_frame): Delete functions. | |
10816 | (print_stack_frame_stub): Call print_frame_info instead of | |
10817 | print_frame_info_base. | |
10818 | (print_frame_info_base): Rename to print_frame_info. | |
10819 | (backtrace_command_1): Call print_frame_info, instead of | |
10820 | print_frame_info_base. | |
10821 | (current_frame_command): Call print_stack_frame, instead of | |
10822 | print_only_stack_frame. | |
10823 | (frame_command): Call print_stack_frame, instead of | |
10824 | show_and_print_stack_frame. | |
10825 | (up_command): Ditto. | |
10826 | (down_command): Ditto. | |
10827 | * frame.h (print_only_stack_frame): Delete prototype. | |
10828 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
10829 | show_and_print_stack_frame. | |
10830 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
10831 | of print_only_stack_frame. | |
10832 | ||
3f5a3016 AC |
10833 | 2003-01-13 Andrew Cagney <[email protected]> |
10834 | ||
d99ba314 AC |
10835 | * README (Graphical interface to GDB): Update URL. Point at |
10836 | gdb/links/. | |
10837 | ||
3f5a3016 AC |
10838 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
10839 | version match. | |
10840 | ||
083ae935 DJ |
10841 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10842 | ||
10843 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
10844 | lines. | |
10845 | ||
5365276c DJ |
10846 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10847 | ||
10848 | * thread-db.c (attach_thread): Prototype. | |
10849 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
10850 | thread information (ti), and valid flags (th_valid, ti_valid). | |
10851 | (attach_thread): Move target_pid_to_str call to after the thread | |
10852 | is added to GDB's list. Initialize the cache. | |
10853 | (thread_get_info_callback, thread_db_map_id2thr) | |
10854 | (thread_db_get_info): New functions. | |
10855 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
10856 | (thread_db_store_registers, thread_db_thread_alive) | |
10857 | (thread_db_get_thread_local_address): Use them. | |
10858 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
10859 | of calling error() for threads in unknown state. | |
10860 | ||
10861 | (clear_lwpid_callback): New function. | |
10862 | (thread_db_resume): Use it to clear the cache. | |
10863 | ||
9fc30b6b DJ |
10864 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10865 | ||
10866 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
10867 | (resume_callback): Remove dead code. | |
10868 | ||
8f871025 AC |
10869 | 2003-01-13 Andrew Cagney <[email protected]> |
10870 | ||
10871 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
10872 | predicate. | |
10873 | * gdbarch.h, gdbarch.c: Regenerate. | |
10874 | * stack.c (frame_info): Only initialize the saved registers when | |
10875 | FRAME_INIT_SAVED_REGS_P. | |
10876 | * frame.c (frame_saved_regs_register_unwind): Assert | |
10877 | FRAME_INIT_SAVED_REGS_P. | |
10878 | (deprecated_generic_get_saved_register): Ditto. | |
10879 | ||
3f565f1e DJ |
10880 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10881 | ||
10882 | * source.c (openp): Squelch warning about "filename". | |
10883 | ||
072b1022 DJ |
10884 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10885 | ||
10886 | * source.c (openp): If the file does not exist don't necessarily | |
10887 | search the path. | |
10888 | ||
973ccf8b DJ |
10889 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10890 | ||
10891 | Fix PR gdb/872. | |
10892 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
10893 | (integer_types_same_name_p): New function. | |
10894 | (rank_one_type): Use it. | |
10895 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
10896 | ||
030292b7 DJ |
10897 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10898 | ||
10899 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
10900 | variables. | |
10901 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
10902 | * configure.in: Add --with-sysroot. | |
10903 | * configure: Regenerated. | |
10904 | * main.c (gdb_sysroot): New variable. | |
10905 | (captured_main): Initialize gdb_sysroot. | |
10906 | * defs.h (gdb_sysroot): New extern declaration. | |
10907 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
10908 | ||
afb5d334 MC |
10909 | 2003-01-12 Michael Chastain <[email protected]> |
10910 | ||
10911 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
10912 | ||
751ceeb4 MC |
10913 | 2003-01-12 Michael Chastain <[email protected]> |
10914 | ||
10915 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
10916 | ||
94cd26f8 DC |
10917 | 2003-01-12 David Carlton <[email protected]> |
10918 | ||
10919 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
10920 | 'file_symtab'. | |
10921 | ||
1ce79225 AC |
10922 | 2003-01-12 Andrew Cagney <[email protected]> |
10923 | ||
10924 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
10925 | dummy frame. | |
10926 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
10927 | ||
fa1fd571 AC |
10928 | 2003-01-12 Andrew Cagney <[email protected]> |
10929 | ||
10930 | * d10v-tdep.c: Include "gdb_assert.h". | |
10931 | (d10v_store_return_value): Rewrite to match current interface. | |
10932 | (d10v_extract_struct_value_address): Ditto. | |
10933 | (d10v_extract_return_value): Ditto. | |
10934 | (d10v_gdbarch_init): Set store_restore_value, | |
10935 | extract_struct_value_address and extract_return_value. | |
10936 | ||
68b8d23e JB |
10937 | 2003-01-12 J. Brobecker <[email protected]> |
10938 | ||
10939 | * hpread.c (set_namestring): New procedure replacing the | |
10940 | SET_NAMESTRING macro. | |
10941 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
10942 | by calls to set_namestring. | |
10943 | ||
10944 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
10945 | |
10946 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
10947 | a compilation warning. | |
10948 | (hpread_process_one_debug_symbol): Likewise. | |
10949 | ||
88d262ca DC |
10950 | 2003-01-10 David Carlton <[email protected]> |
10951 | ||
10952 | * linespec.c (decode_line_1): Rename variable 's' to | |
10953 | 'file_symtab'. | |
10954 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
10955 | (decode_dollar): Ditto. | |
10956 | (decode_variable): Ditto. | |
10957 | (symbol_found): Ditto. | |
10958 | ||
86669319 MC |
10959 | 2003-01-09 Michael Chastain <[email protected]> |
10960 | ||
10961 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
10962 | ||
616a9dc4 CV |
10963 | 2003-01-07 Corinna Vinschen <[email protected]> |
10964 | ||
10965 | * win32-nat.c (set_process_privilege): New function. | |
10966 | (child_attach): Call set_process_privilege() to enable the | |
10967 | SE_DEBUG_NAME user privilege if available in process token. | |
10968 | ||
3269bcfa JB |
10969 | 2003-01-10 J. Brobecker <[email protected]> |
10970 | ||
10971 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
10972 | compilation error in the previous revision. | |
10973 | ||
2b0ee454 DC |
10974 | 2003-01-09 David Carlton <[email protected]> |
10975 | ||
10976 | * linespec.c: Update copyright. | |
10977 | ||
b3ba1b44 DJ |
10978 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
10979 | ||
10980 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
10981 | than inferior_ptid. | |
10982 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
10983 | ||
4ef3f3be AC |
10984 | 2003-01-09 Andrew Cagney <[email protected]> |
10985 | ||
479ab5a0 AC |
10986 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
10987 | Update comments. | |
10988 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
10989 | (frame_saved_regs_zalloc): Update. | |
10990 | (frame_saved_regs_register_unwind): Update. | |
10991 | (create_new_frame): Update. | |
10992 | (get_prev_frame): Update. | |
10993 | (frame_extra_info_zalloc): Update. | |
10994 | (deprecated_get_frame_saved_regs): Update. | |
10995 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
10996 | * cris-tdep.c: Update comment. | |
10997 | ||
bde58177 AC |
10998 | * somsolib.h: Fix function indentation. |
10999 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
11000 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
11001 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
11002 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
11003 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
11004 | ||
4ef3f3be AC |
11005 | * infrun.c (follow_fork): Use ISO C definition. |
11006 | * expprint.c (print_subexp): Use xfree instead of free. | |
11007 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
11008 | (register_iconv_charsets): Use ISO C definition. | |
11009 | (host_charset, target_charset): Ditto. | |
11010 | * Makefile.in (charset.o): Update dependencies. | |
11011 | (mi-cmd-env.o): Update dependencies. | |
11012 | ||
1c615f7a AC |
11013 | 2003-01-08 Andrew Cagney <[email protected]> |
11014 | ||
11015 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
11016 | get_frame_base. | |
11017 | ||
c9a1dc08 AC |
11018 | 2003-01-08 Andrew Cagney <[email protected]> |
11019 | ||
11020 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
11021 | build directories. Save edited gdb output in Mbuild.log. If a | |
11022 | build fails, remove any final GDB executable. | |
11023 | ||
dbad9d94 AC |
11024 | 2003-01-08 Andrew Cagney <[email protected]> |
11025 | ||
11026 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
11027 | replacing hex constants with function names and stripping leading | |
11028 | file name directory prefixes. | |
11029 | ||
8d357cca AC |
11030 | 2003-01-08 Andrew Cagney <[email protected]> |
11031 | ||
11032 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
11033 | get_frame_base. | |
11034 | ||
bca02a8a DC |
11035 | 2003-01-08 David Carlton <[email protected]> |
11036 | ||
11037 | * linespec.c (decode_line_1): Move code into decode_variable. | |
11038 | (decode_variable): New function. | |
11039 | ||
7f8ab3a0 AC |
11040 | 2003-01-08 Andrew Cagney <[email protected]> |
11041 | ||
11042 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
11043 | ||
7b5849cc AC |
11044 | 2003-01-08 Andrew Cagney <[email protected]> |
11045 | ||
11046 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
11047 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
11048 | saved_regs buffer. | |
11049 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
11050 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
11051 | (sh_fp_frame_init_saved_regs): Ditto. | |
11052 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
11053 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11054 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11055 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11056 | ||
72a5efb3 DJ |
11057 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
11058 | ||
11059 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
11060 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
11061 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
11062 | ||
11c02a10 AC |
11063 | 2003-01-08 Andrew Cagney <[email protected]> |
11064 | ||
aab3ea25 AC |
11065 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
11066 | frame_relative_level. | |
11067 | ||
da50a4b7 AC |
11068 | * alpha-tdep.c: Use get_frame_extra_info. |
11069 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11070 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
11071 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11072 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
11073 | ||
11c02a10 AC |
11074 | * alpha-tdep.c: Use get_next_frame. |
11075 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11076 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11077 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
11078 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
11079 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
11080 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
11081 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 11082 | |
1e2330ba AC |
11083 | 2003-01-07 Andrew Cagney <[email protected]> |
11084 | ||
11085 | * alpha-tdep.c: Use get_frame_base. | |
11086 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11087 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11088 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11089 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11090 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
11091 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11092 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
11093 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 11094 | |
2d75187b AC |
11095 | 2003-01-07 Andrew Cagney <[email protected]> |
11096 | ||
11097 | * frame.c (deprecated_get_frame_context): New function. | |
11098 | (deprecated_set_frame_context): New function. | |
11099 | * frame.h (deprecated_get_frame_context): Declare. | |
11100 | (deprecated_set_frame_context): Declare. | |
11101 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
11102 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 11103 | |
483d36b2 AC |
11104 | 2003-01-07 Andrew Cagney <[email protected]> |
11105 | ||
11106 | * frame.c (deprecated_set_frame_next_hack): New function. | |
11107 | (deprecated_set_frame_prev_hack): New function. | |
11108 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
11109 | (deprecated_set_frame_prev_hack): Declare. | |
11110 | * mcore-tdep.c (analyze_dummy_frame): Use | |
11111 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
11112 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11113 | ||
14e91ac5 DC |
11114 | 2003-01-07 David Carlton <[email protected]> |
11115 | ||
11116 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
11117 | (decode_dollar): New function. | |
11118 | ||
b0c6b05c AC |
11119 | 2003-01-07 Andrew Cagney <[email protected]> |
11120 | ||
11121 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
11122 | deprecated_update_frame_base_hack. | |
11123 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
11124 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11125 | (fix_frame_pointer): Ditto. | |
11126 | (mn10300_analyze_prologue): Ditto. | |
11127 | ||
a00a19e9 AC |
11128 | 2003-01-07 Andrew Cagney <[email protected]> |
11129 | ||
11130 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
11131 | extra_info using frame_extra_info_zalloc. | |
11132 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
11133 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
11134 | (sh64_init_extra_frame_info): Ditto. | |
11135 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
11136 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
11137 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11138 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
11139 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
11140 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
11141 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
11142 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
11143 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
11144 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
11145 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
11146 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
11147 | ||
11148 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
11149 | deprecated_set_frame_extra_info_hack. | |
11150 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11151 | ||
1fb4c65b JB |
11152 | 2003-01-07 J. Brobecker <[email protected]> |
11153 | ||
11154 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
11155 | class is not scText. These do not define "real" procedures. | |
11156 | (parse_partial_symbols): Likewise. | |
11157 | ||
9fe7d6bf MS |
11158 | 2003-01-06 Michael Snyder <[email protected]> |
11159 | ||
11160 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
11161 | ||
f6c609c4 AC |
11162 | 2003-01-06 Andrew Cagney <[email protected]> |
11163 | ||
11164 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
11165 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
11166 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
11167 | deprecated_frame_xmalloc_with_cleanup. | |
11168 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
11169 | deprecated_frame_xmalloc. | |
11170 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
11171 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
11172 | ||
d995ff4b AC |
11173 | 2003-01-06 Andrew Cagney <[email protected]> |
11174 | ||
84dc46cb AC |
11175 | * x86-64-linux-tdep.c: Include "osabi.h". |
11176 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
11177 | ||
d995ff4b AC |
11178 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
11179 | ||
66140c26 AC |
11180 | 2003-01-06 Andrew Cagney <[email protected]> |
11181 | ||
11182 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
11183 | arm-elf. Can be built with -Werror, has been multiarched. | |
11184 | ||
11185 | * value.h (unpack_long): Make buffer parameter constant. | |
11186 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
11187 | * scm-lang.h (scm_parse): Ditto. | |
11188 | * defs.h (extract_typed_address, extract_address): Ditto. | |
11189 | (extract_long_unsigned_integer): Ditto. | |
11190 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
11191 | (signed_pointer_to_address): Ditto. | |
11192 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
11193 | * gdbarch.h, gdbarch.c: Regenerate. | |
11194 | * findvar.c (extract_long_unsigned_integer): Update. | |
11195 | (extract_address): Update. | |
11196 | (extract_typed_address): Update. | |
11197 | (unsigned_pointer_to_address): Update. | |
11198 | * values.c (unpack_long): Update. | |
11199 | (unpack_double): Update. | |
11200 | (unpack_pointer): Update. | |
11201 | (unpack_field_as_long): Update. | |
11202 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
11203 | * avr-tdep.c (avr_pointer_to_address): Update. | |
11204 | * scm-lang.c (scm_unpack): Update. | |
11205 | * findvar.c (signed_pointer_to_address): Update. | |
11206 | ||
b089b3da ML |
11207 | 2003-01-06 Michal Ludvig <[email protected]> |
11208 | ||
8ffd9b1b | 11209 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
11210 | since it is in i386-tdep.c. |
11211 | ||
aff87235 JB |
11212 | 2003-01-06 J. Brobecker <[email protected]> |
11213 | ||
11214 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
11215 | failure introduced in the previous change. | |
11216 | ||
34f5e845 MC |
11217 | 2003-01-05 Michael Chastain <[email protected]> |
11218 | ||
11219 | * README: Remove references to deleted remote-*.c files: | |
11220 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
11221 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
11222 | ||
28bcfd30 MK |
11223 | 2003-01-05 Mark Kettenis <[email protected]> |
11224 | ||
11225 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
11226 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
11227 | i386_get_longjmp_target. | |
11228 | ||
15a5b3ee AC |
11229 | 2003-01-05 Andrew Cagney <[email protected]> |
11230 | ||
11231 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
11232 | (_initialize_arm_tdep): Allocate prologue_cache. | |
11233 | (check_prologue_cache): Update. | |
11234 | (save_prologue_cache): Update. | |
11235 | (arm_gdbarch_init): Update. | |
11236 | ||
c263362b DJ |
11237 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11238 | ||
11239 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
11240 | instead of error. | |
11241 | ||
51603483 DJ |
11242 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11243 | ||
11244 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
11245 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
11246 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
11247 | ||
11248 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
11249 | (backtrace_below_main): New variable. | |
11250 | (file_frame_chain_valid, func_frame_chain_valid) | |
11251 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
11252 | (generic_func_frame_chain_valid): Remove functions. | |
11253 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
11254 | (_initialize_blockframe): New function. | |
11255 | * Makefile.in (blockframe.o): Update dependencies. | |
11256 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
11257 | comment. Call frame_chain_valid (). | |
11258 | * frame.h: Remove old prototypes. Add prototype for | |
11259 | frame_chain_valid and update comments to match. | |
11260 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
11261 | Remove old comment. | |
11262 | * gdbarch.h: Regenerated. | |
11263 | * gdbarch.c: Regenerated. | |
11264 | ||
11265 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
11266 | set_gdbarch_frame_chain_valid. | |
11267 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
11268 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
11269 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11270 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
11271 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
11272 | (i386_nw_init_abi): Likewise. | |
11273 | (i386_gdbarch_init): Likewise. | |
11274 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
11275 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
11276 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
11277 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
11278 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11279 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
11280 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
11281 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
11282 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11283 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11284 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11285 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11286 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11287 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
11288 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
11289 | ||
11290 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
11291 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
11292 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
11293 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
11294 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
11295 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
11296 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
11297 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
11298 | ||
b00a8037 DJ |
11299 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
11300 | ||
11301 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
11302 | (config_h): Define. | |
11303 | (osabi.o): Update dependencies. | |
11304 | * configure.tgt: Set gdb_osabi based on target triplet. | |
11305 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
11306 | * configure: Regenerated. | |
11307 | * config.in: Regenerated. | |
11308 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
11309 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
11310 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
11311 | (set_osabi_string): New variables. | |
11312 | (gdbarch_register_osabi): Add new OS ABI to | |
11313 | gdb_osabi_available_names. | |
11314 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
11315 | (set_osabi, show_osabi): New functions. | |
11316 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
11317 | ||
4be87837 DJ |
11318 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11319 | ||
11320 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
11321 | GDB_OSABI_UNINITIALIZED. | |
11322 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
11323 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
11324 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
11325 | * gdbarch.c: Regenerated. | |
11326 | * gdbarch.h: Regenerated. | |
11327 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
11328 | there's no BFD. | |
11329 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
11330 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
11331 | (gdbarch_init_osabi): Update prototype. | |
11332 | * defs.h (enum gdb_osabi): Moved here. | |
11333 | * Makefile.in: Update dependencies. | |
11334 | ||
11335 | * alpha-tdep.h: Don't include "osabi.h". | |
11336 | (struct gdbarch_tdep): Remove osabi member. | |
11337 | * alpha-tdep.c: Include "osabi.h". | |
11338 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11339 | iterate over arches. Update call to gdbarch_init_osabi. | |
11340 | (alpha_dump_tdep): Don't dump osabi. | |
11341 | * alpha-linux-tdep.c: Include "osabi.h". | |
11342 | * alpha-osf1-tdep.c: Include "osabi.h". | |
11343 | * alphafbsd-tdep.c: Include "osabi.h". | |
11344 | * alphanbsd-tdep.c: Include "osabi.h". | |
11345 | ||
11346 | * arm-tdep.h: Don't include "osabi.h". | |
11347 | (struct gdbarch_tdep): Remove osabi member. | |
11348 | * arm-tdep.c: Include "osabi.h". | |
11349 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11350 | iterate over arches. Update call to gdbarch_init_osabi. | |
11351 | (arm_dump_tdep): Don't dump osabi. | |
11352 | * arm-linux-tdep.c: Include "osabi.h". | |
11353 | * armnbsd-tdep.c: Include "osabi.h". | |
11354 | ||
11355 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
11356 | Update call to gdbarch_init_osabi. | |
11357 | ||
11358 | * i386-tdep.h: Don't include "osabi.h". | |
11359 | (struct gdbarch_tdep): Remove osabi member. | |
11360 | * i386-tdep.c: Include "osabi.h". | |
11361 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11362 | iterate over arches. Update call to gdbarch_init_osabi. | |
11363 | (i386_dump_tdep): Don't dump osabi. | |
11364 | * i386-linux-tdep.c: Include "osabi.h". | |
11365 | * i386-sol2-tdep.c: Include "osabi.h". | |
11366 | * i386bsd-tdep.c: Include "osabi.h". | |
11367 | * i386gnu-tdep.c: Include "osabi.h". | |
11368 | * i386ly-tdep.c: Include "osabi.h". | |
11369 | * i386nbsd-tdep.c: Include "osabi.h". | |
11370 | * i386obsd-tdep.c: Include "osabi.h". | |
11371 | ||
11372 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
11373 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11374 | check osabi when iterating over arches. Update call to | |
11375 | gdbarch_init_osabi. | |
11376 | (mips_dump_tdep): Don't dump osabi. | |
11377 | ||
11378 | * ns32k-tdep.h: Don't include "osabi.h". | |
11379 | (struct gdbarch_tdep): Remove. | |
11380 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
11381 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
11382 | allocate tdep. Update call to gdbarch_init_osabi. | |
11383 | (ns32k_dump_tdep): Remove. | |
11384 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
11385 | * ns32knbsd-tdep.c: Include "osabi.h". | |
11386 | ||
11387 | * ppc-tdep.h: Don't include "osabi.h". | |
11388 | (struct gdbarch_tdep): Remove osabi member. | |
11389 | * rs6000-tdep.c: Include "osabi.h". | |
11390 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
11391 | osabi when iterating over arches. Update call to | |
11392 | gdbarch_init_osabi. | |
11393 | (rs6000_dump_tdep): Don't dump osabi. | |
11394 | * ppc-linux-tdep.c: Include "osabi.h". | |
11395 | * ppcnbsd-tdep.c: Include "osabi.h". | |
11396 | ||
11397 | * sh-tdep.h: Don't include "osabi.h". | |
11398 | (struct gdbarch_tdep): Remove osabi member. | |
11399 | * sh-tdep.c: Include "osabi.h". | |
11400 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11401 | iterate over arches. Update call to gdbarch_init_osabi. | |
11402 | (sh_dump_tdep): Don't dump osabi. | |
11403 | * shnbsd-tdep.c: Include "osabi.h". | |
11404 | ||
11405 | * sparc-tdep.c: Include "osabi.h". | |
11406 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11407 | iterate over arches. Update call to gdbarch_init_osabi. | |
11408 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
11409 | tdep structure. | |
11410 | ||
11411 | * vax-tdep.h: Don't include "osabi.h". | |
11412 | (struct gdbarch_tdep): Remove. | |
11413 | * vax-tdep.c: Include "osabi.h". | |
11414 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11415 | iterate over arches. Don't allocate tdep. Update call | |
11416 | to gdbarch_init_osabi. | |
11417 | (vax_dump_tdep): Remove. | |
11418 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
11419 | ||
a881cf8e DJ |
11420 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11421 | ||
11422 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
11423 | entirely. | |
11424 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
11425 | watchpoint. | |
11426 | ||
1e698235 DJ |
11427 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11428 | ||
11429 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
11430 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
11431 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11432 | * gdbarch.c: Regenerate. | |
11433 | * gdbarch.h: Regenerate. | |
11434 | * Makefile.in: Remove value_h from gdbarch_h. | |
11435 | * valops.c (coerce_float_to_double): New variable. | |
11436 | (default_coerce_float_to_double): Remove. | |
11437 | (standard_coerce_float_to_double): Remove. | |
11438 | (value_arg_coerce): Use coerce_float_to_double. | |
11439 | (_initialize_valops): Add "set coerce-float-to-double". | |
11440 | * value.h (default_coerce_float_to_double): Remove prototype. | |
11441 | (standard_coerce_float_to_double): Remove prototype. | |
11442 | ||
11443 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
11444 | prototyped. | |
11445 | * mdebugread.c (parse_symbol): Likewise. | |
11446 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
11447 | ||
11448 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
11449 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
11450 | set_gdbarch_coerce_float_to_double. | |
11451 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
11452 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11453 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
11454 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
11455 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11456 | (mips_coerce_float_to_double): Remove. | |
11457 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11458 | (rs6000_coerce_float_to_double): Remove. | |
11459 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11460 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11461 | (sh_coerce_float_to_double): Remove. | |
11462 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11463 | (sparc_coerce_float_to_double): Remove. | |
11464 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11465 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
11466 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11467 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11468 | (hppa_coerce_float_to_double): Remove prototype. | |
11469 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11470 | ||
f436a26a DJ |
11471 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11472 | ||
11473 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
11474 | ||
248f8055 DJ |
11475 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11476 | ||
11477 | Suggested by Stewart Brown <[email protected]>: | |
11478 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
11479 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
11480 | (c_type_print_varspec_suffix): Likewise. | |
11481 | ||
72cfdc76 MK |
11482 | 2003-01-04 Mark Kettenis <[email protected]> |
11483 | ||
bfd260bb MK |
11484 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
11485 | * configure: Regenerated. | |
11486 | ||
72cfdc76 MK |
11487 | * configure.in: Remove code dealing with shared libraries. |
11488 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
11489 | * configure: Regenerated. | |
11490 | ||
c8b8a898 AC |
11491 | 2003-01-04 Andrew Cagney <[email protected]> |
11492 | ||
11493 | * frame.c (deprecated_frame_xmalloc): New function. | |
11494 | (deprecated_set_frame_saved_regs_hack): New function. | |
11495 | (deprecated_set_frame_extra_info_hack): New function. | |
11496 | * frame.h (deprecated_frame_xmalloc): Declare. | |
11497 | (deprecated_set_frame_saved_regs_hack): Declare. | |
11498 | (deprecated_set_frame_extra_info_hack): Declare. | |
11499 | ||
14abd0fb MK |
11500 | 2003-01-04 Mark Kettenis <[email protected]> |
11501 | ||
8ee53726 MK |
11502 | * configure.in: Move code that provides the --enable-gdbtk option |
11503 | right after the code that handles the --enable-tui option, and | |
11504 | polish it somewhat. | |
11505 | * configure: Regenerated. | |
11506 | ||
14abd0fb MK |
11507 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
11508 | AC_CHECK_FUNCS and remove the old check for pread64. | |
11509 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
11510 | * acconfig.h (_GNU_SOURCE): Add. | |
11511 | (HAVE_PREAD64): Remove. | |
11512 | * configure, aclocal.m4, config.in: Regenerated. | |
11513 | ||
b2fb4676 AC |
11514 | 2003-01-03 Andrew Cagney <[email protected]> |
11515 | ||
11516 | * alpha-tdep.c: Use get_frame_saved_regs. | |
11517 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11518 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11519 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
11520 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
11521 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
11522 | ||
8dcde887 MK |
11523 | 2003-01-03 Mark Kettenis <[email protected]> |
11524 | ||
11525 | * configure.in: Remove all use of the SUBDIRS variable; add | |
11526 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
11527 | code providing the --enable-multi-ice option, and move it right in | |
11528 | front of the code that checks whether gdbserver is supported. | |
11529 | Polish that too. | |
11530 | * configure: Regenerated. | |
11531 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
11532 | @SUBDIRS@. | |
11533 | ||
8ccd593b AC |
11534 | 2003-01-03 Andrew Cagney <[email protected]> |
11535 | ||
11536 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
11537 | * avr-tdep.c, cris-tdep.c: Ditto. | |
11538 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11539 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 11540 | |
91151a06 MK |
11541 | 2003-01-03 Mark Kettenis <[email protected]> |
11542 | ||
11543 | * configure.in: Remove --enable-netrom option. | |
11544 | * configure: Regenerated. | |
11545 | ||
8fe84d01 MK |
11546 | 2003-01-03 Mark Kettenis <[email protected]> |
11547 | ||
11548 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
11549 | declaration for `struct re_pattern_buffer' instead. | |
11550 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
11551 | ||
f0394be6 JB |
11552 | 2003-01-03 J. Brobecker <[email protected]> |
11553 | ||
11554 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
11555 | the structure name. | |
11556 | ||
27e9bf90 MK |
11557 | 2003-01-02 Mark Kettenis <[email protected]> |
11558 | ||
93d331ba MK |
11559 | * configure.in: Remove --with-cpu option. |
11560 | subscripts. Remove evil changequotes here. | |
11561 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
11562 | * config.in, configure: Regenerated. | |
8ffd9b1b | 11563 | |
27e9bf90 MK |
11564 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
11565 | * configure.in: Cleanup section that sources GDB and BFD configure | |
11566 | subscripts. Remove evil changequotes here. | |
11567 | * config.in, configure: Regenerated. | |
11568 | ||
50abf9e5 AC |
11569 | 2003-01-02 Andrew Cagney <[email protected]> |
11570 | ||
11571 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
11572 | frame accessor methods. | |
11573 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11574 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11575 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
11576 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
11577 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
11578 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11579 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 11580 | |
287c1a40 MK |
11581 | 2003-01-02 Mark Kettenis <[email protected]> |
11582 | ||
f5dbc56d MK |
11583 | * configure.in: Remove UI_OUT configuration code. |
11584 | * ada-lang.c: Update assuming UI_OUT is always true. | |
11585 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
11586 | * configure: Regenerated. | |
11587 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
11588 | ||
627af7ea MK |
11589 | * configure.in: Move code that provides the --enable-gdbcli, |
11590 | --enable-gdbmi options right before the code that handles the | |
11591 | --enable-tui option. Polish a bit. | |
11592 | * configure: Regenerated. | |
11593 | ||
06825bd1 MK |
11594 | * configure.in: Rewrite check for GNU regex and the |
11595 | --without-included regex option, and move it into the "Checks for | |
11596 | library functions" section. This makes us use the system regex | |
11597 | again by default on systems with version 2 of the GNU C library. | |
11598 | This was apparently broken. | |
11599 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
11600 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
11601 | * config.in, configure: Regenerated. | |
11602 | ||
287c1a40 MK |
11603 | * configure.in: Move code that provides the --enable-tui option |
11604 | before the "Checks for libraries" section. Polish the code | |
11605 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
11606 | code that looks for a library providing termcap functionality to | |
11607 | match more closely what's done in the Readline library, and move | |
11608 | it into to the "Checks for libraries" section. | |
11609 | * configure: Regenerated. | |
11610 | * Makefile.in (TERMCAP): Remove variable. | |
11611 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
11612 | ||
684e56bf AC |
11613 | 2003-01-02 Andrew Cagney <[email protected]> |
11614 | ||
11615 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
11616 | * gdb_mbuild.sh: Rewrite. | |
11617 | ||
e1ea1d75 MK |
11618 | 2003-01-02 Mark Kettenis <[email protected]> |
11619 | ||
11620 | * configure.in: Fix typo in last change. | |
11621 | * config.in, configure: Regenerated. | |
11622 | ||
1b831c93 AC |
11623 | 2003-01-02 Andrew Cagney <[email protected]> |
11624 | ||
11625 | * valarith.c (value_binop): Delete obsolete code and comments. | |
11626 | * configure.host: Ditto. | |
11627 | * buildsym.h (make_blockvector): Ditto. | |
11628 | * buildsym.c (make_blockvector): Ditto. | |
11629 | * defs.h (enum language): Ditto. | |
11630 | (chill_demangle): Ditto. | |
11631 | * elfread.c (elf_symtab_read): Ditto. | |
11632 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
11633 | (set_cu_language): Ditto. | |
11634 | (handle_producer): Ditto. | |
11635 | * expprint.c (print_subexp): Ditto. | |
11636 | * gdbtypes.c (chill_varying_type): Ditto. | |
11637 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
11638 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
11639 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
11640 | (chill_varying_type): Ditto. | |
11641 | * language.h (_LANG_chill): Ditto. | |
11642 | * language.c (binop_result_type, integral_type): Ditto. | |
11643 | (character_type, string_type, structured_type): Ditto. | |
11644 | (lang_bool_type, binop_type_check): Ditto. | |
11645 | * stabsread.h (os9k_stabs): Ditto. | |
11646 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
11647 | (define_symbol, read_type, read_struct_fields): Ditto. | |
11648 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
11649 | (read_range_type, start_stabs): Ditto. | |
11650 | * symfile.c (init_filename_language_table): Ditto. | |
11651 | (add_psymbol_with_dem_name_to_list): Ditto. | |
11652 | * symtab.c (symbol_init_language_specific): Ditto. | |
11653 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
11654 | * symtab.h (struct general_symbol_info): Ditto. | |
11655 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
11656 | * typeprint.c (typedef_print): Ditto. | |
11657 | * utils.c (fprintf_symbol_filtered): Ditto. | |
11658 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
11659 | obsolete code. | |
11660 | (varying_to_slice): Delete function. | |
11661 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
11662 | (varying_to_slice): Delete declaration. | |
11663 | * MAINTAINERS: Update. | |
11664 | ||
8bb2c122 MK |
11665 | 2003-01-02 Mark Kettenis <[email protected]> |
11666 | ||
97bf5e38 MK |
11667 | * configure.in: Reorganize "Checks for library functions section" |
11668 | a bit. Remove check for `btowc' and `isascii' functions. | |
11669 | * configure: Regenerated. | |
11670 | ||
5ee754fc MK |
11671 | * acconfig.h (_MSE_INT_H): Remove. |
11672 | * configure.in: Create "Checks for header files" section, and move | |
11673 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
11674 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
11675 | misdetection fix. Also add "Checks for types", "Checks for | |
11676 | compiler characteristics" and "Checks for library functions" | |
11677 | sections. | |
11678 | * config.in, configure: Regenerated. | |
11679 | ||
8bb2c122 MK |
11680 | * configure.in: Create "Checks for programs" section, and move |
11681 | appropriate tests there. | |
11682 | ||
9a156167 MK |
11683 | 2003-01-01 Mark Kettenis <[email protected]> |
11684 | ||
11685 | * configure.in: Create "Checks for libraries" section, and move | |
11686 | appropriate tests there. Cleanup check for wctype in libw. Use | |
11687 | AC_SEARCH_LIBS to see whether we need libsocket. | |
11688 | * configure: Regenerated. | |
11689 | ||
a80e2bcb | 11690 | For older changes see ChangeLog-2002 |
c906108c SS |
11691 | \f |
11692 | Local Variables: | |
11693 | mode: change-log | |
11694 | left-margin: 8 | |
11695 | fill-column: 74 | |
11696 | version-control: never | |
11697 | End: |