This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]