2003-06-22 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 22 Jun 2003 17:42:29 +0000 (17:42 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 22 Jun 2003 17:42:29 +0000 (17:42 +0000)
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD.  Suggested by Momchil
Velikov.

gdb/ChangeLog
gdb/osabi.c

index 466885aae420b58214a1d0f5707fd63ed6d6d2d9..fafb938690a220cb641164f1da3937c555c67fb0 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-22  Andrew Cagney  <cagney@redhat.com>
+
+       * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
+       GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD.  Suggested by Momchil
+       Velikov.
+
 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
 
        * cli/cli-cmds.c (shell_escape): Silence warnings from old
index 5f935d2dfe7e3d611f4460949bfe0b886a862437..252129ba7f23fb717c771a56991f45ac3074f53d 100644 (file)
@@ -384,6 +384,14 @@ generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj)
              *os_ident_ptr = GDB_OSABI_SOLARIS;
              break;
 
+           case GNU_ABI_TAG_FREEBSD:
+             *os_ident_ptr = GDB_OSABI_FREEBSD_ELF;
+             break;
+             
+           case GNU_ABI_TAG_NETBSD:
+             *os_ident_ptr = GDB_OSABI_NETBSD_ELF;
+             break;
+             
            default:
              internal_error
                (__FILE__, __LINE__,