summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-07-14 12:22:04 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2007-07-14 12:22:04 -0700
commite5ecfa27455a8be97429e9f88e8e6582b9819c6f (patch)
tree1b204c4a84f5ada7e36e608c38f103e7a49cf35a /src
parentc2ee69d68750b51cd515d6eeedc5d45cd68baf12 (diff)
downloadgem5-e5ecfa27455a8be97429e9f88e8e6582b9819c6f.tar.xz
Disable PrintThreadInfo since it causes a panic when using VPtr.
See Flyspray #281. --HG-- extra : convert_revision : 199ef802bcabed09f6ea6922c3a3954fea161190
Diffstat (limited to 'src')
-rw-r--r--src/arch/alpha/linux/system.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/alpha/linux/system.cc b/src/arch/alpha/linux/system.cc
index 9a452e10f..e8bdc1d66 100644
--- a/src/arch/alpha/linux/system.cc
+++ b/src/arch/alpha/linux/system.cc
@@ -132,7 +132,12 @@ LinuxAlphaSystem::LinuxAlphaSystem(Params *p)
debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk");
idleStartEvent = addKernelFuncEvent<IdleStartEvent>("cpu_idle");
- if (kernelSymtab->findAddress("alpha_switch_to", addr) && DTRACE(Thread)) {
+ // Disable for now as it runs into panic() calls in VPTr methods
+ // (see sim/vptr.hh). Once those bugs are fixed, we can
+ // re-enable, but we should find a better way to turn it on than
+ // using DTRACE(Thread), since looking at a trace flag at tick 0
+ // leads to non-intuitive behavior with --trace-start.
+ if (false && kernelSymtab->findAddress("alpha_switch_to", addr)) {
printThreadEvent = new PrintThreadInfo(&pcEventQueue, "threadinfo",
addr + sizeof(MachInst) * 6);
} else {