@@ -75,7 +75,7 @@ if(MBED_GENERATE_CLION_DEBUG_CFGS)
7575"<!-- Autogenerated by Mbed OS. Do not edit! -->
7676<component name=\" ProjectRunConfigurationManager\" >
7777 <configuration default=\" false\" name=\" ${CONFIG_NAME} \" type=\" com.jetbrains.cidr.embedded.customgdbserver.type\" PROGRAM_PARAMS=\" ${GDBSERVER_ARGS_STR} \" REDIRECT_INPUT=\" false\" ELEVATE=\" false\" USE_EXTERNAL_CONSOLE=\" false\" PASS_PARENT_ENVS_2=\" true\" PROJECT_NAME=\" ${PROJECT_NAME} \" TARGET_NAME=\" ${CMAKE_TARGET} \" CONFIG_NAME=\" ${MBED_CLION_PROFILE_NAME} \" version=\" 1\" RUN_TARGET_PROJECT_NAME=\" ${PROJECT_NAME} \" RUN_TARGET_NAME=\" ${CMAKE_TARGET} \" >
78- <custom-gdb-server version=\" 1\" gdb-connect=\" 127.0.0.1:${GDB_PORT } \" executable=\" ${GDBSERVER_EXECUTABLE} \" warmup-ms=\" 0\" download-type=\" UPDATED_ONLY\" reset-cmd=\" monitor reset\" reset-type=\" AFTER_DOWNLOAD\" >
78+ <custom-gdb-server version=\" 1\" gdb-connect=\" 127.0.0.1:${MBED_GDB_PORT } \" executable=\" ${GDBSERVER_EXECUTABLE} \" warmup-ms=\" 0\" download-type=\" UPDATED_ONLY\" reset-cmd=\" monitor reset\" reset-type=\" AFTER_DOWNLOAD\" >
7979 <debugger kind=\" GDB\" isBundled=\" true\" />
8080 </custom-gdb-server>
8181 <method v=\" 2\" >
@@ -135,7 +135,7 @@ elseif(MBED_GENERATE_VS_CODE_DEBUG_CFGS)
135135 \" gdbPath\" : \" ${MBED_GDB} \" ,
136136 \" objdumpPath\" : \" ${MBED_OBJDUMP} \" ,
137137 \" servertype\" : \" external\" ,
138- \" gdbTarget\" : \" 127.0.0.1:${GDB_PORT } \" ,
138+ \" gdbTarget\" : \" 127.0.0.1:${MBED_GDB_PORT } \" ,
139139 \" request\" : \" launch\" ,
140140 \" preLaunchTask\" : \" Build ${CMAKE_TARGET} and start GDB server\" ,
141141 // Override the command sequences used by VS Code to be correct for this GDB server
@@ -266,7 +266,7 @@ elseif(MBED_UPLOAD_SUPPORTS_DEBUG)
266266
267267 file (GENERATE OUTPUT ${CMAKE_BINARY_DIR} /mbed-cmake.gdbinit CONTENT
268268"# connect to GDB server
269- target ${UPLOAD_GDB_REMOTE_KEYWORD} 127.0.0.1:${GDB_PORT }
269+ target ${UPLOAD_GDB_REMOTE_KEYWORD} 127.0.0.1:${MBED_GDB_PORT }
270270${MBED_UPLOAD_LAUNCH_COMMANDS_FOR_GDBINIT}
271271c"
272272)
0 commit comments