Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 1995 11:29:24 +1000 (EST)
From:      raoul@cssc-syd.tansu.com.au (Raoul Golan)
To:        freebsd-questions@freebsd.org
Subject:   Re: gdb problem?  libraries, perhaps? 
Message-ID:  <199510050129.LAA26769@kiwi.cssc-syd.tansu.com.au>

next in thread | raw e-mail | index | archive | help
A further update on that (now resolved) problem regarding
gdb crashes.

A similar scenario on SunOS 4.1.3 will not cause gdb to crash.
I have zsh as my default shell, I add an "exec /bin/sh" to my
.zshrc, I try to run gdb and I get no problems.  In fact,
.zshrc does *not* get executed by the shell forked by
gdb, even though I clearly have my SHELL environment variable
set to zsh. 

On FreeBSD, on the other hand, I have csh as my default, and 
"exec /usr/local/bin/zsh" on my .cshrc.  With this setup gdb
crashes since gdb's fork executes .cshrc.

Something's different about the two gdb's, but I'm not sure 
what.  

Raoul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510050129.LAA26769>