![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gdb
bible_reader
keep.
展开
-
【lldb】lldb调试时,无法查看变量,查看即crash
解决方法: 编译参数增加选项:-gdwarf-2 参考: android - gdb process crashes when viewing variables in Eclipse - Stack Overflowhttps://stackoverflow.com/questions/23717079/gdb-process-crashes-when-viewing-variables-in-eclipse原创 2022-01-25 10:02:40 · 2208 阅读 · 0 评论 -
【gdb】gdb调试多线程
gdb调试多线程 1. 线程的查看 首先创建两个线程: #include <stdio.h> #include <unistd.h> #include <pthread.h> #include <stdlib.h> #include <string.h> void* pthread_run1(void* arg) { (...转载 2019-11-26 20:59:13 · 181 阅读 · 0 评论