This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: AW: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW
- From: Eli Zaretskii <eliz at gnu dot org>
- To: "Michael Fischer" <fischermi at t-online dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 18 Jun 2006 22:46:55 +0300
- Subject: Re: AW: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW
- References: <JLEAKDMELBINENLADICFAEFKCIAA.fischermi@t-online.de>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: "Michael Fischer" <fischermi@t-online.de>
> Date: Sun, 18 Jun 2006 11:03:43 +0200
>
> I have make a quick test and added:
>
> #undef DIRNAME_SEPARATOR
> #define DIRNAME_SEPARATOR ';'
>
> after all includes in source.c
>
> This is working now!
Thank you for testing.
> #ifdef __MSDOS__
> #define CANT_FORK
> #define GLOBAL_CURDIR
> #endif
>
> #if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined
> (__CYGWIN__)
> #define DIRNAME_SEPARATOR ';'
> #endif
I think __CYGWIN__ should not be here. In fact, even _WIN32 should
not trigger use of `;' unless __CYGWIN__ is not defined. Chris, is
that right?
Does anyone object to adding something like the above, provided that
we are careful not to break Cygwin?