summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-09-08 23:52:44 +0000
committerDoug Evans <dje@google.com>2009-09-08 23:52:44 +0000
commit106308a45d988aa3ef49e6f78096c7afd73c9fb6 (patch)
tree5beca87506ab433d19088c4560dda433f4228e77
parente9897ac1ba2f75b1c6c401df35ecb5d648472d09 (diff)
downloadgdb-106308a45d988aa3ef49e6f78096c7afd73c9fb6.tar.gz
* target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.
-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 21500ec5ba5..8e6e6e0aec5 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 d828332883f..a662ecab669 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\