Wednesday, 15 May 2013

gdb step debugging a C program -



gdb step debugging a C program -

consider case function has 10 lines of code , doing step debugging via gdb , on line six. realize function phone call @ line 4 did goof due @ line 5.

assuming line 4 function phone call not drastic (mem free, etc) wish create sp point @ line 4 , step func without re-running test case.

i have been able doing registry modification.

what wanted know, there gdb commands can help me accomplish above without manual registry mod.

thanks,

use jump command described here.

c gdb

No comments:

Post a Comment