From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30544 invoked by alias); 10 Jan 2009 13:58:07 -0000 Received: (qmail 30534 invoked by uid 22791); 10 Jan 2009 13:58:06 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Jan 2009 13:57:30 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n0ADuqIt015420; Sat, 10 Jan 2009 14:56:52 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n0ADuqVp013675; Sat, 10 Jan 2009 14:56:52 +0100 (CET) Date: Sat, 10 Jan 2009 13:58:00 -0000 Message-Id: <200901101356.n0ADuqVp013675@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: ktietz70@googlemail.com CC: brobecker@adacore.com, Kai.Tietz@onevision.com, gdb-patches@sourceware.org, mark.kettenis@xs4all.nl In-reply-to: <90baa01f0901100530t6590599bucfaa12aea8898c57@mail.gmail.com> (ktietz70@googlemail.com) Subject: Re: [RFC] convert a host address to a string References: <20090109131227.GL24105@adacore.com> <20090110071137.GN24105@adacore.com> <90baa01f0901100530t6590599bucfaa12aea8898c57@mail.gmail.com> 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: 2009-01/txt/msg00227.txt.bz2 > Date: Sat, 10 Jan 2009 14:30:29 +0100 > From: "Kai Tietz" > > ok, so I sugget the following patch instead. It is able to generate > addresses for XP64 without the use of any vendor specific printf > formatters, and uses for targets where sizeof(long) == sizeof(void*) > the long variant. Kai please don't send base64 encoded attachments. > Content-Type: text/x-c; name=host_addr_to_string.diff > Content-Transfer-Encoding: base64 > X-Attachment-Id: f_fpsbcke80 > Content-Disposition: attachment; filename=host_addr_to_string.diff > > SW5kZXg6IHNyYy9nZGIvdXRpbHMuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 > PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzcmMub3JpZy9nZGIvdXRpbHMu