This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
how to pass environment variables to inferior when debugging with gdbserver
- From: "Amker.Cheng" <amker dot cheng at gmail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 4 Sep 2009 15:34:48 +0800
- Subject: how to pass environment variables to inferior when debugging with gdbserver
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.