Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* New binutils directory src/include/cpu/ for .cpu and .opc files?
@ 2002-09-12 18:10 Andrew Cagney
  2002-09-12 18:43 ` DJ Delorie
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Andrew Cagney @ 2002-09-12 18:10 UTC (permalink / raw)
  To: binutils; +Cc: gdb

Hello,

I'd like to propose a new directory:

	src/include/cpu/

The directory would contain the CGEN .cpu and .opc input files used to 
generate CGEN based binutils disassemblers, assemblers and (?) 
relocations.  GDB could also use these files when generating CGEN based 
simulators.

The directory would be part of the FSF's BINUTILS package and, hence, 
would be covered by the BINUTILS copyright assignment.

Thoughts?
Andrew


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 18:10 New binutils directory src/include/cpu/ for .cpu and .opc files? Andrew Cagney
@ 2002-09-12 18:43 ` DJ Delorie
  2002-09-12 19:26   ` Doug Evans
  2002-09-12 19:15 ` Hans-Peter Nilsson
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 13+ messages in thread
From: DJ Delorie @ 2002-09-12 18:43 UTC (permalink / raw)
  To: ac131313; +Cc: binutils, gdb


> I'd like to propose a new directory:
> 
> 	src/include/cpu/
> 
> The directory would contain the CGEN .cpu and .opc input files used to 
> generate CGEN based binutils disassemblers, assemblers and (?) 
> relocations.  GDB could also use these files when generating CGEN based 
> simulators.

They aren't really include files, they're *source* files.  Shouldn't
they go in one of the source directories?

I really don't think we want to go down the slippery slope of using
include as a catch-all.  Perhaps the opcodes directory would be a
better choice?


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 18:10 New binutils directory src/include/cpu/ for .cpu and .opc files? Andrew Cagney
  2002-09-12 18:43 ` DJ Delorie
@ 2002-09-12 19:15 ` Hans-Peter Nilsson
  2002-09-12 20:41   ` Andrew Cagney
  2002-09-12 19:50 ` Ben Elliston
  2002-09-26 17:04 ` Andrew Cagney
  3 siblings, 1 reply; 13+ messages in thread
From: Hans-Peter Nilsson @ 2002-09-12 19:15 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: binutils, gdb

On Thu, 12 Sep 2002, Andrew Cagney wrote:
> I'd like to propose a new directory:
>
> 	src/include/cpu/
>
> The directory would contain the CGEN .cpu and .opc input files used to
> generate CGEN based binutils disassemblers, assemblers and (?)
> relocations.  GDB could also use these files when generating CGEN based
> simulators.
>
> The directory would be part of the FSF's BINUTILS package and, hence,
> would be covered by the BINUTILS copyright assignment.

Being part of binutils requires copyright for all parts to
belong to the FSF, which isn't the case for these files;
copyright is owned by Red Hat (mostly; also other holders).

brgds, H-P


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 18:43 ` DJ Delorie
@ 2002-09-12 19:26   ` Doug Evans
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Evans @ 2002-09-12 19:26 UTC (permalink / raw)
  To: DJ Delorie; +Cc: ac131313, binutils, gdb

DJ Delorie writes:
 > > I'd like to propose a new directory:
 > > 
 > > 	src/include/cpu/
 > > 
 > > The directory would contain the CGEN .cpu and .opc input files used to 
 > > generate CGEN based binutils disassemblers, assemblers and (?) 
 > > relocations.  GDB could also use these files when generating CGEN based 
 > > simulators.
 > 
 > They aren't really include files, they're *source* files.  Shouldn't
 > they go in one of the source directories?
 > 
 > I really don't think we want to go down the slippery slope of using
 > include as a catch-all.  Perhaps the opcodes directory would be a
 > better choice?

I've always thought the .opc files should go in src/opcodes.

Similarily, I kinda think the opcodes file generators should
go in opcodes.  After all, they're rather closely tied with
the rest of opcodes.  They're also closely tied with cgen of course.
But application file generators should be able to go with the
application and not cgen.  Otherwise writing new generators for
new applications becomes problematic ....

And, fwiw, I don't like putting the .cpu files in src/include either.


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 18:10 New binutils directory src/include/cpu/ for .cpu and .opc files? Andrew Cagney
  2002-09-12 18:43 ` DJ Delorie
  2002-09-12 19:15 ` Hans-Peter Nilsson
@ 2002-09-12 19:50 ` Ben Elliston
  2002-09-12 20:16   ` Doug Evans
  2002-09-26 17:04 ` Andrew Cagney
  3 siblings, 1 reply; 13+ messages in thread
