summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
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();
}