Make it compile for cross-debugging.
authorJohn Gilmore <gnu@cygnus>
Wed, 4 Dec 1991 01:26:05 +0000 (01:26 +0000)
committerJohn Gilmore <gnu@cygnus>
Wed, 4 Dec 1991 01:26:05 +0000 (01:26 +0000)
gdb/ChangeLog
gdb/sparc-xdep.c

index e527525775171c3581dc7fac73f06af71151b172..656e54d417118ef4f5203bbcb3721a5b67954862 100644 (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
index 003829e88d61b47783002d88e151805c246ccf3c..e85caac1abe8fdee5a7c1770a182cb5b8c828159 100644 (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>
 
This page took 0.027286 seconds and 4 git commands to generate.