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]

[RFA/testsuite/ada] Add support for building Ada programs


Hello,

Based on the discussion between Daniel and myself that started with:

        http://sources.redhat.com/ml/gdb-patches/2004-02/msg00695.html

I suggest the addition of a new file in testsuite/lib: ada.exp.

This file contains 2 elements:
  1. Two procedure that should be provided by dejagnu. The changes
     needed to add support for Ada is not in there yet, so I duplicated
     this code here for now. This only affect testing of Ada programs,
     since a test would need to include "ada.exp" to see these different
     procedures. The plan is also to keep them for a while after they
     are part of a released version of dejagnu, to avoid increasing
     the dejagnu version number requirement when running the GDB testsuite.
  2. A procedure "gdb_compile_ada" that can be used to build Ada programs.

This was tested on x86-linux using a small testcase involving an Ada
program.

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

        * lib/ada.exp: New file.

Ok to apply?

Next on the list are:
  1. Creating the gdb.ada subdirectory, add Makefile.in, and also
     the gnat_ada.gpr.in project file provided to gnatmake to do
     the builds.
  2. Add gdb.ada to ALL_SUBDIRS in testsuite/Makefile.in
  3. Add the null_record.exp testcase.
Patches coming up.
  
Cheers,
-- 
Joel

Attachment: ada.exp
Description: Text document


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