[RFA/testsuite/ada] Add gdb.ada subdirectory + Makefile & Ada project file

Joel Brobecker brobecker@gnat.com
Tue Mar 30 22:08:00 GMT 2004


[Doh! With the files attached this time... Thanks Andrew!]
Hello,

This is a continuation of: 

        http://sources.redhat.com/ml/gdb-patches/2004-03/msg00726.html

This "patch" add a new subdirectory named gdb.ada, designed to contain
testcases that involve applications written in Ada. Besides creating
that subdirectory, it adds a Makefile.in and a GNAT project file stub
(gnat_ada.gpr.in). The purpose of the GNAT project file is to provide
the GNAT toolsuite with some information such as source location, and
where to store the object files and executables.

2004-03-29  J. Brobecker  <brobecker@gnat.com>

        * gdb.ada: New subdirectory.
        * gdb.ada/Makefile.in: New file.
        * gdb.ada/gnat_ada.gpr.in: New file.

Tested on x86-linux, using a small Ada testcase.
OK to apply?

Thanks,
-- 
Joel
-------------- next part --------------
VPATH = @srcdir@
srcdir = @srcdir@

EXECUTABLES = null_record

MISCELLANEOUS =

all info install-info dvi install uninstall installcheck check:
	@echo "Nothing to be done for $@..."

clean mostlyclean:
	-gnatclean -Pgnat_ada -q $(EXECUTABLES)
	-rm -f *~ *.o a.out xgdb *.x *.ci *.tmp
	-rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES)
	-rm -f $(MISCELLANEOUS) twice-tmp.c

distclean maintainer-clean realclean: clean
	-rm -f *~ core
	-rm -f Makefile config.status config.log gnat_ada.gpr
	-rm -f *-init.exp
	-rm -fr *.log summary detail *.plog *.sum *.psum site.*
-------------- next part --------------
--  This project files allows us to control the location where the
--  compilation artifacts produced when building the Ada examples
--  are stored.

project Gnat_Ada is

   for Source_Dirs use ("@srcdir@");
   --  No need to set the Object_Dir, it is set to "." by default.

end Gnat_Ada;


More information about the Gdb-patches mailing list