aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-06-15 17:53:24 +0000
committerMark Kettenis <kettenis@gnu.org>2002-06-15 17:53:24 +0000
commit762c5349bdfde26285877e6174c19c541a591e4b (patch)
tree7d15458a3ffe6729b41d68feaad19d54c9c229b7
parent356a6b3e112b77c7eaa0ce99f8ac1f6caeb95bb8 (diff)
downloadgdb-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.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/i386-tdep.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bed5d3f..d16e31e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2002-06-15 Mark Kettenis <kettenis@gnu.org>
+ * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the
+ list of DJGPP COFF targets.
+
* config/i386/tm-i386.h (REGISTER_SIZE): Remove define.
(NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines.
(FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines.
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;