This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[python] remove redundant print


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;
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]