Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* linux-low.c: stop_all_processes vs longjmp snafu?
@ 2008-12-13  0:14 Doug Evans
  2008-12-13 19:24 ` Doug Evans
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2008-12-13  0:14 UTC (permalink / raw)
  To: gdb

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-14 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-13  0:14 linux-low.c: stop_all_processes vs longjmp snafu? Doug Evans
2008-12-13 19:24 ` Doug Evans
2008-12-14 18:32   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox