mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
test_apps/panic: GDB in esp-2021r2-patch3 toolchain doesn't contain the fix for interrupted backtraced
Revert "test_apps/panic: remove workaround for incorrect GDB backtrace"
This reverts commit c0e96ceb34
.
This commit is contained in:
@ -51,13 +51,13 @@ def task_wdt_inner(env, test_name):
|
||||
dut.expect_backtrace()
|
||||
dut.expect_elf_sha256()
|
||||
dut.expect_none('Guru Meditation')
|
||||
test_common(dut, test_name,
|
||||
expected_backtrace=['panic_abort',
|
||||
'esp_system_abort',
|
||||
'abort',
|
||||
'task_wdt_isr',
|
||||
'_xt_lowint1'] +
|
||||
get_default_backtrace(dut.test_name))
|
||||
if ('gdbstub' in test_name):
|
||||
test_common(dut, test_name, expected_backtrace=[
|
||||
# Backtrace interrupted when abort is called, IDF-842
|
||||
'panic_abort', 'esp_system_abort'
|
||||
])
|
||||
else:
|
||||
test_common(dut, test_name)
|
||||
|
||||
|
||||
def int_wdt_inner(env, test_name):
|
||||
@ -105,11 +105,13 @@ def abort_inner(env, test_name):
|
||||
dut.expect_backtrace()
|
||||
dut.expect_elf_sha256()
|
||||
dut.expect_none('Guru Meditation', 'Re-entered core dump')
|
||||
test_common(dut, test_name,
|
||||
expected_backtrace=['panic_abort',
|
||||
'esp_system_abort',
|
||||
'abort'] +
|
||||
get_default_backtrace(dut.test_name))
|
||||
if ('gdbstub' in test_name):
|
||||
test_common(dut, test_name, expected_backtrace=[
|
||||
# Backtrace interrupted when abort is called, IDF-842
|
||||
'panic_abort', 'esp_system_abort'
|
||||
])
|
||||
else:
|
||||
test_common(dut, test_name)
|
||||
|
||||
|
||||
def abort_cached_disabled_inner(env, test_name):
|
||||
|
Reference in New Issue
Block a user