Loading dl-debug.c in gdb / Ubuntu 14.04.4 LTS
来源:互联网 发布:crm系统源码下载 编辑:程序博客网 时间:2024/06/01 09:12
转自: https://stackoverflow.com/questions/36025694/loading-dl-debug-c-in-gdb-ubuntu-14-04-4-lts
==============================Question=============================
When I use
gdb xxx
, while loading, this is the result:
dl-debug.c:74: No such file or directory. dl-debug.c:74: No such file or directory. dl-debug.c:74: No such file or directory. dl-debug.c:74: No such file or directory. dl-debug.c:74: No such file or directory.
lots of it, how can I solve it?
I've searched this in the internet, but all the answers are not the resolution. Some might recommended that "apt-get source glibc" or "apt-get install libc-source", but NO HELP.
I've tried to
find /usr | grep dl-debug.c
, but, this file is not on my linux.
Any help?
==============================Answer=============================I've solved this problem.
Firstly, use "apt-get install eglibc-source" to get the source file, while "glibc-source" is not a valid package. Secondly, locate your source file .tar.xz (mine is in /usr/src), uncompressed it. Finally, run gdb, and type "directory /usr/src/glibc-xxx(your location)/elf", and "dl-debug.c" is in this directory.
Also, adding "directory /usr/src/glibc-xxx(your location)/elf" in ~/.gdbinit might help u a lot.
- Loading dl-debug.c in gdb / Ubuntu 14.04.4 LTS
- Genymotion Error in Ubuntu 14.04/ LTS
- Ubuntu怎样安装 OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- installing OpenCV 2.4.9 in Ubuntu 14.04 LTS
- How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- How to install ia32-libs in Ubuntu 14.04 LTS
- 怎样安装 OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- Installing OpenCV 2.4.9 in Ubuntu 14.04 LTS
- How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- 怎样安装 OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- ubuntu 14.04.4 LTS源更新
- Ubuntu 14.04.5 LTS安装mongodb3.4
- Ubuntu 14.04 LTS 截图
- Ubuntu 14.04 LTS 分辨率
- Ubuntu 14.04 LTS 使用
- ubuntu 14.04 LTS
- How to Debug C Program using gdb in 6 Simple Steps
- 软件工程之系统架构图和系统架构描述
- 193.m1-向服务器请求数据
- Spring@Autowired注解与自动装配
- Java基础应用之运算符(实现两个变量的互换(借助第3个变量))
- Spring 05 JdbcTemplate
- Loading dl-debug.c in gdb / Ubuntu 14.04.4 LTS
- Java基础应用之运算符(实现两个变量的互换(不借助第3个变量))
- Ubuntu14.04 下apt-get安装Code::Blocks
- 计算机思想的形成
- 【问题收录】Ubuntu(14.04)那些我遇到的各种事
- 深入探索C++对象模型之五 --- 析构、构造、拷贝语意学
- ContextLoaderListener
- leetcode 45.Jump Game II
- 欢迎使用CSDN-markdown编辑器