Please check out Northern Vampire Mysteries !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Write core without crashing? Sun Dec 26, 2004 [4:54 PM]
Drey
Email not supplied
member since: Mar 19, 2000
Reply
Anyone know of a way to get a process on Linux to write a core dump without crashing it? It's not always convenient to connect gdb to the process but it would be nice to get a snapshot of it to load up and examine.


2. RE: Write core without crashing? Sun Dec 26, 2004 [6:31 PM]
unifex
unifex@nospam_codealchemy.org
member since: Dec 12, 2000
In Reply To
Reply
Sure. Just fork() and abort() the forked process.
Yui Unifex


3. RE: Write core without crashing? Sun Dec 26, 2004 [7:58 PM]
Drey
Email not supplied
member since: Mar 19, 2000
In Reply To
Reply
OK, sounds reasonable. That's the easiest way, the best way, or both?




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]