Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org
Subject: Re: QPassSignals patch to go with proposed protocol
Date: Thu, 26 Oct 2006 06:55:00 -0000	[thread overview]
Message-ID: <E1Gcz8v-0006Sm-RV@fencepost.gnu.org> (raw)
In-Reply-To: <20061025212805.GA872@nevyn.them.org> (message from Daniel 	Jacobowitz on Wed, 25 Oct 2006 17:28:05 -0400)

> Date: Wed, 25 Oct 2006 17:28:05 -0400
> From: Daniel Jacobowitz <drow@false.org>
> 

I have a few comments:

> +      if (!last_pass_packet || strcmp (last_pass_packet, pass_packet))
> +	{
> +	  struct remote_state *rs = get_remote_state ();
> +          char *buf = rs->buf;
> +
> +	  putpkt (pass_packet);
> +          getpkt (&rs->buf, &rs->buf_size, 0);
> +	  packet_ok (buf, &remote_protocol_packets[PACKET_QPassSignals]);
> +	  if (last_pass_packet)
> +	    xfree (last_pass_packet);
> +	  last_pass_packet = pass_packet;
> +	}
> +      else
> +	xfree (pass_packet);
> +    }

What happened with the indentation here?  Some lines use spaces,
others use TABs and spaces.

> +@cindex inform remote target of signals passed to the inferior

This index entry is too long.

> +Each listed @var{signal}, using the same signal numbering used in

Too many uses of ``using'', ``used'', etc.  I suggest to split this
sentence in two, and mention the signal numbering only in the second
one.  Like this, for example:

  Each listed SIGNAL should be passed directly to the inferior
  process.  Signals are numbered identically to continue packets and
  stop responses (*note ...).

The *note at the end is to suggest a cross-reference to the place
where the signal numbering is described.

Why is the implementation only for Linux?  Is there something
platform-dependent here?

Also, see my comments to your RFC posted to gdb@, about a more general
issue.


  reply	other threads:[~2006-10-26  6:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25 21:28 Daniel Jacobowitz
2006-10-26  6:55 ` Eli Zaretskii [this message]
2006-10-26 12:33   ` Daniel Jacobowitz
2006-10-27  8:11     ` Eli Zaretskii
2006-11-14 22:35       ` Daniel Jacobowitz
2006-11-15 18:17         ` Eli Zaretskii
2006-11-16 15:13           ` Daniel Jacobowitz
2006-11-16 20:12             ` Eli Zaretskii
2006-11-17 17:49               ` 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=E1Gcz8v-0006Sm-RV@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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