From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13392 invoked by alias); 8 Feb 2010 05:45:13 -0000 Received: (qmail 13370 invoked by uid 22791); 8 Feb 2010 05:45:12 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f183.google.com (HELO mail-pz0-f183.google.com) (209.85.222.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Feb 2010 05:45:09 +0000 Received: by pzk13 with SMTP id 13so3779098pzk.24 for ; Sun, 07 Feb 2010 21:45:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.55.13 with SMTP id d13mr63084wfa.50.1265607907429; Sun, 07 Feb 2010 21:45:07 -0800 (PST) In-Reply-To: <20100205130320.3380.qmail@sourceware.org> References: <20100205023723.11253.green@moxielogic.com> <20100205130320.3380.qmail@sourceware.org> From: Hui Zhu Date: Mon, 08 Feb 2010 05:45:00 -0000 Message-ID: Subject: Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator To: sourceware-bugzilla@sourceware.org, gdb-patches ml , Anthony Green Cc: gdb-prs@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00200.txt.bz2 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; }