diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-06-26 17:49:49 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-06-26 17:49:49 -0400 |
commit | b1cfe01b5730af7d9f215466ebe108fc96dc0a27 (patch) | |
tree | d4015fd4bcf79959d6657be8512ba0e88ed4217b /src/sim | |
parent | d80acd37bdbadb95f7f116e130f98c528ba93abe (diff) | |
download | gem5-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')
-rw-r--r-- | src/sim/debug.cc | 4 | ||||
-rw-r--r-- | src/sim/sim_object.cc | 1 | ||||
-rw-r--r-- | src/sim/stat_control.cc | 3 | ||||
-rw-r--r-- | src/sim/system.cc | 1 |
4 files changed, 3 insertions, 6 deletions
diff --git a/src/sim/debug.cc b/src/sim/debug.cc index b82219f7d..be9566836 100644 --- a/src/sim/debug.cc +++ b/src/sim/debug.cc @@ -127,12 +127,12 @@ DebugContext::checkParams() // handy function to schedule DebugBreakEvent on main event queue // (callable from debugger) // -extern "C" void sched_break_cycle(Tick when) +void sched_break_cycle(Tick when) { new DebugBreakEvent(&mainEventQueue, when); } -extern "C" void eventq_dump() +void eventq_dump() { mainEventQueue.dump(); } diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc index 97e6de439..a35c7a88d 100644 --- a/src/sim/sim_object.cc +++ b/src/sim/sim_object.cc @@ -236,7 +236,6 @@ SimObject::debugObjectBreak(const string &objs) } } -extern "C" void debugObjectBreak(const char *objs) { 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(); } diff --git a/src/sim/system.cc b/src/sim/system.cc index 91bba85fe..89e7b8542 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -243,7 +243,6 @@ System::printSystems() } } -extern "C" void printSystems() { |