From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11560 invoked by alias); 19 May 2005 05:37:40 -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 11317 invoked from network); 19 May 2005 05:37:18 -0000 Received: from unknown (HELO e2.ny.us.ibm.com) (32.97.182.142) by sourceware.org with SMTP; 19 May 2005 05:37:18 -0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j4J5bIJX006103 for ; Thu, 19 May 2005 01:37:18 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j4J5bIkv122486 for ; Thu, 19 May 2005 01:37:18 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j4J5bHX8017708 for ; Thu, 19 May 2005 01:37:18 -0400 Received: from imap.linux.ibm.com (imap.rtp.raleigh.ibm.com [9.42.107.100]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j4J5aqmv017196; Thu, 19 May 2005 01:37:17 -0400 Received: by imap.linux.ibm.com (Postfix, from userid 48) id 36A297C00D; Thu, 19 May 2005 01:36:52 -0400 (EDT) Received: from ibmcsdl-9m89c83.cn.ibm.com (ibmcsdl-9m89c83.cn.ibm.com [9.181.134.123]) by imap.rtp.raleigh.ibm.com (IMP) with HTTP for ; Thu, 19 May 2005 01:36:52 -0400 Message-ID: <1116481012.428c25f4048ae@imap.linux.ibm.com> Date: Thu, 19 May 2005 08:47:00 -0000 From: Wu Zhou To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: two questions about GDB coding standards MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.7 X-SW-Source: 2005-05/txt/msg00469.txt.bz2 Quoting Eli Zaretskii : > Both xasprintf and xsnprintf are defined in gdb/utils.c. There's no > documentation for them except in utils.c (code and comments). yes. I found their definition in the latest gdb source tree. My working tree is a old one(6.3.0). > (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.) Surely I'd like to contribute, if only that you think that my english is ok for this kind of task, :-) I will try to draft some document later for your review. Thanks. Cheers - Wu Zhou