Author Topic: Compiler plugin advanced options: full pathes for source files(GDB workaround)  (Read 3465 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6079
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
I just disabled this option, and I re-build c::b. I can debug it correctly under GDB(cvs).  Maybe, newer gdb don't need such options.

Only tested under WinXP, PCX's GCC 4.6.4, GDB 7.4 (cvs).

« Last Edit: April 10, 2012, 03:25:38 am by ollydbg »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6079
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
I just find that GDB 6.8 (mingw) does not work well on this case. This means if you use GDB 6.8, you should enable this option.
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.