This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Source search path
- From: Russell Shaw <rjshaw at iprimus dot com dot au>
- To: gdb at sources dot redhat dot com
- Date: Fri, 05 Sep 2003 15:15:53 +1000
- Subject: Source search path
Hi,
I have a dozen directories containing source files
and load them thru an environment variable when starting
gdb:
gdb -d $cpath myapp
(myapp uses shared libraries)
Is there a default environment variable for gdb to load
the source path instead of needing the -d option? Does
gdb have a .gdbrc file? (couldn't find anything in the
manual)