From owner-freebsd-hackers Fri May 21 12:17:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 68AEB14F5F for ; Fri, 21 May 1999 12:17:19 -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 UAA77627; Fri, 21 May 1999 20:15:34 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Fri, 21 May 1999 20:15:34 +0100 (BST) From: Doug Rabson To: Ruslan Ermilov Cc: hackers@freebsd.org Subject: Re: [SOS] gdb is broken!!! In-Reply-To: <19990521212910.A66610@relay.ucb.crimea.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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