From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [rfc/rfa(DavidT?)] Move DOUBLEST to doublest.{h,c} Date: Tue, 31 Jul 2001 14:37:00 -0000 Message-id: <3B67251C.3040506@cygnus.com> References: <3B5305B5.4070207@cygnus.com> <3B64653B.90607@cygnus.com> <3B65707C.10003@cygnus.com> <200107302128.f6ULSI508576@delius.kettenis.local> <3B65E10B.9000706@cygnus.com> <3B6638DE.8090803@cygnus.com> X-SW-Source: 2001-07/msg00764.html Attatched is a revised version of the doublest.[hc] change. Assuming all my cross builds work, I'll check this in. Andrew >From keiths@cygnus.com Tue Jul 31 14:48:00 2001 From: Keith Seitz To: Subject: [RFA] defs.h _WIN32 defined by Win98, too Date: Tue, 31 Jul 2001 14:48:00 -0000 Message-id: X-SW-Source: 2001-07/msg00765.html Content-length: 1246 Hi, As a result of this change: 2001-06-13 Eli Zaretskii * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR) (SLASH_STRING): Remove unised definitions. * config/i386/xm-cygwin.h: Likewise. Win98 no longer works under cygwin: (gdb) file gdb.exe Loading symbols from gdb.exe...done (gdb) run `/home/keiths/sources/insight/gdb\gdb.exe' has disappeared; keeping its symbols. Starting program: /home/keiths/sources/insight/gdb\gdb.exe Error creating process /home/keiths/sources/insight/gdb\gdb.exe (error 2) [often crashes here] Apparently, Win98 defines _WIN32 somewhere... ChangeLog 2001-07-31 Keith Seitz * defs.h (SLASH_STRING): Only define to "\\" if _WIN32 is set and we're not on Cygwin. _WIN32 is defined for Win98. Patch Index: defs.h =================================================================== RCS file: /cvs/src/src/gdb/defs.h,v retrieving revision 1.57 diff -u -p -r1.57 defs.h --- defs.h 2001/07/07 17:19:50 1.57 +++ defs.h 2001/07/31 21:45:14 @@ -1408,7 +1408,7 @@ extern int use_windows; #endif #ifndef SLASH_STRING -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN__) #define SLASH_STRING "\\" #else #define SLASH_STRING "/"