From: Ben Elliston @ 2002-09-12 19:50 UTC (permalink / raw)
  To: gdb; +Cc: binutils

>>>>> "Andrew" == Andrew Cagney <ac131313@ges.redhat.com> writes:

  Andrew> Hello,
  Andrew> I'd like to propose a new directory:
  Andrew> 	src/include/cpu/

I think this is a misleading place to put CGEN .cpu files.  `include'
implies that this directory holds C header files that are brought in
using `#include'.

Ben



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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 19:50 ` Ben Elliston
@ 2002-09-12 20:16   ` Doug Evans
  2002-09-12 21:19     ` DJ Delorie
  2002-09-13  8:34     ` Frank Ch. Eigler
  0 siblings, 2 replies; 13+ messages in thread
From: Doug Evans @ 2002-09-12 20:16 UTC (permalink / raw)
  To: Ben Elliston; +Cc: binutils, gdb

Ben Elliston writes:
 > >>>>> "Andrew" == Andrew Cagney <ac131313@ges.redhat.com> writes:
 > 
 >   Andrew> Hello,
 >   Andrew> I'd like to propose a new directory:
 >   Andrew> 	src/include/cpu/
 > 
 > I think this is a misleading place to put CGEN .cpu files.  `include'
 > implies that this directory holds C header files that are brought in
 > using `#include'.

How about src/cgen-cpu (*)?  Or maybe even src/cpu/cgen.

I like the latter (though I only put a few seconds of thought into it).
It doesn't preclude having cgen-like things other than cgen, and gives
them a home.

(*) It screws up tab-completion of src/cgen, but it's descriptive.


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 19:15 ` Hans-Peter Nilsson
@ 2002-09-12 20:41   ` Andrew Cagney
  2002-09-14  2:42     ` Hans-Peter Nilsson
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Cagney @ 2002-09-12 20:41 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: binutils, gdb

> On Thu, 12 Sep 2002, Andrew Cagney wrote:
> 
>> I'd like to propose a new directory:
>>
>> 	src/include/cpu/
>>
>> The directory would contain the CGEN .cpu and .opc input files used to
>> generate CGEN based binutils disassemblers, assemblers and (?)
>> relocations.  GDB could also use these files when generating CGEN based
>> simulators.
>>
>> The directory would be part of the FSF's BINUTILS package and, hence,
>> would be covered by the BINUTILS copyright assignment.

> Being part of binutils requires copyright for all parts to
> belong to the FSF.

``The [new, initially empty] directory would be part of the FSF's 
BINUTILS package and, hence, would be covered by the BINUTILS copyright 
assignment.''

Andrew



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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 20:16   ` Doug Evans
@ 2002-09-12 21:19     ` DJ Delorie
  2002-09-12 21:37       ` Doug Evans
  2002-09-13  8:34     ` Frank Ch. Eigler
  1 sibling, 1 reply; 13+ messages in thread
From: DJ Delorie @ 2002-09-12 21:19 UTC (permalink / raw)
  To: dje; +Cc: bje, binutils, gdb


> How about src/cgen-cpu (*)?  Or maybe even src/cpu/cgen.

Or src/cpu/<cpu>

Of course, you could break up opcodes that way also ;)


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 21:19     ` DJ Delorie
@ 2002-09-12 21:37       ` Doug Evans
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Evans @ 2002-09-12 21:37 UTC (permalink / raw)
  To: DJ Delorie; +Cc: bje, binutils, gdb

DJ Delorie writes:
 > 
 > > How about src/cgen-cpu (*)?  Or maybe even src/cpu/cgen.
 > 
 > Or src/cpu/<cpu>

That works too.


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 20:16   ` Doug Evans
  2002-09-12 21:19     ` DJ Delorie
@ 2002-09-13  8:34     ` Frank Ch. Eigler
  1 sibling, 0 replies; 13+ messages in thread
