You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/08/02 05:40:21 UTC
(nuttx) 01/04: parsememdump.py:fix bug add prefix addr2line
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6f23c8d9438669fa039b46be9f1f402a255f4f8e
Author: anjiahao <an...@xiaomi.com>
AuthorDate: Mon Jan 15 20:54:25 2024 +0800
parsememdump.py:fix bug add prefix addr2line
Signed-off-by: anjiahao <an...@xiaomi.com>
---
tools/parsememdump.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/parsememdump.py b/tools/parsememdump.py
index 71cd894bcc..4d666b1fc0 100755
--- a/tools/parsememdump.py
+++ b/tools/parsememdump.py
@@ -150,7 +150,7 @@ if __name__ == "__main__":
log.output("\n")
if args.elffile != "":
addr2line_file = os.popen(
- "%saddr2line -Cfe %s %s" % (args.prefix, args.elffile[0], memstr), "r"
+ "%saddr2line -Cfe %s %s" % (args.prefix[0], args.elffile[0], memstr), "r"
)
while 1:
add2line_str = addr2line_file.readline()