aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-31 20:32:53 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-31 20:32:53 +0000
commit999cc186c55b712b7d547d002fce021a93ebcb16 (patch)
tree33c5f63b937f40c0073fe49ef4c74543a961a1d1 /bfd/hosts
parentd29120d2ffef214b264a55833a6c92a608c024af (diff)
downloadgdb-999cc186c55b712b7d547d002fce021a93ebcb16.zip
gdb-999cc186c55b712b7d547d002fce021a93ebcb16.tar.gz
gdb-999cc186c55b712b7d547d002fce021a93ebcb16.tar.bz2
Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com>
* configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and define TRAD_HEADER as hosts/alphalinux.h. * configure: Rebuild. * hosts/alphalinux.h: New file. * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, not int.
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/.Sanitize1
-rw-r--r--bfd/hosts/alphalinux.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize
index d3beb06..f6ff29c 100644
--- a/bfd/hosts/.Sanitize
+++ b/bfd/hosts/.Sanitize
@@ -24,6 +24,7 @@ Do-first:
Things-to-keep:
+alphalinux.h
decstation.h
dpx2.h
hp300bsd.h
diff --git a/bfd/hosts/alphalinux.h b/bfd/hosts/alphalinux.h
new file mode 100644
index 0000000..d9ba1b7
--- /dev/null
+++ b/bfd/hosts/alphalinux.h
@@ -0,0 +1,6 @@
+/* Linux dumps "struct task_struct" at the end of the core-file. This
+ structure is currently 920 bytes long, but we allow up to 1024
+ bytes to allow for some future growth. */
+#define TRAD_CORE_EXTRA_SIZE_ALLOWED 1024
+#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
+ ((abfd)->tdata.trad_core_data->u.signal)