From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7564 invoked by alias); 22 Jun 2011 10:12:46 -0000 Received: (qmail 7554 invoked by uid 22791); 22 Jun 2011 10:12:45 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Jun 2011 10:12:30 +0000 Received: (qmail 13228 invoked from network); 22 Jun 2011 10:12:29 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Jun 2011 10:12:29 -0000 Message-ID: <4E01C007.8000003@codesourcery.com> Date: Wed, 22 Jun 2011 10:12:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org Subject: [committed] [patch] Remove write-only local variable sw_single_step_trap_p References: <4E002E7F.80903@codesourcery.com> <201106211017.43440.pedro@codesourcery.com> In-Reply-To: <201106211017.43440.pedro@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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 X-SW-Source: 2011-06/txt/msg00290.txt.bz2 On 06/21/2011 05:17 PM, Pedro Alves wrote: > This is okay. AFAICS, that variable became unused/unnecessary when > gdb was made to adjust the PC early with adjust_pc_after_break. > (I looked at 5.3's sources [circa 2002], to check how the > variable was used back then) Committed. http://sourceware.org/ml/gdb-cvs/2011-06/msg00116.html -- Yao (齐尧)