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: [patch/wip] Save/restore cooked registers


On Aug 26,  2:21pm, Andrew Cagney wrote:

> > I've looked over Andrew's WIP patch.  I haven't checked all the details,
> > but the ideas seem sound and the interfaces look okay.  I'd like to see
> > the iterators better commented though.
> 
> The doco will go in:
> gdbint.texinfo:Registers:Saving and Restoring Registers.

As I understand it, functions should be commented in the source
files too.  (Cf. http://www.gnu.org/prep/standards_24.html#SEC24)

When I'm working on gdb, I find it more convenient to go to the
location of the function declaration / definition and read the
associated comment.  I do look at the texinfo document too, but only
as a last resort.  (I trust it less, plus I find that the markup gets
in the way of easy comprehension.)

> Hence ``wip'' :-)

Okay.

Kevin


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