From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2402 invoked by alias); 18 May 2005 18:08:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1677 invoked from network); 18 May 2005 18:08:25 -0000 Received: from unknown (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org with SMTP; 18 May 2005 18:08:25 -0000 Received: from zaretski (IGLD-80-230-39-112.inter.net.il [80.230.39.112]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id BGJ35867 (AUTH halo1); Wed, 18 May 2005 21:07:10 +0300 (IDT) Date: Wed, 18 May 2005 19:53:00 -0000 From: "Eli Zaretskii" To: Wu Zhou Message-ID: <01c55bd4$Blat.v2.4$1ac2de20@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb-patches@sources.redhat.com In-reply-to: <1116411881.428b17e9beb01@imap.linux.ibm.com> (message from Wu Zhou on Wed, 18 May 2005 06:24:41 -0400) Subject: Re: two questions about GDB coding standards Reply-to: Eli Zaretskii References: <1116411881.428b17e9beb01@imap.linux.ibm.com> X-SW-Source: 2005-05/txt/msg00455.txt.bz2 > Date: Wed, 18 May 2005 06:24:41 -0400 > From: Wu Zhou > Cc: gdb-patches@sources.redhat.com > > Where can I find any document about xasprintf or xsnprintf? I can find > xasprintf's definition in the source tree of libiberty, but didn't find > any definition for xsnprintf. Where is it defined then? Both xasprintf and xsnprintf are defined in gdb/utils.c. There's no documentation for them except in utils.c (code and comments). (I think we should have a section in gdbint.texinfo that describes useful utility functions such as these. Feel free to write up such documentation; I'd be glad to review it, if you do.)