stacktrace.hh (3570:aacc19068f25) | stacktrace.hh (5567:8fc3b004b0df) |
---|---|
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; --- 48 unchanged lines hidden (view full) --- 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: | 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; --- 48 unchanged lines hidden (view full) --- 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 TheISA::MachInst MachInst; | 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 ®, int &disp); --- 52 unchanged lines hidden --- | 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 ®, int &disp); --- 52 unchanged lines hidden --- |