From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22217 invoked by alias); 18 Oct 2006 11:24:23 -0000 Received: (qmail 22169 invoked by uid 22791); 18 Oct 2006 11:24:22 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-01.spheriq.net (HELO fra-del-01.spheriq.net) (195.46.51.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Oct 2006 11:24:11 +0000 Received: from fra-out-01.spheriq.net (fra-out-01.spheriq.net [195.46.51.129]) by fra-del-01.spheriq.net with ESMTP id k9IBO4Vl010691 for ; Wed, 18 Oct 2006 11:24:04 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-01.spheriq.net with ESMTP id k9IBO2Om025233 for ; Wed, 18 Oct 2006 11:24:02 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-02.spheriq.net with ESMTP id k9IBO0NU006160 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Wed, 18 Oct 2006 11:24:01 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C90BCDA42 for ; Wed, 18 Oct 2006 11:23:59 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8F41E47337 for ; Wed, 18 Oct 2006 11:23:59 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CIC75716 (AUTH stubbsa); Wed, 18 Oct 2006 12:23:58 +0100 (BST) Message-ID: <45360ECE.4060506@st.com> Date: Wed, 18 Oct 2006 11:24:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: GDB printf command References: <4534C695.2050206@st.com> <20061017132426.GA28323@nevyn.them.org> <4534E3FF.9030505@st.com> <20061017142451.GA30620@nevyn.them.org> <4534EC06.3050200@st.com> <20061017145411.GA31447@nevyn.them.org> In-Reply-To: <20061017145411.GA31447@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00133.txt.bz2 Daniel Jacobowitz wrote: > Once we have the structure in place, we could basically replace > printf_fetchargs (which uses va_arg) with something that operated on > our list of values and did appropriate type checking / casts, then > hand it back to the gnulib printf routine. So you're not talking about changing anything outside of printcmd.c, just adding a few files from another project and rewriting the relevant bits of the printf command? OK, that sounds like a plan. Where do we start? Andrew