This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/12311] New: Multiple hw watchpoint hits get ignored
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 12 Dec 2010 07:49:39 +0000
- Subject: [Bug breakpoints/12311] New: Multiple hw watchpoint hits get ignored
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12311
Summary: Multiple hw watchpoint hits get ignored
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
echo 'union{int i;char c[4];}v;main(){v.i=0;}'|gcc -g -x c -;./gdb -q -nx
./a.out -ex start -ex 'awatch v.c[1]' -ex 'awatch v.c[2]' -ex 'maintenance set
show-debug-regs off' -ex c
Hardware access (read/write) watchpoint 3: v.c[2]
Value = 0 '\000'
0x0000000000400482 in main () at <stdin>:1
1 in <stdin>
(gdb) c
Continuing.
Program exited with code 0100.
But v.c[1] is not caught.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.