summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-06-13 19:29:46 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-06-13 19:29:46 +0000
commit957a89631f3b4e6fdd4f2517b52170e0770386e7 (patch)
tree0640d3956903b876044ab09fa28adadeab85627e /gdb/gdbserver
parenteeb9f70d2d9b67b7369932670aea6e701551ca40 (diff)
downloadgdb-957a89631f3b4e6fdd4f2517b52170e0770386e7.tar.gz
2002-06-13 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/regcache.c: Add comment.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/regcache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/regcache.c b/gdb/gdbserver/regcache.c
index 67139098802..be3b3a7f33e 100644
--- a/gdb/gdbserver/regcache.c
+++ b/gdb/gdbserver/regcache.c
@@ -25,6 +25,10 @@
#include <stdlib.h>
#include <string.h>
+/* The private data for the register cache. Note that we have one
+ per inferior; this is primarily for simplicity, as the performance
+ benefit is minimal. */
+
struct inferior_regcache_data
{
int registers_valid;