summaryrefslogtreecommitdiff
path: root/src/base/trace.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/base/trace.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/base/trace.cc')
-rw-r--r--src/base/trace.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/base/trace.cc b/src/base/trace.cc
index 50426b992..9fa615f4d 100644
--- a/src/base/trace.cc
+++ b/src/base/trace.cc
@@ -247,7 +247,6 @@ DebugOut()
//
// Dump trace buffer to specified file (cout if NULL)
//
-extern "C"
void
dumpTrace(const char *filename)
{
@@ -269,7 +268,6 @@ dumpTrace(const char *filename)
// same facility as the "trace to file" feature, and will print error
// messages rather than clobbering an existing ostream pointer.
//
-extern "C"
void
echoTrace(bool on)
{
@@ -289,7 +287,6 @@ echoTrace(bool on)
}
}
-extern "C"
void
printTraceFlags()
{
@@ -338,14 +335,12 @@ tweakTraceFlag(const char *string, bool value)
cprintf("could not find flag %s\n", string);
}
-extern "C"
void
setTraceFlag(const char *string)
{
tweakTraceFlag(string, true);
}
-extern "C"
void
clearTraceFlag(const char *string)
{