Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-5) was last changed on 25-Jul-2021 11:23 by BlakeMcBride

This page was created on 16-Oct-2015 08:50 by BlakeMcBride

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 5 changed one line
Compile with -g
C programs should be compiled with -g -Og
At line 11 changed one line
{{{gdb myProgram core}}}
{{{gdb myProgram [core]}}}
At line 14 changed 15 lines
| run [[args] | run the program
| kill | stop program from running
| quit | exit debugger
| help |
| ^C | stop / interrupt the program
| continue | continue execution
| list | show program code
| next | go over next line
| step | go into next line
| print x | print value of x
| backtrace | show stack
| frame n | change to stack frame n
| info frame |
| info locals |
| info args |
| run [[args] | r | run the program
| kill | k | stop program from running
| quit | q | exit debugger
| help | h |
| ^C | | stop / interrupt the program
| continue | c | continue execution
| list | l | show program code
| next | n | go __over__ next line
| step | s | go __into__ next line
| finish | fin | exit stack frame (go __up__)
| print x | p | print value of x
| backtrace | bt | show stack
| frame n | f | change to stack frame n
| info locals | i lo | display local variables
| info args | i ar | display command line arguments
| info frame | i f | stack frame information
At line 32 changed 5 lines
| break file.c:45 | set breakpoint at line 45 of file.c
| break myfun | set breakpoint at beginning of myfun()
| info breakpoints | list breakpoints
| disable 2 | disable breakpoint 2
| clear XXXX | delete breakpoint
| break file.c:45 | b | set breakpoint at line 45 of file.c
| break myfun | b | set breakpoint at beginning of myfun()
| info breakpoints | i br | list breakpoints
| disable 2 | | disable breakpoint 2
| clear XXXX | cl | delete breakpoint at location XXXX
| delete nnn | d | delete breakpoint number nnn
When lines are displayed, it is showing the line that is about to be executed, not the line that was just executed.
Version Date Modified Size Author Changes ... Change note
5 25-Jul-2021 11:23 1.379 kB BlakeMcBride to previous
4 16-Oct-2015 09:50 1.181 kB BlakeMcBride to previous | to last
3 16-Oct-2015 09:28 0.94 kB BlakeMcBride to previous | to last
2 16-Oct-2015 09:12 0.937 kB BlakeMcBride to previous | to last
1 16-Oct-2015 08:50 0.915 kB BlakeMcBride to last
« This page (revision-5) was last changed on 25-Jul-2021 11:23 by BlakeMcBride