aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-11-08 11:55:34 +0000
committerAndrew Cagney <cagney@redhat.com>2000-11-08 11:55:34 +0000
commitf4281f55cf61201c863196fb56bb39b751c364c5 (patch)
treede670e1351aa2957fb1c550c2d2cde3470aaecd0 /gdb/m68k-tdep.c
parente4f782955184d356e17544bd7670c1eaeb2f2b29 (diff)
downloadgdb-f4281f55cf61201c863196fb56bb39b751c364c5.zip
gdb-f4281f55cf61201c863196fb56bb39b751c364c5.tar.gz
gdb-f4281f55cf61201c863196fb56bb39b751c364c5.tar.bz2
Rename get_longjmp_target to m68k_get_longjmp_target. Update all m68k
targets.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index 8093f8c..f9b105d 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -637,14 +637,13 @@ fill_fpregset (fpregset_t *fpregsetp, int regno)
#endif /* USE_PROC_FS */
-#ifdef GET_LONGJMP_TARGET
/* Figure out where the longjmp will land. Slurp the args out of the stack.
We expect the first arg to be a pointer to the jmp_buf structure from which
we extract the pc (JB_PC) that we will land at. The pc is copied into PC.
This routine returns true on success. */
int
-get_longjmp_target (CORE_ADDR *pc)
+m68k_get_longjmp_target (CORE_ADDR *pc)
{
char *buf;
CORE_ADDR sp, jb_addr;
@@ -667,7 +666,6 @@ get_longjmp_target (CORE_ADDR *pc)
return 1;
}
-#endif /* GET_LONGJMP_TARGET */
/* Immediately after a function call, return the saved pc before the frame
is setup. For sun3's, we check for the common case of being inside of a