This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Modify gdb/Makefile.in to build observer.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 28 Feb 2003 10:19:04 -0500
- Subject: Re: [RFA] Modify gdb/Makefile.in to build observer.c
- References: <20030228073413.GE6112@gnat.com>
On Thu, Feb 27, 2003 at 11:34:13PM -0800, Joel Brobecker wrote:
> I made the following changes in order to have observer.[hc] built
> in GDB.
>
> Since this unit is currently unused in GDB, I have considered not
> linking in this observer.o. However, I think I've seen another recent
> patch that is just about ready to benefit from this framework. So I
> discarded this idea.
>
> There is one variable that I don't quite understand; it's
> HFILES_NO_SRCDIR. The comment ("Header files that need to have srcdir
> added", sic) did not help me, so I wasn't sure that observer.h does
> not need to be added to this list. Let me know if it should.
HFILES_NO_SRCDIR is only used for make TAGS, and that's been neglected
for a while now - I'd say, don't worry about it.
> 2003-02-27 J. Brobecker <brobecker at gnat dot com>
>
> * Makefile.in: Add rules to build and link in observer.o.
>
> Ok to apply?
Since Andrew's already indicated he wants this linked in, and since I
actually have another bug that this will make much easier to solve,
please go ahead.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer