gdb调试之linux pc和linux arm环境下
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gdb调试之linux pc和linux arm环境下相关的知识,希望对你有一定的参考价值。
1、查看core文件参数
[email protected]:~/File_unzip/cp_module$ ulimit -a
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31042
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192 //应用程序栈大小
cpu time (seconds, -t) unlimited
max user processes (-u) 31042
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
(gdb)bt(第一次不会出现堆栈信息)
1、查看core文件参数
[email protected]:~/File_unzip/cp_module$ ulimit -a
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31042
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31042
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
以上是关于gdb调试之linux pc和linux arm环境下的主要内容,如果未能解决你的问题,请参考以下文章
arm-linux下如何安装GDB?pc-linux下如何升级GDB?
嵌入式arm linux环境中gdb+gdbserver调试