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.
This commit is contained in:
parent
0f552c5fc6
commit
43a16f2688
@ -1,3 +1,10 @@
|
||||
Tue Jun 30 02:25:10 1992 John Gilmore (gnu at cygnus.com)
|
||||
|
||||
* 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.
|
||||
|
||||
Mon Jun 29 18:30:57 1992 John Gilmore (gnu at cygnus.com)
|
||||
|
||||
* buildsym.c (scan_file_globals): Beware the null file.
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user