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 5656fbf..59ec071 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 c7cbbfd..bc3a8fb 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);