Deleted Added
sdiff udiff text old ( 5569:baeee670d4ce ) new ( 6227:a17798f2a52c )
full compact
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 static const int user = 1;
95 static const int console = 2;
96 static const int unknown = 3;
97
98#if TRACING_ON
99 private:
100 void dump();
101
102 public:
103 void dprintf() { if (DTRACE(Stack)) dump(); }
104#else

--- 21 unchanged lines hidden ---