On Sun, Aug 14, 2005 at 12:13:48AM -0400, Justin Pryzby wrote:
> reassign 322966 gdb
> thanks
> 
> $ stty -a |grep -i tostop
> isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
> 
> In fact, I have:
> $ grep -i tostop .bash_profile 
> stty tostop
> 
> which I tried to find before sending this report, but failed in search
> the bash manpage.
> 
> So, is this a bug?  Gdb _wasn't_ backgrounded, right?, and so, it
> shouldn't have gotten sigstop (or SIGTTOU or whatever).  Or, do I need
> to know more about stty tostop before using it?

GDB had set the inferior program (ps in this case) to be the foreground
job on the terminal.  Then it wrote a status message to the terminal. 
Normally this is harmless, but with tostop asserted it gets SIGTTOU.

It's a bug, just not a very important one.  Why do you set tostop
anyway?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to