From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23910 invoked by alias); 28 Nov 2002 03:08:09 -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 23871 invoked from network); 28 Nov 2002 03:08:08 -0000 Received: from unknown (HELO redhat.com) (66.30.22.225) by sources.redhat.com with SMTP; 28 Nov 2002 03:08:08 -0000 Received: by redhat.com (Postfix, from userid 201) id A741A1BF3A; Wed, 27 Nov 2002 22:08:36 -0500 (EST) Date: Wed, 27 Nov 2002 19:08:00 -0000 From: Christopher Faylor To: gdb@sources.redhat.com Cc: Andrew Cagney Subject: Re: gdb and Dll Message-ID: <20021128030836.GC28113@redhat.com> Mail-Followup-To: gdb@sources.redhat.com, Andrew Cagney References: <001301c295f5$461850c0$fe78a8c0@SOL> <20021128005242.GB2696@redhat.com> <3DE569EC.5060500@redhat.com> <20021128011154.GE21457@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021128011154.GE21457@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00404.txt.bz2 On Wed, Nov 27, 2002 at 08:11:54PM -0500, Christopher Faylor wrote: >On Wed, Nov 27, 2002 at 07:57:16PM -0500, Andrew Cagney wrote: >> >>>There is one long-standing "gotcha" in debugging dlls however. Currently >>>you can only set breakpoints on line numbers not on symbol names if the >>>dll is not loaded. That is you can't do: >>> >>> dll-symbols foo.dll >>> bp foo >>> >>>You have to, instead do: >>> >>> dll-symbols foo.dll >>> list foo >>> bp >> >>Weird. Create a bug report. > >There already is one, I believe, complete with patch, which I'm testing >now. I'd give you a URL but my browser is sick right now. I just did a >search for a topic with dll in it in gnats and found it. This was after >Joel B. suggested that a number of PRs had been filed for dll handling. The GNATS id is 780 and the patch enclosed therein seems to work ok. cgf