Make it compile for cross-debugging.

This commit is contained in:
John Gilmore 1991-12-04 01:26:05 +00:00
parent f7c1f9e194
commit 2e00f40a38
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Tue Dec 3 17:24:57 1991 John Gilmore (gnu at cygnus.com)
* sparc-xdep.c: Force tm-file as tm-sparc.h, to make it compile
when configured for cross debugging. FIXME, this needs a more
general solution.
Mon Dec 2 11:04:05 1991 Per Bothner (bothner at cygnus.com)
* mips-tdep.c (init_extra_frame_info): Float register

View file

@ -18,13 +18,17 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
/* This code only compiles when we have the definitions in tm-sparc.h. */
#define TM_FILE_OVERRIDE
#include "defs.h"
#include "tm-sparc.h"
#include "inferior.h"
#include "target.h"
#include <sys/param.h>
#include <sys/file.h> /* For L_SET */
#include <sys/ptrace.h>
#include <machine/reg.h>