This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] patch for [Bug gdb/11253]
- From: Hui Zhu <teawater at gmail dot com>
- To: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 26 Feb 2010 11:25:58 +0800
- Subject: [RFA] patch for [Bug gdb/11253]
This patch is for bug 11253 http://sourceware.org/bugzilla/show_bug.cgi?id=11253
Tested by AG.
Please help me review it.
Thanks,
Hui
2010-02-26 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;
}