idf_monitor: Demangle C++ names
This commit is contained in:
parent
a231ba22f3
commit
d20fbffae1
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ idf_monitor will augment the dump::
|
||||||
|
|
||||||
Behind the scenes, the command idf_monitor runs to decode each address is::
|
Behind the scenes, the command idf_monitor runs to decode each address is::
|
||||||
|
|
||||||
xtensa-esp32-elf-addr2line -pfia -e build/PROJECT.elf ADDRESS
|
xtensa-esp32-elf-addr2line -pfiaC -e build/PROJECT.elf ADDRESS
|
||||||
|
|
||||||
|
|
||||||
Launch GDB for GDBStub
|
Launch GDB for GDBStub
|
||||||
|
|
|
@ -395,7 +395,7 @@ class Monitor(object):
|
||||||
def lookup_pc_address(self, pc_addr):
|
def lookup_pc_address(self, pc_addr):
|
||||||
translation = subprocess.check_output(
|
translation = subprocess.check_output(
|
||||||
["%saddr2line" % self.toolchain_prefix,
|
["%saddr2line" % self.toolchain_prefix,
|
||||||
"-pfia", "-e", self.elf_file, pc_addr],
|
"-pfiaC", "-e", self.elf_file, pc_addr],
|
||||||
cwd=".")
|
cwd=".")
|
||||||
if not "?? ??:0" in translation:
|
if not "?? ??:0" in translation:
|
||||||
yellow_print(translation)
|
yellow_print(translation)
|
||||||
|
|
Loading…
Reference in a new issue