GNU GDB's Ulrich Weigand:
Hmm. It would appear that "set exec-wrapper" is currently broken with the gnu-nat.c target, right?
GNU GDB's Pedro Alves:
Yeah, it appears so. Don't know if it's possible to get rid of the local pending execs handling in gnu-nat.c. An alternative would be to make pending_execs a property of inferior.h:
struct inferior' instead of of gnu-nat.c:struct inf'.