Author Topic: using gdb on Windoze don't work ...  (Read 2883 times)

Offline Green::horn

  • Multiple posting newcomer
  • *
  • Posts: 12
using gdb on Windoze don't work ...
« on: September 25, 2008, 04:01:37 am »
Moin,

I try to use the MinGW Debugger, but it never works, I always get error 193.

Maybe the path is  not valid, because of the whitespace in it ...

Please, can somebody help me to fix the problem ?

Output:
Code
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: D:\Eigene Dateien\Code Blocks\Test\
Adding source dir: D:\Eigene Dateien\Code Blocks\Test\
Adding file: bin\Debug\Test.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
Error creating process D:\Eigene Dateien\Code Blocks\Test/bin/Debug/Test.exe, (error 193)

Thanks to anyone.


Greetz
Greenhorn
« Last Edit: September 25, 2008, 04:04:12 am by Green::horn »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: using gdb on Windoze don't work ...
« Reply #1 on: September 25, 2008, 07:25:59 am »
Have you tried to use a project-path without spaces ?

A quick googling showed me some threads where spaces in the absolute path caused this error.

Offline Green::horn

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: using gdb on Windoze don't work ...
« Reply #2 on: September 25, 2008, 03:34:38 pm »
Hi Jens,

yes you're right, that's the Problem, thanks.

Is this a bug in GDB or is it a fault of CodeBlocks ?
I can't imagine that GDB can NOT handle directory pathes with whitespaces ...

Hmmm, how ever, I'll change my Projects folder to a non-whitespaced one.

Thank you very much for your help, Jens !


Greetz
Greenhorn