On Oct 21, 2014, at 9:02 AM, Joern Rennecke <joern.renne...@embecosm.com> wrote: > The gdb version check ends up trying to invoke gdb on the target - > not so nice if your target is too small to accomodate gdb in the first place.
So, I didn’t see anything that allowed it to work on targets that have gdb and can work. Turning it off unconditionally for all crosses seems wrong. You could test to see if gdb is present (say, by running —version). If present, assume this is as it should be. If absent, just don’t test anything that requires gdb. This works then in a native environment when gdb is absent, and crosses that can’t have a gdb for any reason.