old-cross-binutils/gdb/testsuite/gdb.threads
Tom Tromey 4694da0147 gdb
PR mi/8618:
	* thread.c (free_thread): Free 'name'.
	(print_thread_info): Emit thread name.  Change CLI output.
	(thread_name_command): New function.
	(do_captured_thread_select): Emit newline.
	(_initialize_thread): Register 'thread name' command.
	* target.h (struct target_ops) <to_thread_name>: New field.
	(target_thread_name): New macro.
	* target.c (update_current_target): Handle to_thread_name.
	* python/py-infthread.c (thpy_get_name): New function.
	(thpy_set_name): Likewise.
	(thread_object_getset): Add "name".
	* linux-nat.c (linux_nat_thread_name): New function.
	(linux_nat_add_target): Set to_thread_name.
	* gdbthread.h (struct thread_info) <name>: New field.
gdb/doc
	* gdb.texinfo (Threads): Document thread name output and `thread
	name' command.
	(Threads In Python): Document Thread.name attribute.
	(GDB/MI Thread Commands): Document thread attributes.
gdb/testsuite
	* gdb.python/py-infthread.exp: Add thread tests.
2011-01-19 17:21:39 +00:00
..
attach-into-signal.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attach-into-signal.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attach-stopped.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attach-stopped.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attachstop-mt.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
attachstop-mt.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
bp_in_thread.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
bp_in_thread.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
current-lwp-dead.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
current-lwp-dead.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
execl.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
execl.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
execl1.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-child-threads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-child-threads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-thread-pending.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
fork-thread-pending.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gcore-thread.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hand-call-in-threads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hand-call-in-threads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ia64-sigill.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ia64-sigill.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
interrupted-hand-call.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
interrupted-hand-call.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
killed.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
killed.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
linux-dp.c
linux-dp.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
local-watch-wrong-thread.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
local-watch-wrong-thread.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
Makefile.in
manythreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
manythreads.exp gdb 2011-01-19 17:21:39 +00:00
multi-create.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
multi-create.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pending-step.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pending-step.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
print-threads.c
print-threads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthread_cond_wait.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthread_cond_wait.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
pthreads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
schedlock.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
schedlock.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sigthread.c
sigthread.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
staticthreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
staticthreads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
step.c
step.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
step2.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
switch-threads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
switch-threads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-execl.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-execl.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-specific.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-specific.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread-unwindonsignal.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_check.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_check.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_events.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
thread_events.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threadapply.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threadapply.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threxit-hop-specific.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
threxit-hop-specific.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tls-main.c
tls-nodebug.c
tls-nodebug.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tls-shared.c
tls-shared.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tls.c gdb 2010-09-14 19:08:30 +00:00
tls.exp * gdb.threads/tls.exp ("info address me"): Fix expected output. 2011-01-09 15:22:49 +00:00
tls2.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads-reorder.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads-reorder.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads2.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
watchthreads2.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00