From: Jeff Garzik Subject: Re: XDR print? Date: Sun, 06 Dec 2009 20:03:59 -0500 Message-ID: <4B1C547F.2040607@garzik.org> References: <436f52800912061639p4be31dc5yc15aea4b92db5065@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=bA61kzSPPsBhIlB8OE9TY4XLKkEaxtT+sUL4kPCrgPE=; b=UE2b3v9BwWzr88dE0GwuPN8/XzTspUBw4/RXVpgZ6rYa+x0stZE/yI7JoKne1l6Klf XK38vXRQ91xQJ8mRa0jlSGdtYZhnX14kkT2B3Ig+sKR1fGFZ3hXZFfplmq0giGudAhI2 yXYzlTeThLc0uPEdI9tVIG0GGCZCbeqiL3Nxo= In-Reply-To: <436f52800912061639p4be31dc5yc15aea4b92db5065@mail.gmail.com> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Colin McCabe Cc: Project Hail List On 12/06/2009 07:39 PM, Colin McCabe wrote: > I'm wondering if there's a function that will take a buffer full of > XDR data and an xdrproc_t, and print out a human readable version of > the data. > It seems like an obvious debugging tool, but I can't find a reference > to anything like this in the XDR docs. Yeah, I'm not aware of any. Plus, I tend to think that automated print-outs would not be useful for anything beyond a first-pass attempt. Most debugging output would likely be tuned to be less verbose, yet more useful, as field experience informs our choices. Jeff