projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66c9f1
)
* kod.c (kod_set_os): Remove unnecessary check that
author
Andrew Cagney
<cagney@redhat.com>
Sun, 17 Mar 2002 16:25:09 +0000
(16:25 +0000)
committer
Andrew Cagney
<cagney@redhat.com>
Sun, 17 Mar 2002 16:25:09 +0000
(16:25 +0000)
``command->type'' is set_cmd.
gdb/ChangeLog
patch
|
blob
|
history
gdb/kod.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 00e74c7e14637fcf8c47adbe3f6e7506c6248977..c5d649179a22add339467d70e0a1b009ab0c2dbf 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,8
@@
2002-03-17 Andrew Cagney <ac131313@redhat.com>
+ * 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 2641c38e0094b11cadfb5a42eae0f2be020f3cf5..68ce18c715a27449a0887f6b53581b4fcaadadac 100644
(file)
--- 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) ();