From: Pedro Alves <palves@redhat.com>
To: Stefan Puiu <stefan.puiu@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: how to see DAR (data access register) on ppc using gdb 7.0.1 on Linux?
Date: Fri, 07 Sep 2012 17:12:00 -0000 [thread overview]
Message-ID: <504A2ACF.10909@redhat.com> (raw)
In-Reply-To: <CACKs7VAAXQC-Ln7yRBb3GobNBruCHD7Td=qVs9aVkoEVs_v0Pw@mail.gmail.com>
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
prev parent reply other threads:[~2012-09-07 17:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-07 13:26 Stefan Puiu
2012-09-07 13:44 ` Luis Gustavo
2012-09-07 17:12 ` Pedro Alves [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=504A2ACF.10909@redhat.com \
--to=palves@redhat.com \
--cc=gdb@sourceware.org \
--cc=stefan.puiu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).