999cc186c5
* 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.
7 lines
320 B
C
7 lines
320 B
C
/* 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)
|