Deleted Added
sdiff udiff text old ( 7706:a7cb52c76262 ) new ( 7741:340b6f01d69b )
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;

--- 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 class StackTrace
43 {
44 private:
45 std::vector<Addr> stack;
46
47 public:
48 bool trace(ThreadContext *tc, StaticInstPtr inst)
49 {
50 panic("StackTrace::trace not implemented for SPARC.\n");
51 return false;
52 }
53
54 const std::vector<Addr> &getstack() const { return stack; }
55
56 public:
57 void dprintf() {}
58 };
59}
60
61#endif // __ARCH_SPARC_STACKTRACE_HH__