From owner-freebsd-questions Wed Oct 4 19:28:00 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA14047 for questions-outgoing; Wed, 4 Oct 1995 19:28:00 -0700 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA14040 for ; Wed, 4 Oct 1995 19:27:56 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id TAA14639; Wed, 4 Oct 1995 19:26:54 -0700 Message-Id: <199510050226.TAA14639@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: raoul@cssc-syd.tansu.com.au (Raoul Golan) cc: freebsd-questions@freebsd.org Subject: Re: gdb problem? libraries, perhaps? In-reply-to: Your message of "Thu, 05 Oct 1995 11:29:24 +1000." <199510050129.LAA26769@kiwi.cssc-syd.tansu.com.au> Date: Wed, 04 Oct 1995 19:26:54 -0700 From: "Justin T. Gibbs" Sender: owner-questions@freebsd.org Precedence: bulk >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 ===========================================