From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3500 invoked by alias); 22 Oct 2008 17:43:32 -0000 Received: (qmail 3446 invoked by uid 22791); 22 Oct 2008 17:43:31 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Oct 2008 17:42:56 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 2A93717006; Wed, 22 Oct 2008 10:42:54 -0700 (PDT) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost2.vmware.com (Postfix) with ESMTP id 117308E55B; Wed, 22 Oct 2008 10:42:54 -0700 (PDT) Message-ID: <48FF6504.7050209@vmware.com> Date: Wed, 22 Oct 2008 17:43:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Michael Snyder , Pedro Alves , "gdb-patches@sourceware.org" Subject: Re: [RFA] Restore leading zeros in remote_thread_alive References: <48FE7B9B.3040905@vmware.com> <20081022025220.GA7426@caradoc.them.org> In-Reply-To: <20081022025220.GA7426@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00545.txt.bz2 Daniel Jacobowitz wrote: > 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? D'urr. %08x...