This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Restore leading zeros in remote_thread_alive
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: Pedro Alves <pedro at codesourcery dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 21 Oct 2008 22:52:20 -0400
- Subject: Re: [RFA] Restore leading zeros in remote_thread_alive
- References: <48FE7B9B.3040905@vmware.com>
On Tue, Oct 21, 2008 at 06:02:19PM -0700, Michael Snyder wrote:
> if (tid < 0)
> - buf += xsnprintf (buf, endbuf - buf, "-%x", -tid);
> + buf += xsnprintf (buf, endbuf - buf, "-%x08", -tid);
> else
> - buf += xsnprintf (buf, endbuf - buf, "%x", tid);
> + buf += xsnprintf (buf, endbuf - buf, "%x08", tid);
%x08?
--
Daniel Jacobowitz
CodeSourcery