This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: two questions about GDB coding standards


> 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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]