This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: MI - Detecting change of string contents with variable objects
Nick Roberts <nickrob@snap.net.nz> writes:
> Too many comments get in the way of the code and I think the name is fairly
> self explanatory. Most of the simple functions don't have a comment and AFAIK
> a comment for them is not a GNU or GDB coding standard.
I see this differently. I find comments above functions explaining
their interface, as opposed to their strategy for implementing that
interface, to be a real help. I'm ready to admit I may be chattier
than is helpful within function bodies, but leaving interfaces
unexplained detracts from their utility.