public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Chubb <peter@chubb.wattle.id.au>
To: linux-ia64@vger.kernel.org
Subject: Re: Mapping IIP value to Kernel Symbols
Date: Mon, 04 Dec 2006 23:17:24 +0000	[thread overview]
Message-ID: <87ejrfntdn.wl%peterc@chubb.wattle.id.au> (raw)
In-Reply-To: <5e0a1fd80612010600q37908483n83de1ddf1d89255f@mail.gmail.com>

>>>>> "Karthik" = Karthik Gopalakrishnan <karthik.g.krishnan@gmail.com> writes:

Karthik> Hi All.  I have a value of IIP that I recovered from an
Karthik> MCA. I want to figure out which instruction in the Kernel
Karthik> resulted in the MCA. 

I find the simplest way is usually to use gdb.

 gdb vmlinux
 gdb> x/i 0xaddress

You can also do
 gdb> list *0xaddress
to find the line iff the kernel was compiled with debugging info and
you have the source available.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia

      parent reply	other threads:[~2006-12-04 23:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 14:12 Mapping IIP value to Kernel Symbols Karthik Gopalakrishnan
2006-12-01 18:38 ` Yu, Fenghua
2006-12-03  5:19 ` Karthik Gopalakrishnan
2006-12-04 23:17 ` Peter Chubb [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=87ejrfntdn.wl%peterc@chubb.wattle.id.au \
    --to=peter@chubb.wattle.id.au \
    --cc=linux-ia64@vger.kernel.org \
    /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