Last change
on this file since 3003 was 10, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
764 bytes
|
Line | |
---|
1 | /* Core file stuff. At least some, perhaps all, of the following
|
---|
2 | defines work on many more systems than just SCO. */
|
---|
3 |
|
---|
4 | #define NBPG NBPC
|
---|
5 | #define UPAGES USIZE
|
---|
6 | #define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
|
---|
7 | #define HOST_STACK_START_ADDR u.u_sub
|
---|
8 | #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
|
---|
9 | ((core_upage(abfd)->u_sysabort != 0) \
|
---|
10 | ? core_upage(abfd)->u_sysabort \
|
---|
11 | : -1)
|
---|
12 |
|
---|
13 | /* According to the manpage, a version 2 SCO corefile can contain
|
---|
14 | various additional sections (it is cleverly arranged so the u area,
|
---|
15 | data, and stack are first where we can find them). So without
|
---|
16 | writing lots of code to parse all their headers and stuff, we can't
|
---|
17 | know whether a corefile is bigger than it should be. */
|
---|
18 |
|
---|
19 | #define TRAD_CORE_ALLOW_ANY_EXTRA_SIZE 1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.