Re: Mapping IIP value to Kernel Symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Karthik" == Karthik Gopalakrishnan <karthik.g.krishnan@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux