From owner-freebsd-stable Wed May 26 15:36:34 1999 Delivered-To: freebsd-stable@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 2E8CE14C12 for ; Wed, 26 May 1999 15:36:18 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id XAA56757; Wed, 26 May 1999 23:36:36 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 26 May 1999 23:36:36 +0100 (BST) From: Doug Rabson To: "Ptacek, Chris" Cc: freebsd-stable@freebsd.org Subject: Re: gdb cores (3.2-RELEASE) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 26 May 1999, Ptacek, Chris wrote: > I seem to be having a problem with gdb. I recently installed > 3.2-RELEASE a few days ago and so far it seems to be > doing alright, however one of my programs cored and when > I went to examine the core with gdb, gdb cored: This patch might fix it: Index: solib.c =================================================================== RCS file: /home/ncvs/src/contrib/gdb/gdb/solib.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- solib.c 1999/05/02 11:23:28 1.5 +++ solib.c 1999/05/22 08:25:02 1.6 @@ -1151,7 +1151,7 @@ SVR4, it has no name. For others (Solaris 2.3 for example), it does have a name, so we can no longer use a missing name to decide when to ignore it. */ - if (!IGNORE_FIRST_LINK_MAP_ENTRY (new -> lm)) + if (new && !IGNORE_FIRST_LINK_MAP_ENTRY (new -> lm)) { int errcode; char *buffer; -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message