From 762c5349bdfde26285877e6174c19c541a591e4b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 15 Jun 2002 17:53:24 +0000 Subject: [PATCH] * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the list of DJGPP COFF targets. --- gdb/ChangeLog | 3 +++ gdb/i386-tdep.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bed5d3faf10..d16e31e70f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2002-06-15 Mark Kettenis + * 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 47c5432608f..c44862eb555 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; -- 2.30.2