feat(tools): update gdb version to 12.1_20231023

This commit is contained in:
Alexey Lapshin
2023-10-24 06:54:51 +00:00
committed by BOT
parent 365123dfaa
commit fc7ac87b61
2 changed files with 58 additions and 59 deletions
@@ -184,10 +184,9 @@ class PanicTestDut(IdfDut):
"""
gdb_args = ['--nx', '--quiet', '--interpreter=mi2']
if self.is_xtensa:
gdb_path = 'xtensa-esp-elf-gdb-no-python' # TODO: GCC-311
gdb_args = [f'--mcpu={self.target}'] + gdb_args
gdb_path = f'xtensa-{self.target}-elf-gdb'
else:
gdb_path = 'riscv32-esp-elf-gdb-no-python' # TODO: GCC-311
gdb_path = 'riscv32-esp-elf-gdb'
try:
from pygdbmi.constants import GdbTimeoutError
gdb_command = [gdb_path] + gdb_args