Reputation: 117
Looking at /proc/pid/environ for both gdbserver and the debugged process I see that not all variables are passed to the debugged process. Some are missing. Is this a bug? Or normal?
The debugged process has not yet jumped to main; gdbserver is waiting for gdb but already created the process. So it is not my code that removes variables (I am not doing this anyway).
Upvotes: 0
Views: 91