west native_gdb runner: Fix to use exe instead of elf
The runnable output from the build system is the exe file. In native_posix the elf happend to also be runnable, but this is not the case in general, and not for native_sim or the nrf5*bsim boards. So lets use the exe instead. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
f8455b410e
commit
07e88a9fba
1 changed files with 3 additions and 3 deletions
|
@ -36,11 +36,11 @@ class NativeGDBBinaryRunner(ZephyrBinaryRunner):
|
|||
if self.cfg.gdb is None:
|
||||
raise ValueError("The provided RunnerConfig is missing the required field 'gdb'.")
|
||||
|
||||
if self.cfg.elf_file is None:
|
||||
raise ValueError("The provided RunnerConfig is missing the required field 'elf_file'.")
|
||||
if self.cfg.exe_file is None:
|
||||
raise ValueError("The provided RunnerConfig is missing the required field 'exe_file'.")
|
||||
|
||||
self.call([
|
||||
self.cfg.gdb,
|
||||
'--quiet',
|
||||
self.cfg.elf_file,
|
||||
self.cfg.exe_file,
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue