[RFC] info threads takes an argument

Michael Snyder msnyder@vmware.com
Mon Feb 14 20:03:00 GMT 2011


Tom Tromey wrote:
> 
> Michael>   add_info ("threads", info_threads_command,
> Michael>             _("Usage: info threads [ID].  Display currently known
> Michael> threads.\n\
> Michael> If ID is given, display only that thread;\
> Michael> otherwise, all threads are displayed."));
> 
> I think I'd like it if the Usage was always on its own line.
> How about:
> 
> Display currently known threads.
> Usage: info threads [ID]
> If ID is given, it is the id of the sole thread to display.
> Otherwise, all threads are displayed.

OK, so modified, and combined with the new 'thread find' patch.
Documentation and NEWS also attached.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: find.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110214/7fb138d7/attachment.txt>


More information about the Gdb-patches mailing list