Fix typos and thinkos reported by Sun Ming (and one reported by John).
[deliverable/binutils-gdb.git] / gdb / tm-isi.h
index f214317fdb64e1cce13a3c7117f4a1d7cae51e9c..e4e64923a692bd28c6413a7eb0659e8e90ad150d 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions to target GDB on an ISI Optimum V (3.05) under 4.3bsd.
-   Copyright (C) 1987, 1989 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -27,10 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define NAMES_HAVE_UNDERSCORE
 
-/* Debugger information will be in DBX format.  */
-
-#define READ_DBX_FORMAT
-
 /* Address of end of stack space.  */
 
 #define STACK_END_ADDR 0xfffe000
@@ -143,4 +139,23 @@ retry:                                                                     \
   (frame_saved_regs).regs[PC_REGNUM] = (frame_info)->frame + 4;                \
 }
 
+/* The only reason this is here is the tm-isi.h reference below.  It
+   was moved back here from tm-68k.h.  FIXME? */
+
+#define SKIP_PROLOGUE(pc)   \
+{ register int op = read_memory_integer (pc, 2);       \
+  if (op == 0047126)                                   \
+    pc += 4;   /* Skip link #word */                   \
+  else if (op == 0044016)                              \
+    pc += 6;   /* Skip link #long */                   \
+  /* Not sure why branches are here.  */               \
+  /* From tm-isi.h, tm-altos.h */                      \
+  else if (op == 0060000)                              \
+    pc += 4;   /* Skip bra #word */                    \
+  else if (op == 00600377)                             \
+    pc += 6;   /* skip bra #long */                    \
+  else if ((op & 0177400) == 0060000)                  \
+    pc += 2;   /* skip bra #char */                    \
+}
+
 #include "tm-68k.h"
This page took 0.027284 seconds and 4 git commands to generate.