fix disable JTAG when not using GDB