From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31243 invoked by alias); 26 Mar 2002 04:32:54 -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 31236 invoked from network); 26 Mar 2002 04:32:54 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 26 Mar 2002 04:32:54 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16pidp-0000wr-00; Mon, 25 Mar 2002 23:33:01 -0500 Date: Mon, 25 Mar 2002 20:32:00 -0000 From: Daniel Jacobowitz To: Kevin Buettner Cc: "H . J . Lu" , GDB Subject: Re: gdb doesn't work well with DSO on Linux/mips Message-ID: <20020325233301.A3581@nevyn.them.org> Mail-Followup-To: Kevin Buettner , "H . J . Lu" , GDB References: <20020322234648.A24693@lucon.org> <20020323000803.A25045@lucon.org> <20020323115239.A29855@nevyn.them.org> <1020326040549.ZM14741@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1020326040549.ZM14741@localhost.localdomain> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-03/txt/msg00240.txt.bz2 On Mon, Mar 25, 2002 at 09:05:49PM -0700, Kevin Buettner wrote: > On Mar 23, 11:52am, Daniel Jacobowitz wrote: > > > > 2002-03-22 H.J. Lu (hjl@gnu.org) > > > > > > * config/mips/tm-linux.h (SOLIB_BKPT_NAME): New. > > > > Actually, I'd prefer the former (add __start to bkpt_names, after > > _start). One less thing to worry about when multi-arching. > > Yes, I prefer this as well. > > > Also, it may be that we should check for the dynamic linker breakpoint > > symbols in the currently loaded BFD, if there is no .interp section. > > That would explicitly improve debugging of the dynamic linker. Kevin, > > does that sound reasonable? > > Wouldn't this cause problems when debugging ordinary statically linked > programs? After all, we'd be putting solib event creation breakpoints > on symbols like main and _start. We'll already do this, I think. > Or were you referring to symbols like r_debug_state, etc? If that's > the case, I think it'd be okay. Yes, that's what I meant. I was thinking of _dl_debug_state, which I believe is the glibc equivalent of r_debug_state. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer