gdb and variables
Filed in: debugging Add comments
I am having difficulty getting gdb to work with any sort of variable.
I want to be able to do things like:
(inside gdb)However, there seems to be no way to do this. I might have to build a temporary gdb file on-the-fly, with commands in it with hard-coded paths built from envrionment variables etc. Yuck!cd $dir
dir $dir