From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14134 invoked by alias); 8 Mar 2010 13:34:04 -0000 Received: (qmail 14115 invoked by uid 22791); 8 Mar 2010 13:34:03 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from cam-admin0.cambridge.arm.com (HELO cam-admin0.cambridge.arm.com) (217.140.96.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Mar 2010 13:33:57 +0000 Received: from cam-owa2.Emea.Arm.com (cam-owa2.emea.arm.com [10.1.105.18]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id o28DXteI008941 for ; Mon, 8 Mar 2010 13:33:55 GMT Received: from [10.1.79.63] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Mar 2010 13:33:55 +0000 Subject: [ARM] Thumb-2 breakpoint size for remote protocol From: Matthew Gretton-Dann To: gdb@sourceware.org Content-Type: text/plain Date: Mon, 08 Mar 2010 13:34:00 -0000 Message-Id: <1268055234.5293.7.camel@e102111-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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/msg00045.txt.bz2 Hi, 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? Thanks, Matt -- Matthew Gretton-Dann Principal Engineer - Tools, PD Software ARM Limited