Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 1999 22:46:09 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        hackers@freebsd.org
Subject:   Re: [SOS] gdb is broken!!!
Message-ID:  <19990521224609.A82720@relay.ucb.crimea.ua>
In-Reply-To: <Pine.BSF.4.05.9905212015210.509-100000@herring.nlsystems.com>; from Doug Rabson on Fri, May 21, 1999 at 08:15:34PM %2B0100
References:  <19990521212910.A66610@relay.ucb.crimea.ua> <Pine.BSF.4.05.9905212015210.509-100000@herring.nlsystems.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990521224609.A82720>