This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
- From: "teawater at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 8 Feb 2010 05:45:15 -0000
- Subject: [Bug gdb/11253] SEGV during reverse debugging w/ record target over simulator
- References: <20100205023723.11253.green@moxielogic.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From teawater at gmail dot com 2010-02-08 05:45 -------
Subject: Re: SEGV during reverse debugging w/ record target
over simulator
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;
}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11253
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.