MacsBug emulation in gdb gdb, Xcode and Chandler - a story

gdb and variables

I am having difficulty getting gdb to work with any sort of variable. I want to be able to do things like:
(inside gdb)
cd $dir
dir $dir
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!

Leave a Reply