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 threads/17600] New: "info thread $_thread" doesn't work


https://sourceware.org/bugzilla/show_bug.cgi?id=17600

            Bug ID: 17600
           Summary: "info thread $_thread" doesn't work
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: threads
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org

I wanted to show "info threads" output for just the current
thread.  I tried:

(gdb) info thread $_thread
Convenience variable must have integer value.
Args must be numbers or '$' variables.

But:

(gdb) p $_thread
$1 = 48


It seems "info thread" is confused.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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