From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10829 invoked by alias); 12 Sep 2013 07:15:58 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10814 invoked by uid 89); 12 Sep 2013 07:15:57 -0000 Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 12 Sep 2013 07:15:57 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,NO_RELAYS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f43.google.com Received: by mail-wg0-f43.google.com with SMTP id z12so8885562wgg.10 for ; Thu, 12 Sep 2013 00:15:54 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.11.239 with SMTP id t15mr4668780wib.4.1378970154231; Thu, 12 Sep 2013 00:15:54 -0700 (PDT) Received: by 10.217.119.193 with HTTP; Thu, 12 Sep 2013 00:15:54 -0700 (PDT) In-Reply-To: References: <87k3kbbsbz.fsf@igel.home> Date: Thu, 12 Sep 2013 07:15:00 -0000 Message-ID: Subject: Re: [PATCH/AARCH64] Fix hardware break points From: Andrew Pinski To: Will Newton Cc: Andreas Schwab , "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00370.txt.bz2 On Tue, Sep 10, 2013 at 7:37 AM, Will Newton wrote: > On 27 July 2013 23:42, Andrew Pinski wrote: > > Hi Andrew, > >> On Sat, Jul 27, 2013 at 2:34 PM, Andreas Schwab wrote: >>> Andrew Pinski writes: >>> >>>> OK? Built and tested on aarch64-linux-gnu with no regressions. >>> >>> Did you? >>> >>>> + memset (®s, 0, size(regs)); >> >> This is what I get for copying and pasting from one source file to another. >> >> Here is the fixed one which was definitely tested. > > What's the status of this patch? It seems like it fixes real problems > people are seeing in the field. After not much thought, I decided this was an obvious patch as regs is used uninitialized otherwise when passed to ptrace. Committed now. Thanks, Andrew Pinski > > Thanks, > > -- > Will Newton > Toolchain Working Group, Linaro