我有一个简单的hello world程序(不管是什么程序,结果都是一样的)。我使用-g标志编译程序。首先,这不是这个的副本:Include source code of malloc.c in gdb?,没有任何东西可以解决我的问题。没有错误,只有当我使用gnu调试器时才会出现错误,这是它通常显示的内容: Breakpoint 1, main () at hello.cpp:4
4 std
在RedHat Linux上构建了一个共享对象,虽然所有代码都是使用debug编译的,但调试器(gdb)拒绝加载符号并发出错误,如下所示:...
This GDB was configured as "x86_64-redhat-linux-gnu"...version in compilation unit header (is 4, should be 2) [in module libgrok