From 3a04dccf82e1b4acbf823158c79a9503a04095cd Mon Sep 17 00:00:00 2001 From: Junjie Cai Date: Sun, 25 Mar 2018 19:31:17 +0800 Subject: [PATCH] [build] gdb_command remove cmd /C --- build/aos_toolchain_arm-none-eabi.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/aos_toolchain_arm-none-eabi.mk b/build/aos_toolchain_arm-none-eabi.mk index 9df347b236..367cb56bbc 100644 --- a/build/aos_toolchain_arm-none-eabi.mk +++ b/build/aos_toolchain_arm-none-eabi.mk @@ -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)