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: John Baldwin <jhb at freebsd dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 19 Jan 2016 08:02:39 -0800
- 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> <569E1257 dot 4040805 at redhat dot com>
On Tuesday, January 19, 2016 10:39:19 AM Pedro Alves wrote:
> 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.)
Oops, it is, fixed.
--
John Baldwin