From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2113 invoked by alias); 16 Sep 2014 11:59:41 -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 2104 invoked by uid 89); 16 Sep 2014 11:59:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 16 Sep 2014 11:59:39 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 79CCE1162B8; Tue, 16 Sep 2014 07:59:37 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xht1QmQN2ta8; Tue, 16 Sep 2014 07:59:37 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 548751162B5; Tue, 16 Sep 2014 07:59:37 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 6C05740E17; Tue, 16 Sep 2014 04:59:36 -0700 (PDT) Date: Tue, 16 Sep 2014 11:59:00 -0000 From: Joel Brobecker To: Yao Qi Cc: gdb-patches@sourceware.org Subject: Re: [RFA/commit] arm-tdep.c: Do not single-step after hitting a watchpoint. Message-ID: <20140916115936.GM4871@adacore.com> References: <1410786062-19274-1-git-send-email-brobecker@adacore.com> <87bnqf2578.fsf@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bnqf2578.fsf@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-09/txt/msg00528.txt.bz2 > Can you elaborate your experiments? Do you do experiments on qemu, arm > bare metal targets or arm linux targets? My experiments were on QEMU, but others tried on bare-metal. I tried on GNU/Linux targets as well, but hardware watchpoints simply did not work (no signal). > I find Peter tries to fix the same problem we encounter in qemu side, > > [Qemu-devel] [PATCH] gdbstub: Allow target CPUs to specify watchpoint STOP_BEFORE_ACCESS flag > http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg02665.html > > and this patch isn't accepted yet. [...] > Note that with patched qemu, two fails in gdb.base/recurse.exp are > fixed. At least, gdb and qemu should be in sync on this. I think the experiments that were run showed that QEMU is in fact correct and should NOT be changed. -- Joel