Unable to find libthread_db matching inferior‘s thread library, thread debugging will not be availab
开启gdb调试出现以下问题
1.Unable to find libthread_db matching inferior’s thread library, thread debugging will not be available.
(gdb) start
Temporary breakpoint 1 at 0x4d1ab4: file /xxx/xxx.c, line 1099.
Starting program: /xxx
warning: Unable to determine the number of hardware watchpoints available.
warning: Unable to determine the number of hardware breakpoints available.
warning: File "/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file addadd-auto-load-safe-path /lib64/libthread_db-1.0.so
line to your configuration file "/root/.gdbinit".
To completely disable this security protection addset auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
根据它的提示添加配置文件"/root/.gdbinit"
文件内容"add-auto-load-safe-path /lib64/libthread_db-1.0.so"
2.Make breakpoint pending on future shared library load? (y or [n])
Make breakpoint pending on future shared library load? (y or [n])
大概率是程序没有开启调试模式,编译的时候加个 条件 -g.
Unable to find libthread_db matching inferior‘s thread library, thread debugging will not be availab相关推荐
- selenium.common.exceptions.WebDriverException: Message: Unable to find a matching set of capabilitie
selenium.common.exceptions.WebDriverException: Message: Unable to find a matching set of capabilitie ...
- NPTL简介 (NATIVE POSIX Thread Library)
POSIX Thread Library (NPTL)使Linux内核可以非常有效的运行使用POSIX线程标准写的程序.这里有一个测试数据,在32位机下,NPTL成功启动100000个线程只用了2秒, ...
- 线程的创建与启动——Thread 类有两个常用的构造方法:Thread()与 Thread(Runnable)||多线程运行结果是随机的
线程的创建与启动 在 Java 中,创建一个线程就是创建一个 Thread 类(子类)的对象(实例). Thread 类有两个常用的构造方法:Thread()与 Thread(Runnable).对应 ...
- NPTL(Native POSIX Thread Library)
1.NPTL(Native POSIX Thread Library)为POSIX标准线程库,查看当前Linux系统的pthread库(线程库)版本的命令为:getconf GNU_LIBPTHREA ...
- java thread start0_Java: Thread类中start()和run()的区别
版本:JDK1.8 thread的两种使用方式: //继承Thread类 NewThread thread = newNewThread();//调用默认的构造方法,父类也会调用默认的 thread. ...
- Thread系列——Thread.Sleep(0)
转载自:http://www.cnblogs.com/ATually/archive/2010/10/21/1857261.html 线程这一概念,可以理解成进程中的一个小单元.这个单元是一个独立的执 ...
- java thread signal_java — Thread之CountDownLatch的使用
CountDownLatch的简单使用 CountDownLatch的简单介绍: CountDownLatch类是一个同步计数器,构造时传入int参数,该参数就是计数器的初始值,每调用一次countD ...
- java thread setname_Java Thread setName()方法
Thread类的setName()方法用于更改线程的名称. 语法 public final void setName(String a) 参数 a – 线程要设置的新名称. 异常 SecurityEx ...
- java thread.notify_Java Thread notify()方法
Thread类的notify()方法用于唤醒单个线程. 此方法仅为一个等待特定对象的线程提供通知. 如果使用notify()方法并且有多个线程正在等待通知,那么只有一个线程获得通知,而剩下的线程必须等 ...
最新文章
- 工作流引擎设计之退回任务定义
- flutter获取Android照片地址,Flutter项目安卓配置启动图片
- 项目管理的测试版发布
- linux下生成key
- Java笔记-通过注解和插件自动生成get/set和toString方法,使代码结构清晰
- 使用RNN预测股票价格系列二
- 基于PCA的ORL人脸库特征抽取
- 安全防御——防病毒网关
- python爬虫 微信公众号模拟登陆js解密
- 冬训成果何在?林丹无缘新赛季首冠状态成迷
- 数据处理第3部分:选择行的基本和高级的方法
- Flask学习笔记[更新中....]
- html标记语言表格,表格《 HTML:标记语言 》
- 荣耀智慧屏和荣耀智慧屏PRO的配置
- 电脑路由器,怎么把自己的电脑变成路由器
- oracle 创建唯一索引
- 华为起诉最新进展,国内航司暂停运行有关客机,收买家庭不得继续抚养被解救儿童,脸书创始人后悔没早学微信,这就是今天的大新闻...
- GAE 博客——B3log Solo 0.2.1 发布了!
- 数码相框-font字体模块
- 微信小程序云开发基础版也开始收费了
热门文章
- FANUC机器人动作指令的定位类型FINE和CNT详解
- 计算机教师帮扶记录,教师结对帮扶工作总结范文(通用6篇)
- 一键将手机投屏到电脑上玩,这下摸鱼更方便了
- ps修改头发颜色----和修改衣服颜色-------给褶皱的衣服添加图案
- python判断特殊字符的函数,python学习--quote()函数,,屏蔽特殊的字符、比如
- 利用arcgis进行excel数据的空间相关性分析
- 迅时MX100G-S数字中继网关荣获《电信设备进网许可证》
- session制作购物车
- 腾讯位置服务定位组件实现周边公用厕所远近排序分布图
- 通过adb操作安卓亮屏、设置背光亮度、解锁、打开app