Source search path

Russell Shaw rjshaw@iprimus.com.au
Fri Sep 5 05:18:00 GMT 2003


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)



More information about the Gdb mailing list