Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: gdb@sources.redhat.com
Cc: Elena Zannoni <ezannoni@redhat.com>,
	Eli Zaretskii <eliz@is.elta.co.il>,
	Daniel Jacobowitz <drow@mvista.com>
Subject: Re: New directory src/gdb/misc?
Date: Thu, 07 Mar 2002 07:59:00 -0000	[thread overview]
Message-ID: <3C878E6B.9000704@cygnus.com> (raw)
In-Reply-To: <15495.32556.289737.444380@localhost.redhat.com>

> Eli Zaretskii writes:
>  > > On Thu, 7 Mar 2002, Daniel Jacobowitz wrote:
>  > > > > This leaves ``gdb/common'' and, (new suggestion) gdb/misc/ as possible 
>  > > > directory names.
>  > > > > 'misc' doesn't convey any information.  It's like calling something
>  > > 'new' in its documentation - not useful for very long.  I'd vote for
>  > > common.
>  > > Either `common' or maybe `lib' (or `gdblib').  I agree that `misc' is not 
>  > such a good idea.
> 
> how about 'generic' (stolen from gdbtk) or 'shared' or 'general' ?
> 
> Elena

`Generic' could be interpreted to mean everything except the 
architecture stuff.

(I think I regret raising this one :-)

Starting again ...

Perhaphs I'm trying to simultaneously squeese a square and triangular 
peg through a round hole

- ``nat'' stuff related to host=target.  gdbserver and gdb have the 
potential to share this.  Signal mapping and ptrace() are probably the 
only things that live here.  Shared libraries, threads, core files, ... 
are all no longer ``native''.

- ``utils'' for just getting gdb to build.  safe_strerror(), xfree(), ...

This does open up the more general question of how to restructure GDB. 
Hopefully that discussion can be side stepped and just persue this to 
the point of being fairly sure we're not heading in a completly wrong 
direction.

Is the right direction to split things across ``functional'' (utils, 
nat, isa/abi, ..) lines rather than ``usage'' (common to gdb/gdbserver, 
commont to gdb/sim, ...) lines?  A functional split would result in 
gdbserver cherry picking from random directories the bits it wants from 
core gdb.

Andrew






  reply	other threads:[~2002-03-07 15:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06 18:31 Andrew Cagney
2002-03-06 21:31 ` Daniel Jacobowitz
2002-03-06 22:13   ` Eli Zaretskii
2002-03-06 22:31     ` Andrew Cagney
2002-03-07  6:55     ` Elena Zannoni
2002-03-07  7:59       ` Andrew Cagney [this message]
2002-03-07 10:44         ` Daniel Jacobowitz
2002-03-06 22:22   ` Andrew Cagney
2002-03-07 10:42     ` 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=3C878E6B.9000704@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=drow@mvista.com \
    --cc=eliz@is.elta.co.il \
    --cc=ezannoni@redhat.com \
    --cc=gdb@sources.redhat.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