From 43a16f2688a21ba1ebfc43e28e1f192091d68455 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 30 Jun 1992 09:27:41 +0000 Subject: 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. --- gdb/mips-xdep.c | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'gdb/mips-xdep.c') 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 -#else -#include -#endif -#include "frame.h" #include "inferior.h" -#include "symtab.h" -#include "value.h" - -#ifdef USG -#include -#endif - -#include -#include -#include -#include -/* #include Can we live without this? */ - #include "gdbcore.h" -#include /* After a.out.h */ -#include -#include - /* 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; } -- cgit v1.1