Deleted Added
sdiff udiff text old ( 8852:c744483edfcf ) new ( 9069:873634453ae0 )
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;

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

69 if (!tc->getSystemPtr()->kernelSymtab->findAddress("task_struct_comm", addr))
70 panic("thread info not compiled into kernel\n");
71 name_off = vp.readGtoH<int32_t>(addr);
72 }
73
74 Addr
75 ProcessInfo::task(Addr ksp) const
76 {
77 return 0;
78 }
79
80 int
81 ProcessInfo::pid(Addr ksp) const
82 {
83 return -1;
84 }
85
86 string
87 ProcessInfo::name(Addr ksp) const
88 {
89 return "Implement me";
90 }
91
92 StackTrace::StackTrace()
93 : tc(0), stack(64)
94 {
95 }
96
97 StackTrace::StackTrace(ThreadContext *_tc, StaticInstPtr inst)

--- 53 unchanged lines hidden ---