change openocd.cfg searching directory
add *.gdb~ and *.cfg~