My GDB Notes

gdb notes:



1. How to do a reverse step gdb debugging ?? 


a. first run the program in the gdb using "run" command 

    and apply break at main(

b. do "target record-full"

c. do next 

and then, 

   reverse-step or reverse-next

   reverse-step", or "reverse-next".

      

 2. How to view custom command definitions

show user <custom command>