This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
- From: Hui Zhu <teawater at gmail dot com>
- To: sourceware-bugzilla at sourceware dot org, gdb-patches ml <gdb-patches at sourceware dot org>, Anthony Green <green at moxielogic dot com>
- Date: Sat, 20 Feb 2010 13:55:57 +0800
- Subject: Re: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
- References: <20100205023723.11253.green@moxielogic.com> <20100205130320.3380.qmail@sourceware.org> <daef60381002072144q5f90e05fw421cb4e7a40dcc0f@mail.gmail.com>
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;
> ?}
>