diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-11-11 02:03:58 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-11-11 02:03:58 -0800 |
commit | cdc585e0e8ceb305de83053c488ba041367b7cd6 (patch) | |
tree | ea3342231f3fdcbe52e3603294bfc46f072aaef7 /src/arch/sparc/stacktrace.hh | |
parent | 0b7967d606cdda184df8df1446852e4aac93331d (diff) | |
download | gem5-cdc585e0e8ceb305de83053c488ba041367b7cd6.tar.xz |
SPARC: Clean up some historical style issues.
Diffstat (limited to 'src/arch/sparc/stacktrace.hh')
-rw-r--r-- | src/arch/sparc/stacktrace.hh | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/arch/sparc/stacktrace.hh b/src/arch/sparc/stacktrace.hh index 24a70ed60..0b7d0b0c1 100644 --- a/src/arch/sparc/stacktrace.hh +++ b/src/arch/sparc/stacktrace.hh @@ -39,23 +39,26 @@ class ThreadContext; namespace SparcISA { - class StackTrace + +class StackTrace +{ + private: + std::vector<Addr> stack; + + public: + bool + trace(ThreadContext *tc, StaticInstPtr inst) { - private: - std::vector<Addr> stack; + panic("StackTrace::trace not implemented for SPARC.\n"); + return false; + } - public: - bool trace(ThreadContext *tc, StaticInstPtr inst) - { - panic("StackTrace::trace not implemented for SPARC.\n"); - return false; - } + const std::vector<Addr> &getstack() const { return stack; } - const std::vector<Addr> &getstack() const { return stack; } + public: + void dprintf() {} +}; - public: - void dprintf() {} - }; } #endif // __ARCH_SPARC_STACKTRACE_HH__ |