Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 1999 20:15:34 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        hackers@freebsd.org
Subject:   Re: [SOS] gdb is broken!!!
Message-ID:  <Pine.BSF.4.05.9905212015210.509-100000@herring.nlsystems.com>
In-Reply-To: <19990521212910.A66610@relay.ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 May 1999, Ruslan Ermilov wrote:

> # uname -v
> FreeBSD 3.2-STABLE #0: Sun May 16 23:51:55 EEST 1999     root@relay.ucb.crimea.ua:/usr/src/sys/compile/CHYRO 
> 
> How to repeat:

Can you try this fix:

Index: solib.c
===================================================================
RCS file: /home/ncvs/src/contrib/gdb/gdb/solib.c,v
retrieving revision 1.5
diff -u -r1.5 solib.c
--- solib.c	1999/05/02 11:23:28	1.5
+++ solib.c	1999/05/17 09:26:14
@@ -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-hackers" 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.9905212015210.509-100000>