This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Restore leading zeros in remote_thread_alive


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]