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


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


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