Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Joel Brobecker <brobecker@gnat.com>, Dave Korn <dk@artimi.com>,
	"'Eli Zaretskii'" <eliz@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: Discussion: Formalizing the deprecation process in GDB
Date: Thu, 07 Oct 2004 16:16:00 -0000	[thread overview]
Message-ID: <4165656B.4070007@gnu.org> (raw)
In-Reply-To: <20041007144852.GG1282@gnat.com>

> (this discussion about the internals documentation is for the purpose
> of formalizing the deprecation mechanism)
> 
> 
>>>> > I do agree with Andrew that the place were developers search
>>>> > for documentation is the code. 
>>
>>> 
>>>   Not me!  I look for the internals docs!  And complain bitterly when I
>>> can't find them (because they don't exist) or they're years out of date!
> 
> 
> Well, one of the contributing factors of docs guetting out of date
> is that they are out of the developer's view. You can thank Eli for
> his tremendous job at keeping the gdbint doc in great shape, but also
> alerting us when some documentation needs to be added/modified in that
> manual.
> 
> But in any case, my point was not that we should get rid of the
> internals manual entirely. There are parts that are more useful
> in this manual rather than the in the code. Parts that explain
> the big pictures, for instance, how everything fits together, etc.
> 
> However, sections such as the section that explain what observers
> are, which ones are implemented, and what they should be used for,
> in my opinion, should be documented in the code. (actually, now that
> I think of it, the observer code is now generated from the doc -
> but I'm sure I can find other examples).

Yea, bad example :-)

"observer.texi" illustrates a [contraversial?] compromise, at least the 
documentation is in a single place.  (BTW, JeffJ pointed out to me that 
the observer.texi doco has a bug - it doesn't document how to add a new 
observer - knowing to modify observer.texi isn't "obvious" :-).

"gdbarch.sh", "target.h", "inferior.h", ... are all better examples. 
For those, my things to do one day include get them into a format 
similar to observer.texi so that at least the interface is single source.

I think separate documentation is good for recording processes such as 
releasing gdb or version numbers; and higher level architecture and 
perhaps even some medium level models (showing how it is ment to be not 
how bu----ed it currently is :-).

Andrew



  reply	other threads:[~2004-10-07 15:49 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-27 17:55 Joel Brobecker
2004-09-27 20:35 ` Eli Zaretskii
2004-10-06  6:14 ` Andrew Cagney
2004-10-06 13:39   ` Eli Zaretskii
2004-10-07  4:48     ` Joel Brobecker
2004-10-07 14:27       ` Dave Korn
2004-10-07 15:12         ` Joel Brobecker
2004-10-07 16:16           ` Andrew Cagney [this message]
2004-10-07 18:50             ` Dave Korn
2004-10-07 16:14         ` Andrew Cagney
2004-10-07 18:08           ` Dave Korn
2004-10-07 19:18             ` Joel Brobecker
2004-10-07 19:28               ` Dave Korn
2004-10-08  7:08                 ` Joel Brobecker
2004-10-08 12:13                   ` Eli Zaretskii
2004-10-08 12:05               ` Eli Zaretskii
2004-10-08  8:54             ` Fabian Cenedese
2004-10-08 11:45           ` Eli Zaretskii
2004-10-08 19:22             ` Andrew Cagney
2004-10-10 21:31               ` Eli Zaretskii
2004-10-08 10:45         ` Eli Zaretskii
2004-10-08 13:31           ` Dave Korn
2004-10-08 13:38             ` Eli Zaretskii
2004-10-08 13:43               ` Dave Korn
2004-10-08 13:44                 ` Dave Korn
2004-10-08 19:16                 ` Eli Zaretskii
2004-10-08 19:45                   ` Eli Zaretskii
2004-10-08 22:10             ` Andrew Cagney
2004-10-08 10:38       ` Eli Zaretskii
2004-10-11 15:11     ` Andrew Cagney
2004-10-12  7:34       ` Eli Zaretskii
2004-10-12 13:42         ` Mark Kettenis

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=4165656B.4070007@gnu.org \
    --to=cagney@gnu.org \
    --cc=brobecker@gnat.com \
    --cc=dk@artimi.com \
    --cc=eliz@gnu.org \
    --cc=gdb@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