Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdb
Would you expect to step through __start() ?
Reading symbols from hellow...done.
(gdb) break main
Breakpoint 1 at 0x400934: file hellow.c, line 6.
(gdb) run
Starting program: /tmp/hellow
[New LWP 1 of process 1382]
Thread 2 hit Breakpoint 1, main () at hellow.c:6
6 printf("Hello World!\n");
(gdb) bt
#0 main () at hellow.c:6
(gdb) n
Hello World!
8 return 0;
(gdb)
9 }
(gdb)
0x0000000000400863 in ___start ()
(gdb)
Single stepping until exit from function ___start,
which has no line number information.
[Inferior 1 (process 1382) exited normally]
Home |
Main Index |
Thread Index |
Old Index