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; --- 77 unchanged lines hidden (view full) --- 86 } 87 88 bool valid() const { return tc != NULL; } 89 bool trace(ThreadContext *tc, StaticInstPtr inst); 90 91 public: 92 const std::vector<Addr> &getstack() const { return stack; } 93 |
94 enum { 95 user = 1, 96 console = 2, 97 unknown = 3 98 }; |
99 100#if TRACING_ON 101 private: 102 void dump(); 103 104 public: 105 void dprintf() { if (DTRACE(Stack)) dump(); } 106#else --- 21 unchanged lines hidden --- |