Author Topic: Using GDB debugger  (Read 3614 times)

Offline nishalns

  • Multiple posting newcomer
  • *
  • Posts: 22
Using GDB debugger
« on: July 26, 2013, 06:53:20 am »
Can someone suggest a tutorials on debugging in general and specifically the GDB debugger?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Using GDB debugger
« Reply #1 on: July 26, 2013, 07:04:51 am »
Can someone suggest a tutorials on debugging in general and specifically the GDB debugger?
Search on Google, there are many good GDB tutorials, also the GDB manual.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.