public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Stepping into glibc
@ 2015-01-14 22:23 Kip Warner
  2015-01-14 23:00 ` Simon Marchi
  2015-01-15 13:12 ` Jan Kratochvil
  0 siblings, 2 replies; 5+ messages in thread
From: Kip Warner @ 2015-01-14 22:23 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-15 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 22:23 Stepping into glibc Kip Warner
2015-01-14 23:00 ` Simon Marchi
2015-01-14 23:12   ` Kip Warner
2015-01-15 13:12 ` Jan Kratochvil
2015-01-15 17:53   ` Kip Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).