gdb 跟踪,就在 resolve_boards(); 断了
Breakpoint 1, main () at convboards.c:237
237 struct oldboardheader *oldbrd = NULL;
(gdb) s
238 struct oldboardheader *ptr = NULL;
(gdb) s
246 chdir(BBSHOME);
(gdb) s
247 printf("resolve boards...\n");
(gdb) s
resolve boards...
248 resolve_boards();
(gdb) s
Error! shmget:readonly error! key = e74.: No such file or directory
Program exited with code 01.
(gdb)
【 在 tombcy (tombcy) 的大作中提到: 】
: convboards.c 里面的 resolve_boards();
: 这个函数在哪里?
: 我直接用的话
: ...................
--
FROM 218.249.29.*