aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/command.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5656fbf..59ec071 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
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);