Add config and fix a bug in instruction test
Improve gdb stub commands implementation