From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15601 invoked by alias); 8 Mar 2007 15:15:59 -0000 Received: (qmail 15593 invoked by uid 22791); 8 Mar 2007 15:15:59 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 08 Mar 2007 15:15:50 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HPKLM-0001Ed-Ty; Thu, 08 Mar 2007 10:15:48 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HPKLM-0001Et-O2; Thu, 08 Mar 2007 10:15:48 -0500 Date: Thu, 08 Mar 2007 15:15:00 -0000 From: Daniel Jacobowitz To: Markus.Grunwald@pruftechnik.com Cc: gdb@sourceware.org Subject: Re: gdb 6.6: incomplete backtraces ? Message-ID: <20070308151547.GA4632@caradoc.them.org> Mail-Followup-To: Markus.Grunwald@pruftechnik.com, gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00130.txt.bz2 On Thu, Mar 08, 2007 at 04:04:27PM +0100, Markus.Grunwald@pruftechnik.com wrote: > Hello, > > while researching for another problem, I found this : > > gdb 6.6, compiled by myself: > -------------------------------------------------------------------------------- > gru@CMDevLin2 >/home/gru/gdb-6.6/bin/gdb dafit_x86.bin > GNU gdb 6.6 > (gdb) catch fork > Catchpoint 1 (fork) > (gdb) run > [...] > Catchpoint 1 (forked process 26023), 0xb7fa1410 in ?? () > (gdb) bt > #0 0xb7fa1410 in ?? () > #1 0x00000001 in ?? () > #2 0x00000000 in ?? () > (gdb) show backtrace limit > An upper bound on the number of backtrace levels is unlimited. > -------------------------------------------------------------------------------- > > Hey, that's quite short ! No matter which catchpoint is hit, I get only 3 > frames ... What does info shared say is at that address? Anything? It usually helps to install the Debian libc6-dbg package and configure your GDB with --prefix=/usr. That will improve backtraces through the system libraries. -- Daniel Jacobowitz CodeSourcery