* Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
[not found] ` <20100205130320.3380.qmail@sourceware.org>
@ 2010-02-08 5:45 ` Hui Zhu
2010-02-20 5:56 ` Hui Zhu
0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2010-02-08 5:45 UTC (permalink / raw)
To: sourceware-bugzilla, gdb-patches ml, Anthony Green; +Cc: gdb-prs
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;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
2010-02-08 5:45 ` [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator Hui Zhu
@ 2010-02-20 5:56 ` Hui Zhu
2010-02-22 13:04 ` Pedro Alves
0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2010-02-20 5:56 UTC (permalink / raw)
To: sourceware-bugzilla, gdb-patches ml, Anthony Green
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;
> }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
2010-02-20 5:56 ` Hui Zhu
@ 2010-02-22 13:04 ` Pedro Alves
0 siblings, 0 replies; 3+ messages in thread
From: Pedro Alves @ 2010-02-22 13:04 UTC (permalink / raw)
To: gdb-patches; +Cc: Hui Zhu, sourceware-bugzilla, Anthony Green
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-22 13:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20100205023723.11253.green@moxielogic.com>
[not found] ` <20100205130320.3380.qmail@sourceware.org>
2010-02-08 5:45 ` [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator Hui Zhu
2010-02-20 5:56 ` Hui Zhu
2010-02-22 13:04 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox