From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28459 invoked by alias); 15 Jun 2005 12:46:59 -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 28445 invoked by uid 22791); 15 Jun 2005 12:46:54 -0000 Received: from mail24.syd.optusnet.com.au (HELO mail24.syd.optusnet.com.au) (211.29.133.165) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 15 Jun 2005 12:46:54 +0000 Received: from localhost.localdomain (c220-237-160-143.lowrp1.vic.optusnet.com.au [220.237.160.143]) by mail24.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j5FCkopD030245 for ; Wed, 15 Jun 2005 22:46:51 +1000 From: Hamish Rodda To: gdb@sources.redhat.com Subject: Unwinding stack past main() when it has another name Date: Wed, 15 Jun 2005 12:46:00 -0000 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1805068.HrGhJlRkMG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506152247.07232.rodda@kde.org> X-SW-Source: 2005-06/txt/msg00156.txt.bz2 --nextPart1805068.HrGhJlRkMG Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 659 Hi, I'm just curious if there's a better solution for a problem I've come up=20 against recently. I have been using gdb 6.3 and finding that all of my kde= =20 program backtraces contain hundreds of irrelevant and corrupt-looking frame= s.=20 Upgrading to cvs fixed most of the problem (the corrupt looking frames), bu= t=20 some frames still remain before the main function, which in kde programs is= =20 called kdemain(). Is there something the kde sources can do to have gdb recognise kdemain() a= s=20 the replacement main() function, and thus prevent gdb from unwinding past i= t? Thanks, Hamish. PS. please cc me on replies as I am not subscribed. --nextPart1805068.HrGhJlRkMG Content-Type: application/pgp-signature Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCsCNLH8BtnSmIlUYRAlefAJ0a2pabHWzY7gDCoRUb3p1ZFrY5bwCglTWa cqkrMhGkjiwOgXcj9hwME2E= =UmDG -----END PGP SIGNATURE----- --nextPart1805068.HrGhJlRkMG--