From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4476 invoked by alias); 8 Mar 2007 15:04:46 -0000 Received: (qmail 4464 invoked by uid 22791); 8 Mar 2007 15:04:45 -0000 X-Spam-Check-By: sourceware.org Received: from relay1.psi.neteu.net (HELO relay1.psi.neteu.net) (154.15.246.50) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Mar 2007 15:04:39 +0000 Received: from [212.222.53.82] (helo=gg.pruftechnik.com) by relay1.psi.neteu.net with esmtp (Exim 4.65) (envelope-from ) id 1HPKAW-0005fU-OL for gdb@sourceware.org; Thu, 08 Mar 2007 16:04:36 +0100 Received: from gg.pruftechnik.com (localhost [127.0.0.1]) by gg.pruftechnik.com (8.13.8/8.13.8) with ESMTP id l28F4Z2c001122 for ; Thu, 8 Mar 2007 16:04:36 +0100 (CET) Received: (from localhost) by gg.pruftechnik.com (MSCAN) id 1/gg.pruftechnik.com/smtp-gw/mscan; Thu Mar 8 16:04:35 2007 To: gdb@sourceware.org Subject: gdb 6.6: incomplete backtraces ? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Markus.Grunwald@pruftechnik.com Date: Thu, 08 Mar 2007 15:04:00 -0000 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00128.txt.bz2 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=20 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=20 frames ... gdb 6.3, debian: ---------------------------------------------------------------------------= ----- gru@CMDevLin2 >/usr/bin/gdb dafit_x86.bin=20 GNU gdb 6.3-debian (gdb) catch fork Catchpoint 1 (fork) (gdb) run [...] Catchpoint 1 (forked process 25938), 0xb7f66410 in ?? () (gdb) bt #0 0xb7f66410 in ?? () #1 0x00000001 in ?? () #2 0x00000000 in ?? () #3 0xb727661e in strtold_l () from /lib/tls/i686/cmov/libc.so.6 #4 0xb73ebadd in system () from /lib/tls/i686/cmov/libpthread.so.0 #5 0x080f9827 in CPTApplication::SetupTmpDir (this=3D0x90f7260) at=20 /home/gru/projects/vxp/branches/branch-0-2-00-X/Dafit_Code/dafit2/dafit2/CP= TApplication.cpp:1676 #6 0x080f50a4 in CPTApplication::CPTApplication (this=3D0x90f7260,=20 nSuccess=3D@0xbfdbe0b4, nArgc=3D1, aszArgv=3D0xbfdbe134) at=20 /home/gru/projects/vxp/branches/branch-0-2-00-X/Dafit_Code/dafit2/dafit2/CP= TApplication.cpp:467 #7 0x080fbafa in main (nArgs=3D1, aszArgs=3D0xbfdbe134) at=20 /home/gru/projects/vxp/branches/branch-0-2-00-X/Dafit_Code/dafit2/dafit2/ma= in.cpp:55 ---------------------------------------------------------------------------= ----- That's better ! What could this be ? Mit freundlichen Gr=FC=DFen Markus Grunwald Softwareentwicklung PR=DCFTECHNIK Condition Monitoring GmbH Oskar-Messter-Stra=DFe 19-21 85737 Ismaning www.pruftechnik.com Tel: +49 (0)89 99616177 Fax: +49 (0)89 99616200 PR=DCFTECHNIK Condition Monitoring GmbH Sitz Ismaning / HRB 145655 M=FCnchen=20 Gesch=E4ftsf=FChrer: Johann L=F6sl, Roland Sch=FChle Ein Unternehmen der PR=DCFTECHNIK-Gruppe