From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23857 invoked by alias); 22 Feb 2010 13:04:23 -0000 Received: (qmail 23776 invoked by uid 22791); 22 Feb 2010 13:04:21 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Feb 2010 13:04:15 +0000 Received: (qmail 21405 invoked from network); 22 Feb 2010 13:04:13 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Feb 2010 13:04:13 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target =?iso-8859-1?q?=09over?= simulator Date: Mon, 22 Feb 2010 13:04:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) Cc: Hui Zhu , sourceware-bugzilla@sourceware.org, Anthony Green References: <20100205023723.11253.green@moxielogic.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002221304.11412.pedro@codesourcery.com> X-IsSubscribed: yes 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 X-SW-Source: 2010-02/txt/msg00525.txt.bz2 On Saturday 20 February 2010 05:55:57, Hui Zhu wrote: > Ping. > > On Mon, Feb 8, 2010 at 13:44, Hui Zhu wrote: > > Hi Anthony, > > > > I make a patch for it. > > > > Please help me test it. > > > > Thanks, > > Hui > > > > 2010-02-08 Hui Zhu > > > > * target.c (init_dummy_target): Add to_stopped_by_watchpoint. > > --- > > target.c | 1 + > > 1 file changed, 1 insertion(+) > > > > --- a/target.c > > +++ b/target.c > > @@ -2836,6 +2836,7 @@ init_dummy_target (void) > > dummy_target.to_has_stack = (int (*) (struct target_ops *)) return_zero; > > dummy_target.to_has_registers = (int (*) (struct target_ops *)) return_zero; > > dummy_target.to_has_execution = (int (*) (struct target_ops *)) return_zero; > > + dummy_target.to_stopped_by_watchpoint = return_zero; > > dummy_target.to_magic = OPS_MAGIC; > > } > > > Does this actually fix the problem? How? -- Pedro Alves