From: Joel Brobecker <brobecker@adacore.com>
To: S?rgio Durigan J?nior <sergiodj@linux.vnet.ibm.com>
Cc: luisgpm@linux.vnet.ibm.com, gdb-patches@sourceware.org,
Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: [PATCH] Improve the fetch/store of general-purpose and floating-point PowerPC registers
Date: Wed, 29 Apr 2009 04:05:00 -0000 [thread overview]
Message-ID: <20090429040506.GI31821@adacore.com> (raw)
In-Reply-To: <1240953172.2392.1.camel@miki>
> > Sorry for the delay in reviewing this. I don't know much about ptrace
> > except as a user, but this seems to make sense. The only request I have
> > is for you to write a small comment describing each new function you
> > introduce. The patch is OK with those changes.
>
> So the request is about the ChangeLog, right? Ok, I'll resubmit it with
> the modifications as soon as possible.
Actually, no. The comments are for the functions themselves. We're
trying to make sure that every new function gets in with some
documentation of what it does. It doesn't have to be very long,
but sometimes writing what the return value is about is very useful.
For instance, I remember that some of your functions will return
zero if the operation failed, I think. That's an interesting piece
of information to put in the documentation. When the function is
obvious, or when it implements a routine that's part of the gdbarch
vector, then what we've been doing, lately, is just say "Implements
the "bla_bla_bla" gdbarch method." or somesuch (we try not to repeat
the documentation to avoid maintenance issues).
--
Joel
next prev parent reply other threads:[~2009-04-29 4:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 18:32 Sérgio Durigan Júnior
2008-10-16 20:07 ` Sérgio Durigan Júnior
2009-01-07 0:44 ` Sérgio Durigan Júnior
2009-01-07 9:56 ` Mark Kettenis
2009-01-07 16:09 ` Sérgio Durigan Júnior
2009-01-08 17:46 ` Sérgio Durigan Júnior
2009-01-09 12:26 ` Luis Machado
2009-01-21 17:28 ` Sérgio Durigan Júnior
2009-04-28 20:07 ` Joel Brobecker
2009-04-29 2:16 ` Sérgio Durigan Júnior
2009-04-29 4:05 ` Joel Brobecker [this message]
2009-05-05 18:34 ` Sérgio Durigan Júnior
2009-05-06 16:58 ` Joel Brobecker
2009-05-09 3:20 ` [PATCH] Improve the fetch/store of general-purpose andfloating-point " Sérgio Durigan Júnior
2008-11-17 23:22 ` [PATCH] Improve the fetch/store of general-purpose and floating-point " Sérgio Durigan Júnior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090429040506.GI31821@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=luisgpm@linux.vnet.ibm.com \
--cc=mark.kettenis@xs4all.nl \
--cc=sergiodj@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox