This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

Re: Mysterious gdb behavior.


On 27 Jul 2002 at 17:01, Michael A Chase wrote:

> On Sat, 27 Jul 2002 19:41:57 -0400 Paul Derbyshire <derbyshire@globalserve.net> wrote:
> 
> > On 27 Jul 2002 at 16:26, Nicholas Wourms wrote:
> > 
> > > 
> > > --- Paul Derbyshire <derbyshire@globalserve.net> wrote:
> > > > On 27 Jul 2002 at 6:50, Sylvain Petreolle wrote:
> > > > . . .
> > > > Starting program: /home/Paul Derbyshire/antheria/hw.exe
> > > > Error creating process /home/Paul Derbyshire/antheria/hw.exe,
> > >                                ^^^^^^^^^^^^^^^
> > > *SIGH*  Looks like someone didn't read the FAQ...
> > 
> > Excuse me? Should I not be trying to gdb executables under /home, or 
> > something?
> 
> Try looking at it with a fixed pitch font.  I suspect he's pointing out
> that gdb, like many UNIX programs, doesn't deal well with spaces in file or
> directory names.

And why, pray tell, does it have to? The image I was debugging was in 
the current directory. It shouldn't care what the path name looks 
like.

Also, Windows API calls should deal with it just fine. It's a Windows 
API call that's failing, according to one of the other posters.

Also, if path names with spaces in are problems, then explain why 
Cygwin's installer *automatically created* that directory and made it 
my home directory? Obviously, it shouldn't do that if it's going to 
cause problems. It should either give the installing user a choice 
about it, or it should replace the spaces with underscores, or 
whatever.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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