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]

Re: how to pass environment variables to inferior when debugging with gdbserver


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.


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