Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 09:28:20 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Kevin Day <toasty@home.dragondata.com>
Cc:        bugs@freebsd.org
Subject:   Re: GDB in 3.2 slightly broken?
Message-ID:  <Pine.BSF.4.05.9906230927030.80685-100000@herring.nlsystems.com>
In-Reply-To: <199906222205.RAA14572@home.dragondata.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jun 1999, Kevin Day wrote:

> 
> 
> Anyone have any idea why this happens to me:

There is a problem with corefiles in 3.2-RELEASE. Try this patch and see
if it fixes your problem:

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-bugs" 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.9906230927030.80685-100000>