Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: gdb-patches ml <gdb-patches@sourceware.org>
Subject: [RFA] patch for [Bug gdb/11253]
Date: Fri, 26 Feb 2010 03:26:00 -0000	[thread overview]
Message-ID: <daef60381002251925v31365b34me8bc2e2511791dde@mail.gmail.com> (raw)

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  <teawater@gmail.com>

	* 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;
 }


             reply	other threads:[~2010-02-26  3:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26  3:26 Hui Zhu [this message]
2010-02-26 12:53 ` Jan Kratochvil
2010-02-28 15:38   ` Hui Zhu
2010-02-28 18:10     ` Jan Kratochvil
2010-02-28 18:38 ` Jan Kratochvil
2010-03-08  2:35   ` Hui Zhu
2010-03-08  4:39   ` Joel Brobecker
2010-03-08 13:35     ` Hui Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=daef60381002251925v31365b34me8bc2e2511791dde@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox