aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-09-08 23:52:45 +0000
committerDoug Evans <dje@google.com>2009-09-08 23:52:45 +0000
commit9cf1b572896160ba8007d372540669513c44b865 (patch)
tree084f7ea7b16d0b4f9e3e40842bfddd2c38a2f232
parent495c5f871edcbdf81f70cc9203b2dde8637318ee (diff)
downloadgdb-9cf1b572896160ba8007d372540669513c44b865.zip
gdb-9cf1b572896160ba8007d372540669513c44b865.tar.gz
gdb-9cf1b572896160ba8007d372540669513c44b865.tar.bz2
* 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 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\