Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Hui Zhu <teawater@gmail.com>,
	 sourceware-bugzilla@sourceware.org,
	 Anthony Green <green@moxielogic.com>
Subject: Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target   	over simulator
Date: Mon, 22 Feb 2010 13:04:00 -0000	[thread overview]
Message-ID: <201002221304.11412.pedro@codesourcery.com> (raw)
In-Reply-To: <daef60381002192155v2024da09p87ea18f8dbe2ba4a@mail.gmail.com>

On Saturday 20 February 2010 05:55:57, Hui Zhu wrote:
> Ping.
> 
> On Mon, Feb 8, 2010 at 13:44, Hui Zhu <teawater@gmail.com> wrote:
> > 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;
> >  }
> >
> 

Does this actually fix the problem?  How?

-- 
Pedro Alves


      reply	other threads:[~2010-02-22 13:04 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
2010-02-20  5:56     ` Hui Zhu
2010-02-22 13:04       ` Pedro Alves [this message]

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=201002221304.11412.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=green@moxielogic.com \
    --cc=sourceware-bugzilla@sourceware.org \
    --cc=teawater@gmail.com \
    /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