summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-15 10:44:15 -0700
committerNathan Binkert <nate@binkert.org>2011-04-15 10:44:15 -0700
commitf946d7bcdb4d0b4327857d319dd4ecdd1c320d62 (patch)
treeac1507e1c495e3a86ea43ea1249121ab1e591715 /src/dev
parentbbb1392c088f8c41e7e438380f5b5358c41c178a (diff)
downloadgem5-f946d7bcdb4d0b4327857d319dd4ecdd1c320d62.tar.xz
debug: create a Debug namespace
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/ns_gige.cc8
-rw-r--r--src/dev/sinic.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/dev/ns_gige.cc b/src/dev/ns_gige.cc
index 794fd5355..f1b95e113 100644
--- a/src/dev/ns_gige.cc
+++ b/src/dev/ns_gige.cc
@@ -937,7 +937,7 @@ NSGigE::cpuIntrPost(Tick when)
intrTick = when;
if (intrTick < curTick()) {
- debug_break();
+ Debug::breakpoint();
intrTick = curTick();
}
@@ -1705,7 +1705,7 @@ NSGigE::txKick()
udp->sum(cksum(udp));
txUdpChecksums++;
} else {
- debug_break();
+ Debug::breakpoint();
warn_once("UDPPKT set, but not UDP!\n");
}
} else if (extsts & EXTSTS_TCPPKT) {
@@ -1715,7 +1715,7 @@ NSGigE::txKick()
tcp->sum(cksum(tcp));
txTcpChecksums++;
} else {
- debug_break();
+ Debug::breakpoint();
warn_once("TCPPKT set, but not UDP!\n");
}
}
@@ -1725,7 +1725,7 @@ NSGigE::txKick()
ip->sum(cksum(ip));
txIpChecksums++;
} else {
- debug_break();
+ Debug::breakpoint();
warn_once("IPPKT set, but not UDP!\n");
}
}
diff --git a/src/dev/sinic.cc b/src/dev/sinic.cc
index 98a2426f5..9141b629c 100644
--- a/src/dev/sinic.cc
+++ b/src/dev/sinic.cc
@@ -687,7 +687,7 @@ Base::cpuIntrPost(Tick when)
intrTick = when;
if (intrTick < curTick()) {
- debug_break();
+ Debug::breakpoint();
intrTick = curTick();
}