无法为 linux-vdso.so.1 加载共享库符号.调试时 [英] Could not load shared library symbols for linux-vdso.so.1. while debugging

查看:43
本文介绍了无法为 linux-vdso.so.1 加载共享库符号.调试时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不加载 VDSO.so 是您在使用 gdb 和 glibc >2.2 时遇到的著名错误之一.我发现计划在 gdb 7.5.1 中修复它,但事实并非如此.好的,我在这里找到了解决方法 这里,但我没有不明白怎么应用.

Not loading VDSO.so is one of the famous bugs you encounter while using gdb and glibc >2.2. I found that was planned to get repaired in gdb 7.5.1, but it wasn't. Okay I found a work-around here Here, but I didn't understand it so how to apply it.

操作系统:Arch Linux
IDE:QT 创建者 3.0.82
编译器:GCC 4.8.2
注意:我不确定我是否违反了包括上面链接在内的规则

OS: Arch Linux
IDE : QT creator 3.0.82
Compiler : GCC 4.8.2
NB: I am not sure if I am breaking the rules including the link above

推荐答案

不加载 VDSO.so 是您在使用 gdb 和 glibc >2.2 时遇到的著名错误之一.

Not loading VDSO.so is one of the famous bugs you encounter while using gdb and glibc >2.2.

不,不是.这里的问题只是一个无用的警告,您可以放心地忽略它.

No, it's not. The problem here is simply a useless warning, which you can safely ignore.

我在这里找到了解决方法,但我不明白如何应用它.

I found a work-around here Here, but I didn't understand it so how to apply it.

您没有找到解决方法".您找到了 GDB 的补丁,它禁用了警告.

You didn't find a "workaround". You found a patch to GDB, which disables the warning.

要应用它,请使用 patch 命令,然后构建您自己的 GDB.但是一开始就忽略警告要简单得多.

To apply it, use the patch command, and then build your own GDB. But it is much simpler to just ignore the warning in the first place.

这篇关于无法为 linux-vdso.so.1 加载共享库符号.调试时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