@@ -75,7 +75,7 @@ if(MBED_GENERATE_CLION_DEBUG_CFGS)
75
75
"<!-- Autogenerated by Mbed OS. Do not edit! -->
76
76
<component name=\" ProjectRunConfigurationManager\" >
77
77
<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\" >
79
79
<debugger kind=\" GDB\" isBundled=\" true\" />
80
80
</custom-gdb-server>
81
81
<method v=\" 2\" >
@@ -135,7 +135,7 @@ elseif(MBED_GENERATE_VS_CODE_DEBUG_CFGS)
135
135
\" gdbPath\" : \" ${MBED_GDB} \" ,
136
136
\" objdumpPath\" : \" ${MBED_OBJDUMP} \" ,
137
137
\" servertype\" : \" external\" ,
138
- \" gdbTarget\" : \" 127.0.0.1:${GDB_PORT } \" ,
138
+ \" gdbTarget\" : \" 127.0.0.1:${MBED_GDB_PORT } \" ,
139
139
\" request\" : \" launch\" ,
140
140
\" preLaunchTask\" : \" Build ${CMAKE_TARGET} and start GDB server\" ,
141
141
// Override the command sequences used by VS Code to be correct for this GDB server
@@ -266,7 +266,7 @@ elseif(MBED_UPLOAD_SUPPORTS_DEBUG)
266
266
267
267
file (GENERATE OUTPUT ${CMAKE_BINARY_DIR} /mbed-cmake.gdbinit CONTENT
268
268
"# 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 }
270
270
${MBED_UPLOAD_LAUNCH_COMMANDS_FOR_GDBINIT}
271
271
c"
272
272
)
0 commit comments