diff options
author | Stu Grossman <grossman@cygnus> | 1991-08-31 00:31:30 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1991-08-31 00:31:30 +0000 |
commit | 625453dcfda0c1dca75c876197b74a5f8b978cc0 (patch) | |
tree | cb4cbbd722800d0188075de77a542195a7d2994f /gdb/mips-xdep.c | |
parent | bceb2dded1a261176ddbd3014d82e5438fdf82b1 (diff) | |
download | gdb-625453dcfda0c1dca75c876197b74a5f8b978cc0.zip gdb-625453dcfda0c1dca75c876197b74a5f8b978cc0.tar.gz gdb-625453dcfda0c1dca75c876197b74a5f8b978cc0.tar.bz2 |
Merge in irix support.
Diffstat (limited to 'gdb/mips-xdep.c')
-rw-r--r-- | gdb/mips-xdep.c | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/gdb/mips-xdep.c b/gdb/mips-xdep.c index 1fe7203..a344e8b 100644 --- a/gdb/mips-xdep.c +++ b/gdb/mips-xdep.c @@ -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 () |