New GDB 4.17 snapshot is available
H.J. Lu
hjl@lucon.org
Tue Mar 17 20:13:00 GMT 1998
>
> > Then make the binary, libraries and dynamic linker available.
> >
> > Ie, give me enough pieces that I can actually look at the problem
> > under the debugger than than trying to guess what might be going
> > wrong.
> >
>
> ftp://ftp.yggdrasil.com/private/hjl/gdb-test.tar.bz2
>
> You need a linux x86 machine running libc 5, not glibc 2. Unpack
> it under / as root. Then do
>
gdb 4.16.86 chokes on
.stabs "lose:f(0,19),lose,_dl_map_object_from_fd",36,0,479,lose.117
This patch seems to work. I have no idea why it was written that way.
It is bogus to me.
--
H.J. Lu (hjl@gnu.org)
---
--- gdb/stabsread.c.orig Tue Mar 17 20:05:14 1998
+++ gdb/stabsread.c Tue Mar 17 20:06:39 1998
@@ -2122,7 +2122,7 @@ define_symbol (valu, string, desc, type,
while (*p && (*p == ';' || *p == ','))
{
p++;
- if (*p && *p == 'l')
+ if (*p && *p == 'l' && p[1] == '(')
{
/* GNU extensions for live range splitting may be appended to
the end of the stab string. eg. "l(#1,#2);l(#3,#5)" */
More information about the Gdb-testers
mailing list