public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/11654] New: breakpoint thread qualifier not accepted if location is address
@ 2010-06-01  8:37 richard dot stuckey at ziilabs dot com
  2010-06-01  9:00 ` [Bug breakpoints/11654] " schwab at linux-m68k dot org
  0 siblings, 1 reply; 2+ messages in thread
From: richard dot stuckey at ziilabs dot com @ 2010-06-01  8:37 UTC (permalink / raw)
  To: gdb-prs

The syntax of the 'break' command is

   break [LOCATION] [thread THREADNUM] [if CONDITION]

where location may be "*" followed by an address, e.g.

   break *0x0001e170

However, if the thread qualifier is added, e.g.

   break *0x0001e170 thread 2

then the error message

   A syntax error in expression, near `thread 2'.

is received.

However, no error is reported if the condition is supplied instead, e.g.

    break *0x0001e170 if $sp < 0xFFFF0000

-- 
           Summary: breakpoint thread qualifier not accepted if location is
                    address
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: richard dot stuckey at ziilabs dot com
                CC: gdb-prs at sourceware dot org
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug breakpoints/11654] breakpoint thread qualifier not accepted if location is address
  2010-06-01  8:37 [Bug breakpoints/11654] New: breakpoint thread qualifier not accepted if location is address richard dot stuckey at ziilabs dot com
@ 2010-06-01  9:00 ` schwab at linux-m68k dot org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab at linux-m68k dot org @ 2010-06-01  9:00 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From schwab at linux-m68k dot org  2010-06-01 09:00 -------


*** This bug has been marked as a duplicate of 8704 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-06-01  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01  8:37 [Bug breakpoints/11654] New: breakpoint thread qualifier not accepted if location is address richard dot stuckey at ziilabs dot com
2010-06-01  9:00 ` [Bug breakpoints/11654] " schwab at linux-m68k dot org

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