From owner-freebsd-hackers Fri May 21 12:48:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 2011D159C8 for ; Fri, 21 May 1999 12:47:39 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id WAA86097; Fri, 21 May 1999 22:46:10 +0300 (EEST) (envelope-from ru) Date: Fri, 21 May 1999 22:46:09 +0300 From: Ruslan Ermilov To: Doug Rabson Cc: hackers@freebsd.org Subject: Re: [SOS] gdb is broken!!! Message-ID: <19990521224609.A82720@relay.ucb.crimea.ua> Mail-Followup-To: Doug Rabson , hackers@freebsd.org References: <19990521212910.A66610@relay.ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Doug Rabson on Fri, May 21, 1999 at 08:15:34PM +0100 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Fixed, thanks! Script started on Fri May 21 22:43:54 1999 relay# pwd /usr/obj/usr/src/gnu/usr.bin/binutils/gdb relay# ./gdb /bin/cat ./cat.core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `cat'. Program terminated with signal 3, Quit. #0 0x8048b82 in ?? () (gdb) quit relay# exit Script done on Fri May 21 22:44:05 1999 3.2-ERRATA candidate? On Fri, May 21, 1999 at 08:15:34PM +0100, Doug Rabson wrote: > 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 > > -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message