diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-03-05 11:33:36 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2012-03-05 11:33:36 +0000 |
commit | 34864976a85af27573d2e8a10c31ad99b0186b67 (patch) | |
tree | e1efc46635f5e2572442b708a555b3aaba9f0995 /gdb/osabi.c | |
parent | cae4ddc69fb8c2f1b4b29071852af5719d449879 (diff) | |
download | gdb-34864976a85af27573d2e8a10c31ad99b0186b67.zip gdb-34864976a85af27573d2e8a10c31ad99b0186b67.tar.gz gdb-34864976a85af27573d2e8a10c31ad99b0186b67.tar.bz2 |
2012-03-05 Tristan Gingold <gingold@adacore.com>
* osabi.c (gdb_osabi_names): Add OpenVMS.
(generic_elf_osabi_sniffer): Likewise.
* defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index aba9842..faffe30 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -72,6 +72,7 @@ static const char * const gdb_osabi_names[] = "DICOS", "Darwin", "Symbian", + "OpenVMS", "<invalid>" }; @@ -549,6 +550,10 @@ generic_elf_osabi_sniffer (bfd *abfd) generic_elf_osabi_sniff_abi_tag_sections, &osabi); break; + + case ELFOSABI_OPENVMS: + osabi = GDB_OSABI_OPENVMS; + break; } if (osabi == GDB_OSABI_UNKNOWN) |