From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] gdbserver 2/n - signals
Date: Thu, 19 Jul 2001 15:21:00 -0000 [thread overview]
Message-ID: <3B575D42.4010003@cygnus.com> (raw)
In-Reply-To: <20010719145237.A28070@nevyn.them.org>
> On Thu, Jul 19, 2001 at 05:48:57PM -0400, Andrew Cagney wrote:
>
>> >
>> > 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.
>
>>
>>
>> The compiler/linker should be able to eliminate the unused code (can
>> GCC?). Adding warning() and internal_error() wouldn't hurt.
>
>
> Only if you're using -ffunction-sections. Otherwise you're stuck with
> the whole object file. At least, I think so...
If someone is that despearate about the size of their executable, the'll
be using -ffunction-sections regardless :-)
> This better?
looks ok with me. You may want to see of J.T. has any comments about
gdbserver and definitly Eli about the documentation.
Andrew
> 2001-07-19 Daniel Jacobowitz <drow@mvista.com>
>
> * gdbserver/server.c (main): Call target_signal_to_host_p
> and target_signal_to_host on signals received from the remote.
> * gdbserver/remote-utils.c (prepare_resume_reply): Call
> target_signal_from_host on signals sent to the remote.
> * gdbserver/Makefile.in: Add signals.o, built from
> the parent directory.
>
> 2001-07-19 Daniel Jacobowitz <drow@mvista.com>
>
> * gdb.texinfo (Protocol): Mention that signal numbers
> are defined by the target_signal enum.
next prev parent reply other threads:[~2001-07-19 15:21 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 [this message]
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
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=3B575D42.4010003@cygnus.com \
--to=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