This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: two questions about GDB coding standards
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 18 May 2005 21:03:55 +0300
- Subject: Re: two questions about GDB coding standards
- References: <1116411881.428b17e9beb01@imap.linux.ibm.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 18 May 2005 06:24:41 -0400
> From: Wu Zhou <woodzltc@cn.ibm.com>
> 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.)