aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 21500ec..8e6e6e0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-08 Doug Evans <dje@google.com>
+
+ * target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.
+
2009-09-08 Michael Snyder <msnyder@vmware.com>
* amd64-linux-tdep.h (enum amd64_syscall): New enum consts,
diff --git a/gdb/target.c b/gdb/target.c
index d828332..a662eca 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -3555,7 +3555,7 @@ Tells gdb whether to control the inferior in asynchronous mode."),
&showlist);
add_setshow_boolean_cmd ("stack-cache", class_support,
- &stack_cache_enabled_p, _("\
+ &stack_cache_enabled_p_1, _("\
Set cache use for stack access."), _("\
Show cache use for stack access."), _("\
When on, use the data cache for all stack access, regardless of any\n\