aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-01 19:31:48 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-01 19:31:48 +0000
commit7f82c7e1ee2dc3533a913588d9909f568bce27eb (patch)
tree0c0e0941785e365260eb8eab5b70539d636aa283
parentf10c3c09a7b4805085a992cdc99a94bc47a6bae3 (diff)
downloadgdb-7f82c7e1ee2dc3533a913588d9909f568bce27eb.zip
gdb-7f82c7e1ee2dc3533a913588d9909f568bce27eb.tar.gz
gdb-7f82c7e1ee2dc3533a913588d9909f568bce27eb.tar.bz2
Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* coff-m88k.c (rtype2howto): New static function. (RTYPE2HOWTO): Use it rather than a macro definition. * coffcode.h (coff_write_object_contents): set internal_a.magic to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS). * configure.in: m68*-motorola-sysv3* does not use ptrace-core.o; define TRAD_HEADER to new file hosts/delta68.h. m88*-motorola-sysv*, however, does use ptrace-core.o. * hosts/delta68.h: New file. * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc.
-rw-r--r--bfd/ChangeLog16
-rw-r--r--bfd/coffcode.h4
-rwxr-xr-xbfd/configure11
-rw-r--r--bfd/configure.in6
-rw-r--r--bfd/hosts/.Sanitize1
5 files changed, 35 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2e7c484..682ad47 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,19 @@
+Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
+
+ * coff-m88k.c (rtype2howto): New static function.
+ (RTYPE2HOWTO): Use it rather than a macro definition.
+
+ * coffcode.h (coff_write_object_contents): set internal_a.magic
+ to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS).
+
+ * configure.in: m68*-motorola-sysv3* does not use ptrace-core.o;
+ define TRAD_HEADER to new file hosts/delta68.h.
+ m88*-motorola-sysv*, however, does use ptrace-core.o.
+ * hosts/delta68.h: New file.
+
+ * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to
+ bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc.
+
Wed Nov 1 13:51:54 1995 Ken Raeburn <raeburn@cygnus.com>
* i386linux.c (MY(vec)): Declare before use.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 0a015f1..4d6c866 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2226,6 +2226,10 @@ coff_write_object_contents (abfd)
#if defined(LYNXOS)
internal_a.magic = LYNXCOFFMAGIC;
#endif /* LYNXOS */
+#else
+#if defined (PAGEMAGICPEXECPAGED)
+ internal_a.magic = PAGEMAGICPEXECPAGED;
+#endif
#endif /* M68 || WE32K || M68K */
#if defined(ARM)
diff --git a/bfd/configure b/bfd/configure
index 98454e5..6d31a04 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -1119,6 +1119,13 @@ EOF
EOF
;;
+ m68*-motorola-sysv3*)
+ COREFILE=trad-core.o
+ cat >> confdefs.h <<\EOF
+#define TRAD_HEADER "hosts/delta68.h"
+EOF
+
+ ;;
m68*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m68*-sony-*)
COREFILE=trad-core.o
@@ -1135,7 +1142,7 @@ EOF
;;
m88*-*-sysv4*) ;;
- m88*-motorola-sysv*) COREFILE=trad-core.o ;;
+ m88*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m88*-*-mach3*)
COREFILE=trad-core.o
cat >> confdefs.h <<\EOF
@@ -1219,7 +1226,7 @@ EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1223 "configure"
+#line 1230 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main() { return 0; }
diff --git a/bfd/configure.in b/bfd/configure.in
index 4ac13b7..f081532 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -200,6 +200,10 @@ changequote([,])dnl
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/hp300bsd.h")
;;
+ m68*-motorola-sysv3*)
+ COREFILE=trad-core.o
+ AC_DEFINE(TRAD_HEADER, "hosts/delta68.h")
+ ;;
m68*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m68*-sony-*)
COREFILE=trad-core.o
@@ -210,7 +214,7 @@ changequote([,])dnl
AC_DEFINE(TRAD_HEADER,"hosts/m68knbsd.h")
;;
m88*-*-sysv4*) ;;
- m88*-motorola-sysv*) COREFILE=trad-core.o ;;
+ m88*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m88*-*-mach3*)
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/m88kmach3.h")
diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize
index f6ff29c..367d2eb 100644
--- a/bfd/hosts/.Sanitize
+++ b/bfd/hosts/.Sanitize
@@ -26,6 +26,7 @@ Things-to-keep:
alphalinux.h
decstation.h
+delta68.h
dpx2.h
hp300bsd.h
i386bsd.h