linux-low.c: stop_all_processes vs longjmp snafu?
Doug Evans
dje@google.com
Sat Dec 13 00:14:00 GMT 2008
linux-low.c:stop_all_processes is the only place that sets stopping_threads:
static void
stop_all_processes (void)
{
stopping_threads = 1;
for_each_inferior (&all_processes, send_sigstop);
for_each_inferior (&all_processes, wait_for_sigstop);
stopping_threads = 0;
}
and all functions that test stopping_threads can throw an error
(call longjmp).
I'm guessing fixing this is waiting on someone to remove stopping_threads,
right?
More information about the Gdb
mailing list