diff options
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/remote_gdb.cc | 2 | ||||
-rw-r--r-- | src/arch/alpha/remote_gdb.hh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/alpha/remote_gdb.cc b/src/arch/alpha/remote_gdb.cc index aa120686c..8e742c38b 100644 --- a/src/arch/alpha/remote_gdb.cc +++ b/src/arch/alpha/remote_gdb.cc @@ -166,7 +166,7 @@ RemoteGDB::acc(Addr va, size_t len) do { if (IsK0Seg(va)) { - if (va < (K0SegBase + pmem->size())) { + if (va < (K0SegBase + system->memSize())) { DPRINTF(GDBAcc, "acc: Mapping is valid K0SEG <= " "%#x < K0SEG + size\n", va); return true; diff --git a/src/arch/alpha/remote_gdb.hh b/src/arch/alpha/remote_gdb.hh index 7223fea55..d9c124c72 100644 --- a/src/arch/alpha/remote_gdb.hh +++ b/src/arch/alpha/remote_gdb.hh @@ -42,7 +42,6 @@ class System; class ThreadContext; -class PhysicalMemory; namespace AlphaISA { |