随笔分类 -  man-gdb

摘要:安装libc-debuginfo: yum search libc yum install glibc-debuginfo.x86_64 确定debuginfo文件路径: find / -name *.debug | grep libc /usr/lib/debug/usr/lib64/libc.s 阅读全文
posted @ 2024-08-06 21:55 LiYanbin 阅读(1) 评论(0) 推荐(0)
摘要:目录gdb 带参数gdb attachgdb 调试LD_PRELOADgdb 条件断点gdb 打印$pid进程所有线程的堆栈并退出gdb 打印内存数据gdb 设置调试中间变量gdb ctrl-c无法退出gdb 设置断点提示Function "xxx" not defined.gdb call调用函数 阅读全文
posted @ 2024-03-07 10:27 LiYanbin 阅读(68) 评论(0) 推荐(0)
摘要:https://github.com/lattera/glibc/blob/master/sysdeps/posix/libc_fatal.c: 阅读全文
posted @ 2023-08-18 15:41 LiYanbin 阅读(64) 评论(0) 推荐(0)