diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-26 19:01:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-26 19:01:30 +0000 |
commit | 50df0ca16a8803ca122092c4a1f395e8489929cc (patch) | |
tree | 50b1feb271c96e85791fb7a162044cfdc8c7abca /gdb/blockframe.c | |
parent | c8958d238a6d326a4de9ee3a4127ebded80727c7 (diff) | |
download | gdb-50df0ca16a8803ca122092c4a1f395e8489929cc.tar.gz |
2002-11-26 Andrew Cagney <ac131313@redhat.com>
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
pc_in_call_dummy_before_text_end
(deprecated_pc_in_call_dummy_after_text_end): Rename
pc_in_call_dummy_after_text_end.
(deprecated_pc_in_call_dummy_on_stack): Rename
pc_in_call_dummy_on_stack.
(deprecated_pc_in_call_dummy_at_entry_point): Rename
pc_in_call_dummy_at_entry_point.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end)
(deprecated_pc_in_call_dummy_on_stack)
(deprecated_pc_in_call_dummy_at_entry_point): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index d21fc9b6036..ee3b47489e5 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -650,16 +650,16 @@ block_innermost_frame (struct block *block) extern CORE_ADDR text_end; int -pc_in_call_dummy_before_text_end (CORE_ADDR pc, CORE_ADDR sp, - CORE_ADDR frame_address) +deprecated_pc_in_call_dummy_before_text_end (CORE_ADDR pc, CORE_ADDR sp, + CORE_ADDR frame_address) { return ((pc) >= text_end - CALL_DUMMY_LENGTH && (pc) <= text_end + DECR_PC_AFTER_BREAK); } int -pc_in_call_dummy_after_text_end (CORE_ADDR pc, CORE_ADDR sp, - CORE_ADDR frame_address) +deprecated_pc_in_call_dummy_after_text_end (CORE_ADDR pc, CORE_ADDR sp, + CORE_ADDR frame_address) { return ((pc) >= text_end && (pc) <= text_end + CALL_DUMMY_LENGTH + DECR_PC_AFTER_BREAK); @@ -684,7 +684,8 @@ pc_in_call_dummy_after_text_end (CORE_ADDR pc, CORE_ADDR sp, allocate other kinds of code on the stack. */ int -pc_in_call_dummy_on_stack (CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address) +deprecated_pc_in_call_dummy_on_stack (CORE_ADDR pc, CORE_ADDR sp, + CORE_ADDR frame_address) { return (INNER_THAN ((sp), (pc)) && (frame_address != 0) @@ -692,8 +693,8 @@ pc_in_call_dummy_on_stack (CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address) } int -pc_in_call_dummy_at_entry_point (CORE_ADDR pc, CORE_ADDR sp, - CORE_ADDR frame_address) +deprecated_pc_in_call_dummy_at_entry_point (CORE_ADDR pc, CORE_ADDR sp, + CORE_ADDR frame_address) { return ((pc) >= CALL_DUMMY_ADDRESS () && (pc) <= (CALL_DUMMY_ADDRESS () + DECR_PC_AFTER_BREAK)); |