* thread.c (thread_id_make_value): Make a value representing the
authorStan Shebs <shebs@codesourcery.com>
Fri, 18 Jun 2010 17:44:40 +0000 (17:44 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 18 Jun 2010 17:44:40 +0000 (17:44 +0000)
commit6aed2dbcba548376cdc0b98231fb9b174f9ca978
tree37933482f06cdff97129271eb76c1e8401649ef9
parent6508b958ffb3afc176ac6b978e15baafbc85e4ab
* thread.c (thread_id_make_value): Make a value representing the
current thread.
(_initialize_thread): Create $_thread.

* gdb.texinfo (Debugging Programs with Multiple Threads): Describe
$_thread.

* gdb.threads/thread-specific.exp: Add tests of $_thread.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/thread-specific.exp
gdb/thread.c