20 Star 0 Fork 18

openEuler-RISC-V/ltrace

forked from src-openEuler/ltrace 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-null-directive-argument.patch 787 Bytes
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2020-05-16 15:30 . fix build error
diff -Nur ltrace-0.7.91_old/output.c ltrace-0.7.91/output.c
--- ltrace-0.7.91_old/output.c 2020-05-16 15:14:38.069921077 +0800
+++ ltrace-0.7.91/output.c 2020-05-16 15:19:20.657858742 +0800
@@ -598,12 +598,11 @@
NULL, NULL, NULL);
symname = dwfl_module_addrinfo(mod, pc, &off, &sym,
NULL, NULL, NULL);
+ /* This mimics the output produced by libunwind below. */
+ fprintf(options.output, " > %s(%s+0x%" PRIx64 ") [%" PRIx64 "]\n",
+ modname, symname, off, pc);
}
- /* This mimics the output produced by libunwind below. */
- fprintf(options.output, " > %s(%s+0x%" PRIx64 ") [%" PRIx64 "]\n",
- modname, symname, off, pc);
-
/* See if we can extract the source line too and print it on
the next line if we can find it. */
if (mod != NULL) {
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-risc-v/ltrace.git
git@gitee.com:openeuler-risc-v/ltrace.git
openeuler-risc-v
ltrace
ltrace
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385