* target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.
authorDoug Evans <dje@google.com>
Tue, 8 Sep 2009 23:52:45 +0000 (23:52 +0000)
committerDoug Evans <dje@google.com>
Tue, 8 Sep 2009 23:52:45 +0000 (23:52 +0000)
gdb/ChangeLog
gdb/target.c

index 21500ec..8e6e6e0 100644 (file)
@@ -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, 
index d828332..a662eca 100644 (file)
@@ -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\