This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] remove redundant print
- From: Tom Tromey <tromey at redhat dot com>
- To: Project Archer <archer at sourceware dot org>
- Date: Thu, 10 Sep 2009 13:19:35 -0600
- Subject: [python] remove redundant print
- Reply-to: Tom Tromey <tromey at redhat dot com>
While merging I noticed that MI was printing the "python" feature
twice. This is probably a merge bug from a while back.
Tom
2009-09-10 Tom Tromey <tromey@redhat.com>
* mi/mi-main.c (mi_cmd_list_features): Remove redundant print.
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index e803630..179d023 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1135,10 +1135,6 @@ mi_cmd_list_features (char *command, char **argv, int argc)
ui_out_field_string (uiout, NULL, "python");
#endif
-#if HAVE_PYTHON
- ui_out_field_string (uiout, NULL, "python");
-#endif
-
do_cleanups (cleanup);
return;
}