Skip to contentSkip to conversation

panic...

DISCUSSION Raghava Raju 1 participant 1 message Aug 15, 2001

lore
Share & tools
lore
#0 lore raw

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.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/