This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Workaround for glibc/BZ5983: following a child fork shows stale parent threads in the child.
On Tuesday 19 May 2009 07:26:07, Doug Evans wrote:
> This works, but only because of an assumption of the strlen including
> the trailing NUL in "Tgid:" consuming the TAB between "Tgid:" and the
> number.
> We should probably document that (or make the parsing more robust).
You've lost me somewhere around the "assumption of the strlen including
the trailing NUL". The tab/space is consumed by strtoul.
--
Pedro Alves