This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] comment: push_target: Fix comment
- From: Doug Evans <dje at google dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 23 May 2010 10:06:34 -0700
- Subject: Re: [patch] comment: push_target: Fix comment
- References: <20100523142948.GA4275@host0.dyn.jankratochvil.net>
On Sun, May 23, 2010 at 7:29 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> Hi,
>
> I would like to update this comment but I was told one should not make
> references to other code in comments as such comment may become stale.
> OTOH unaware how to fix it otherwise, changing this code will most probably
> require updating the referenced add_target_sections code anyway.
For reference sake, comments that describe the function it is in have
also become stale!
While the likelihood is a bit higher here, I don't have a problem with it.