diff options
author | Joel Brobecker <brobecker@gnat.com> | 2002-12-02 23:26:30 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2002-12-02 23:26:30 +0000 |
commit | a09a320d6fc865fa15bebf6d492550a70fcc8c89 (patch) | |
tree | acdc06a4682297e502c1d9504509ca6a059b932d /gdb/osabi.c | |
parent | 5adef1a05f7277db38dea58690aec1abc79adda1 (diff) | |
download | binutils-a09a320d6fc865fa15bebf6d492550a70fcc8c89.zip binutils-a09a320d6fc865fa15bebf6d492550a70fcc8c89.tar.gz binutils-a09a320d6fc865fa15bebf6d492550a70fcc8c89.tar.bz2 |
* osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
* osabi.c (gdb_osabi_name): Add strings images for the two new
enum values.
(generic_elf_osabi_sniffer): Handle HPUX objfiles.
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index 7caebf3..06d9c90 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -46,6 +46,8 @@ static const char * const gdb_osabi_names[] = "Irix", "LynxOS", "Interix", + "HP/UX ELF", + "HP/UX SOM", "ARM EABI v1", "ARM EABI v2", @@ -404,6 +406,10 @@ generic_elf_osabi_sniffer (bfd *abfd) case ELFOSABI_SOLARIS: osabi = GDB_OSABI_SOLARIS; break; + + case ELFOSABI_HPUX: + osabi = GDB_OSABI_HPUX_ELF; + break; } if (osabi == GDB_OSABI_UNKNOWN) |