mirror of https://github.com/thesofproject/sof.git
coredump-reader: set confirmation off
The undefined function may cause the debugger not able to run properly. Print a "set confirm off" instruction to the beginning of output file to solve this problem. (xt-gdb) break _MemErrorVector Breakpoint 1 at 0x9f180400 (xt-gdb) break _MemoryExceptionVector_text_start Function "_MemoryExceptionVector_text_start" not defined. Make breakpoint pending on future shared library load? (y or [n]) run Please answer y or [n]. ... Signed-off-by: Brent Lu <brent.lu@intel.com>
This commit is contained in:
parent
3b8ef3a791
commit
a6214d06b1
|
@ -719,6 +719,9 @@ class CoreDumpReader(object):
|
||||||
|
|
||||||
stdoutOpen()
|
stdoutOpen()
|
||||||
|
|
||||||
|
# disable confirmation request for undefined breakpoint
|
||||||
|
stdoutPrint("set confirm off\n")
|
||||||
|
|
||||||
# for XTOS SOF build
|
# for XTOS SOF build
|
||||||
stdoutPrint("break _MemErrorVector\n")
|
stdoutPrint("break _MemErrorVector\n")
|
||||||
# for Zephyr SOF build
|
# for Zephyr SOF build
|
||||||
|
|
Loading…
Reference in New Issue