From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25960 invoked by alias); 2 Aug 2013 10:31:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25949 invoked by uid 89); 2 Aug 2013 10:31:01 -0000 X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RDNS_NONE autolearn=ham version=3.3.1 Received: from Unknown (HELO mms3.broadcom.com) (216.31.210.19) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 02 Aug 2013 10:31:00 +0000 Received: from [10.9.208.53] by mms3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Fri, 02 Aug 2013 03:20:56 -0700 X-Server-Uuid: B86B6450-0931-4310-942E-F00ED04CA7AF Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.1.438.0; Fri, 2 Aug 2013 03:30:46 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Fri, 2 Aug 2013 03:30:46 -0700 Received: from [10.177.72.91] (unknown [10.177.72.91]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 4E7CAF2D72 for ; Fri, 2 Aug 2013 03:30:46 -0700 (PDT) Message-ID: <51FB8A54.7060508@broadcom.com> Date: Fri, 02 Aug 2013 10:31:00 -0000 From: "Andrew Burgess" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [commit] [OBV] Remove duplicate call to add_file_handler Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00067.txt.bz2 Committed this patch to remove a duplicate call to add_file_handler, the call to gdb_setup_readline will have performed the same call for us. I hope this ok to commit as obvious without review. Thanks, Andrew 2013-08-02 Andrew Burgess * mi/mi-interp.c (mi_interpreter_resume): Remove call to add_file_handler. diff -u -p -r1.84 mi-interp.c --- ./gdb/mi/mi-interp.c 12 Mar 2013 18:50:39 -0000 1.84 +++ ./gdb/mi/mi-interp.c 2 Aug 2013 10:24:30 -0000 @@ -169,7 +169,6 @@ mi_interpreter_resume (void *data) _intialize_event_loop. */ call_readline = gdb_readline2; input_handler = mi_execute_command_input_handler; - add_file_handler (input_fd, stdin_event_handler, 0); async_command_editing_p = 0; /* FIXME: This is a total hack for now. PB's use of the MI implicitly relies on a bug in the async support which allows