* i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the

list of DJGPP COFF targets.
This commit is contained in:
Mark Kettenis 2002-06-15 17:53:24 +00:00
parent 356a6b3e11
commit 762c5349bd
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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;