public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Where is GDB going
@ 2001-02-23 13:52 Andrew Cagney
  2001-02-23 14:21 ` Quality Quorum
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Cagney @ 2001-02-23 13:52 UTC (permalink / raw)
  To: GDB Discussion

Just FYI,

I'm currently aware of three significant and ongoing architectural
developments in GDB (I use the word `ongoing' loosely as like any work
it suffer from fits and starts):

	o	mi/libgdb/cli

		An interface for building better
		and more robust GUIs.  If is signficant
		as it involves separating the CLI
		from the core of GDB.

	o	multi-arch

		Allowing GDB to debug more complex
		targets containing several architectures

	o	async/event-loop

		Eliminating the assumption that
		the world stops when the target

Beyond that I also know of some more localized development (C++
cleanup/revamp, harvard/segment architecture discussion, ...).

	Andrew

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Where is GDB going
@ 2001-02-25 18:11 Peter Reilley
  2001-02-25 20:52 ` Steven Johnson
  2001-02-25 21:22 ` Quality Quorum
  0 siblings, 2 replies; 14+ messages in thread
From: Peter Reilley @ 2001-02-25 18:11 UTC (permalink / raw)
  To: GDB Discussion

I think that there are some good points here.


-----Original Message-----
From: Steven Johnson <sjohnson@neurizon.net>
To: Quality Quorum <qqi@world.std.com>
Cc: GDB Discussion <gdb@sources.redhat.com>
Date: Sunday, February 25, 2001 6:48 PM
Subject: Re: Where is GDB going


>Quality Quorum wrote:
>>
>>
>> However, I had a short but unpleasant private discussion with RMS about
>> GPL 3.0 from which I concluded (1) that it may preclude proprietary
>> software debugging with future versions of GDB by closing protocol
linking
>> loophole in GPL 2.0,
>
>Im guessing that you mean linking to a GPL Program, that is necessary
>for  your program to work, using a communication protocol (say, on top
>of TCP/IP) instead of binary linking (say, using a loadable/linked
>library) would imply that the connecting program needs to be GPL?
>
>This does not make sense, and given the history of the FSF and the GPL
>where they created free alternatives to commonly available Unix
>Utilities (some of which could inter-communicate using comms protocols)
>is also paradoxical.  If this was the case then if Samba used GPL3.0
>then you would not be able to share files with MS Windows unless MS
>Windows was GPL!!  Bye Bye Samba :(  I Must have misunderstood what you
>mean here, could you explain what this loophole is?
>
>> (2) that it will be for sure impossible (and it is
>> may be illegal right now) to link gdb with proprietary software driving
>> various hardware probes.
>I Agree with this.  There are way too many vendors making Windows DLL's
>for their proprietary debug Hardware, and cluttering GDB with Hooks to
>those DLL's.  This is (in my opinion) a clear brach of the GPL (in
>spirit if not in word).  These vendors are riding off the back of the
>work done by and for the FSF without contributing anything back.  And in
>some cases these vendors are obstructionist in even allowing people to
>write properly GPL'd alternatives to their Closed Windows DLL.  I don't
>think it should be allowed, or supported by the GDB community and Any
>patches to GDB that do this trick should be rejected out of hand. See
>ser-ocd.c and v850ice.c (in alphabetical order) for examples of this in
>the current GDB source.  These vendors should either open up their
>direct interfaces to their debuggers or they should not expect a free
>debugger in GDB.  This is a classic "Free as in Beer" not "Free as in
>Freedom" situation.  There are also other Vendor specific versions of
>GDB with similar closed interfaces.


There really is no need for including interfaces to targets that do not
have GPL'ed monitors in the gdb standard source tree.   They are of
no use unless you have bought the hardware.   On the other hand if
we eliminate all such interfaces they there may be only a few
interfaces left, which would decrease the value of gdb for everyone.

If you are suggesting that gdb cannot be used with these proprietary
devices at all then gdb fails in one of the GNU ideals, that is to provide
free tools that replace commercial products.

