BSD 4_4 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 6 May 1993 14:15:32 +0000 (06:15 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 6 May 1993 14:15:32 +0000 (06:15 -0800)
Work on file usr/src/contrib/gdb-4.7.lbl/opcodes/sysdep.h
Work on file usr/src/contrib/gdb-4.7.lbl/bfd/sysdep.h
Work on file usr/src/contrib/gdb-4.7.lbl/bfd/hosts/hp300bsd.h

Synthesized-from: CSRG/cd3/4.4

usr/src/contrib/gdb-4.7.lbl/bfd/hosts/hp300bsd.h [new file with mode: 0644]
usr/src/contrib/gdb-4.7.lbl/bfd/sysdep.h [new symlink]
usr/src/contrib/gdb-4.7.lbl/opcodes/sysdep.h [new symlink]

diff --git a/usr/src/contrib/gdb-4.7.lbl/bfd/hosts/hp300bsd.h b/usr/src/contrib/gdb-4.7.lbl/bfd/hosts/hp300bsd.h
new file mode 100644 (file)
index 0000000..1a598dc
--- /dev/null
@@ -0,0 +1,45 @@
+#include <fcntl.h>
+#include <errno.h>
+#include <stdio.h>
+#include <sys/param.h>
+#include <sys/stat.h>
+#include <ctype.h>
+#include <string.h>
+#include <sys/file.h>
+
+void *malloc();
+void *realloc();
+void free();
+
+#ifndef O_ACCMODE
+#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
+#endif
+
+#define SEEK_SET 0
+#define SEEK_CUR 1
+
+#define        HOST_PAGE_SIZE          NBPG
+#define        HOST_SEGMENT_SIZE       NBPG    /* Data seg start addr rounds to NBPG */
+#define        HOST_MACHINE_ARCH       bfd_arch_m68k
+/* #define     HOST_MACHINE_MACHINE     */
+
+#define        HOST_TEXT_START_ADDR            0
+#define        HOST_STACK_END_ADDR             0xfff00000
+#define        HOST_BIG_ENDIAN_P
+
+/* EXACT TYPES */
+typedef char int8e_type;
+typedef unsigned char uint8e_type;
+typedef short int16e_type;
+typedef unsigned short uint16e_type;
+typedef int int32e_type;
+typedef unsigned int uint32e_type;
+
+/* CORRECT SIZE OR GREATER */
+typedef char int8_type;
+typedef unsigned char uint8_type;
+typedef short int16_type;
+typedef unsigned short uint16_type;
+typedef int int32_type;
+typedef unsigned int uint32_type;
+#include "fopen-same.h"
diff --git a/usr/src/contrib/gdb-4.7.lbl/bfd/sysdep.h b/usr/src/contrib/gdb-4.7.lbl/bfd/sysdep.h
new file mode 120000 (symlink)
index 0000000..99b39d1
--- /dev/null
@@ -0,0 +1 @@
+./hosts/hp300bsd.h
\ No newline at end of file
diff --git a/usr/src/contrib/gdb-4.7.lbl/opcodes/sysdep.h b/usr/src/contrib/gdb-4.7.lbl/opcodes/sysdep.h
new file mode 120000 (symlink)
index 0000000..4017d97
--- /dev/null
@@ -0,0 +1 @@
+./../bfd/hosts/hp300bsd.h
\ No newline at end of file