Use gdb's variable instead of stack memory