This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to use exported shell varible in gdb
- From: robert song <robertsong dot japan at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 27 May 2010 22:05:48 +0900
- Subject: How to use exported shell varible in gdb
Hi, everyone.
I exported one variable in $HOME/.bashrc.
export mygit="$HOME/git"
But I can't use in gdb.
(gdb) cd $mygit
$mygit: No such file or directory.
Is it possible to use it in gdb ?
Best Regards,
robert