This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]