[PATCH v4 4/7] Display per-thread information for threads in FreeBSD cores.

John Baldwin jhb@freebsd.org
Tue Jan 19 16:02:00 GMT 2016


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



More information about the Gdb-patches mailing list