From: "Eli Zaretskii" <eliz@gnu.org>
To: Joel Brobecker <brobecker@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Enhance GDB to break inside DSO init code
Date: Sat, 24 Jul 2004 17:16:00 -0000 [thread overview]
Message-ID: <1659-Sat24Jul2004201424+0300-eliz@gnu.org> (raw)
In-Reply-To: <20040724150104.GP20596@gnat.com> (message from Joel Brobecker on Sat, 24 Jul 2004 08:01:04 -0700)
> Date: Sat, 24 Jul 2004 08:01:04 -0700
> From: Joel Brobecker <brobecker@gnat.com>
>
> > Why, oh why do people go to such great lengths to explain this in a
> > mail message and/or in the comments to the code, but not as a patch to
> > gdbint.texinfo? Why not invest a small additional effort (Texinfo
> > markup) to improve our documentation together with fixing a bug?
>
> To me, explainations about the code belong in the code.
I didn't object to having them in the code as well.
The one significant drawback with having these explanations _only_ in
the code is that one cannot easily find them, unless one already knows
where and what to look for. An Info manual, by contrast, has powerful
search facilities.
> If I had to make a suggestion, I would embed all the information from
> gdbint inside the code, and make gdbint a document generated from the
> code.
I support this goal, but I don't have time to work on making this
happen. AFAIK, there's no GNU standard for embedding documentation in
code, and, apart of the chew thingy used by Binutils, I'm not aware of
any tools that can produce Texinfo.
Note that some background information doesn't belong to code comments,
so there will be a need for pure Texinfo somewhere even if we adopt
some self-documenting-code system.
next prev parent reply other threads:[~2004-07-24 17:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 20:24 Joel Brobecker
2004-07-24 7:56 ` Eli Zaretskii
2004-07-24 15:01 ` Joel Brobecker
2004-07-24 17:16 ` Eli Zaretskii [this message]
2004-08-06 18:31 ` Joel Brobecker
2004-08-19 7:55 ` Joel Brobecker
2004-08-24 23:45 ` Kevin Buettner
2004-08-27 13:39 ` Joel Brobecker
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=1659-Sat24Jul2004201424+0300-eliz@gnu.org \
--to=eliz@gnu.org \
--cc=brobecker@gnat.com \
--cc=gdb-patches@sources.redhat.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