Re: How useful can a 'coredump' be?
- From: Frank Kotler <fbkotler@xxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 08:58:06 GMT
Evenbit wrote:
On Mar 18, 8:27 am, Frank Kotler <fbkot...@xxxxxxxxxxx> wrote:
I looked at the Wikipedia article on core dumps, and found two links to
"Introductory Linux Debugging":
http://linuxfocus.berlios.de/English/July2004/article343.shtml
http://www.ffnn.nl/pages/articles/linux/gdb-gnu-debugger-intro.php
Either of 'em would have given me the clue... Core Dumps are ordinarily
*disabled* in Linux!!! No *wonder* I can't find 'em!
ulimit -c 1024
Ding! I'd have known that if I'd RTFM, I suppose...
Ah! So *that's* how DavidR (from the c.l.a.x thread) did it! I was
beginning to think that Red Hat was *special* or something. Thanks
for discovering the secret.
*Now* I've got a core dump of a file that doesn't consist mostly of
dynamic linking of a library routine to cause a core dump! I still
Yeah, that's one strike against 'google-coredumper' but it's stated
purpose is for monitoring running processes that you *don't* want to
stop... obtaining the dumps at the request of a 'signal' rather than
waiting for a segfault event.
haven't found out how to make it too useful, but if I start gdb with
"gdb make_segfault core", it tells me right off where the problem is.
Adding the "-g" switch to Nasm helps still more (you might try that in
your makefile.n). (if you've got the very latest "snapshot" you can try
"-F dwarf -g", too - yay, Chuck!)
Oh.. cool! Even more research and lab work! :)
http://reality.sgiweb.org/davea/dwarf.html
http://www.dwarfstd.org/
More good ones!
I'll look into this tonight...
It'll take me a bit longer than that, I fear...
Best,
Frank
.
- References:
- How useful can a 'coredump' be?
- From: Evenbit
- Re: How useful can a 'coredump' be?
- From: Frank Kotler
- Re: How useful can a 'coredump' be?
- From: Evenbit
- How useful can a 'coredump' be?
- Prev by Date: Re: How useful can a 'coredump' be?
- Next by Date: Re: Another problem
- Previous by thread: Re: How useful can a 'coredump' be?
- Next by thread: Re: How useful can a 'coredump' be?
- Index(es):
Relevant Pages
|
|