Re: reference environment variables from gdb scripts
On Thu, 23 Aug 2007 23:19:44 +0200, rockwellkc wrote:
>
> Is there a way to reference an environment variable from a gdbscript?
Unaware.
> I'm hoping a gdb script command to load different script files based on the
> current environment variable.
Set bash function and use the --command parameter?
> source $HOME/gdb.scripts
$HOME -> ~
and it should work.
Regards,
Jan