diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-06-15 17:53:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-06-15 17:53:24 +0000 |
commit | 762c5349bdfde26285877e6174c19c541a591e4b (patch) | |
tree | 7d15458a3ffe6729b41d68feaad19d54c9c229b7 /gdb/i386-tdep.c | |
parent | 356a6b3e112b77c7eaa0ce99f8ac1f6caeb95bb8 (diff) | |
download | gdb-762c5349bdfde26285877e6174c19c541a591e4b.zip gdb-762c5349bdfde26285877e6174c19c541a591e4b.tar.gz gdb-762c5349bdfde26285877e6174c19c541a591e4b.tar.bz2 |
* i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the
list of DJGPP COFF targets.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 47c5432..c44862e 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -1421,7 +1421,8 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) static enum gdb_osabi i386_coff_osabi_sniffer (bfd *abfd) { - if (strcmp (bfd_get_target (abfd), "coff-go32-exe") == 0) + if (strcmp (bfd_get_target (abfd), "coff-go32-exe") == 0 + || strcmp (bfd_get_target (abfd), "coff-go32") == 0) return GDB_OSABI_GO32; return GDB_OSABI_UNKNOWN; |