This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Generate observer.[hc]
> Date: Thu, 15 Apr 2004 10:45:02 -0400
> From: Andrew Cagney <cagney@gnu.org>
> >
> > let me play the Devil's
> > advocate and ask what significant wins we gain from generating the
> > source files from the Texinfo file, that justify maintaining the
> > scripts which are required to support this machinery?
>
> We first establish a one-stop shop for adding observers, and second
> eliminate the drudgery of churning out the C code needed to implement
> each observer.
That much is understood, but I still have a difficulty to see how
inventing an elaborate machinery for churning C code out of Texinfo
(which is hardly a trivial Sed'ery) is justified by the benefits you
mentioned. I thought perhaps there were other, subtler, benefits
which I didn't see. Are there?
> (At a guess, we're going to end up with something between 10 and 20
> observers).
So what, we will have all of them in the docs?