Hi,

I've just found this email thread in a mailing list:

http://sourceware.org/ml/gdb/2007-01/msg00029.html
http://sourceware.org/ml/gdb/2007-01/msg00058.html

Basically, the slow stepping into C++ is worked around via setting
LD_BIND_NOW=1 in the environment.  Or you can install libc6-dbg and
then I think you have to set LD_LIBRARY_PATH=/usr/lib/debug or
whatever.

This is a debian-specific problem because Debian strips the ld.so, at
least I think thats the root of the problem.  Plus of course GDB isn't
handling the situation correctly.

I've been fighting these problems for ages, the slowness would often
cause gdb to pause for minutes at a time.  I can't even ctrl-c or
ctrl-z gdb, i have to kill it from another terminal.

I'm pretty angry that this problem has been known about for a long
time, and a solution has been known since at least Jan 07 (Daniel
Jacobowitz replied to the mailing list email) but I haven't been able
to find any mention of this problem, or its solution, in either the
bugs DB here, or in the man page.

It would've saved me a *lot* of pain and frustration if you had put a
big fat note in the gdb man page.  Or in
/usr/share/doc/gdb/Readme.Debian.

I hope you take steps to ensure other frustrated debian GDB users know
about this workaround.    I'm not sure if the 'unstable' version has
been fixed, but since testing hasn't got any notes I assume 'stable'
is still a lame duck.

thanks
Frustrated and Angry Paul


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to