From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26390 invoked by alias); 5 Jan 2003 17:40:53 -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 26382 invoked from network); 5 Jan 2003 17:40:53 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 5 Jan 2003 17:40:53 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18VGe6-00022S-00 for ; Sun, 05 Jan 2003 13:41:18 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18VElc-0000ku-00 for ; Sun, 05 Jan 2003 12:40:56 -0500 Date: Sun, 05 Jan 2003 17:40:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: coffread.c extension for DLLs without debugging symbols Message-ID: <20030105174056.GC2779@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20030104044408.GA7364@redhat.com> <20030104205130.GA9784@redhat.com> <86k7hju04j.fsf@elgar.kettenis.dyndns.org> <20030105171826.GE16706@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030105171826.GE16706@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00190.txt.bz2 On Sun, Jan 05, 2003 at 12:18:26PM -0500, Christopher Faylor wrote: > On Sun, Jan 05, 2003 at 03:44:44PM +0100, Mark Kettenis wrote: > >Christopher Faylor writes: > > > >>>>2) I wonder if this code should be ifdef'ed somehow for Windows since > >>>>it will add extra code for no gain on every COFF platform. Of course, > >>>>how many of those are there out there? Maybe this isn't a huge issue > >>>>after all. > >>> > >>>I wondered about that myself. However, wouldn't that suggest putting > >>>the bulk of the code somewhere like win32-nat.c? > >> > >> That would be fine with me (especially since I can approve that part of > >> gdb). So, you'd need some kind of hooks in coffread.c to handle this. > >> I guess we should wait for the coffread maintainer to offer an opinion > >> before you go to this effort, though. > > > >Well, I assume this code would be usefull when cross-debugging too. > >If so, a *-nat.c file would be the wrong place to add it. You could > >create a win32-tdep.c file though. > > Cross debugging to a windows box? Does anyone actually do that? I know > it is theoretically possible with, *cough* rda *cough* but I wasn't aware > of anyone actually doing this. > > Regardless, win32-tdep.c would be a more logically correct place to put > it. In any case, it's nicer to have it in the tdep file; it's a step towards letting people who make large mechanical changes verify that it still compiles. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer