From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17281 invoked by alias); 28 Jul 2009 22:17:21 -0000 Received: (qmail 17273 invoked by uid 22791); 28 Jul 2009 22:17:21 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f183.google.com (HELO mail-px0-f183.google.com) (209.85.216.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Jul 2009 22:17:13 +0000 Received: by pxi13 with SMTP id 13so247716pxi.12 for ; Tue, 28 Jul 2009 15:17:11 -0700 (PDT) Received: by 10.140.252.21 with SMTP id z21mr2375292rvh.72.1248819431330; Tue, 28 Jul 2009 15:17:11 -0700 (PDT) Received: from hydrogen.gmail.com (207-172-203-39.c3-0.upd-ubr7.trpr-upd.pa.cable.rcn.com [207.172.203.39]) by mx.google.com with ESMTPS id g22sm737534rvb.22.2009.07.28.15.17.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Jul 2009 15:17:07 -0700 (PDT) Date: Wed, 29 Jul 2009 01:14:00 -0000 Message-ID: <87tz0wqwpq.wl%naesten@gmail.com> From: Samuel Bronson To: gdb-patches@sourceware.org Subject: Re: Support for single-stepping Thumb-2 programs In-Reply-To: <20090728163645.GA22855@caradoc.them.org> References: <20090728163645.GA22855@caradoc.them.org> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII 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: 2009-07/txt/msg00703.txt.bz2 At Tue, 28 Jul 2009 12:36:45 -0400, Daniel Jacobowitz wrote: > So the patch does not allow single stepping inside an IT block. Not > explicitly mentioned in the patch is that it also doesn't address > setting breakpoints inside an IT block, which has the same problem. > > My best plan to date to handle stepping is to reuse displaced stepping > for this somehow. Fill the rest of the IT block with breakpoints or > nops to simulate just the instruction we're interested in. As for > user set breakpoints, I think we'll have to adjust them to point at > the IT instruction instead. > > I haven't implemented any of that yet. This is generally useful > as-is, so I'm submitting it without those potential improvements. So ... shouldn't this be documented in the manual until you do implement that single-stepping?