Skip to content
Snippets Groups Projects
Commit f12fa285 authored by Avi Kivity's avatar Avi Kivity
Browse files

gdb: improved running thread detection

Detect running threads by checking whether any cpu's rsp is within the thread
stack.  If so, the thread is running on that cpu, and the saved context is
ignored as stale.  This improves 'osv info threads' greatly.

It doesn't work all that well for threads taking interrupts though.
parent c642cfcb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment