* m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
authorStu Grossman <grossman@cygnus>
Tue, 7 Apr 1992 23:09:50 +0000 (23:09 +0000)
committerStu Grossman <grossman@cygnus>
Tue, 7 Apr 1992 23:09:50 +0000 (23:09 +0000)
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.

gdb/ChangeLog
gdb/tm-sun3.h

index 4a35defb6eb1ce68df6aa96270aa4f36d51bdd6b..2f7f12d3b0583b39e09d62d6ec3b50a1f792a350 100644 (file)
@@ -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"
index 528794e0d106d837035fcb9d57198127e885d75d..0169199795f3219d59beef8cd91763e1fcf9093b 100644 (file)
@@ -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)