Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 3.1.9 problem debugging linux threads
- X-seq: zsh-workers 12999
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: zsh 3.1.9 problem debugging linux threads
 
- Date: Fri, 13 Oct 2000 22:26:17 +0000
 
- In-reply-to: <39E62288.BE76D77F@xxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <39E62288.BE76D77F@xxxxxxxxxxxxx>
 
For the record:
On Oct 12,  4:43pm, Gray Watson wrote:
}
} I cannot debug threaded programs under Linux RH6.2 with gdb:
} 
}         Program received signal SIGTTOU, Stopped (tty output).
}         0x4011ab14 in __libc_write () from /lib/libc.so.6
} 
} Gdb suspends itself without any keystrokes from mine.  If I log in under
} another shell, I have no problems.  Wierd huh?
I've been trading some private mail with Gray, and this problem turns out
to be a gdb issue rather than a zsh issue.  The reason that zsh was the
only shell exhibiting the behavior had to do with "stty tostop" combined
with some confusion over "ttyctl -f".  Gdb exhibits the same behavior in
bash if "stty tostop" is in effect.
I've suggested that Gray report this to the gdb bug list.
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author