From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5175 invoked by alias); 7 Sep 2012 17:12:03 -0000 Received: (qmail 5160 invoked by uid 22791); 7 Sep 2012 17:12:01 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 07 Sep 2012 17:11:46 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q87HBjZq014644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 7 Sep 2012 13:11:45 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q87HBhZJ031449; Fri, 7 Sep 2012 13:11:44 -0400 Message-ID: <504A2ACF.10909@redhat.com> Date: Fri, 07 Sep 2012 17:12:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Stefan Puiu CC: gdb@sourceware.org Subject: Re: how to see DAR (data access register) on ppc using gdb 7.0.1 on Linux? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2012-09/txt/msg00014.txt.bz2 On 09/07/2012 02:26 PM, Stefan Puiu wrote: > Hi, > > I'm trying to debug a crash on our embedded Linux platform using: > GNU gdb (GDB) 7.0.1 You can also find the address that caused a SIGSEGV by printing $_siginfo (the siginfo_t associated with the signal). Look for the sig_fault/si_addr fields) after GDB catches the signal. Doesn't work with core files though, only live debugging. For PPC, you'd need GDB 7.5 for that. -- Pedro Alves