Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Inspecting environment variables from a core  dump?
@ 2011-04-20  9:37 Ludovic Brenta
  2011-04-20  9:56 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Brenta @ 2011-04-20  9:37 UTC (permalink / raw)
  To: gdb


Hello,

After searching the GDB documentation, mailing list and bug database I
have not found an answer to my question, so as a last resort I post it
here.

Does a core dump contain the environment of the program that dumped core?
If so, how can I inspect the environment variables?  "show environment"
shows the environment that GDB is running in, not the environment of the
debuggee.

(context: I am analyzing a core dump that was produced on another machine
and I supect the bug was caused by a bad environment variable).

Thanks for any help.

-- 
Ludovic Brenta.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-08  8:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20  9:37 Inspecting environment variables from a core dump? Ludovic Brenta
2011-04-20  9:56 ` Andreas Schwab
2011-04-20 12:28   ` Ludovic Brenta
2011-05-08  8:05     ` Paul Pluzhnikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox