From: Kevin Buettner <kevinb@cygnus.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>,
Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] gdbserver 2/n - signals
Date: Thu, 19 Jul 2001 17:22:00 -0000 [thread overview]
Message-ID: <1010720002145.ZM6047@ocotillo.lan> (raw)
In-Reply-To: <20010719141742.A25968@nevyn.them.org>
On Jul 19, 2:17pm, Daniel Jacobowitz wrote:
> > o
> > I don't understand the need for the file
> > gdbserver/signals.c. Isn't that what
> > gdb/signals.c is for?
>
> I was going to use that, except for a few small problems:
> - wasted space, a couple of functions and the large name table.
> I'm not really bothered by this one.
> - warning() and internal_error() calls, which gdbserver doesn't
> provide.
>
> Perhaps re-using it despite those minor hurdles would be wiser. I'll
> tweak the patch.
I'm not convinced that it's a good idea to share code between gdb and
gdbserver. The problem with sharing code is that it's really easy to
break gdbserver if you're not careful. I think it might be better to
revamp gdbserver so that it shares no code in common with gdb.
The other alternative is to go to the other extreme and attempt to do
maximal sharing. But I think this will be harder to do and I suspect
the end result will be much less useful than some people think. I
used gdbserver a while back to do the initial development of the IA-64
port. I really liked it that gdbserver was small and required very
little work to bring up on a new machine. I think we should continue
to strive to keep gdbserver as small as possible.
Kevin
prev parent reply other threads:[~2001-07-19 17:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-19 12:01 Daniel Jacobowitz
2001-07-19 14:00 ` Andrew Cagney
2001-07-19 14:17 ` Daniel Jacobowitz
2001-07-19 14:49 ` Andrew Cagney
2001-07-19 14:52 ` Daniel Jacobowitz
2001-07-19 15:21 ` Andrew Cagney
2001-07-20 0:32 ` Eli Zaretskii
2001-07-20 8:33 ` Daniel Jacobowitz
2001-07-20 11:31 ` Eli Zaretskii
2001-07-20 11:34 ` Daniel Jacobowitz
2001-07-21 0:38 ` Eli Zaretskii
2001-07-20 16:48 ` Andrew Cagney
2001-07-21 1:04 ` Eli Zaretskii
2001-07-20 16:42 ` Andrew Cagney
2001-07-19 17:22 ` Kevin Buettner [this message]
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=1010720002145.ZM6047@ocotillo.lan \
--to=kevinb@cygnus.com \
--cc=ac131313@cygnus.com \
--cc=dmj+@andrew.cmu.edu \
--cc=gdb-patches@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