diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-11-08 15:31:52 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-11-08 15:31:52 -0500 |
commit | 42c73c6a9215a46ec83e31e03aef9eddc281336f (patch) | |
tree | c3dbaa14406c7d16681bbf1838954436581b5d6c /src/base/remote_gdb.hh | |
parent | 63bbc8929d778c15f5c7479819226c19a42dc2b9 (diff) | |
download | gem5-42c73c6a9215a46ec83e31e03aef9eddc281336f.tar.xz |
Make a function to say how big gdbregs is in bytes vs. regs.
--HG--
extra : convert_revision : 10c50c2d45a8e510d71cccde520059363116da8a
Diffstat (limited to 'src/base/remote_gdb.hh')
-rw-r--r-- | src/base/remote_gdb.hh | 1 |
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; |