Re: [patch] Fix Linux attach to signalled/stopped processes

Roland McGrath
2008-04-01T22:50:11Z

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.

Thanks,
Roland