[patch] Fix Linux attach to signalled/stopped processes

Daniel Jacobowitz drow@false.org
Thu Apr 10 15:30:00 GMT 2008


On Tue, Apr 01, 2008 at 03:49:36PM -0700, Roland McGrath wrote:
> I'm not sure if there was any question for me about kernel behavior in there.
> 
> As a gdb user, I have long been annoyed by the behavior on attaching to a
> stopped process.  What I want is for attach to complete immediately and let
> me examine the process.  If I then "cont", the process should go back to
> what it was doing--sitting in job control stop.  Then fg or otherwise
> sending SIGCONT will wake it up normally, and gdb should stop and tell me
> about the SIGCONT like normal.

How could GDB put an attached process back into job control stop?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list