Re: Mapping IIP value to Kernel Symbols

From: Peter Chubb <peter_at_chubb.wattle.id.au>
Date: 2006-12-05 10:17:24
>>>>> "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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Dec 05 10:18:54 2006

This archive was generated by hypermail 2.1.8 : 2006-12-05 10:19:18 EST