gpt4 book ai didi

linux - 尝试 "No symbol table is loaded"时 GDB 的 "strace"

转载 作者:太空宇宙 更新时间:2023-11-04 10:02:54 28 4
gpt4 key购买 nike

我正在尝试 strace通过 gdb 在系统上使用 strace -p <pid> 的线程(或进程,就此而言) .我收到以下消息:

No symbol table is loaded. Use the "file" command.

Make static tracepoint pending on future shared library load? (y or [n])

我见过提供使用 file <file-name> 的解决方案,但就我而言,当我没有要运行的文件时,我该怎么办?

谢谢。

最佳答案

strace您正在寻找的是命令行工具,而不是 GDB 命令。退出 GDB 以运行它。

关于linux - 尝试 "No symbol table is loaded"时 GDB 的 "strace",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54687047/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com