From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 797 invoked by alias); 15 Jun 2002 17:25:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 788 invoked from network); 15 Jun 2002 17:25:01 -0000 Received: from unknown (HELO diana.inter.net.il) (192.114.186.19) by sources.redhat.com with SMTP; 15 Jun 2002 17:25:01 -0000 Received: from Zaretsky ([80.230.2.40]) by diana.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id AEF55795; Sat, 15 Jun 2002 20:24:57 +0300 (IDT) Date: Sat, 15 Jun 2002 10:25:00 -0000 From: "Eli Zaretskii" To: kettenis@chello.nl Message-Id: <3791-Sat15Jun2002202319+0300-eliz@is.elta.co.il> CC: gdb-patches@sources.redhat.com In-reply-to: <200206141945.g5EJjWe23815@elgar.kettenis.dyndns.org> (message from Mark Kettenis on Fri, 14 Jun 2002 21:45:32 +0200 (CEST)) Subject: Re: [PATCH] Moving forward on the road to a truly multi-arched i386 Reply-to: Eli Zaretskii References: <200206141945.g5EJjWe23815@elgar.kettenis.dyndns.org> X-SW-Source: 2002-06/txt/msg00266.txt.bz2 > Date: Fri, 14 Jun 2002 21:45:32 +0200 (CEST) > From: Mark Kettenis > > Since nobody objected, I checked this in. Darn! I missed one gotcha: > +static enum gdb_osabi > +i386_coff_osabi_sniffer (bfd *abfd) > +{ > + if (strcmp (bfd_get_target (abfd), "coff-go32-exe") == 0) > + return GDB_OSABI_GO32; This should also allow "coff-go32", which is a raw COFF executable without the DOS stub loader. DJGPP debugging supports that format as well.