Reputation: 61
I'm trying to strace
a thread (or a process, for that matter) on the system through gdb, using strace -p <pid>
.
I get the following message:
No symbol table is loaded. Use the "file" command.
Make static tracepoint pending on future shared library load? (y or [n])
I've seen solutions offering to use file <file-name>
, but in my case, when I have no file to run, what do I have to do?
Thanks.
Upvotes: 0
Views: 214
Reputation:
The strace
you are looking for is a command-line tool, not a GDB command. Exit GDB to run it.
Upvotes: 1