aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-06-13 19:29:46 +0000
committerDaniel Jacobowitz <drow@false.org>2002-06-13 19:29:46 +0000
commita7f48742bc2ec6997b95c36583a05be261591b23 (patch)
tree8ee7d14730875eeed67a638bbf687444e0ad9706 /gdb/gdbserver
parent6c0d6680d80cfdc8af8a09f387430375324a16f5 (diff)
downloadgdb-a7f48742bc2ec6997b95c36583a05be261591b23.zip
gdb-a7f48742bc2ec6997b95c36583a05be261591b23.tar.gz
gdb-a7f48742bc2ec6997b95c36583a05be261591b23.tar.bz2
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 6713909..be3b3a7 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;