From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14902 invoked by alias); 13 Jun 2010 13:00:34 -0000 Received: (qmail 14890 invoked by uid 22791); 13 Jun 2010 13:00:33 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 13 Jun 2010 13:00:29 +0000 Received: by vws5 with SMTP id 5so28400vws.0 for ; Sun, 13 Jun 2010 06:00:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.27.233 with SMTP id j41mr1528688qac.102.1276434027467; Sun, 13 Jun 2010 06:00:27 -0700 (PDT) Received: by 10.229.74.79 with HTTP; Sun, 13 Jun 2010 06:00:27 -0700 (PDT) In-Reply-To: <-2775908164685299161@unknownmsgid> References: <1275405490.22316.12.camel@e102319-lin.cambridge.arm.com> <-3629479195726626766@unknownmsgid> <-2775908164685299161@unknownmsgid> Date: Sun, 13 Jun 2010 13:00:00 -0000 Message-ID: Subject: Re: [HELP]Can GDB for ARM set hard breakpoint when native debugging? From: "karthikeyan.s" To: Will Deacon Cc: Matthew Gretton-Dann , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00046.txt.bz2 Thanks. Unfortunately, we are not working on 2.6.35. Shortly (I don't know how soon) we will. I can try this patch only then. I did go through the patch though. Regarding the issue I had earlier, it is a NULL pointer dereference at __sigqueue_alloc at. user = get_uid(__task_cred(t)->user); Seems to be related to the perf event patch I took from arm linux for your patch. On Thu, Jun 10, 2010 at 8:32 PM, Will Deacon wrote: > H Karthik, > >> Did you have issue any issues(kernel crash) with the watch_thread_num >> test gdb test (testsuite) with your gdb changes (And offcourse with >> you kernel backend!)? ( watch_thread_num is in >> gdb/testsuite/gdb.base). The issue is not just with watchpoints but >> also breakpoints. I am using a 2.6.33 kernel for which you had posted >> the patch version2. > > Since you're trying to use this stuff, I've just submitted a new version > of the patchset: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-June/017680.html > > Please see if the issue occurs with the new code. Unfortunately, I've not > had a chance to test it because the ptrace interface has changed and I > don't have a GDB that can `talk the talk'. > > Thanks, > > Will > > > -- --- S. Karthikeyan | +919980814745 ---