public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Martin Rosenau <martin@rosenau-ka.de>
To: asmwarrior <asmwarrior@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: New features for GDB under Windows
Date: Mon, 19 Jul 2010 06:25:00 -0000	[thread overview]
Message-ID: <4C43EFB4.3030105@rosenau-ka.de> (raw)
In-Reply-To: <20100718131211.GA24132@caradoc.them.org>

Daniel Jacobowitz wrote:
> On Sun, Jul 18, 2010 at 12:04:52PM +0800, asmwarrior wrote:
>>> I added the following functionality that was only available under Unix
>>> before:
>>> - Remote debugging using TCP/IP
>>> - Remote debugging using pipes (other program's stdin/stdout)
> 
> Both of these are already included in current versions of Windows
> GDB.
> 
Thanks for that information.
I had a look at the WebCVS and noticed that TCP now really works with
Windows.

However I thinks pipes will only work with Cygwin (Unix simulation on
Windows), not with native Windows (required by Mingw etc.). I still
could apply my patch to the current version of ser-pipe.c, if it is desired.

I also saw that the "remote-array.c" file has been removed; this file
caused a problem trying to use the "monitor" command together with
serial/pipe/TCP targets.

>>> And the new feature:
>>> - Remote debugging using special DLLs (this is faster than TCP/IP or
>>> pipes and allows you to add new hardware targets - like JTAG adapters -
>>> without re-compiling the entire GDB)
> 
> I don't know if this is a desired feature.  It runs into maintenance
> and GPL compliance problems.
> 
The GPL compliance problems are an old problem running GPL programs
under Windows. In some Internet forum I read the discussion if it is
allowed to run GPL programs under Windows at all (it is (nearly)
impossible to run any program under Windows without using Windows'
closed-source DLLs!)
Unfortunately there was no final conclusion about this problem.

If the license problems should be critical some text in the GDB manual
could state something like "The plug-in DLLs used must be under GPL or
LGPL license, otherwise you may violate the license terms of GDB".

What I do not understand is the term "maintenance problems". Do you think
- about compatibility problems (a DLL for 7.x could not run under 8.x)
- or about the "who is responsible" problem (provider of the DLL says:
"bug in GDB", GDB team says: "bug in DLL")
- or are you afraid that there are too many targets in GDB
- or do you think about other problems?

Thanks for your answer.

Martin

  reply	other threads:[~2010-07-19  6:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-17 19:54 Martin Rosenau
2010-07-18  4:04 ` asmwarrior
2010-07-18 13:12   ` Daniel Jacobowitz
2010-07-19  6:25     ` Martin Rosenau [this message]
2010-07-19 14:15       ` Daniel Jacobowitz

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=4C43EFB4.3030105@rosenau-ka.de \
    --to=martin@rosenau-ka.de \
    --cc=asmwarrior@gmail.com \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).