Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Recognize "coff-go32" as DJGPP
@ 2002-06-15 10:54 Mark Kettenis
  2002-06-15 11:13 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Kettenis @ 2002-06-15 10:54 UTC (permalink / raw)
  To: gdb-patches

As requested by Eli.

Checked in.


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the
	list of DJGPP COFF targets.

Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.59
diff -u -p -r1.59 i386-tdep.c
--- i386-tdep.c 15 Jun 2002 17:51:36 -0000 1.59
+++ i386-tdep.c 15 Jun 2002 17:52:42 -0000
@@ -1421,7 +1421,8 @@ i386_gdbarch_init (struct gdbarch_info i
 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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-15 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-15 10:54 [PATCH] Recognize "coff-go32" as DJGPP Mark Kettenis
2002-06-15 11:13 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox