This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

win32/2310: Error creating process (error 193)


>Number:         2310
>Category:       win32
>Synopsis:       Error creating process (error 193)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 07 03:28:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Mortis
>Release:        6.6
>Organization:
>Environment:
Windows XP SP2
>Description:
In both Cygwin and MinGW, if the full path of the executable being examined by gdb contains a space, one 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)
>How-To-Repeat:
Put the executable being examined by gdb in a directory with a space in the full pathname.  Run.
>Fix:
As a workaround, don't keep your project in your "My Documents" folder, move it to C:\projects instead.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]