From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22468 invoked by alias); 8 Mar 2010 15:20:40 -0000 Received: (qmail 22459 invoked by uid 22791); 8 Mar 2010 15:20:38 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 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; Mon, 08 Mar 2010 15:20:35 +0000 Received: (qmail 16471 invoked from network); 8 Mar 2010 15:20:33 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Mar 2010 15:20:33 -0000 Date: Mon, 08 Mar 2010 15:20:00 -0000 From: Daniel Jacobowitz To: Jonas Maebe Cc: Matthew Gretton-Dann , gdb@sourceware.org Subject: Re: [ARM] Thumb-2 breakpoint size for remote protocol Message-ID: <20100308152028.GA5701@caradoc.them.org> Mail-Followup-To: Jonas Maebe , Matthew Gretton-Dann , gdb@sourceware.org References: <1268055234.5293.7.camel@e102111-lin.cambridge.arm.com> <57297D7B-BB5C-4E0C-ABDA-A306FCB33F07@elis.ugent.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57297D7B-BB5C-4E0C-ABDA-A306FCB33F07@elis.ugent.be> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00047.txt.bz2 On Mon, Mar 08, 2010 at 02:43:11PM +0100, Jonas Maebe wrote: > Hi Matthew :) > > On 08 Mar 2010, at 14:33, Matthew Gretton-Dann wrote: > > >arm_remote_breakpoint_from_pc (in gdb/arm-tdep.c around line 5121) > >contains the following comment: > > > > if (arm_pc_is_thumb (*pcptr) && *kindptr == 4) > > /* The documented magic value for a 32-bit Thumb-2 breakpoint, so > > that this is not confused with a 32-bit ARM breakpoint. */ > > *kindptr = 3; > > > >I can't find the documentation which gives the magic value. Could > >someone direct me to it please? > > I guess this is what that comment refers to: http://sourceware.org/gdb/current/onlinedocs/gdb/Architecture_002dSpecific-Protocol-Details.html Yes, that's the one. Matthew, if there's somewhere else you looked for this that could use a cross-reference, let us know (or feel free to post a patch :-). -- Daniel Jacobowitz CodeSourcery