[Developer] what does L4_Copy_regs_to_mrs() actually return?
Iyad Q
ikq2754 at yahoo.com
Tue Apr 24 01:08:07 EST 2007
It seems this message did not make the transition to new mailing list, so here is the question again.
Cheers,
Iyad
----- Original Message ----
From: Iyad Q <ikq2754 at yahoo.com>
To: kenge-users at ertos.nicta.com.au
Sent: Friday, April 20, 2007 6:40:48 PM
Subject: what does L4_Copy_regs_to_mrs() actually return?
Hi,
I am trying to work on user thread debugging in linux, and need access to register content of the user space process. I am using L4_Copy_regs_to_mrs(), but it seems to return incorrect information. For example in the listing below note the return values for fp & lr. As for the pc value, it seems that it does not reflect user thread the address range which should be within 0x9000.
r0 = 00000000, r1 = 000008e1, r2 = 000008e1, r3 = 000008e1
r4 = 095f3da0, r5 = 095f3d6c, r6 = 07dc6274, r7 = 07dc605c
r8 = 00000001, r9 = fffff71f, r10= e0011200, fp = 00000000
ip = 07f95074, sp = 07ff2780, lr = 00000001, pc = 07f95060
cpsr = e0011200, spsr = 00000000
My questions at the moment:
1) what is actually returned by the L4_Copy_regs_to_mrs() ?
2) How can I get user threads register values ?
3) How can I set user threads register values ?
Thanks,
Iyad
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
kenge-users mailing list
kenge-users at ertos.nicta.com.au
https://lists.ertos.nicta.com.au/mailman/listinfo/kenge-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Developer
mailing list