UP
EROS Web
Developer Documentation
Cross Development
Guide
|
|
kdb Reference
Name
kdb -- Kernel Debugger
Description
kdb is based on the Mach kernel debugger ddb.
Typing control-alt-d while EROS is running will cause the kernel
debugger to be entered.
This documentation is incomplete.
Try this link
for a formatted "man page", giving a description of most commands.
Here are a few useful commands:
- help
- Print a list of commands.
- trace
- Print a stack trace.
- c
- Continue execution
- show
- Without any arguments, this command prints a list of arguments
you can give. Here are explanations of some of them:
- show inv
- If an EROS invocation is active, this command prints
some information in the inv structure.
- show entry
- If an EROS invocation is active, this command prints
the information in the inv.entry structure.
- show exit
- If an EROS invocation is active, this command prints
the information in the inv.exit structure.
- show invokee
- If an EROS invocation is active, this command prints
the context of the invokee.
- show cckeys
- Print the key registers of the current thread.
- show invkeys
- If an EROS invocation is active, this command prints
the key registers of the invokee.
- show key <address>
- Print the key at the specified address.
- show cckr [<address>]
- Print all the keys that refer to the process
context at the specified address (the keyring of the context).
If no address is specified, this command prints
the information for the current thread.
- show thread [<address>]
- Print the thread at the specified address.
If no address is specified, this command prints
the current thread.
- show uthreads
- Print all the threads.
- show ctxt [<address>]
- Print the process context at the specified address.
If no address is specified, this command prints the current
thread's context.
- show sa <address>
- Print the registers in the fixregs_t
save area at the specified address.
- show node <OID>
- Print the node with the specified OID.
- show nodes
- Print information about all the nodes in memory.
- show pages
- Print information about all the pages in memory.
Copyright 2000, 2001 by The EROS Group. For terms of
redistribution, see the
GNU General Public License
|
|