This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/11231] x86 hardware watchpoints works incorrectly after attach to multi threaded program
- From: "roma1390 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 28 Jan 2010 06:58:53 -0000
- Subject: [Bug breakpoints/11231] x86 hardware watchpoints works incorrectly after attach to multi threaded program
- References: <20100128065209.11231.roma1390@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From roma1390 at gmail dot com 2010-01-28 06:58 -------
Created an attachment (id=4560)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4560&action=view)
test case
compile: make CFLAGS="-W -Wall -ggdb" LDLIBS=-lpthread testcase
start : gdb ./testcase
in gdb : run
This demonstrates how added watchpoint can't detect memory location change in
thread that was created before watchpoint set.
Expected behavior that debuger will catch first variable change in thread.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11231
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.