Stepping into glibc
Kip Warner
kip@thevertigo.com
Wed Jan 14 22:23:00 GMT 2015
Hey list,
I'm trying to debug some code with Nemiver (a Gtk+ frontend for GDB).
When I try to step into glibc functions, it complains about not being
able to find its source. e.g.
Cannot find file '/build/buildd/glibc-2.19/posix/getopt1.c'.
I have installed libc6-dbg and glibc-source packages (using Ubuntu
14.10).
Is there something I need to add to my ~/.gdbinit, such as a directory
/ set solib-absolute-prefix / set sysroot or what have you?
I could always download the source of my distro's version of glibc into
the above location, but I'm sure there is a more elegant way of
handling this.
Respectfully,
--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/gdb/attachments/20150114/ce3df479/attachment.sig>
More information about the Gdb
mailing list