From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3747 invoked by alias); 1 Jun 2010 15:18:27 -0000 Received: (qmail 3737 invoked by uid 22791); 1 Jun 2010 15:18:26 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD 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; Tue, 01 Jun 2010 15:18:16 +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 o51FIAeI020982; Tue, 1 Jun 2010 16:18:10 +0100 (BST) Received: from [10.1.77.63] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Jun 2010 16:18:10 +0100 Subject: RE: [HELP]Can GDB for ARM set hard breakpoint when native debugging? From: Matthew Gretton-Dann To: "karthikeyan.s" Cc: Will Deacon , gdb@sourceware.org In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Tue, 01 Jun 2010 15:18:00 -0000 Message-ID: <1275405490.22316.12.camel@e102319-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-06/txt/msg00005.txt.bz2 On Tue, 2010-06-01 at 20:35 +0530, karthikeyan.s wrote: > Hi, > > I've had a go at implementing a backend for hardware watchpoints and breakpoints in the Kernel: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/01117 > > 0.html > Thanks. > > >I'm hoping to submit a newer version of this patchset against 2.6.35. > >I'll add you on CC when I post it to the list. The main changes will be: > Thanks again! Looking forward to it. > > Going through your patch and will be trying it soon. At first sight, > seems the gdb changes aren't there in that link. Can you point me to > the gdb changes? We don't have any gdb patches in a releasable state at this moment in time. When the ptrace interface settles down in the 2.6.35 Linux kernel, and the updated kernel patch has been submitted, we will submit patches to take advantage of hardware breakpoints to gdb. Thanks, Matt -- Matthew Gretton-Dann Principal Engineer - PDSW Tools ARM Ltd