aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-26 19:01:30 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-26 19:01:30 +0000
commitb4b8817765a197496048fe0386b925242a7732f2 (patch)
treed93976b29779c0856ddba686a81f68b8cb161a0a /gdb/blockframe.c
parent73722af036f2e6d2f6f8fa129dd627d99511ce37 (diff)
downloadgdb-b4b8817765a197496048fe0386b925242a7732f2.zip
gdb-b4b8817765a197496048fe0386b925242a7732f2.tar.gz
gdb-b4b8817765a197496048fe0386b925242a7732f2.tar.bz2
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.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index d21fc9b..ee3b474 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));