From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26643 invoked by alias); 6 Jan 2014 03:56:53 -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 26564 invoked by uid 89); 6 Jan 2014 03:56:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Jan 2014 03:56:52 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1W01J5-0003dX-Cl from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Sun, 05 Jan 2014 19:56:51 -0800 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 5 Jan 2014 19:56:51 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Sun, 5 Jan 2014 19:56:50 -0800 From: Yao Qi To: Subject: [PATCH 6/6] Remove an empty-body 'if' statement Date: Mon, 06 Jan 2014 03:56:00 -0000 Message-ID: <1388980498-10886-7-git-send-email-yao@codesourcery.com> In-Reply-To: <1388980498-10886-1-git-send-email-yao@codesourcery.com> References: <1388980498-10886-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00049.txt.bz2 This patch removes the if statement and the comments together. gdb: 2014-01-06 Yao Qi * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' statement. --- gdb/gnu-nat.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 7397ec8..f8c8e68 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -3002,10 +3002,6 @@ set_exceptions_cmd (char *args, int from_tty) struct inf *inf = cur_inf (); int val = parse_bool_arg (args, "set exceptions"); - if (inf->task && inf->want_exceptions != val) - /* Make this take effect immediately in a running process. */ - /* XXX */ ; - inf->want_exceptions = val; } -- 1.7.7.6