This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/17600] New: "info thread $_thread" doesn't work
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 13 Nov 2014 19:49:04 +0000
- Subject: [Bug threads/17600] New: "info thread $_thread" doesn't work
- Auto-submitted: auto-generated
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.