This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 4/7] Display per-thread information for threads in FreeBSD 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:19 +0000
- Subject: Re: [PATCH v4 4/7] Display per-thread information for threads in FreeBSD cores.
- Authentication-results: sourceware.org; auth=none
- References: <1453142254-20266-1-git-send-email-jhb at FreeBSD dot org> <1453142254-20266-5-git-send-email-jhb at FreeBSD dot org>
This is OK.
On 01/18/2016 06:37 PM, John Baldwin wrote:
> + /* Note that each thread will report the process command
> + as its thread name instead of an empty name if a name
> + has not been set explicitly. Return a NULL name in
> + that case. */
> + if (strcmp (buf, elf_tdata (core_bfd)->core->program) != 0)
> + return buf;
(Not sure, but I think the alignment of that return is odd.)
Thanks,
Pedro Alves