gdb在读取核心文件后退出

gdb在读取核心文件后退出,gdb,core,Gdb,Core,我首先将二进制文件提供给gdb。 我说,现在在gdb里面 (gdb) core corefile >warning: core file may not match specified executable file >New thread ## >New thread ## >New thread ## >New thread ## 提示返回(gdb已退出)意识到我使用了错误的二进制文件。 这种警告确实是正确的,需要我从更严肃的角度来看待

我首先将二进制文件提供给gdb。 我说,现在在gdb里面

(gdb) core corefile
>warning: core file may not match specified executable file
>New thread ##
>New thread ##
>New thread ##
>New thread ##

提示返回(gdb已退出)

意识到我使用了错误的二进制文件。 这种警告确实是正确的,需要我从更严肃的角度来看待