From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30132 invoked by alias); 21 May 2009 03:27:03 -0000 Received: (qmail 30124 invoked by uid 22791); 21 May 2009 03:27:02 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout4.012.net.il (HELO mtaout3.012.net.il) (84.95.2.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 May 2009 03:26:57 +0000 Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KJZ00B005I11700@i_mtaout3.012.net.il> for gdb-patches@sourceware.org; Thu, 21 May 2009 06:26:54 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.115.215]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KJZ00I4F5KTFZ40@i_mtaout3.012.net.il>; Thu, 21 May 2009 06:26:54 +0300 (IDT) Date: Thu, 21 May 2009 03:27:00 -0000 From: Eli Zaretskii Subject: Re: [rfc] Remove current_gdbarch register handling from symbol readers In-reply-to: <200905210052.n4L0qMgq002959@d12av02.megacenter.de.ibm.com> To: Ulrich Weigand Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <8363fvp24e.fsf@gnu.org> References: <200905210052.n4L0qMgq002959@d12av02.megacenter.de.ibm.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00450.txt.bz2 > Date: Thu, 21 May 2009 02:52:22 +0200 (CEST) > From: "Ulrich Weigand" > Cc: gdb-patches@sourceware.org > > Only the Windows/DOS related targets remain. Of those, all the > -pe / -mingw / -cygwin / -interix targets actually use the PE > file format, not "real" COFF, and GCC will default to generate > stabs or DWARF-2 for those. It seems possible to use -gcoff to > force GCC to emit COFF/SDB debug info; I'm not sure if this will > actually work with PE files ... Well, I already tried that, and at least with MinGW GCC 3.4.2 that I have installed, it fails: the binary produced with -gcoff is not recognized by MinGW GDB 6.8 (it says "not in executable format"). Maybe it's a bug somewhere. > The only target for which GCC by default generates COFF/SDB debug > info does indeed appear to be -msdosdjgpp ... DJGPP GCC uses DWARF-2 by default also, but it fully supports -gcoff. The problem is that DJGPP does not support expect, so the the test suite cannot be run. I can run some tests manually, so if you or someone else could tell which test may be affected by this change, I can try running them. Thanks.