From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7606 invoked by alias); 28 Nov 2002 01:11:28 -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 7599 invoked from network); 28 Nov 2002 01:11:26 -0000 Received: from unknown (HELO redhat.com) (66.30.22.225) by sources.redhat.com with SMTP; 28 Nov 2002 01:11:26 -0000 Received: by redhat.com (Postfix, from userid 201) id CB0A31B3CC; Wed, 27 Nov 2002 20:11:54 -0500 (EST) Date: Wed, 27 Nov 2002 17:11:00 -0000 From: Christopher Faylor To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: gdb and Dll Message-ID: <20021128011154.GE21457@redhat.com> Mail-Followup-To: Andrew Cagney , gdb@sources.redhat.com References: <001301c295f5$461850c0$fe78a8c0@SOL> <20021128005242.GB2696@redhat.com> <3DE569EC.5060500@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DE569EC.5060500@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00403.txt.bz2 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. FWIW, I mentioned this behavior to a couple of gdb engineers two or three years ago and I was almost given to believe that it was expected behavior. cgf