summaryrefslogtreecommitdiff
path: root/src/base/remote_gdb.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/remote_gdb.hh')
-rw-r--r--src/base/remote_gdb.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/remote_gdb.hh b/src/base/remote_gdb.hh
index 4a1754afd..9a3201c95 100644
--- a/src/base/remote_gdb.hh
+++ b/src/base/remote_gdb.hh
@@ -145,6 +145,7 @@ class BaseRemoteGDB
uint64_t * regs;
size_t size;
+ size_t bytes() { return size * sizeof(uint64_t); }
};
GdbRegCache gdbregs;