23,217
社区成员




11 #include <stdio.h>
12
13 int main(void)
14 {
15 printf("hello world!\n");
(gdb) l
16
17 return 0;
18 }
(gdb) b main
Breakpoint 1 at 0x400510: file test.c, line 15.
(gdb) r
Starting program: /home/jiaga/c/linked_list/void_list/test
s
Breakpoint 1, main () at test.c:15
15 printf("hello world!\n");
(gdb) s
_IO_puts (str=0x4005dc "hello world!") at ioputs.c:35
35 ioputs.c: 没有那个文件或目录.
(gdb) s
37 in ioputs.c
(gdb) s
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:26
26 ../sysdeps/x86_64/multiarch/../strlen.S: 没有那个文件或目录.
(gdb)
15 printf("hello world!\n");
(gdb) s
hello world!
17 return 0;
(gdb)