# panic...

- From: Raghava Raju \<hidden\>
- Date: 2001-08-15 17:11:02 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2001/08/9377742
- Thread: https://ratatoskr.run/linuxppc-dev/2001/08/9377742/t.md

```text

Hi,

      1)I have to access the contents of program
counter and stack pointer in panic() function. Above
values should be describing the location where panic
happened.

      2)Similarly I have  to access registers values
after entering "die" function in
arch/ARCH/kernel/traps.c . Here pt_regs being passed
to this function does't seems to be containing all the
registers.Registers which are missing ex: special
purpose registers etc..

       3) Is it that in "2)" fields defined in pt_regs
are enough to describe the state of process
completely. Hence no purpose of accessing the remainig
registers.

	Any advice and pointers would be helpful.


      Thankyou.
      Raj.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
```
