From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com
Subject: Re: Where to put gdb/gdbserver-shared code?
Date: Sun, 24 Mar 2002 14:54:00 -0000 [thread overview]
Message-ID: <3C9E5936.9040900@cygnus.com> (raw)
In-Reply-To: <20020324163436.A6026@nevyn.them.org>
> There was some discussion a month or so about sharing signals.c between gdb
> and gdbserver.
Month or so [ago]?
http://sources.redhat.com/ml/gdb/2002-03/msg00058.html
> This comes up fairly often; we never quite decided how to treat it. Kevin
> seemed to be of the school that says there should be no code sharing, and
> Andrew leant the other way (as I remember - apologies for
> misrepresentation!). I dislike it in general, and having just eliminated
> every last bit of it I'm reluctant to introduce more, but signals.c is a
> good candidate if ever there was one.
>
> Ignoring that for the moment though, if we are going to share it, where
> should we keep it? We could keep it in a directory clearly describing its
> role ("native" or "utils") or clearly describing its status as shared ("common").
> I don't want to leave it where it is if it's going to be shared.
>
> Since I don't see the transition to lots and lots of common, shareable code
> with well-defined boundaries in our near future, I lean towards "common".
> Longer term, I'd prefer something like "native/utils/" and a well-described
> allowable interface for code in that directory; I don't know how practical
> that is yet.
>
> Thoughts? Preferences?
If it is only going to contains the signals stuff, gdb/signals/?
As I mentioned before, I'm left wondering what "common" is in common
with :-) GDB? sim? ...
Andrew
next prev parent reply other threads:[~2002-03-24 22:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-24 13:34 Daniel Jacobowitz
2002-03-24 14:54 ` Andrew Cagney [this message]
2002-03-24 15:03 ` 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=3C9E5936.9040900@cygnus.com \
--to=ac131313@cygnus.com \
--cc=drow@mvista.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