This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Generate observer.[hc]


Date: Thu, 08 Apr 2004 17:09:34 -0400
From: Andrew Cagney <cagney@gnu.org>

The attached adds the script observer.sh that can be used to generate:
	observer.h
	observer.ch (#included by observer.c)
at build time using doc/observer.texi as the input.


Sorry for the long delay.

The patch for observer.texi is approved, but 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. (At a guess, we're going to end up with something between 10 and 20 observers).


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]