我使用openSUSE作为我的操作系统和gdb 7.5。我想用gdb和断点来调试我的程序。但是,当我做一个断点,然后运行我的程序,GDB告诉我如下:无法在gdb中创建断点
Error in re-setting breakpoint 1: malformed linespec error: unexpected string, ".cpp"
它在我所有的程序相同。另外,当运行到断点时,程序不会停止。任何人都可以告诉我什么是错的?
我下载最新的GDB并安装它,前者消息已不存在,但运行时GDB它告诉我说:
warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"?
如何解决售后服务这个问题?
你正在使用哪个命令来设置断点? –
我使用“b + linenumber” – yvxiang