ived signal SIGSEGV, Segmentation fault.
[Switching to Thread 1080598752 (LWP 4225)]
0x42073591 in realloc () from /lib/tls/libc.so.6
(gdb) n
Single stepping until exit from function realloc,
which has no line number information.
Couldn't get registers: 沒(méi)有那個(gè)進(jìn)程.
(gdb)作者: renstone921 時(shí)間: 2005-11-24 17:44
編譯時(shí)用-g 選項(xiàng)加入調(diào)試的符號(hào)信息。
gcc -g -o output output.c