Simple smoketesting code for my gcc builds and for gdbhooks.py