diff options
author | John Gilmore <gnu@cygnus> | 1992-06-30 09:27:41 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-06-30 09:27:41 +0000 |
commit | 43a16f2688a21ba1ebfc43e28e1f192091d68455 (patch) | |
tree | 4e130497ea0d219562f2048609ed08968722369b /gdb/mips-xdep.c | |
parent | 0f552c5fc6ed8ddf060a01c97cbef7c0c890ffe4 (diff) | |
download | gdb-43a16f2688a21ba1ebfc43e28e1f192091d68455.zip gdb-43a16f2688a21ba1ebfc43e28e1f192091d68455.tar.gz gdb-43a16f2688a21ba1ebfc43e28e1f192091d68455.tar.bz2 |
Make cross compilation work better.
* tm-mips.h (GDB_TARGET_IS_MIPS): Define for mips-xdep.c.
(READ_MIPS_FORMAT, COFF_FORMAT): Remove, unused now.
* mips-xdep.c: Remove most include files (unused, caused errs).
(fetch_core_registers): Use right parameters in dummy fn.
Diffstat (limited to 'gdb/mips-xdep.c')
-rw-r--r-- | gdb/mips-xdep.c | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/gdb/mips-xdep.c b/gdb/mips-xdep.c index 511c8c5..4052a9c 100644 --- a/gdb/mips-xdep.c +++ b/gdb/mips-xdep.c @@ -20,38 +20,19 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "defs.h" -#ifdef sgi -#include <sys/inst.h> -#else -#include <mips/inst.h> -#endif -#include "frame.h" #include "inferior.h" -#include "symtab.h" -#include "value.h" - -#ifdef USG -#include <sys/types.h> -#endif - -#include <sys/param.h> -#include <sys/dir.h> -#include <signal.h> -#include <sys/ioctl.h> -/* #include <fcntl.h> Can we live without this? */ - #include "gdbcore.h" -#include <sys/user.h> /* After a.out.h */ -#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 +#if defined(sgi) || !defined(GDB_TARGET_IS_MIPS) void -fetch_core_registers () +fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) + char *core_reg_sect; + unsigned core_reg_size; + int which; + unsigned int reg_addr; { return; } |