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: [patchv4] Sort threads for thread apply all (bt)


On Thu, Jan 22, 2015 at 11:01 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Thu, 22 Jan 2015 19:52:29 +0100, Eli Zaretskii wrote:
>> (Do we want a NEWS entry?)
>
> OK, I think so.
>
> I have taken this entry as a template:
> ------------------------------------------------------------------------------
> * The command 'tsave' can now support new option '-ctf' to save trace
>   buffer in Common Trace Format.
> ------------------------------------------------------------------------------
>
>
> Thanks,
> Jan
>
> gdb/ChangeLog
> 2015-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
>
>         * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
>         '-ascending'.
>         * thread.c (tp_array_compar_ascending, tp_array_compar): New.
>         (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
>         Sort tp_array using tp_array_compar.
>         (_initialize_thread): Extend thread_apply_all_command help.

Code parts LGTM.
Thanks.


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