Skip to content

Commit 8908898

Browse files
committed
fix: not found elf path for symbol table
1 parent 005965d commit 8908898

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EIDEProjectExplorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ class ProjectDataProvider implements vscode.TreeDataProvider<ProjTreeItem>, vsco
16811681
// iar fmt:
16821682
// # Name Value Sec Type Bd Size Group Other
16831683
case 'IAR_ARM':
1684-
elfpath = prj.getExecutablePathWithoutSuffix() + '.out';
1684+
elfpath = prj.getExecutablePathWithoutSuffix() + '.elf';
16851685
elftool = [toolchain.getToolchainDir().path, 'bin', `ielfdumparm${exeSuffix()}`].join(File.sep);
16861686
elfcmds = ['-s', '.symtab', elfpath];
16871687
symMatcher = /^\s*\d+:\s+(?<name>[^\s]+)\s+(?<addr>0x[0-9a-f]+)\s+(?:[^\s]+)\s+(?<type>[^\s]+\s+[^\s]+)(?<size>\s+0x[0-9a-f]+)?/i;

0 commit comments

Comments
 (0)