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_
25 StackFrame(void *a, const std::string &s): address(a), symbol(s) { }
27 typedef std::list<StackFrame> FrameSeq;
29 const FrameSeq &get_frames() const { return frames; }
31 static Backtrace create();
36 std::ostream &operator<<(std::ostream &, const Backtrace &);