]> granicus.if.org Git - esp-idf/commitdiff
idf_monitor: Demangle C++ names
authorAngus Gratton <angus@espressif.com>
Wed, 4 Oct 2017 05:00:28 +0000 (16:00 +1100)
committerAngus Gratton <gus@projectgus.com>
Tue, 17 Oct 2017 06:46:08 +0000 (14:46 +0800)
docs/get-started/idf-monitor.rst
tools/idf_monitor.py

index 933ef3d0e8016337060e0eb96040fb7fe11507bb..4dac96c59e4f76d14aebfee857c3d75e8cc12995 100644 (file)
@@ -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
index e91ec687b51d92d1c39fb39d9aa058bb7a5a5797..1f315f29e3b8f0028cd01179ad12d27614419737 100755 (executable)
@@ -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)