public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/12311] New: Multiple hw watchpoint hits get ignored
@ 2010-12-12  7:50 jan.kratochvil at redhat dot com
  2010-12-12  7:53 ` [Bug breakpoints/12311] " jan.kratochvil at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jan.kratochvil at redhat dot com @ 2010-12-12  7:50 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug breakpoints/12311] Multiple hw watchpoint hits get ignored
  2010-12-12  7:50 [Bug breakpoints/12311] New: Multiple hw watchpoint hits get ignored jan.kratochvil at redhat dot com
@ 2010-12-12  7:53 ` jan.kratochvil at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jan.kratochvil at redhat dot com @ 2010-12-12  7:53 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12311

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-fedora14-linux-gnu
               Host|                            |x86_64-fedora14-linux-gnu

-- 
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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-12  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-12  7:50 [Bug breakpoints/12311] New: Multiple hw watchpoint hits get ignored jan.kratochvil at redhat dot com
2010-12-12  7:53 ` [Bug breakpoints/12311] " jan.kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).