我还没有找到有类似问题的人。
我的问题是,每当我在过去 2 周内运行 gdb 时,它都会搜索 fopen、printf、calloc 等所有函数……这很烦人,因为有时我必须遍历 100 多行或设置另一个断点。这一切都需要更多的时间,而这过去并没有发生。
有人有什么想法吗?
18 char *temp = strtok(ara, " ");
(gdb) s
strtok () at ../sysdeps/i386/i686/strtok.S:88
88 ../sysdeps/i386/i686/strtok.S: No such file or directory.
(gdb) s
91 in ../sysdeps/i386/i686/strtok.S
(gdb) s
?? () at ../sysdeps/i386/i686/strtok.S:80 from /lib/i386-linux-gnu/libc.so.6
80 in ../sysdeps/i386/i686/strtok.S
(gdb) s
?? () at ../sysdeps/i386/i686/strtok.S:81 from /lib/i386-linux-gnu/libc.so.6
81 in ../sysdeps/i386/i686/strtok.S
(gdb) s
strtok () at ../sysdeps/i386/i686/strtok.S:92
92 in ../sysdeps/i386/i686/strtok.S
(gdb) s
100 in ../sysdeps/i386/i686/strtok.S
(gdb) s
101 in ../sysdeps/i386/i686/strtok.S
(gdb) s
103 in ../sysdeps/i386/i686/strtok.S
(gdb)
104 in ../sysdeps/i386/i686/strtok.S
(gdb) s
105 in ../sysdeps/i386/i686/strtok.S
(gdb) s
106 in ../sysdeps/i386/i686/strtok.S
(gdb) s
107 in ../sysdeps/i386/i686/strtok.S
(gdb) s
111 in ../sysdeps/i386/i686/strtok.S
(gdb) s
113 in ../sysdeps/i386/i686/strtok.S
(gdb) s
122 in ../sysdeps/i386/i686/strtok.S
(gdb) s
127 in ../sysdeps/i386/i686/strtok.S
(gdb) s
128 in ../sysdeps/i386/i686/strtok.S
(gdb) s
129 in ../sysdeps/i386/i686/strtok.S
(gdb) s
130 in ../sysdeps/i386/i686/strtok.S
(gdb) s
146 in ../sysdeps/i386/i686/strtok.S
(gdb) s
153 in ../sysdeps/i386/i686/strtok.S
(gdb) s
154 in ../sysdeps/i386/i686/strtok.S
(gdb) s
155 in ../sysdeps/i386/i686/strtok.S
(gdb)