Fix nits found in attempting a Tahoe port.
authorJohn Gilmore <gnu@cygnus>
Mon, 20 May 1991 00:08:39 +0000 (00:08 +0000)
committerJohn Gilmore <gnu@cygnus>
Mon, 20 May 1991 00:08:39 +0000 (00:08 +0000)
gdb/tahoe-pinsn.c
gdb/tm-tahoe.h

index 32796da56886f336bcebe05b4b8ce5ebdcfa1383..c3c675c501a10477ee3983d2a91b18108d7d85d2 100644 (file)
@@ -8,7 +8,7 @@
 #include "defs.h"
 #include "param.h"
 #include "symtab.h"
-#include "opcode.h"
+#include "tahoe-opcode.h"
 
 /* Tahoe instructions are never longer than this.  */
 #define MAXLEN 62
index fddfb84a9ebe5f40ffc348fe9dac596dab6f2417..5880fd6580d7bc932df60ab844e0ab308d279095 100644 (file)
@@ -71,6 +71,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define SAVED_PC_AFTER_CALL(frame) FRAME_SAVED_PC(frame)
 
 /* Wrong for cross-debugging.  I don't know the real values.  */
+#include <machine/param.h>
 #define TARGET_UPAGES UPAGES
 #define TARGET_NBPG NBPG
 
@@ -327,7 +328,7 @@ printf("POP_FRAME\n");                                                      \
 /* Insert the specified number of args and function address
    into a call sequence of the above form stored at DUMMYNAME.  */
 
-#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, type)   \
+#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, valtype, using_gcc) \
 { int temp = (int) fun;                                \
   *((char *) dummyname + 1) = nargs;           \
   bcopy(&temp,(char *)dummyname+3,4); }