From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31312 invoked by alias); 19 Jul 2009 16:11:39 -0000 Received: (qmail 31302 invoked by uid 22791); 19 Jul 2009 16:11:38 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Jul 2009 16:11:31 +0000 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 2E6F41C1534E; Sun, 19 Jul 2009 18:11:28 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 02472902B8; Sun, 19 Jul 2009 18:11:28 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id MxovmrWkHQF0; Sun, 19 Jul 2009 18:11:26 +0200 (CEST) Received: from igel.home (DSL01.83.171.152.91.ip-pool.NEFkom.net [83.171.152.91]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 19 Jul 2009 18:11:26 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 39B6710C407; Sun, 19 Jul 2009 18:11:26 +0200 (CEST) From: Andreas Schwab To: "Catherine Smith" Cc: Subject: Re: Backtracing broken core dumps References: <8889C7D9C664436F8F547CB15F53C01C@Catherine> X-Yow: I'm QUIETLY reading the latest issue of ``BOWLING WORLD'' while my wife and two children stand QUIETLY BY.. Date: Sun, 19 Jul 2009 16:11:00 -0000 In-Reply-To: <8889C7D9C664436F8F547CB15F53C01C@Catherine> (Catherine Smith's message of "Sun, 19 Jul 2009 17:03:46 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-07/txt/msg00129.txt.bz2 "Catherine Smith" writes: > I have attempted to find back traces of several core dumps > which have resulted from executing damaged pointers to > functions, or null pointers to functions. > Sometimes a gdb command of the form > > set pc=$lr > > would help, except that gdb says > > (gdb) set pc=$lr > You can't do that without a process to debug Try using the frame command, passing it the address of the frame you want to examine. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."