Gdb Error Creating Process 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 gdb fails with error 193 when debugging MinGW-compiled code up vote 4 down vote favorite This is shown when I try to debug my code with Eclipse: I then tried creating a simple Hello World program manually with Notepad++ and the command-line gcc. When I launched the gdb debugger this happened: (gdb) run Starting program: C:\Documents and Settings\Pieter\Bureaublad/test.exe Error creating process C:\Documents and Settings\Pieter\Bureaublad/test.exe, (error 193). The binary runs fine, but as soon as I try to debug it error 193 is returned. I'm working with C code that is processed by the MinGW GCC compiler. I tried reinstalling both the compiler and the debugger (latest versions) but that didn't change anything. It has worked in the past, and I do not remember making any changes to settings related to the compiler. Here's an example of an error log as it was generated by Eclipse. !ENTRY org.eclipse.cdt.dsf.gdb 4 5012 2010-02-09 18:19:47.375 !MESSAGE Error in final launch sequence !STACK 1 org.eclipse.core.runtime.CoreException: Failed to execute MI command: -exec-run Error message from debugger back end: Error creating process C:/Documents and Settings/Pieter/Mijn documenten/My Dropbox/Unief/C/H12/Opdr07/Debug/CH12O07.exe, (error 193). at org.eclipse.cdt.dsf.concurrent.Sequence.abortExecution(Sequence.java:560) at org.eclipse.cdt.dsf.concurrent.Sequence.access$4(Sequence.java:552) at org.eclipse.cdt.dsf.concurrent.Sequence$2.handleErrorOrWarning(Sequence.java:424) at org.eclipse.cdt.dsf.concurrent.RequestMonitor.handleFailure(RequestMonitor.java:314) at org.ecli
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How to Contribute Working Groups Automotive Internet of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation Home Projects Forums Eclipse Community Forums Forum Search: Search Help Register Login Home Home» Language IDEs» C / C++ IDE (CDT)» Unable to launch executable generated by Eclipse - error 193(Unable to Run/Debug program - Launch failed error 193 when creating process) Show: Today's http://stackoverflow.com/questions/2229247/gdb-fails-with-error-193-when-debugging-mingw-compiled-code Messages :: Show Polls :: Message Navigator Unable to launch executable generated by Eclipse - error 193 [message #1109885] Mon, 16 September 2013 04:47 Huzefa HakimiMessages: 2Registered: September 2013 Junior Member I am trying to compile and run simple c++ program using Eclipse with Cygwin as toolchain but I am running into issues (first try with Eclipse for C++). Help https://www.eclipse.org/forums/index.php/t/525425/ with the issue with the issue covered is appreciated. Details: Build of program goes fine but when I start program (named Project) in Debug (Run --> Debug) in debug mode or even run it (Run -->Run), I get error "'Launching Project.exe' has encountered a problem". Details of error: ---- Error in final launch sequence Failed to execute MI command: -exec-run Error message from debugger back end: Error creating process /cygdrive/c/Users/Genius/workspace/Project/Debug/Project.exe, (error 193). Error creating process /cygdrive/c/Users/Genius/workspace/Project/Debug/Project.exe, (error 193). ---- Could I be missing something in configuration? Initially my workspace was on E:\ (E:\Users\Genius\workspace\) than C:\ - primary Windows partition on which Windows 7 is installed. This where I was initially seeing errors. ----- Error in final launch sequence Failed to execute MI command: -exec-run Error message from debugger back end: Error creating process /cygdrive/e/Users/Genius/workspace/Project/Debug/Project.exe, (error 193). Error creating process /cygdrive/e/Users/Genius/workspace/Project/Debug/Project.exe, (error 193). ------ While searching over this issue, I had came across posts in different forums stating Launch of program failed as it had issues with permissions and better to have workspace in primary partition (not sure why?). To square o
To: Cygwin Mailing List