summaryrefslogtreecommitdiff
path: root/src/arch/alpha/stacktrace.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-07-01 10:25:07 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-07-01 10:25:07 -0400
commita4a7a09e9622d6ad1ca91a4df253b9768c73de90 (patch)
tree828d818d5420c123f005a3b4617abc1689628406 /src/arch/alpha/stacktrace.cc
parentc5fbbf376a6be4bb3ad7ddc64841450541c16db6 (diff)
downloadgem5-a4a7a09e9622d6ad1ca91a4df253b9768c73de90.tar.xz
Remove delVirtPort() and make getVirtPort() only return cached version.
Diffstat (limited to 'src/arch/alpha/stacktrace.cc')
-rw-r--r--src/arch/alpha/stacktrace.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/arch/alpha/stacktrace.cc b/src/arch/alpha/stacktrace.cc
index c16498e72..124949781 100644
--- a/src/arch/alpha/stacktrace.cc
+++ b/src/arch/alpha/stacktrace.cc
@@ -71,8 +71,6 @@ namespace AlphaISA
if (!tc->getSystemPtr()->kernelSymtab->findAddress("task_struct_comm", addr))
panic("thread info not compiled into kernel\n");
name_off = vp->readGtoH<int32_t>(addr);
-
- tc->delVirtPort(vp);
}
Addr
@@ -88,7 +86,6 @@ namespace AlphaISA
vp = tc->getVirtPort();
tsk = vp->readGtoH<Addr>(base + task_off);
- tc->delVirtPort(vp);
return tsk;
}
@@ -106,7 +103,6 @@ namespace AlphaISA
vp = tc->getVirtPort();
pd = vp->readGtoH<uint16_t>(task + pid_off);
- tc->delVirtPort(vp);
return pd;
}