Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: sourceware-bugzilla@sourceware.org,
	 	gdb-patches ml <gdb-patches@sourceware.org>,
	Anthony Green <green@moxielogic.com>
Cc: gdb-prs@sourceware.org
Subject: Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target  	over simulator
Date: Mon, 08 Feb 2010 05:45:00 -0000	[thread overview]
Message-ID: <daef60381002072144q5f90e05fw421cb4e7a40dcc0f@mail.gmail.com> (raw)
In-Reply-To: <20100205130320.3380.qmail@sourceware.org>

Hi Anthony,

I make a patch for it.

Please help me test it.

Thanks,
Hui

2010-02-08  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-08  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100205023723.11253.green@moxielogic.com>
     [not found] ` <20100205130320.3380.qmail@sourceware.org>
2010-02-08  5:45   ` Hui Zhu [this message]
2010-02-20  5:56     ` Hui Zhu
2010-02-22 13:04       ` Pedro Alves

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=daef60381002072144q5f90e05fw421cb4e7a40dcc0f@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    --cc=green@moxielogic.com \
    --cc=sourceware-bugzilla@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