From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4005 invoked by alias); 26 Feb 2010 03:26:26 -0000 Received: (qmail 3979 invoked by uid 22791); 26 Feb 2010 03:26:24 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Feb 2010 03:26:19 +0000 Received: by pwj7 with SMTP id 7so6398304pwj.0 for ; Thu, 25 Feb 2010 19:26:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.250.11 with SMTP id x11mr330619wfh.134.1267154778100; Thu, 25 Feb 2010 19:26:18 -0800 (PST) From: Hui Zhu Date: Fri, 26 Feb 2010 03:26:00 -0000 Message-ID: Subject: [RFA] patch for [Bug gdb/11253] To: gdb-patches ml 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/msg00645.txt.bz2 This patch is for bug 11253 http://sourceware.org/bugzilla/show_bug.cgi?id=11253 Tested by AG. Please help me review it. Thanks, Hui 2010-02-26 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; }