This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] 10/10 non-stop for linux native


On Mon, May 19, 2008 at 04:21:08PM +0100, Pedro Alves wrote:
> One issue I would like comments on, is that
> -exec-continue / target_stop_ptid relies on an event happening
> on the inferior.  Should we not rely on that, and just suspend
> the thread with SIGSTOP ?  Would this affect frontends ?

About this: don't play with SIGSTOP.  It has pretty complicated
effects, for instance stopping entire thread groups and cancelling
pending job control signals.  While working on attach-to-stopped
support a few months ago Roland educated me in the gritty details.

SIGINT isn't great, but with ptrace it's our most plausible option.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]