diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-04-11 18:15:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-04-11 18:15:40 +0000 |
commit | 6913c89ac7bc62da99c5bb292de820098a2bacd2 (patch) | |
tree | 11cd2a0d16649fc70dd25f37e2df68f020432dab /gdb/infrun.c | |
parent | 38edeab8b14860e0e1754bdd030f9b5256da8554 (diff) | |
download | gdb-6913c89ac7bc62da99c5bb292de820098a2bacd2.zip gdb-6913c89ac7bc62da99c5bb292de820098a2bacd2.tar.gz gdb-6913c89ac7bc62da99c5bb292de820098a2bacd2.tar.bz2 |
2003-04-11 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
SAVED_PC_AFTER_CALL.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): 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.
* 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.
(ia64_saved_pc_after_call): Update declaration.
* i386ly-tdep.c (i386lynx_init_abi): Update.
* i386-tdep.c (i386_gdbarch_init): 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.
* ns32knbsd-nat.c (frame_num_args): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
* infrun.c (step_over_function): Update.
* i386-linux-tdep.c (skip_hurd_resolver): Update.
* i386-interix-tdep.c (i386_interix_back_one_frame): Update.
* config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
* arm-linux-tdep.c (skip_hurd_resolver): Update.
* arch-utils.c (init_frame_pc_default): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
* x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
declaration.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 3fda964..35e002d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2685,9 +2685,9 @@ step_over_function (struct execution_control_state *ecs) very messy when there is no debug info available (look at the heuristic find pc start code found in targets like the MIPS). */ - /* NOTE: cagney/2003-04-06: Deprecate SAVED_PC_AFTER_CALL? + /* NOTE: cagney/2003-04-06: - The intent of SAVED_PC_AFTER_CALL was to: + The intent of DEPRECATED_SAVED_PC_AFTER_CALL was to: - provide a very light weight equivalent to frame_unwind_pc() (nee FRAME_SAVED_PC) that avoids the prologue analyzer @@ -2709,8 +2709,8 @@ step_over_function (struct execution_control_state *ecs) The d10v handles all this by bailing out of the prologue analsis when it reaches the current instruction. */ - if (SAVED_PC_AFTER_CALL_P ()) - sr_sal.pc = ADDR_BITS_REMOVE (SAVED_PC_AFTER_CALL (get_current_frame ())); + if (DEPRECATED_SAVED_PC_AFTER_CALL_P ()) + sr_sal.pc = ADDR_BITS_REMOVE (DEPRECATED_SAVED_PC_AFTER_CALL (get_current_frame ())); else sr_sal.pc = ADDR_BITS_REMOVE (frame_pc_unwind (get_current_frame ())); sr_sal.section = find_pc_overlay (sr_sal.pc); |