From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3752 invoked by alias); 2 Dec 2002 19:14:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3743 invoked from network); 2 Dec 2002 19:14:10 -0000 Received: from unknown (HELO balder.inter.net.il) (192.114.186.15) by sources.redhat.com with SMTP; 2 Dec 2002 19:14:10 -0000 Received: from zaretsky (adsl-ayalon-pc-130-5.inter.net.il [213.8.130.5]) by balder.inter.net.il (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id BZQ06526; Mon, 2 Dec 2002 21:13:52 +0200 (IST) Date: Mon, 02 Dec 2002 11:14:00 -0000 From: "Eli Zaretskii" To: drow@mvista.com Message-Id: <3405-Mon02Dec2002211309+0200-eliz@is.elta.co.il> CC: i_am_triumph@ofir.dk, ac131313@redhat.com, gdb@sources.redhat.com In-reply-to: <20021202142903.GA7113@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 2 Dec 2002 09:29:03 -0500) Subject: Re: Porting GDB - Where to start? Reply-to: Eli Zaretskii References: <20021201211835.GA12876@nevyn.them.org> <20021202142903.GA7113@nevyn.them.org> X-SW-Source: 2002-12/txt/msg00021.txt.bz2 > Date: Mon, 2 Dec 2002 09:29:03 -0500 > From: Daniel Jacobowitz > > > > DWARF-2 is also supported with COFF binary format. DJGPP uses that > > combination. > > Really? How does that work? Quite frankly, I have no idea; I just know it does. You could probably find the details in the GCC sources, though. > I suppose that if COFF has arbitrary named sections, it could work - > but I thought only ECOFF did that. FWIW, the DJGPP linker script has this snippet: /* DWARF 2 */ .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) } .debug_abbrev 0 : { *(.debug_abbrev) } .debug_line 0 : { *(.debug_line) } .debug_frame 0 : { *(.debug_frame) } .debug_str 0 : { *(.debug_str) } .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) }