summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-10-09 19:22:37 -0700
committerGabe Black <gabeblack@google.com>2019-10-25 22:42:31 +0000
commit6f42417144fe1a2e3ca37a3b419a57fc825030e2 (patch)
treea857312aba66445734db17ad91bdba047d1d1ab9 /src/base
parentb6d822c5c04a0ea441c66fcf0a736c81f07d17b9 (diff)
downloadgem5-6f42417144fe1a2e3ca37a3b419a57fc825030e2.tar.xz
sim: Make the System object a PCEventScope.
This abstracts away the raw PCEventQueue managed by the System. Change-Id: I04d773e6be90a891884a76841f15c3eecd5796ed Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22101 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/base')
-rw-r--r--src/base/remote_gdb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc
index d0ccde566..3dde235f0 100644
--- a/src/base/remote_gdb.cc
+++ b/src/base/remote_gdb.cc
@@ -717,7 +717,7 @@ BaseRemoteGDB::insertHardBreak(Addr addr, size_t len)
HardBreakpoint *&bkpt = hardBreakMap[addr];
if (bkpt == 0)
- bkpt = new HardBreakpoint(this, &sys->pcEventQueue, addr);
+ bkpt = new HardBreakpoint(this, sys, addr);
bkpt->refcount++;
}