Linux
간단한 코어덤프 유발 프로그램
구차니
2022. 12. 22. 16:28
겁나 귀찮아서 일단 발로 짜서 기록해 둠
$ cat make_coredump.c #include <stdio.h> void main() { printf("%s",__LINE__); } |
gcore는 gdb 없으면 안될 삘?
The gdb(1) gcore command can be used to obtain a core dump of a running process. |
[링크 : https://linux.die.net/man/5/core]
[링크 : https://kldp.org/node/19080]