This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
how to determine location of source?
- From: Brendan Miller <catphive at catphive dot net>
- To: gdb at sourceware dot org
- Date: Mon, 2 Mar 2009 16:56:51 -0800
- Subject: how to determine location of source?
According to documentation I read, debug binaries have the location of
the source embedded in them. How do I extract this location from the
binary? Can GDB do this?
Also, is there an environment variable or config file that can control
the directories that source is looked for in?