From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21624 invoked by alias); 21 Jan 2008 03:16:45 -0000 Received: (qmail 21596 invoked by uid 22791); 21 Jan 2008 03:16:44 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Jan 2008 03:16:24 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EA22298375; Mon, 21 Jan 2008 03:16:21 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id BCF9B98374; Mon, 21 Jan 2008 03:16:19 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JGn8z-0003D2-N7; Sun, 20 Jan 2008 22:16:17 -0500 Date: Mon, 21 Jan 2008 03:16:00 -0000 From: Daniel Jacobowitz To: ligang@sunnorth.com.cn Cc: gdb@sourceware.org Subject: Re: mi-watch.exp fail, pls help Message-ID: <20080121031617.GA12135@caradoc.them.org> Mail-Followup-To: ligang@sunnorth.com.cn, gdb@sourceware.org References: <20080118152023.GA21602@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-01/txt/msg00203.txt.bz2 On Mon, Jan 21, 2008 at 09:15:27AM +0800, ligang@sunnorth.com.cn wrote: > The store triggers the watchpoint, but it does not execute. GDB does not currently support watchpoints on any target that requires the debugger to decrement PC after the watchpoint triggers. You might want to handle this in your debug stub, and pretend the PC was before the store. -- Daniel Jacobowitz CodeSourcery