From 8e694ecf1662b94f20df6427b91967579f8cca11 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 17 Mar 2002 16:25:09 +0000 Subject: [PATCH] * kod.c (kod_set_os): Remove unnecessary check that ``command->type'' is set_cmd. --- gdb/ChangeLog | 3 +++ gdb/kod.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00e74c7..c5d6491 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2002-03-17 Andrew Cagney + * kod.c (kod_set_os): Remove unnecessary check that + ``command->type'' is set_cmd. + * valprint.c (set_input_radix): Use input_radix. (set_output_radix): Use output_radix. (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix diff --git a/gdb/kod.c b/gdb/kod.c index 2641c38..68ce18c 100644 --- a/gdb/kod.c +++ b/gdb/kod.c @@ -132,9 +132,6 @@ kod_set_os (char *arg, int from_tty, struct cmd_list_element *command) { char *p; - if (command->type != set_cmd) - return; - /* If we had already had an open OS, close it. */ if (gdb_kod_close) (*gdb_kod_close) (); -- 2.7.4