aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-22 17:42:29 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-22 17:42:29 +0000
commit261de1663a28d9f2a13f09a8f436d21c62634132 (patch)
tree2655a234aed4ac5507bda3d6e9ec82b5ed409908 /gdb
parent345d88d96ee2f82d2ec0d1c69cd14506b707b945 (diff)
downloadgdb-261de1663a28d9f2a13f09a8f436d21c62634132.zip
gdb-261de1663a28d9f2a13f09a8f436d21c62634132.tar.gz
gdb-261de1663a28d9f2a13f09a8f436d21c62634132.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/osabi.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 466885a..fafb938 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/osabi.c b/gdb/osabi.c
index 5f935d2..252129b 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -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__,