GDB question
Jerry Feldman
gaf at blu.org
Fri Jun 30 15:50:33 EDT 2006
I have a GDB init file with a number of dir statements. But, the target of
the dir statements different depending on what version I'm working on.
For example:
dir /home/gaf/Product/export/linux_ia64_icc_v1.02/include
Whjat I would like to do is use an environment variable.
dir /home/gaf/Product/export/$MY_VERSION/include
I would easily use sed and AWK to do a search and replace.
Note that the Inetl debugger does allow environment variables.
--
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
More information about the Discuss
mailing list