3 This file is part of libmspcore
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
7 #ifndef MSP_DEBUG_BACKTRACE_H_
8 #define MSP_DEBUG_BACKTRACE_H_
26 //StackFrame(void *a, const std::string &s): address(a), symbol(s) { }
28 typedef std::list<StackFrame> FrameSeq;
30 const FrameSeq &get_frames() const { return frames; }
32 static Backtrace create();
37 std::ostream &operator<<(std::ostream &, const Backtrace &);
38 std::ostream &operator<<(std::ostream &, const Backtrace::StackFrame &);