manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.3.8.4 Running and Debugging

You can now begin debugging the task using No value for GDBN's execution control commands, b, step, run, etc. See the No value for GDBN manual for the list of commands.

 
(gdbslet) b main
Breakpoint 1 at 0x12010000: file prog.c, line 3.
(gdbslet) run
Starting program: prog
Breakpoint 1, main (argc=1, argv=0xeffff21c) at prog.c:3
3        char *symarg = 0;
(gdbslet) step
4        char *execarg = "hello!";
(gdbslet)

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.