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]

environment variables in CLI


Hi,

I'm trying to figure out how to set the LD_LIBRARY_PATH in GDB once I
start it up. The command 'set environment 
LD_LIBRARY_PATH=/home/foo/lib' works. However, I want to do something
like 'set environment LD_LIBRARY_PATH=$SOME_PATH/lib:$LD_LIBRARY_PATH'.
Is this possible from the CLI?

Actually, I couldn't figure out how to tell GDB where to look for shared
objects, that's why I ended up using the LD_LIBRARY_PATH.

Thanks,
Bob Rossi


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