This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add some code in observer.c to allow unit-testing
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 18 Mar 2003 10:07:04 -0800
- Subject: Re: [RFA] Add some code in observer.c to allow unit-testing
- References: <20030318020905.GL16507@gnat.com> <3E773D7F.2010003@redhat.com>
> Long term, it's going to run into -Wunused-function. Suggest adding a
> disclaimer pointing out this limitation :-)
Sure, I added the following comment:
/* Since this code will not be used within GDB, it will trigger
a warning if we decide to compile with -Wunused-function.
This is ok for now. (brobecker 2003-03-18) */
> Otherwize (for want of any beter idea :-), ok.
Checked in, with the above addition.
Thanks,
--
Joel