diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5bfe185e0e..428ced4d35 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-10-19 Tankut Baris Aktemur + + * thread.c (_initialize_thread): Fine-tune the help text of + 'info threads'. + 2020-10-19 Tankut Baris Aktemur * frame.c: Remove the unused 'uinteger_option_def' type alias. diff --git a/gdb/thread.c b/gdb/thread.c index d499400544..d83244383d 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -2183,11 +2183,11 @@ _initialize_thread () = gdb::option::build_help (_("\ Display currently known threads.\n\ Usage: info threads [OPTION]... [ID]...\n\ +If ID is given, it is a space-separated list of IDs of threads to display.\n\ +Otherwise, all threads are displayed.\n\ \n\ Options:\n\ -%OPTIONS%\ -If ID is given, it is a space-separated list of IDs of threads to display.\n\ -Otherwise, all threads are displayed."), +%OPTIONS%"), info_threads_opts); c = add_info ("threads", info_threads_command, info_threads_help.c_str ());