On 05/05/2026 20:15, Samuel Thibault wrote:
Michael Kelly, le mar. 05 mai 2026 20:11:29 +0100, a ecrit:
I have done that on occasion but I'm rather thinking of the case where a
gnumach thread is stuck awaiting an event which never happens. How can you
switch context to that thread and view its stack and so on?
Ah, yes, in that case you can implement a libthread_db library that you
give to gdb so it knows how to switch between threads in gnumach.
Samuel
Your description sounds like just the thing. I'll do some research and
perhaps I'll have a new project.
Thanks,
Mike