From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22123 invoked by alias); 10 Dec 2001 21:20:15 -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 22043 invoked from network); 10 Dec 2001 21:20:12 -0000 Received: from unknown (HELO nic.osagesoftware.com) (65.186.161.49) by sources.redhat.com with SMTP; 10 Dec 2001 21:20:12 -0000 Received: from maple.osagesoftware.com (maple.osagesoftware.com [192.168.1.20]) by nic.osagesoftware.com (8.10.1/8.10.1) with ESMTP id fBALKAI25028 for ; Mon, 10 Dec 2001 16:20:10 -0500 Message-Id: <4.3.2.7.2.20011210161846.00cdbcc0@mail.osagesoftware.com> X-Sender: relson@mail.osagesoftware.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 10 Dec 2001 13:20:00 -0000 To: gdb@sources.redhat.com From: David Relson Subject: Re: Odd behavior with souce files In-Reply-To: <8582-Mon10Dec2001211941+0200-eliz@is.elta.co.il> References: <200112101847.fBAIldE13015@dymwsm10.mailwatch.com> <200112101847.fBAIldE13015@dymwsm10.mailwatch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2001-12/txt/msg00117.txt.bz2 At 02:19 PM 12/10/01, you wrote: > > Date: Mon, 10 Dec 2001 13:46:30 -0500 (EST) > > From: "Kevin R.J. Ellwood" > > > > (gdb) > > 2806 in malloc.c > > > > Needless to say, I don't want to debug malloc. Sounds like you're using "step" when you should be using "next" ... >Does it help to say "finish" whenever you wind up inside a library >function? > > > Is there an option for gdb such that, if a source file is not found, > > it won't try to step into that particular routine. > >GDB does that for me if the library functions have no debug info. You >could say "strip --strip-debug libc.a", for example. But given the >"finish" trick, I'd not bother (you could need the library debug info >some day).