File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export class GetGDBPathCommand extends CommandWithResult<string> {
9595
9696 const supportedToolchains = await getSupportedToolchains ( ) ;
9797 const latestSupportedToolchain = supportedToolchains . find (
98- t => t . version === latestVb . toolchain
98+ t => t . version === latestVb [ 1 ] . toolchain
9999 ) ;
100100 if ( ! latestSupportedToolchain ) {
101101 void window . showErrorMessage (
@@ -110,8 +110,8 @@ export class GetGDBPathCommand extends CommandWithResult<string> {
110110 ) ?. includes ( "riscv" ) ;
111111
112112 toolchainVersion = useRISCV
113- ? latestVb . riscvToolchain
114- : latestVb . toolchain ;
113+ ? latestVb [ 1 ] . riscvToolchain
114+ : latestVb [ 1 ] . toolchain ;
115115 } else {
116116 const selectedToolchainAndSDKVersions =
117117 await cmakeGetSelectedToolchainAndSDKVersions ( workspaceFolder . uri ) ;
You can’t perform that action at this time.
0 commit comments