From: Frank Ch. Eigler @ 2002-09-13  8:34 UTC (permalink / raw)
  To: Doug Evans; +Cc: Ben Elliston, binutils, gdb


dje wrote:

> [...]
> How about src/cgen-cpu (*)?  Or maybe even src/cpu/cgen.

If the idea of a new directory is just to separate (C)FSF from
non-(C)FSF CGEN input model files, then such a big hierarchy change is
not needed: e.g. src/cgen/fsf-cpu.

- FChE


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 20:41   ` Andrew Cagney
@ 2002-09-14  2:42     ` Hans-Peter Nilsson
  2002-09-14  8:02       ` Doug Evans
  0 siblings, 1 reply; 13+ messages in thread
From: Hans-Peter Nilsson @ 2002-09-14  2:42 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: binutils, gdb

On Thu, 12 Sep 2002, Andrew Cagney wrote:
> > On Thu, 12 Sep 2002, Andrew Cagney wrote:
> >
> >> I'd like to propose a new directory:
> >>
> >> 	src/include/cpu/
> >>
> >> The directory would contain the CGEN .cpu and .opc input files used to
> >> generate CGEN based binutils disassemblers, assemblers and (?)
> >> relocations.  GDB could also use these files when generating CGEN based
> >> simulators.
> >>
> >> The directory would be part of the FSF's BINUTILS package and, hence,
> >> would be covered by the BINUTILS copyright assignment.
>
> > Being part of binutils requires copyright for all parts to
> > belong to the FSF.
>
> ``The [new, initially empty] directory would be part of the FSF's
> BINUTILS package and, hence, would be covered by the BINUTILS copyright
> assignment.''

Thanks for the clarification.  I didn't see the "initially
empty" part at all implied by "new".  Frankly I think it's the
wrong solution to any copyright problem to introduce *another*
directory for these files.  Also, it seems odd to put it solely
under the binutils domain.  What about CGEN ports only intended
for simulators?

brgds, H-P


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-14  2:42     ` Hans-Peter Nilsson
@ 2002-09-14  8:02       ` Doug Evans
  0 siblings, 0 replies; 13+ messages in thread
From: Doug Evans @ 2002-09-14  8:02 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: Andrew Cagney, binutils, gdb

Hans-Peter Nilsson writes:
 > What about CGEN ports only intended for simulators?

Nothing.


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

* Re: New binutils directory src/include/cpu/ for .cpu and .opc files?
  2002-09-12 18:10 New binutils directory src/include/cpu/ for .cpu and .opc files? Andrew Cagney
                   ` (2 preceding siblings ...)
  2002-09-12 19:50 ` Ben Elliston
@ 2002-09-26 17:04 ` Andrew Cagney
  3 siblings, 0 replies; 13+ messages in thread
From: Andrew Cagney @ 2002-09-26 17:04 UTC (permalink / raw)
  To: Nick Clifton, binutils; +Cc: gdb

> Hello,
> 
> I'd like to propose a new directory:
> 
>     src/include/cpu/
> 
> The directory would contain the CGEN .cpu and .opc input files used to generate CGEN based binutils disassemblers, assemblers and (?) relocations.  GDB could also use these files when generating CGEN based simulators.
> 
> The directory would be part of the FSF's BINUTILS package and, hence, would be covered by the BINUTILS copyright assignment.
> 
> Thoughts?
> Andrew

It would appear that the first preference is src/cpu/.  The runner up 
being src/opcodes/<something>/

Nick?

Andrew



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

end of thread, other threads:[~2002-09-27  0:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-12 18:10 New binutils directory src/include/cpu/ for .cpu and .opc files? Andrew Cagney
2002-09-12 18:43 ` DJ Delorie
2002-09-12 19:26   ` Doug Evans
2002-09-12 19:15 ` Hans-Peter Nilsson
2002-09-12 20:41   ` Andrew Cagney
2002-09-14  2:42     ` Hans-Peter Nilsson
2002-09-14  8:02       ` Doug Evans
2002-09-12 19:50 ` Ben Elliston
2002-09-12 20:16   ` Doug Evans
2002-09-12 21:19     ` DJ Delorie
2002-09-12 21:37       ` Doug Evans
2002-09-13  8:34     ` Frank Ch. Eigler
2002-09-26 17:04 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox