Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mark Mitchell <mark@codesourcery.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb@sourceware.org,  paul@codesourcery.com,  drow@false.org
Subject: Re: Windows support in GDB
Date: Fri, 29 Apr 2005 16:23:00 -0000	[thread overview]
Message-ID: <42725B31.4090800@codesourcery.com> (raw)
In-Reply-To: <200504291513.j3TFDhjx021040@elgar.sibelius.xs4all.nl>

Mark Kettenis wrote:
> Guys, I'm getting a bit of an uneasy feeling here.  It may be that I'm
> getting the wrong impression here, but I've seen quite a bit more
> Windows-related patches than I had in mind when Mark started submitted
> his first patches and said they were fairly limited and mostly some
> configure bits. 

I think that characterization was pretty accurate: most of the changes 
have been to configure bits -- I've littered #ifdef HAVE_FOO around the 
sources in more places, for the most part.  I think that's a pretty 
minimal intrusion; realistically, there's a lot of that anyhow in GDB, 
as even the various UNIX variants don't all define the same set of 
signals, etc.  In a couple of cases, stuff has gone into libiberty.

The other changes in GDB were the cleanup of ser-unix.c to create 
ser-base.c (which I think actually made the code cleaner), and the 
gdb_select function, which has the same API as POSIX.

I have no more changes for GDB proper, except a change to safe_strerror 
that's been rejected.  I'll either clean that up in some acceptable way, 
or abandon it.  All I've got left are readline patches.

> The problem here is that they mostly concern the
> non-POSIX nature of Windows

GCC (and the GNU project in general, I think) have taken the attitude 
that while free operating systems are definitely the primary target, 
it's OK to support other systems, including Windows, so that people who 
uses those systems have the benefit of GNU software, and so that they 
can see that it might be worthwhile switching to a GNU system.

Of course, it takes some work to support Windows, but -- thanks to your 
careful reviews -- the amount of impact on POSIX programmers from my 
patches is pretty nearly zero.  They might break Windows support, but 
they're not likely to get confused by the Windows bits, becuase they're 
so clearly segregated.

> It's fairly obvious that this development is coming from CodeSourcery.
> There's nothing wrong with that, but I'd like to ask CodeSourcery what
> their commitment to maintaining this new code is. 

We have customers that want this functionality.  We didn't do this work 
on spec from a single company; we did it because we have multiple 
customers who wanted it.  We distribute toolchains that use it, and have 
ongoing contracts to continue delivering such toolchains. We will be 
including this functionality in our nightly builds, once the FSF version 
works.

I'd also note that there's a very active MinGW community out there. 
Part of the reason that their GDB support is complete separate is that 
they've found it hard to get their patches contributed and accepted. 
I'd expect that once basic support is available, you'd see activity from 
that direction as well.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


  parent reply	other threads:[~2005-04-29 16:08 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-29 15:32 Mark Kettenis
2005-04-29 15:32 ` Daniel Jacobowitz
2005-04-29 16:08   ` Christopher Faylor
2005-04-29 16:31     ` Mark Mitchell
2005-04-29 16:36       ` Christopher Faylor
2005-04-29 16:47         ` Mark Mitchell
2005-04-29 16:56           ` Christopher Faylor
2005-04-29 17:05             ` Mark Mitchell
2005-04-29 17:16               ` Christopher Faylor
2005-05-01 20:13             ` Eli Zaretskii
2005-05-01 19:50           ` Eli Zaretskii
2005-04-29 16:52       ` Dave Korn
2005-04-29 16:57         ` Mark Mitchell
2005-04-29 17:00           ` Dave Korn
2005-04-30 16:18           ` Mark Kettenis
2005-04-30 20:37             ` Christopher Faylor
2005-05-01 20:05       ` Eli Zaretskii
2005-05-01 20:06         ` Mark Mitchell
2005-05-01 20:24           ` Eli Zaretskii
2005-04-29 16:32     ` Kris Warkentin
2005-04-29 16:40       ` Christopher Faylor
2005-04-29 17:00         ` Kris Warkentin
2005-05-01 19:55           ` Eli Zaretskii
2005-05-01 21:41             ` Christopher Faylor
2005-05-02 19:03               ` Eli Zaretskii
2005-05-02 19:56                 ` Christopher Faylor
2005-04-29 16:48     ` Daniel Jacobowitz
2005-04-29 17:33       ` Christopher Faylor
2005-04-29 17:58         ` Daniel Jacobowitz
2005-04-29 19:08           ` Christopher Faylor
2005-04-29 19:36             ` Daniel Jacobowitz
2005-04-29 22:01               ` Christopher Faylor
2005-05-02 15:41   ` Andrew Cagney
2005-05-02 15:45     ` Daniel Jacobowitz
2005-04-29 16:04 ` Kris Warkentin
2005-04-29 16:23 ` Mark Mitchell [this message]
2005-04-29 16:46   ` Christopher Faylor
2005-04-29 16:50     ` Mark Mitchell

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=42725B31.4090800@codesourcery.com \
    --to=mark@codesourcery.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=paul@codesourcery.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