Gdb Error 193
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cygwin GDB gives error 193 when trying to start program up vote 3 down vote favorite 1 When I attempt to debug a simple program with gdb on cygwin I get the following: C:\Users\Benoit St-Pierre\workspace_cpp\cs454>gdb a.exe GNU gdb 6.8.0.20080328-cvs (cygwin-special) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
Error creating process (error 193) Summary: Error creating process (error 193) Status: RESOLVED WORKSFORME Alias: None Product: gdb Classification: Unclassified Component: win32 (show other bugs) Version: 6.6 Importance: P3 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2007-09-07 03:28 UTC by mortis Modified: 2009-01-18 15:27 UTC (History) CC List: 2 users (show) drow gdb-prs See Also: Host: Target: Build: Last http://stackoverflow.com/questions/1106930/cygwin-gdb-gives-error-193-when-trying-to-start-program reconfirmed: Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description mortis 2007-09-07 03:28:01 UTC [Converted from Gnats 2310] In both Cygwin and MinGW, if the full path of the executable being examined by gdb contains a space, one https://sourceware.org/bugzilla/show_bug.cgi?id=9415 gets the message: Error creating process ... (error 193). Example: C:\Documents and Settings\Tansay\My Documents> c:\mingw\bin\gdb HelloWorld GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) run Starting program: C:\Documents and Settings\Tansay\My Documents/HelloWorld.exe Error creating process C:\Documents and Settings\Tansay\My Documents/HelloWorld. exe, (error 193). (gdb) Release: 6.6 Environment: Windows XP SP2 How-To-Repeat: Put the executable being examined by gdb in a directory with a space in the full pathname. Run. Comment 1 mortis 2007-09-07 03:28:01 UTC Fix: As a workaround, don't keep your project in your "My Documents" folder, move it to C:\projects instead. Comment 2 drow@false.org 2007-09-07 12:40:11 UTC From: Daniel Jacobowitz
password? Forgot your username? Create an account Forum Main Forum Development GDB error 193 what http://tbamud.com/forum/4-development/1676-gdb-error-193-what-is-that is that ? TOPIC: GDB error 193 what is http://forums.codeblocks.org/index.php?topic=11806.0 that ? GDB error 193 what is that ? 3 years 5 months ago #1937 JTP Offline Gold Boarder Posts: 305 Thank you received: 9 Karma: 0 Ok i took my code from unix server gdb error to code some new stuff. I added the code and wanted to test it on my cygwin before putting it on unix, so i did rm config.cache ran ./configure, did a make clean and make all Compile went great but when i wanted to connect gdb error 193 it wouldnt let me. Did a gdb bin/circle and run 5500 Then i got this error: Starting program: /home/JTP/mud/bin/circle 5500 Error creating process /home/JTP/mud/bin/circle, (error 193). What does that error mean and why cant i suddently take my code from unix, make some changes and run on cygwin, any ideas ?? Also in unix in /lib i see some backtrace files what are they ? Last Edit: 3 years 5 months ago by JTP. The administrator has disabled public write access. Board Categories Main Forum - General - Development - Miscellaneous - D20 - Snippets - Building - Documentation - Advertising Forum Main Forum Development GDB error 193 what is that ? Time to create page: 0.540 seconds Powered by Kunena Forum © 2000 - 2016 tbaMUD - All rights reserved.
"here I am" post here to differ human beings from SPAM bots. Home Help Search Login Register Wiki Code::Blocks » User forums » Using Code::Blocks » Error 193 :( « previous next » Send this topic Print Pages: [1] Go Down Author Topic: Error 193 :( (Read 8865 times) iamcreasy Single posting newcomer Posts: 4 Error 193 :( « on: January 06, 2010, 06:46:53 pm » when I start debugging it shows following...Building to ensure sources are up-to-dateBuild succeededSelecting target: DebugAdding 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.exeStarting debugger: doneRegistered new type: wxStringRegistered new type: STL StringRegistered new type: STL VectorSetting breakpointsDebugger name and version: GNU gdb 6.7.50.20071127Error 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? Logged dje Lives here! Posts: 683 Re: Error 193 :( « Reply #1 on: January 06, 2010, 09:21:17 pm » You should try a path without spaces.Dje Logged iamcreasy Single posting newcomer Posts: 4 Re: Error 193 :( « Reply #2 on: January 06, 2010, 10:00:22 pm » Quote from: dje on January 06, 2010, 09:21:17 pmYou should try a path without spaces.Djesorry, i didnt understand.could u plz clarify? Logged koso Multiple posting newcomer Posts: 58 Re: Error 193 :( « Reply #3 on: January 07, 2010, 12:00:55 am » Try to move project to another place -> full path to the *.exe file should be without spaces and non-ascii characters. Logged oBFusCATed Developer Lives here! Posts: 9497 Re: Error 193 :( « Reply #4 on: January 07, 2010, 12:04:15 am » Also you could try newer gdb, current version is 7.x.x Logged