diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:15 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:15 -0700 |
commit | f946d7bcdb4d0b4327857d319dd4ecdd1c320d62 (patch) | |
tree | ac1507e1c495e3a86ea43ea1249121ab1e591715 /src/dev | |
parent | bbb1392c088f8c41e7e438380f5b5358c41c178a (diff) | |
download | gem5-f946d7bcdb4d0b4327857d319dd4ecdd1c320d62.tar.xz |
debug: create a Debug namespace
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/ns_gige.cc | 8 | ||||
-rw-r--r-- | src/dev/sinic.cc | 2 |
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(); } |