tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Debugging threaded processes -- ptrace proposal



Per a quick test (i tried putting breakpoints and single-stepping the
usb stack and the tcp/ip stack), it really appears to work (on nb5).

Just a minor nit: if the process exits after i single-step into a thread
sleep, I get this:

Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.
Child process unexpectedly missing: No child processes.

And gdb goes into a -9'able busyloop.

Anyway, that's a minor annoyance and probably easy to fix.

Awesome work!


Home | Main Index | Thread Index | Old Index