This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: threaded watchpoint test
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 27 Jul 2004 19:00:54 -0400
- Subject: Re: [RFA]: threaded watchpoint test
- References: <4106A553.7010202@redhat.com>
On Tue, Jul 27, 2004 at 02:56:19PM -0400, Jeff Johnston wrote:
> +# Watch values that will be modified by distinct threads.
> +gdb_test "watch args\[0\]" "Hardware watchpoint 2: args\\\[0\\\]"
> +gdb_test "watch args\[1\]" "Hardware watchpoint 3: args\\\[1\\\]"
What about platforms without hardware watchpoints? This test will
generate a lot of FAILs in that case.
Not to mention targets with only one hardware watchpoint; I'm not sure
if there are any.
--
Daniel Jacobowitz