how to pass environment variables to inferior when debugging with gdbserver

Amker.Cheng amker.cheng@gmail.com
Fri Sep 4 07:35:00 GMT 2009


Hi All:
   I want to debug a problem with dynamic linker when setting LD_AUDIT
variable, apparently this can only be set to inferior,
or gdbserver itself would break.
The problem is how to pass this variables to inferior by gdbserver
command line? I searched the doc but
didn't found a solution. Maybe I've missed something important, please
help and correct me if I am wrong.
Thanks.
-- 
Best Regards.



More information about the Gdb mailing list