[Top][All Lists]

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

Re: gnumach debugger advice

From: Brent W. Baccala
Subject: Re: gnumach debugger advice
Date: Thu, 15 Feb 2018 16:01:33 -0500

On Sun, Feb 11, 2018 at 4:42 AM, Samuel Thibault <address@hidden> wrote:
Brent W. Baccala, on dim. 11 févr. 2018 01:23:10 -0500, wrote:
> So how can I figure out where in processor_set_tasks() (or its subroutines)
> that the kernel has blocked?

show all tasks

Should give you the list of tasks, then

show task $task123

shows the list of threads, then

trace/t $task123.4

shows the backtrace of the thread.

Thank you, Samuel.

I had another problem, though - gdb was attached to the program and it was halted.  That caused a lot of my threads to report their traces as "Continuation thread_bootstrap_return".  I had to detach gdb, or at least "continue" the program, before the thread backtraces reported normally.  I thought I was doing something wrong with the debugger.

So, there was nothing blocked in processor_set_tasks(); I was just confused.

Thanks again for your helpful reply.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]