GDB调试提示找不到文件

haiyaguixin haiyaguixin 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
[root@localhost pacp_server]# gdb ./pcap
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /mnt/hgfs/virtual_machine/pacp_server/pcap...done.
(gdb) break main.cc:43
No source file named main.cc.
Make breakpoint pending on future shared library load? (y or [n])

请问这个是怎么回事啊,网上的方法我试了也不行,请求高手指教!
...全文

相关推荐

评论 13
收藏 已收藏
分享
返回顶部
haiyaguixin
Linux/Unix社区 23,224 成员 74,535 内容