Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stanshebs@earthlink.net>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Use Doxygen for internals documentation
Date: Tue, 15 Oct 2013 23:39:00 -0000	[thread overview]
Message-ID: <525DD240.6050205@earthlink.net> (raw)
In-Reply-To: <525BEF41.6010807@codesourcery.com>

On 10/14/13 6:18 AM, Yao Qi wrote:
> On 10/12/2013 06:13 AM, Stan Shebs wrote:
>> This patch is the third and final step in the transition away from the
>> old GDB internals manual.

So people can take a look without installing the patch, I put a copy of
the output on github:

	http://stanshebs.github.io/gdb-doxy-test/


>>     doxy/gdb-api - GDB's "API", basically what is in .h files
>>     doxy/gdb-xref - the full xref, voluminous
> 
> Any reason to produce both of them?  I'd like to have a single one.

gdb-xref has the most information, but the cross-references can be
lengthy - in utils.h for instance, the references to gdb_stderr
etc fill multiple screens, and it's a distraction if you're just
looking for the right function to print a ULONGEST.

It wasn't obvious which one would be the most useful, and I didn't see
an option to "twist out" the API into a full xref, so I just ran it
twice.  If one of these is disliked, no problem to eliminate - hackers
can always create a personal page collection, doxygen is pretty fast
if you skip the macro expansion.

>>     doxy/gdbserver - GDBserver xref
>>     doxy/xml - XML version, for further script-crunching
> 
> Do you have an example that these xml files can be consumed by other tools?

Not yet, still learning the XML-fu necessary.  A couple easy examples
would be "find orphans" and "report the percentage of the API that has
been documented".

Stan
stan@codesourcery.com


  reply	other threads:[~2013-10-15 23:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11 22:13 Stan Shebs
2013-10-14 13:20 ` Yao Qi
2013-10-15 23:39   ` Stan Shebs [this message]
2013-10-16 17:28 ` Tom Tromey
2013-10-16 19:52   ` Stan Shebs
2013-10-17 20:23     ` Tom Tromey
2013-11-01 11:18 ` Pedro Alves

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=525DD240.6050205@earthlink.net \
    --to=stanshebs@earthlink.net \
    --cc=gdb-patches@sourceware.org \
    --cc=yao@codesourcery.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