Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
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	[thread overview]
Message-ID: <3B67251C.3040506@cygnus.com> (raw)
In-Reply-To: <3B6638DE.8090803@cygnus.com>

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 <keiths@cygnus.com>
To: <gdb-patches@sources.redhat.com>
Subject: [RFA] defs.h _WIN32 defined by Win98, too
Date: Tue, 31 Jul 2001 14:48:00 -0000
Message-id: <Pine.GSO.4.33.0107311445130.28966-100000@makita.cygnus.com>
X-SW-Source: 2001-07/msg00765.html
Content-length: 1246

Hi,

As a result of this change:

2001-06-13  Eli Zaretskii  <eliz@is.elta.co.il>

        * 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  <keiths@redhat.com>

	* 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 "/"



  reply	other threads:[~2001-07-31 14:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16  8:18 Andrew Cagney
2001-07-29 12:34 ` Andrew Cagney
2001-07-30  7:09   ` Mark Kettenis
2001-07-30  7:34     ` Andrew Cagney
2001-07-30 14:41       ` Mark Kettenis
2001-07-30 15:34         ` Andrew Cagney
2001-07-30 21:50           ` Andrew Cagney
2001-07-31 14:37             ` Andrew Cagney [this message]
2001-08-01 11:42   ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B67251C.3040506@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox