From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19816 invoked by alias); 11 Oct 2006 20:44:25 -0000 Received: (qmail 19808 invoked by uid 22791); 11 Oct 2006 20:44:24 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 11 Oct 2006 20:44:23 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GXkw6-0002UY-C0; Wed, 11 Oct 2006 16:44:18 -0400 Date: Wed, 11 Oct 2006 20:44:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: Andrew STUBBS , GDB Patches Subject: Re: [PATCH] long long for printf on MinGW Message-ID: <20061011204418.GB9409@nevyn.them.org> Mail-Followup-To: Mark Kettenis , Andrew STUBBS , GDB Patches References: <452CCE2D.8070806@st.com> <10959.82.92.89.47.1160598501.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10959.82.92.89.47.1160598501.squirrel@webmail.xs4all.nl> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00126.txt.bz2 On Wed, Oct 11, 2006 at 10:28:21PM +0200, Mark Kettenis wrote: > Actually I think the way we support size modifiers in gdb's printf are > completely broken. Do they refer to the host types, or the target types? Good question: which do you want them to refer to? I have already rewritten this file pretty much from scratch once in 2006, so I'm understandably not too eager to do it again :-) But if we must, then we must. I do not see any clear way to support target types while still taking advantage of the host printf, however. Perhaps I should go back to my prototype patch for line wrapping, which would let us import bits of "gnulib". Which has a nice thorough printf format string parser that we might be able to reuse. -- Daniel Jacobowitz CodeSourcery