public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
* [python] remove redundant print
@ 2009-09-10 19:19 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2009-09-10 19:19 UTC (permalink / raw)
  To: Project Archer

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-10 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-10 19:19 [python] remove redundant print Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).