From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24475 invoked by alias); 4 Sep 2007 20:43:25 -0000 Received: (qmail 24467 invoked by uid 22791); 4 Sep 2007 20:43:25 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Sep 2007 20:43:17 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-163-125.inter.net.il [84.228.163.125]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IUS59130 (AUTH halo1); Tue, 4 Sep 2007 23:43:02 +0300 (IDT) Date: Tue, 04 Sep 2007 20:43:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: mark.kettenis@xs4all.nl, jan.kratochvil@redhat.com, gdb-patches@sourceware.org In-reply-to: <20070904141926.GA27477@caradoc.them.org> (message from Daniel Jacobowitz on Tue, 4 Sep 2007 10:19:26 -0400) Subject: Re: [patch] printf "%p" gdb internal error fix Reply-to: Eli Zaretskii References: <20060910172037.GA3886@host0.dyn.jankratochvil.net> <200609101931.k8AJVF4m026090@elgar.sibelius.xs4all.nl> <20070904141926.GA27477@caradoc.them.org> 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: 2007-09/txt/msg00055.txt.bz2 > Date: Tue, 4 Sep 2007 10:19:26 -0400 > From: Daniel Jacobowitz > Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org > > On Sun, Sep 10, 2006 at 09:31:15PM +0200, Mark Kettenis wrote: > > > Date: Sun, 10 Sep 2006 19:20:37 +0200 > > > From: Jan Kratochvil > > > > > > Hi, > > > > > > (gdb) printf "%p\n", (void *) 7 > > > internal error in printf_command > > > Hmm, this will not do the right thing when you try to print a 64-bit > > pointer on a 32-bit host. > > Better late than never... > > Here is a patch for %p which does not rely on the size of a host > pointer. Thanks, but what about a companion patch for the manual?