Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 1995 19:26:54 -0700
From:      "Justin T. Gibbs" <gibbs@freefall.FreeBSD.org>
To:        raoul@cssc-syd.tansu.com.au (Raoul Golan)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gdb problem? libraries, perhaps? 
Message-ID:  <199510050226.TAA14639@aslan.cdrom.com>
In-Reply-To: Your message of "Thu, 05 Oct 1995 11:29:24 %2B1000." <199510050129.LAA26769@kiwi.cssc-syd.tansu.com.au> 

next in thread | previous 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

Did you recently upgrade your kernel without rebuilding gdb?  The
proc structure was changed a little while back and you will need
to rebuild gdb for it to pick it up.  You may have to rebuild
libkvm too.

--
Justin T. Gibbs
===========================================
  Software Developer - Walnut Creek CDROM
  FreeBSD: Turning PCs into workstations
===========================================



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