This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch][python] Add breakpoint support.
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches ml <gdb-patches at sourceware dot org>, Eli Zaretskii <eliz at gnu dot org>
- Date: Fri, 11 Jun 2010 21:28:13 +0100
- Subject: Re: [patch][python] Add breakpoint support.
- References: <201006111741.o5BHfABg004677@d12av02.megacenter.de.ibm.com>
On 06/11/2010 06:41 PM, Ulrich Weigand wrote:
>> +gdb_py_test_silent_cmd "python wp1 = gdb.Breakpoint (\"result\", type=gdb.BP_WATCHPOINT, wp_class=gdb.WP_WRITE )" "Set watchpoint" 0
>> +gdb_test "continue" ".*watchpoint.*result.*Old value = 0.*New value = 25.*main.*" "Test watchpoint write"
>
> This fails on platforms with software watchpoints, because they use "Watchpoint"
> instead of "Hardware watchpoint".
Thanks.
Cheers,
Phil