This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Q]: Obtaining Stack Trace


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]