This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
[Q]: Obtaining Stack Trace
- To: gdb at sourceware dot cygnus dot com
- Subject: [Q]: Obtaining Stack Trace
- From: Olaf Bachmann <obachman at mathematik dot uni-kl dot de>
- Date: Fri, 12 Nov 1999 20:52:44 +0100 (MET)
Hi,
I'm writing a new memory management system for our Computer Algebra
system Singular (written in C). For a special debug mode, I'd like to
associate (and store) with each allocated address enough (stack)
information, so that, on a later request, I basically get what the gdb
command 'backtrace' had printed at the time the allocation request was
made.
Could you please give me some hints on how I could reuse some of gdb's
code and technologie so that I can accomplish this?
Thanks,
Olaf
____________________________________________________________________________
Olaf Bachmann | Phone: + 49-631/205 2738 (work)
Centre for Computer Algebra| + 49-6306/7396 (home)
Fachbereich Mathematik | Email: obachman@mathematik.uni-kl.de
Universitaet Kaiserslautern| URL: http://www.mathematik.uni-kl.de/~obachman