Author Topic: Codeblock -> GDB  (Read 3567 times)

Offline Hirogens

  • Multiple posting newcomer
  • *
  • Posts: 17
Codeblock -> GDB
« on: July 26, 2012, 11:10:02 am »
Hi,

Can you help me.

Impossible to find a couple Codeblock/GDB who work.
Code
Cannot open file: ->->/cygdrive/c/cygwin/home/Kris/DEVELOPPEMENT/SHMCLIENT/main.c
With CB build 8150 and GDB 6.8a-7.4.1

Or with others couples, others problemes...

Don't refer me to a link forum, I have read and test all.^^
My registry base is Ok. path Ok.

An I'm not alone with this problem.

I'm under Seven 64Bits.
I have test, GDB 6.8 to 7.4.1 with CB 10.05 to Build 8150.

B.Regards

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Codeblock -> GDB
« Reply #1 on: July 26, 2012, 04:32:18 pm »
Impossible to find a couple Codeblock/GDB who work.
Code
Cannot open file: ->->/cygdrive/c/cygwin/home/Kris/DEVELOPPEMENT/SHMCLIENT/main.c
With CB build 8150 and GDB 6.8a-7.4.1
I believe that you are using cygwin gcc compiler, so the path in your app file have some prefix like "/cygdrive/c".
The actually path is:
Code
c:/cygwin/home/Kris/DEVELOPPEMENT/SHMCLIENT/main.c
I mean: If you can convert the cygwin-style-path to the normal-windows-style-path shown above, then C::B can handle it. Or you can change some code in the debugger to do the file-name transferring.
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.

xiaobing

  • Guest
Re: Codeblock -> GDB
« Reply #2 on: September 02, 2013, 05:13:43 pm »
hi, did you solve the problem, I met the same trouble