how to pass environment variables to inferior when debugging with gdbserver

Amker.Cheng amker.cheng@gmail.com
Wed Sep 16 00:42:00 GMT 2009


On Wed, Sep 16, 2009 at 3:29 AM, Doug Evans <dje@google.com> wrote:
> On Fri, Sep 4, 2009 at 12:34 AM, Amker.Cheng <amker.cheng@gmail.com> wrote:
>
> With cvs head gdb (and in 7.0 when it is released) there is a new
> --wrapper argument to gdbserver.
>
> E.g.
>
> $ gdbserver --wrapper env LD_AUDIT=mumble -- :2222 ./testprog
>
Thanks for help, I will try it out.


-- 
Best Regards.



More information about the Gdb mailing list