tyme Posted May 19, 2004 Report Share Posted May 19, 2004 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). Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted May 19, 2004 Report Share Posted May 19, 2004 dbx <program name> <core file> more info here Quote Link to comment Share on other sites More sharing options...
tyme Posted May 19, 2004 Author Report Share Posted May 19, 2004 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. Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted May 19, 2004 Report Share Posted May 19, 2004 Ah... that makes it more fun if you don't know the name of the program crashing.... hold on, I'll have to delve deep into my mind again! Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted May 19, 2004 Report Share Posted May 19, 2004 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.." Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.