The issue of passing environment variables to spawned programs came up on the GDB list recently, although in our case, we want to pass env vars to host programs (to GDB), not target programs.
At https://sourceware.org/ml/gdb-patches/2014-06/msg00246.html, Yao pointed at an earlier dejagnu attempt to address this issue, at http://lists.gnu.org/archive/html/dejagnu/2008-07/msg00000.html. I'd be great to have this finally addressed, though whatever solution dejagnu ends up with should consider build vs board vs target. -- Pedro Alves _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu