aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/alphalinux.h
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/alphalinux.h
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/alphalinux.h')
-rw-r--r--bfd/hosts/alphalinux.h6
1 files changed, 6 insertions, 0 deletions
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)