aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/tm-sun3.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4a35def..2f7f12d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
Tue Apr 7 08:45:46 1992 Stu Grossman (grossman at cygnus.com)
+ * 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.
+
* Makefile.in (HFILES): Add xcoffsolib.h.
* rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
* rs6000-pinsn.c: #include "opcode/rs6k.h"
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)