This is a fine line to draw.   Is communicating to a proprietary
monitor OK if it is by ASYNC or TCP/IP but not if it is by
way of a library?   This is a subject that it is easy to get
religious about.   Unfortunately, at the end of such wars
most people are dead.   If we can accommodate the feelings
and needs of everyone in this community then we will
make progress together.   I say, strip out the proprietary
interface code and allow the manufacturers to provide their own
GPL'ed patched that satisfy their needs.   That should
keep most people happy.

Pete



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Where is GDB going
@ 2001-02-26 20:34 Peter Reilley
  0 siblings, 0 replies; 14+ messages in thread
From: Peter Reilley @ 2001-02-26 20:34 UTC (permalink / raw)
  To: GDB Discussion

>Peter Reilley wrote:
>>
>> This is a fine line to draw.   Is communicating to a proprietary
>> monitor OK if it is by ASYNC or TCP/IP but not if it is by
>> way of a library?
>
>The prime distinction I see is that communicating via ASYNC or TCP/IP is
>System Neutral. I can as easily communicate using TCP/IP from Solaris as
>I can from Windows or Linux.  There is no impediment to anyone using
>this interface on a device.  Using a proprietary library forces a user
>of GDB to use Windows or Nothing.  (The only current examples of this I
>find involve Windows DLL's)  It allows a Hardware Vendor to force a
>choice of OS on a GDB user because it is not supported otherwise.  GPL
>Code should allow one to support themselves, proprietary libraries
>prevent this, published communications specs do not.  Im not religiously
>fervent about this issue, but I think the distinction is pretty clear.
>The two examples in GDB's code I cited are the only examples of it I
>could find.  Apart from increasing choice I feel that closed source
>DLL's linked to GDB decrease choice.  If those vendors want GDB to work
>with their hardware then they should do it properly and not force people
>to use the vendors OS of choice.


There are two separate issues here; the channel of communication to
the target and the language (API) used to communicate with the target.
ASYNC, TCP/IP, library, pipes, etc; are all channels.   The content of the
communication is the language.

ASYNC and TCP/IP are widely available on different OS's.   Libraries
are less widely available and need to be ported.   OCD, one of your
examples, is available on Windows, Linux, and Solaris.  Manufacturers
have every incentive to support as many systems as possible but they
are generally limited in the resources that they can devote to the effort.

The language is generally proprietary, while there is probably a
public spec describing the language, the code in the target is not
open and not GPL'ed.

Gdb supports a number of channels of communication and a number
of different languages (API) of communication.

I don't think that you can distinguish between ASYNC and TCP/IP
on one hand and library calls on the other.   After all, ASYNC and
TCP/IP are library calls on most systems.   On commercial
systems those libraries are not GPL'ed.

If you object to gdb talking a proprietary  language to the target
then that is a reasonable line to draw.   The problem being that
most of them are proprietary.

In more general terms, I don't think that companies getting a "free
ride" off GPL'ed code is such a bad thing.   Yes, they may make some
money off it, but they contribute to it as well in terms of bug fixes
and additional GPL'ed code.   Should we cheer that IBM is
touting Linux and GPL'ed code?   I think that we should!

Pete.








^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-02-26 20:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-23 13:52 Where is GDB going Andrew Cagney
2001-02-23 14:21 ` Quality Quorum
2001-02-25 15:48   ` Steven Johnson
2001-02-25 21:15     ` Quality Quorum
2001-02-25 23:41       ` Per Bothner
2001-02-26  9:39         ` Quality Quorum
2001-02-26 10:02           ` correction. " Quality Quorum
2001-02-26 13:45           ` Per Bothner
2001-02-26 16:29             ` Quality Quorum
2001-02-26 13:53           ` Steven Johnson
2001-02-25 18:11 Peter Reilley
2001-02-25 20:52 ` Steven Johnson
2001-02-25 21:22 ` Quality Quorum
2001-02-26 20:34 Peter Reilley

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).