summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/remote_gdb.cc2
-rw-r--r--src/base/remote_gdb.hh2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc
index 98e943084..af6857a36 100644
--- a/src/base/remote_gdb.cc
+++ b/src/base/remote_gdb.cc
@@ -254,7 +254,7 @@ BaseRemoteGDB::Event::process(int revent)
BaseRemoteGDB::BaseRemoteGDB(System *_system, ThreadContext *c, size_t cacheSize)
: event(NULL), listener(NULL), number(-1), fd(-1),
active(false), attached(false),
- system(_system), pmem(_system->physmem), context(c),
+ system(_system), context(c),
gdbregs(cacheSize)
{
memset(gdbregs.regs, 0, gdbregs.bytes());
diff --git a/src/base/remote_gdb.hh b/src/base/remote_gdb.hh
index 15a725438..babf61049 100644
--- a/src/base/remote_gdb.hh
+++ b/src/base/remote_gdb.hh
@@ -42,7 +42,6 @@
class System;
class ThreadContext;
-class PhysicalMemory;
class GDBListener;
@@ -131,7 +130,6 @@ class BaseRemoteGDB
bool attached;
System *system;
- PhysicalMemory *pmem;
ThreadContext *context;
protected: