Can someone of the Ada folks provide some info how I can get a debugging
    session with a failing acats test?  Looking at the testsuite log file
    I f.i. see c32001e failing and an (appearant) build line(s)

    BUILD c32001e.adb

    but neither of them is invokable from no existing directory (even if
    you supply the correct path to the c32001e.adb file).  Like f.i.
    within the testsuite/ada directory

It is indeed tricky.  What I usually do is copy the acats test in question
into a new directory (so I can cut it down or modify it as part of the
debugging) and then put the following in /tmp/sh (modified appropriately for
acats test name and GCC build directory) and then do "source /tmp/sh".

/gcc/gcc/i386-64-h/gcc/gnatmake --GCC="/gcc/gcc/i386-64-h/gcc/xgcc 
-B/gcc/gcc/i386-64-h/gcc/ -I/gcc/gcc/i386-64-h/gcc/ada/rts" -gnatws -O2 
-I/gcc/gcc/i386-64-h/gcc/testsuite/ada/acats/support 
-I/gcc/gcc/i386-64-h/gcc/ada/rts c380004.adb -largs 
--GCC="/gcc/gcc/i386-64-h/gcc/xgcc -B/gcc/gcc/i386-64-h/gcc/ 
-I/gcc/gcc/i386-64-h/gcc/ada/rts"
/gcc/gcc/i386-64-h/gcc/gnatbind -aO./ 
-I/gcc/gcc/i386-64-h/gcc/testsuite/ada/acats/support 
-I/gcc/gcc/i386-64-h/gcc/ada/rts -x c380004.ali
/gcc/gcc/i386-64-h/gcc/gnatlink c380004.ali  -I/gcc/gcc/i386-64-h/gcc/ada/rts 
--GCC="/gcc/gcc/i386-64-h/gcc/xgcc -B/gcc/gcc/i386-64-h/gcc/  
-I/gcc/gcc/i386-64-h/gcc/ada/rts"

Reply via email to