old-cross-binutils/gdb/python
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
..
lib/gdb run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-auto-load.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-block.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-breakpoint.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-cmd.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-frame.c gdb 2011-01-06 21:10:53 +00:00
py-function.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-inferior.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-infthread.c gdb 2011-01-19 17:21:39 +00:00
py-lazy-string.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-objfile.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-param.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-prettyprint.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-progspace.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-symbol.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-symtab.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-type.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-utils.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-value.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
python-config.py Resync python-config.py with Python-2.7 version. 2010-07-08 22:12:44 +00:00
python-internal.h gdb 2011-01-06 21:10:53 +00:00
python.c gdb 2011-01-06 21:10:53 +00:00
python.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00