This is the mail archive of the gdb-patches@sourceware.org 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: [Patch]: Little Cleanup


> Date: Mon, 5 Mar 2007 22:19:20 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: deuling@de.ibm.com, pedro_alves@portugalmail.pt,
>         gdb-patches@sourceware.org
> > 
> > I thought we agreed about adding a comment here, something like:
> > 
> >   /* insert_breakpoints returns non-zero if it fails to insert the
> >      breakpoints.  */
> 
> Adding this sort of comments at all call sites of such functions is
> really silly.

I don't see anything silly about making the code clearer.


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