This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 3/7] Add support for extracting thread names from cores.
- From: Pedro Alves <palves at redhat dot com>
- To: John Baldwin <jhb at FreeBSD dot org>, gdb-patches at sourceware dot org
- Date: Tue, 19 Jan 2016 10:39:07 +0000
- Subject: Re: [PATCH v4 3/7] Add support for extracting thread names from cores.
- Authentication-results: sourceware.org; auth=none
- References: <1453142254-20266-1-git-send-email-jhb at FreeBSD dot org> <1453142254-20266-4-git-send-email-jhb at FreeBSD dot org>
On 01/18/2016 06:37 PM, John Baldwin wrote:
> Add a new gdbarch method to extract a thread name from a core for a
> given thread. Use this new method in core_thread_name to implement the
> to_thread_name target op.
>
> gdb/ChangeLog:
>
> * corelow.c (core_thread_name): New function.
> (init_core_ops): Use "core_thread_name" for the "to_thread_name"
> target op.
> * gdbarch.sh (core_thread_name): New gdbarch callback.
> * gdbarch.h: Re-generate.
> * gdbarch.c: Re-generate.
OK. Thanks for doing this.
Thanks,
Pedro Alves