From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26827 invoked by alias); 18 Feb 2011 06:33:56 -0000 Received: (qmail 26819 invoked by uid 22791); 18 Feb 2011 06:33:56 -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; Fri, 18 Feb 2011 06:33:52 +0000 Received: (qmail 22754 invoked from network); 18 Feb 2011 06:33:50 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Feb 2011 06:33:50 -0000 Message-ID: <4D5E12CC.7020308@codesourcery.com> Date: Fri, 18 Feb 2011 07:30:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Ulrich Weigand CC: gdb-patches@sourceware.org Subject: Re: [patch 3/3] Displaced stepping for 16-bit Thumb instructions References: <201102172011.p1HKBa0Y002611@d06av02.portsmouth.uk.ibm.com> In-Reply-To: <201102172011.p1HKBa0Y002611@d06av02.portsmouth.uk.ibm.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-02/txt/msg00446.txt.bz2 On 02/18/2011 04:11 AM, Ulrich Weigand wrote: > Thanks. Any thoughts how much more work the 32-bit instructions would be? I've had a patch for 32-bit Thumb instructions displaced stepping in my local tree, and planed to submit once `16-bit' patch is approved. > I'm not sure it is a good idea to support Thumb only partially; with the > current setup, you will fail immediately when debugging Thumb, but with > the patch, you might happen to step over a couple of 16-bit instructions > before hitting the first 32-bit instruction ... (That may not be all > that bad, just wondering ...) So, my plan is, 1. Get "patch 2/3" agreed and approved, 2. Revise "patch 3/3" per your comments in last mail, and "patch 2/3". 3. Revise patch for `32-bit' thumb instructions in my local tree, and submit. -- Yao (齐尧)