admin管理员组文章数量:1566678
#: corelow.c:237
#, possible-c-format
msgid “Can’t open file %s during file-backed mapping note processing”
这里file-backed是相对于内存来说的,意思就是有一块内存里放的是一个文件,比如共享库。gdb尝试找这个文件,然后映射到gdb的结构里,但是没有找到这个文件。
其实如果找不到文件应该报一个警告,而调试者不应该忽略这个警告。如果确实可以忽略,再忽略。
比如标题这个警告说,libstdc++的库找不到,这个是一个基础库,要是这个找不到,说明安装的软件版本对应不上去。需要特别关注一下。
/* Use exec_file_find() to do sysroot expansion. It'll
also strip the potential sysroot "target:" prefix. If
there is no sysroot, an equivalent (possibly more
canonical) pathname will be provided. */
gdb::unique_xmalloc_p
版权声明:本文标题:gdb: warning Can‘t open file usrliblibstdc++.so.6.0.19 during file-backed mapping note processing 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1726226482a1061587.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论