[build] gdb_command remove cmd /C
@@ -45,7 +45,7 @@ endif
ifeq ($(HOST_MCU_FAMILY), stm32l4xx)
GDB_KILL_OPENOCD = shell $(TOOLS_ROOT)/cmd/win32/taskkill /F /IM st-util.exe
GDBINIT_STRING = shell start /B $(TOOLS_ROOT)/cmd/win32/st-util.exe
-GDB_COMMAND = cmd /C $(call CONV_SLASHES, $(TOOLCHAIN_PATH))$(TOOLCHAIN_PREFIX)gdb$(EXECUTABLE_SUFFIX)
+GDB_COMMAND = $(call CONV_SLASHES, $(TOOLCHAIN_PATH))$(TOOLCHAIN_PREFIX)gdb$(EXECUTABLE_SUFFIX)
else
GDB_KILL_OPENOCD = shell $(TOOLS_ROOT)/cmd/win32/taskkill /F /IM openocd.exe
GDBINIT_STRING = shell start /B $(OPENOCD_FULL_NAME) -f $(OPENOCD_CFG_PATH)interface/$(JTAG).cfg -f $(OPENOCD_CFG_PATH)$(HOST_OPENOCD)/$(HOST_OPENOCD).cfg -f $(OPENOCD_CFG_PATH)$(HOST_OPENOCD)/$(HOST_OPENOCD)_gdb_jtag.cfg -l $(OPENOCD_LOG_FILE)
