1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/contrib/gdb/bfd/hosts/i386sco.h
Paul Traina 7929041ebe Import GDB in its full glory (all 25mb). We'll put it on a diet once it's
fully registered.

(This is the second try, the first import ignored .info files but not .info-*
 files, for some reason.  I'm going to make this consistent.)

Reviewed by:	core
Approved for:	2.2
1996-11-03 17:03:03 +00:00

20 lines
764 B
C

/* Core file stuff. At least some, perhaps all, of the following
defines work on many more systems than just SCO. */
#define NBPG NBPC
#define UPAGES USIZE
#define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
#define HOST_STACK_START_ADDR u.u_sub
#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
((core_upage(abfd)->u_sysabort != 0) \
? core_upage(abfd)->u_sysabort \
: -1)
/* According to the manpage, a version 2 SCO corefile can contain
various additional sections (it is cleverly arranged so the u area,
data, and stack are first where we can find them). So without
writing lots of code to parse all their headers and stuff, we can't
know whether a corefile is bigger than it should be. */
#define TRAD_CORE_ALLOW_ANY_EXTRA_SIZE 1