From d20fbffae1a24127b2cf71dd87f5fa6e7b94ee34 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 4 Oct 2017 16:00:28 +1100 Subject: [PATCH] idf_monitor: Demangle C++ names --- docs/get-started/idf-monitor.rst | 2 +- tools/idf_monitor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/get-started/idf-monitor.rst b/docs/get-started/idf-monitor.rst index 933ef3d0e..4dac96c59 100644 --- a/docs/get-started/idf-monitor.rst +++ b/docs/get-started/idf-monitor.rst @@ -56,7 +56,7 @@ idf_monitor will augment the dump:: 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 diff --git a/tools/idf_monitor.py b/tools/idf_monitor.py index e91ec687b..1f315f29e 100755 --- a/tools/idf_monitor.py +++ b/tools/idf_monitor.py @@ -395,7 +395,7 @@ class Monitor(object): def lookup_pc_address(self, pc_addr): translation = subprocess.check_output( ["%saddr2line" % self.toolchain_prefix, - "-pfia", "-e", self.elf_file, pc_addr], + "-pfiaC", "-e", self.elf_file, pc_addr], cwd=".") if not "?? ??:0" in translation: yellow_print(translation)