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: [patch] Fix Linux attach to signalled/stopped processes


A Friday 11 April 2008 23:54:48, Pedro Alves wrote:
> A Friday 11 April 2008 23:19:58, Daniel Jacobowitz wrote:

> > Any idea how to do this?
>
> Not really.  I'm don't think we can context-switch
> stop_signal in all-stop mode.  At least not without more work
> in infrun.c.  I'd have to think and try a bit more.  My current
> patch leaves it global in all-stop mode.  Maybe you just
> need a event_ptid, similar to trap_ptid, or just resend the signal
> to the main thread.

Actually, get_last_target_status should give you the ptid
you want, I think.

-- 
Pedro Alves


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