This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/11654] New: breakpoint thread qualifier not accepted if location is address


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]