2000-07-11 Scott Bambrough <scottb@netwinder.org>
authorScott Bambrough <scottb@netwinder.org>
Tue, 11 Jul 2000 14:00:42 +0000 (14:00 +0000)
committerScott Bambrough <scottb@netwinder.org>
Tue, 11 Jul 2000 14:00:42 +0000 (14:00 +0000)
* command.c (do_setshow_command): Fix typo in var_auto_boolean
case.

gdb/ChangeLog
gdb/command.c

index 5656fbfd70877d76272abd2f70cfc18891f4ddbb..59ec071e38e185624d3b80ab2209d626887a824e 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-11  Scott Bambrough <scottb@netwinder.org>
+
+       * command.c (do_setshow_command): Fix typo in var_auto_boolean
+       case.
+
 Tue Jul 11 20:38:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * mips-tdep.c: General cleanup.  Delete all #if 0 code.  Convert
index c7cbbfdbdff058c0ca6a2b9b5a09a6c75ba86a2d..bc3a8fb7484a6a3f182c00d1b149b2ba53c3a40d 100644 (file)
@@ -1811,7 +1811,7 @@ do_setshow_command (arg, from_tty, c)
          fputs_filtered (*(int *) c->var ? "on" : "off", stb->stream);
          break;
        case var_auto_boolean:
-         switch (*(enum auto_boolean*) c->var)
+         switch (*(enum cmd_auto_boolean*) c->var)
            {
            case CMD_AUTO_BOOLEAN_TRUE:
              fputs_filtered ("on", stb->stream);