aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorScott Bambrough <scottb@netwinder.org>2000-07-11 14:00:42 +0000
committerScott Bambrough <scottb@netwinder.org>2000-07-11 14:00:42 +0000
commitd5b61b59918561b7fd26bc1a4968c2d5cc27d747 (patch)
tree5b81eb929eeb0fb764d8c25eac94e345ce558053 /gdb/command.c
parentacdb74a06fea51682818891603efad8812d5daab (diff)
downloadgdb-d5b61b59918561b7fd26bc1a4968c2d5cc27d747.zip
gdb-d5b61b59918561b7fd26bc1a4968c2d5cc27d747.tar.gz
gdb-d5b61b59918561b7fd26bc1a4968c2d5cc27d747.tar.bz2
2000-07-11 Scott Bambrough <scottb@netwinder.org>
* command.c (do_setshow_command): Fix typo in var_auto_boolean case.
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.c b/gdb/command.c
index c7cbbfd..bc3a8fb 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -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);