From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10048 invoked by alias); 10 Dec 2001 19:21:22 -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 10026 invoked from network); 10 Dec 2001 19:21:19 -0000 Received: from unknown (HELO mirapoint.inter.net.il) (192.114.186.20) by sources.redhat.com with SMTP; 10 Dec 2001 19:21:19 -0000 Received: from zaretsky ([192.116.55.139]) by mirapoint.inter.net.il (Mirapoint) with ESMTP id BBT44729; Mon, 10 Dec 2001 21:21:12 +0200 (IST) Date: Mon, 10 Dec 2001 11:21:00 -0000 From: "Eli Zaretskii" To: kellwood@ford.com Message-Id: <8582-Mon10Dec2001211941+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: gdb@sourceware.cygnus.com In-reply-to: <200112101847.fBAIldE13015@dymwsm10.mailwatch.com> (kellwood@ford.com) Subject: Re: Odd behavior with souce files Reply-to: Eli Zaretskii References: <200112101847.fBAIldE13015@dymwsm10.mailwatch.com> X-SW-Source: 2001-12/txt/msg00114.txt.bz2 > 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. 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).