]> Git Repo - binutils.git/blobdiff - gdb/mips-xdep.c
* symtab.c (_initialize_symtab): Remove builtin type
[binutils.git] / gdb / mips-xdep.c
index 1fe720346dae2a9655c3ba8eca251ba883243b4e..a344e8b933b7ff2bf6dee5c1911351e51b8544b5 100644 (file)
@@ -20,7 +20,11 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
+#ifdef sgi
+#include <sys/inst.h>
+#else
 #include <mips/inst.h>
+#endif
 #include "defs.h"
 #include "param.h"
 #include "frame.h"
@@ -44,6 +48,31 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/file.h>
 #include <sys/stat.h>
 
+/* For now we stub this out; sgi format is super-hairy (and completely
+   different in the new release) */
+
+#ifdef sgi
+void
+fetch_core_registers ()
+{
+  return;
+}
+
+void
+fetch_inferior_registers ()
+{
+  return;
+}
+
+store_inferior_registers (regno)
+     int regno;
+{
+  return;
+}
+
+
+#else
+
 /* Get all registers from the inferior */
 
 void
@@ -72,9 +101,10 @@ fetch_inferior_registers ()
    If REGNO is -1, do this for all registers.
    Otherwise, REGNO specifies which register (so we can save time).  */
 
+void
 store_inferior_registers (regno)
      int regno;
-{
+ {
   register unsigned int regaddr;
   char buf[80];
 
@@ -110,6 +140,8 @@ store_inferior_registers (regno)
     }
 }
 
+#endif /* sgi */
+
 #if 0
 void
 fetch_core_registers ()
This page took 0.025272 seconds and 4 git commands to generate.