summaryrefslogtreecommitdiff
path: root/src/sim/stat_control.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-06-26 17:49:49 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-06-26 17:49:49 -0400
commitb1cfe01b5730af7d9f215466ebe108fc96dc0a27 (patch)
treed4015fd4bcf79959d6657be8512ba0e88ed4217b /src/sim/stat_control.cc
parentd80acd37bdbadb95f7f116e130f98c528ba93abe (diff)
downloadgem5-b1cfe01b5730af7d9f215466ebe108fc96dc0a27.tar.xz
remove extern "C" from the functions we all from gdb. This isn't requried and trips up GDB sometimes when i thinks the extern
name should be mangled, but it isn't --HG-- extra : convert_revision : 62e2a1989e8fd3d73958d3a3e2d00e378488e642
Diffstat (limited to 'src/sim/stat_control.cc')
-rw-r--r--src/sim/stat_control.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc
index f7fc03d74..041830ab7 100644
--- a/src/sim/stat_control.cc
+++ b/src/sim/stat_control.cc
@@ -221,8 +221,7 @@ SetupEvent(int flags, Tick when, Tick repeat)
/* namespace Stats */ }
-extern "C" void
-debugDumpStats()
+void debugDumpStats()
{
Stats::DumpNow();
}