From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21522 invoked by alias); 19 Jul 2010 06:25:39 -0000 Received: (qmail 21508 invoked by uid 22791); 19 Jul 2010 06:25:38 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,TW_SM X-Spam-Check-By: sourceware.org Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Jul 2010 06:24:54 +0000 Received: from [127.0.0.1] (HSI-KBW-109-193-106-210.hsi7.kabel-badenwuerttemberg.de [109.193.106.210]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0Lu2Cs-1P1REQ0BFO-011lMW; Mon, 19 Jul 2010 08:24:52 +0200 Message-ID: <4C43EFB4.3030105@rosenau-ka.de> Date: Mon, 19 Jul 2010 06:25:00 -0000 From: Martin Rosenau User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: asmwarrior CC: gdb@sourceware.org Subject: Re: New features for GDB under Windows References: <4C420A62.8040601@rosenau-ka.de> <4C427D64.3020609@gmail.com> <20100718131211.GA24132@caradoc.them.org> In-Reply-To: <20100718131211.GA24132@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00070.txt.bz2 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