Add template driver code to GDB tests.

	* src/gdb-advance/advance.c: Add template drirver code.
	* src/gdb-all-types/all-types.c: Likewise.
	* src/gdb-anon/anon.c: Likewise.
	* src/gdb-arrayidx/arrayidx.c: Likewise.
	* src/gdb-async/async.c: Likewise.