(gdb) b processMessage
No symbol table is loaded. Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) file aqm_wfmgr
Reading symbols from /home/dir/bin/mgr...done.
(gdb) b processMessage
Function "processMessage" not defined.
如何在该二进制文件的特定文件中为特定函数@某些行设置断点?
如果我直接给出行号或函数名称和文件号,它不会识别。请帮助。
(gdb) b 599
Cannot access memory at address 0x498f14
(gdb) b 598
Cannot access memory at address 0x498f14
(gdb) b processMessage 598
Function "processMessage" not defined.