From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17700 invoked by alias); 8 Mar 2010 13:43:25 -0000 Received: (qmail 17691 invoked by uid 22791); 8 Mar 2010 13:43:24 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp3.ugent.be (HELO smtp3.UGent.be) (157.193.49.127) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Mar 2010 13:43:19 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp3.UGent.be (Postfix) with ESMTP id B4256147A14; Mon, 8 Mar 2010 14:43:16 +0100 (CET) Received: from smtp3.UGent.be ([157.193.49.127]) by localhost (mcheck2.ugent.be [157.193.43.11]) (amavisd-new, port 10024) with ESMTP id ie6q5oksmVRy; Mon, 8 Mar 2010 14:43:16 +0100 (CET) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp3.UGent.be (Postfix) with ESMTP id BFFEB147A00; Mon, 8 Mar 2010 14:43:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id 8FC1A918F18; Mon, 8 Mar 2010 14:43:15 +0100 (CET) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nl20uq8CrObh; Mon, 8 Mar 2010 14:43:11 +0100 (CET) Received: from bigmac.elis.UGent.be (bigmac.elis.UGent.be [157.193.206.33]) by mail.elis.ugent.be (Postfix) with ESMTP id D3A86918F12; Mon, 8 Mar 2010 14:43:11 +0100 (CET) Cc: gdb@sourceware.org Message-Id: <57297D7B-BB5C-4E0C-ABDA-A306FCB33F07@elis.ugent.be> From: Jonas Maebe To: Matthew Gretton-Dann In-Reply-To: <1268055234.5293.7.camel@e102111-lin.cambridge.arm.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [ARM] Thumb-2 breakpoint size for remote protocol Date: Mon, 08 Mar 2010 13:43:00 -0000 References: <1268055234.5293.7.camel@e102111-lin.cambridge.arm.com> X-j-chkmail-Enveloppe: 4B94FEF3.002/157.193.206.48/mail.elis.UGent.be/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 4B94FEF3.002 on smtp3.UGent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-IsSubscribed: yes 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/msg00046.txt.bz2 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 Jonas