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/tm-mips.h | |
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/tm-mips.h')
-rw-r--r-- | gdb/tm-mips.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h index b8623d5..59dd91c 100644 --- a/gdb/tm-mips.h +++ b/gdb/tm-mips.h @@ -26,6 +26,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN #endif +/* FIXME, this triggers host-and-target (``native'') dependent code + which currently sits in mips-xdep.c. Needs to be moved out to + mips-nat.c or some such. */ +#define GDB_TARGET_IS_MIPS + /* Floating point is IEEE compliant */ #define IEEE_FLOAT @@ -34,14 +39,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /*#define NAMES_HAVE_UNDERSCORE*/ -/* Debugger information will be in mips' format */ - -#define READ_MIPS_FORMAT - -/* File format is coff, but with additions */ - -#define COFF_FORMAT - /* Offset from address of function to start of its code. Zero on most machines. */ |