This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] print threads name (bug # threads/12417)


> Date: Tue, 25 Sep 2012 01:28:19 -0700 (PDT)
> From: Mohsan Saleem <mohsansaleem_ms@yahoo.com>
> 
> ? ? ?Attached patch is for bug 12417, for printing the name of threads while printing the information of a thread.?

Thanks.

>  if { [info exists thread6] } then {
>      gdb_test "thread find $thread6" \
> -	"Thread 6 has .*$thread6.*" "find thread id 6"
> +	"Thread 6 threadname_6 has .*$thread6.*" "find thread id 6"

Isn't it better to have the name in parentheses?  Otherwise, how would
the user know that this string is the name of the thread whose number
precedes it?

Also, don't we need to update the manual, where thread notifications
are described or shown in examples?

Finally, is this NEWS-worthy?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]