Deleted Added
sdiff udiff text old ( 5567:8fc3b004b0df ) new ( 5568:d14250d688d2 )
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;

--- 47 unchanged lines hidden (view full) ---

56
57 Addr task(Addr ksp) const;
58 int pid(Addr ksp) const;
59 std::string name(Addr ksp) const;
60 };
61
62 class StackTrace
63 {
64 protected:
65 typedef AlphaISA::MachInst MachInst;
66 private:
67 ThreadContext *tc;
68 std::vector<Addr> stack;
69
70 private:
71 bool isEntry(Addr addr);
72 bool decodePrologue(Addr sp, Addr callpc, Addr func, int &size, Addr &ra);
73 bool decodeSave(MachInst inst, int &reg, int &disp);

--- 52 unchanged lines hidden ---