This is the mail archive of the gdb-testers@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New GDB 4.17 snapshot is available


> 
> Hi HJ,
> 
> On Mon, Mar 16, 1998 at 11:51:29AM -0800, H.J. Lu wrote:
> 
> > None of my bugs I reported for gdb 4.16.85 are fixed in 4.16.86.
> > In another word, gdb 4.16.86 is next to useless under ELF with
> > shared library and dynamic linker.
> 
> 
> I'm going to apply Peter Schauer's hack to work around this problem
> for the 4.17 release.  I don't want to hold up the release for this
> any longer.
> 
> 
> By the way, would it be possible for you to send me the executable that
> was causing GDB to crap out with a message about an improperly formatted
> live range stab?  I haven't seen that here, and I want to get this nailed
> before we release a 4.17 to the world.
> 

You need glibc 2.1 on linu/x86 to see the bug. Here are the
outputs from gdb 970507 and 4.16.86. Ulrich, have you tried
gdb 4.16.86 on glibc 2.1?


# gcc -g foo.c
# a.out
Hello World
# ldd a.out
        libc.so.6 => /opt/glibc-2/lib/libc.so.6 (0x40016000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# gdb a.out
GNU gdb 970507
Copyright 1997 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 "i586-pc-linux"...
(gdb) b main
Breakpoint 1 at 0x804851f: file foo.c, line 5.
(gdb) r
Starting program: /tmp/a.out 
 
Breakpoint 1, main () at foo.c:5
5         printf ("Hello World\n");
(gdb) c
Continuing.
Hello World
 
Program exited normally.
(gdb)
# /usr/local/bin/gdb a.out
GNU gdb 4.16.86
Copyright 1997 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 "i686-pc-linux-gnulibc1"...
(gdb) r
Starting program: /tmp/a.out 
Internal error: live range string.
 
(gdb)
-- 
H.J. Lu (hjl@gnu.org)
----foo.c---
int

main ()
{
  printf ("Hello World\n");
  return 0;
}