Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 1999 23:36:36 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        "Ptacek, Chris" <Ptacek@pwrh.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: gdb cores (3.2-RELEASE)
Message-ID:  <Pine.BSF.4.05.9905262335570.518-100000@herring.nlsystems.com>
In-Reply-To: <A48DBC4E0A0CD311BE0E0060B06A21BA311F41@bozeman.pwrh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905262335570.518-100000>