From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5776 invoked by alias); 15 Sep 2004 06:37:29 -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 5765 invoked from network); 15 Sep 2004 06:37:28 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 15 Sep 2004 06:37:28 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 09D6A47D92; Tue, 14 Sep 2004 23:37:28 -0700 (PDT) Date: Wed, 15 Sep 2004 06:37:00 -0000 From: Joel Brobecker To: Edward Peschko Cc: gdb@sources.redhat.com Subject: Re: debugger 6.2.1 misfeatures Message-ID: <20040915063727.GQ5843@gnat.com> References: <20040910235746.GA11043@mdssdev05> <20040911162642.GS5843@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040911162642.GS5843@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2004-09/txt/msg00115.txt.bz2 > This is pretty easy to reproduce. I took a program that was looping > for ever, and attached to it. The symbols where indeed not loaded. > For instance, take attach.c from attach.exp, launch it, then use > GDB to attach to it, and you'll see the problem. > > Interestingly, this seems to be solaris-specific, as the problem > doesn't appear on x86-linux for instance. > > This shouldn't be very hard to fix. I'd rather continuing my work > on the mips-irix port, but if nobody has taken ownership of this > problem by tonight, I'll have a quick look. On second thoughts, I decided not to look into this. I'm plenty busy with the mips cleanup right now, and this issue is easily worked around (use "file" command to get the symbols) while the mips debugger really is badly broken. I recommend that a PR be filed, and the problem be documented. Maybe somebody else will find an hour or two to look into this. -- Joel