enable auto testing in gdb by gdbscript

on using "make qemugbg" ,gdb will automatically call test_command with
gdb call ,the program will stop in gdb at main:step 8