Debugger on top of L4

Andrew Vadimovich ck2329 at
Thu Mar 20 16:12:13 CET 2008

good day 

Im totally newbie to l4, but my aim is to develop source level debugger for
our system built on top of L4. So the procedure for source level debugger is
common and may be presented in following steps:

1) Cause undef exception from user task (using undef instruction)
2) Catch it by undef exception handler 
3) Save CPU registers
4) Suspend running thread. Suspension must be performed by my code - not by
l4 system code.
5) Continue execution with next scheduled thread

But untill now i have no ideas how to suspend thead by my self. I even cant
find l4 code responsible for thread suspension.

Does anyone knows where can i find suspention procedure in l4 code?
Probably someone has code snippets for such kind of actions?

thanks in advance
View this message in context:
Sent from the L4 mailing list archive at

More information about the l4-hackers mailing list