aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sun3.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-07 23:09:50 +0000
committerStu Grossman <grossman@cygnus>1992-04-07 23:09:50 +0000
commite05ba37d1f82041c0d58e70dcb2654099d430dbd (patch)
tree2feaf48e4db486314cc834b78b4409b601706310 /gdb/tm-sun3.h
parentda2f87448ecddc694e12914cb5b2c22d3b7b718c (diff)
downloadgdb-e05ba37d1f82041c0d58e70dcb2654099d430dbd.zip
gdb-e05ba37d1f82041c0d58e70dcb2654099d430dbd.tar.gz
gdb-e05ba37d1f82041c0d58e70dcb2654099d430dbd.tar.bz2
* m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
Change def of SAVED_PC_AFTER_CALL to call routine to see if we are in a system call, and provide better backtrace if so.
Diffstat (limited to 'gdb/tm-sun3.h')
-rw-r--r--gdb/tm-sun3.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/tm-sun3.h b/gdb/tm-sun3.h
index 528794e..0169199 100644
--- a/gdb/tm-sun3.h
+++ b/gdb/tm-sun3.h
@@ -66,3 +66,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
This routine returns true on success */
#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
+
+#undef SAVED_PC_AFTER_CALL
+
+extern CORE_ADDR sun3_saved_pc_after_call PARAMS ((struct frame_info *));
+
+#define SAVED_PC_AFTER_CALL(frame) \
+ sun3_saved_pc_after_call(frame)