diff options
author | Alan Modra <amodra@gmail.com> | 2000-09-30 00:44:49 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-09-30 00:44:49 +0000 |
commit | f572a39d1559be095b66dc346f00d205492b02bb (patch) | |
tree | 7d88e77dc3c496a29eeb8c70635f2932b3d55da3 /bfd/elf.c | |
parent | 24dd9f7582c1f717bd82df8c76bba82211fa164a (diff) | |
download | gdb-f572a39d1559be095b66dc346f00d205492b02bb.zip gdb-f572a39d1559be095b66dc346f00d205492b02bb.tar.gz gdb-f572a39d1559be095b66dc346f00d205492b02bb.tar.bz2 |
Support for Unixware 7.1.x pxstatus_t and lwpxstatus_t.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -5553,7 +5553,11 @@ elfcore_grok_pstatus (abfd, note) bfd *abfd; Elf_Internal_Note *note; { - if (note->descsz == sizeof (pstatus_t)) + if (note->descsz == sizeof (pstatus_t) +#if defined (HAVE_PXSTATUS_T) + || note->descsz == sizeof (pxstatus_t) +#endif + ) { pstatus_t pstat; @@ -5591,7 +5595,11 @@ elfcore_grok_lwpstatus (abfd, note) char *name; asection *sect; - if (note->descsz != sizeof (lwpstat)) + if (note->descsz != sizeof (lwpstat) +#if defined (HAVE_LWPXSTATUS_T) + && note->descsz != sizeof (lwpxstatus_t) +#endif + ) return true; memcpy (&lwpstat, note->descdata, sizeof (lwpstat)); |