On Thu, 22 Jan 2015 01:36:42 +0100, Doug Evans wrote: > Jan Kratochvil writes: > > + /* Current thread should be NUM 1 but the user does not know that. */ > > + if (thread_count () >= 2) > > Can you add a comment explaining why the test is >= 2 here? > E.g., something like > > /* Current thread should be NUM 1 but the user does not know that. > If a program is single threaded gdb in general does not mention > anything about threads. That is why the test is >= 2. */ Done. > LGTM with one nit. Checked in. Thanks, Jan