1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 25 unchanged lines hidden (view full) --- 34#include <vector> 35 36#include "base/types.hh" 37#include "cpu/static_inst.hh" 38 39class ThreadContext; 40namespace SparcISA 41{ |
42 43class StackTrace 44{ 45 private: 46 std::vector<Addr> stack; 47 48 public: 49 bool 50 trace(ThreadContext *tc, StaticInstPtr inst) |
51 { |
52 panic("StackTrace::trace not implemented for SPARC.\n"); 53 return false; 54 } |
55 |
56 const std::vector<Addr> &getstack() const { return stack; } |
57 |
58 public: 59 void dprintf() {} 60}; |
61 |
62} 63 64#endif // __ARCH_SPARC_STACKTRACE_HH__ |