aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdbserver/regcache.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c71ec3f..b557c3d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-06-13 Daniel Jacobowitz <drow@mvista.com>
+ * gdbserver/regcache.c: Add comment.
+
+2002-06-13 Daniel Jacobowitz <drow@mvista.com>
+
* mips-tdep.c (PROC_SYMBOL): Add warning comment.
(struct mips_objfile_private, compare_pdr_entries): New.
(non_heuristic_proc_desc): Read the ".pdr" section if it
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;