zsh-workers
 help / color / mirror / code / Atom feed
* zsh 3.1.9 problem debugging linux threads
@ 2000-10-12 20:43 Gray Watson
  2000-10-12 21:34 ` Gray Watson
  2000-10-13 22:26 ` Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: Gray Watson @ 2000-10-12 20:43 UTC (permalink / raw)
  To: zsh-workers

Sorry if this is a known problem.  I didn't see any mention in the FAQ
or the known bugs list.

I cannot debug threaded programs under Linux RH6.2 with gdb:

	> gdb a.out
	GNU gdb 19991004
	...
	(gdb) run
	Starting program: 	
	zsh: 30840 suspended (tty output)  gdb intel_redhat_6_2/cmd
        Exit 22
	> fg
        [1]  - continued  gdb intel_redhat_6_2/cmd
        [New Thread 30841 (initial thread)]
        [New Thread 30846]

        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?  Thought sure I had a
kernel, egcs, libc, gdb, etc. problem but no.  Definately a problem with
zsh 3.1.6 + 3.1.9.

I'm guessing that zsh is trapping the signals that are generated by the
the pthreads library calls under linux.

Please send me mail with ideas on how to fix this.  Thanks.
-- 
Gray Watson <gwatson@lycos-inc.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-13 22:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-12 20:43 zsh 3.1.9 problem debugging linux threads Gray Watson
2000-10-12 21:34 ` Gray Watson
2000-10-12 23:07   ` Gray Watson
2000-10-13  3:07     ` Bart Schaefer
2000-10-13 22:26 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).