This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Small backtrace tool?
- From: Ronny L Nilsson <rln-gdb at arbetsmyra dot dyndns dot org>
- To: gdb at sources dot redhat dot com
- Date: Sat, 12 Jun 2004 03:04:57 +0200
- Subject: Small backtrace tool?
Hi
I'm wondering if anyone can tip me with how/where to get a
minimalistic, stript gdb for doing embedded backtraces? For an embedded
project of mine I would like to insert the backtrace feature into the
system. This way it can do "self" diagnostics of app-crashes. (Only
text based logfiles are availible as feedback, can't get the binary
corefiles. Hence the analyze must be made onboard.)
Since GDB is quite big on disk and ain't suited for non-interactive
small-sized embedding I've created a backtracetool of my own. Sized to
about 12 kb it sure ain't full of features but can parse a Linux i386
corefile and show a simplified backtrace. My question is, are there any
tools available doing this already (besides gdb), or is it worth the
effort continue my work?
Best regards
/Ronny Nilsson