aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-20 00:08:39 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-20 00:08:39 +0000
commit0c540082568901394306e7365c57c9adc4f77f08 (patch)
tree4c7f0e496c2f358e8cecb558d94306fc9d9b0753 /gdb
parentc4cd3fc62e2b936ca106a0e8c7a2a65e3158d154 (diff)
downloadgdb-0c540082568901394306e7365c57c9adc4f77f08.zip
gdb-0c540082568901394306e7365c57c9adc4f77f08.tar.gz
gdb-0c540082568901394306e7365c57c9adc4f77f08.tar.bz2
Fix nits found in attempting a Tahoe port.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/tahoe-pinsn.c2
-rw-r--r--gdb/tm-tahoe.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/gdb/tahoe-pinsn.c b/gdb/tahoe-pinsn.c
index 32796da..c3c675c 100644
--- a/gdb/tahoe-pinsn.c
+++ b/gdb/tahoe-pinsn.c
@@ -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
diff --git a/gdb/tm-tahoe.h b/gdb/tm-tahoe.h
index fddfb84..5880fd6 100644
--- a/gdb/tm-tahoe.h
+++ b/gdb/tm-tahoe.h
@@ -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); }