Jump to content

core files


Recommended Posts

i know there's a way to use core files to trace the root of a problem, i used to do it when programming C++ in an AIX environment, but I can't remember what program you use to get the information out of them!

 

anyone remember?

 

specifically, what program caused it to be created (i'm finding core files in my home directory, and need to trace the root of the problem).

Link to comment
Share on other sites

d'oh! sorry, while you answer my question it wasn't what i was looking for! i didn't clarify :)

 

i'm getting core files on my mandrake 10.0 OE system, in my home dir, for no apparent reason (i've not had any programs crash lately - that i know of). so, i need to do this on a linux system, and i'm also unaware of what program is crashing and creating the core files.

Link to comment
Share on other sites

Sorry, I can remember that with gdb you can give a "backtrace" command, which will show anything recent, otherwise,

 

try gdb --core=COREFILE

 

Thats the best I can remember I'm afraid - I've moved on these days to using eclipse, and it kinda "does it for me.."

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...