when I start debugging it shows following...
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\Irfan\Desktop\Temp\test_1\
Adding source dir: C:\Documents and Settings\Irfan\Desktop\Temp\test_1\
Adding file: bin\Debug\test_1.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.7.50.20071127
Error creating process C:\Documents and Settings\Irfan\Desktop\Temp\test_1/bin/Debug/test_1.exe, (error 193).
The program has no error.
Any idea how to solve this problem?
You should try a path without spaces.
Dje
Quote from: dje on January 06, 2010, 09:21:17 PM
You should try a path without spaces.
Dje
sorry, i didnt understand.
could u plz clarify?
Try to move project to another place -> full path to the *.exe file should be without spaces and non-ascii characters.
Also you could try newer gdb, current version is 7.x.x
Quote from: dje on January 06, 2010, 09:21:17 PM
You should try a path without spaces.
Dje
Thanks,it worked....but isn't this a little weird solution?
is there any explanation behind this?
Lots of command line tools use space as argument separator and you have to quote "your args with spaces" to use spaces in args.
Dje