[Bug breakpoints/12311] New: Multiple hw watchpoint hits get ignored

jan.kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Sun Dec 12 07:50:00 GMT 2010


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.



More information about the Gdb-prs mailing list