summaryrefslogtreecommitdiff
path: root/base/remote_gdb.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/remote_gdb.hh')
-rw-r--r--base/remote_gdb.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/remote_gdb.hh b/base/remote_gdb.hh
index d8e09909a..62fd52856 100644
--- a/base/remote_gdb.hh
+++ b/base/remote_gdb.hh
@@ -90,6 +90,8 @@ class RemoteGDB
RemoteGDB(System *system, ExecContext *context);
~RemoteGDB();
+ void replaceExecContext(ExecContext *xc) { context = xc; }
+
void attach(int fd);
void detach();
bool isattached();