I noticed that there are a couple of gdb specific environment variables introduced into the stack during debugging. Is there any way I could unset those environment variables alone?
I noticed that there are a couple of gdb specific environment variables introduced into
Share
You must be using some kind of IDE, or a wrapper script, that does this. GDB itself doesn’t modify environment, unless you ask it to with e.g.
set envcommand.