diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-12 16:50:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-12 16:50:47 +0000 |
commit | 8bedc05091d9d4874d382a6c66b7845133f7b5ea (patch) | |
tree | 11888df1832fcc2ecd5e749b1f3e82acc8cd91e6 /gdb/hppa-tdep.c | |
parent | 7a25a7c1cc419c2f4106843387e0c8be92471523 (diff) | |
download | gdb-8bedc05091d9d4874d382a6c66b7845133f7b5ea.zip gdb-8bedc05091d9d4874d382a6c66b7845133f7b5ea.tar.gz gdb-8bedc05091d9d4874d382a6c66b7845133f7b5ea.tar.bz2 |
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.h: Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* sh-tdep.c (sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
(xstormy16_frame_chain_valid): Update.
* vax-tdep.c (vax_saved_pc_after_call): Update.
* v850-tdep.c (v850_frame_chain): Update.
(v850_pop_frame): Update.
(v850_init_extra_frame_info): Update.
* sparc-tdep.c (setup_arbitrary_frame): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* s390-tdep.c (s390_pop_frame_regular): Update.
* mn10300-tdep.c (mn10300_frame_chain): Update.
(mn10300_pop_frame_regular): Update.
(mn10300_init_extra_frame_info): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
(mips_frame_chain): Update.
(mips_pop_frame): Update.
* mcore-tdep.c (mcore_frame_chain): Update.
(mcore_pop_frame): Update.
(mcore_init_extra_frame_info): Update.
* arch-utils.c (init_frame_pc_default): Update.
* m68k-tdep.c (isi_frame_num_args): Update.
(delta68_frame_num_args): Update.
(news_frame_num_args): Update.
* ia64-tdep.c (ia64_pop_frame_regular): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
(alpha_frame_chain): Update.
(alpha_pop_frame): Update.
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
(hppa_init_extra_frame_info): Update.
(hppa_frame_chain): Update.
(hppa_frame_chain_valid): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_init_extra_frame_info): Update.
* arm-tdep.c (arm_frame_chain_valid): Update.
(arm_init_extra_frame_info): Update.
(arm_pop_frame): Update.
* frame.c (frame_pc_unwind): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 9ba5ef9..8385596 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -875,7 +875,7 @@ hppa_saved_pc_after_call (struct frame_info *frame) the stub will return to out of the stack. */ u = find_unwind_entry (pc); if (u && u->stub_unwind.stub_type != 0) - return FRAME_SAVED_PC (frame); + return DEPRECATED_FRAME_SAVED_PC (frame); else return pc; } @@ -1075,7 +1075,7 @@ hppa_init_extra_frame_info (int fromleaf, struct frame_info *frame) { /* Find the framesize of *this* frame without peeking at the PC in the current frame structure (it isn't set yet). */ - framesize = find_proc_framesize (FRAME_SAVED_PC (get_next_frame (frame))); + framesize = find_proc_framesize (DEPRECATED_FRAME_SAVED_PC (get_next_frame (frame))); /* Now adjust our base frame accordingly. If we have a frame pointer use it, else subtract the size of this frame from the current @@ -1185,7 +1185,7 @@ hppa_frame_chain (struct frame_info *frame) /* Get frame sizes for the current frame and the frame of the caller. */ my_framesize = find_proc_framesize (frame->pc); - caller_pc = FRAME_SAVED_PC (frame); + caller_pc = DEPRECATED_FRAME_SAVED_PC (frame); /* If we can't determine the caller's PC, then it's not likely we can really determine anything meaningful about its frame. We'll consider @@ -1193,7 +1193,7 @@ hppa_frame_chain (struct frame_info *frame) if (caller_pc == (CORE_ADDR) 0) return (CORE_ADDR) 0; - caller_framesize = find_proc_framesize (FRAME_SAVED_PC (frame)); + caller_framesize = find_proc_framesize (DEPRECATED_FRAME_SAVED_PC (frame)); /* If caller does not have a frame pointer, then its frame can be found at current_frame - caller_framesize. */ @@ -1316,7 +1316,7 @@ hppa_frame_chain (struct frame_info *frame) || (saved_regs.regs[FLAGS_REGNUM] == 0 && read_register (FLAGS_REGNUM) & 0x2))) { - u = find_unwind_entry (FRAME_SAVED_PC (frame)); + u = find_unwind_entry (DEPRECATED_FRAME_SAVED_PC (frame)); if (!u) { return read_memory_integer (saved_regs.regs[FP_REGNUM], @@ -1351,7 +1351,7 @@ hppa_frame_chain (struct frame_info *frame) || (saved_regs.regs[FLAGS_REGNUM] == 0 && read_register (FLAGS_REGNUM) & 0x2))) { - u = find_unwind_entry (FRAME_SAVED_PC (frame)); + u = find_unwind_entry (DEPRECATED_FRAME_SAVED_PC (frame)); if (!u) { return read_memory_integer (saved_regs.regs[FP_REGNUM], @@ -1392,7 +1392,7 @@ hppa_frame_chain_valid (CORE_ADDR chain, struct frame_info *thisframe) indistinguishable (as nearly as I can tell) from the symbol for a function which is (legitimately, since it is in the user's namespace) named Ltext_end, so we can't just ignore it. */ - msym_us = lookup_minimal_symbol_by_pc (FRAME_SAVED_PC (thisframe)); + msym_us = lookup_minimal_symbol_by_pc (DEPRECATED_FRAME_SAVED_PC (thisframe)); msym_start = lookup_minimal_symbol ("_start", NULL, NULL); if (msym_us && msym_start @@ -5011,7 +5011,7 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_frame_chain_valid (gdbarch, hppa_frame_chain_valid); set_gdbarch_frameless_function_invocation (gdbarch, hppa_frameless_function_invocation); - set_gdbarch_frame_saved_pc (gdbarch, hppa_frame_saved_pc); + set_gdbarch_deprecated_frame_saved_pc (gdbarch, hppa_frame_saved_pc); set_gdbarch_frame_args_address (gdbarch, hppa_frame_args_address); set_gdbarch_frame_locals_address (gdbarch, hppa_frame_locals_address); set_gdbarch_frame_num_args (gdbarch, hppa_frame_num_args); |