From: John Gilmore Date: Wed, 4 Dec 1991 01:26:05 +0000 (+0000) Subject: Make it compile for cross-debugging. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e00f40a385a94838f7d74c508cedc7975463a22;p=binutils-gdb.git Make it compile for cross-debugging. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e5275257751..656e54d4171 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/sparc-xdep.c b/gdb/sparc-xdep.c index 003829e88d6..e85caac1abe 100644 --- a/gdb/sparc-xdep.c +++ b/gdb/sparc-xdep.c @@ -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 + +/* 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 -#include /* For L_SET */ - #include #include