From d5b61b59918561b7fd26bc1a4968c2d5cc27d747 Mon Sep 17 00:00:00 2001 From: Scott Bambrough Date: Tue, 11 Jul 2000 14:00:42 +0000 Subject: [PATCH] 2000-07-11 Scott Bambrough * command.c (do_setshow_command): Fix typo in var_auto_boolean case. --- gdb/ChangeLog | 5 +++++ gdb/command.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5656fbfd708..59ec071e38e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-07-11 Scott Bambrough + + * command.c (do_setshow_command): Fix typo in var_auto_boolean + case. + Tue Jul 11 20:38:36 2000 Andrew Cagney * mips-tdep.c: General cleanup. Delete all #if 0 code. Convert diff --git a/gdb/command.c b/gdb/command.c index c7cbbfdbdff..bc3a8fb7484 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); -- 2.30.2