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


Quoting Eli Zaretskii <eliz@gnu.org>:

> 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


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