public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Project Archer <archer@sourceware.org>
Subject: [python] remove redundant print
Date: Thu, 10 Sep 2009 19:19:00 -0000	[thread overview]
Message-ID: <m33a6uli9k.fsf@fleche.redhat.com> (raw)

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

                 reply	other threads:[~2009-09-10 19:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m33a6uli9k.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=archer@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).