Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <drow@mvista.com>, gdb-patches@sources.redhat.com
Subject: Re: Minor off-by-one error in command_line_handler
Date: Sat, 30 Mar 2002 21:05:00 -0000	[thread overview]
Message-ID: <3CA4A5E5.7060904@cygnus.com> (raw)
In-Reply-To: <20020329025400.A25885@nevyn.them.org>

It at least deserves a comment :-)

>  #define ALL_BLOCK_SYMBOLS(bl, i, sym)			\
>  	for ((i) = 0, (sym) = BLOCK_SYM ((bl), (i));	\
>  	     (i) < BLOCK_NSYMS ((bl));			\
> -	     ++(i), (sym) = BLOCK_SYM ((bl), (i)))
> +	     ++(i), (sym) = ((i) < BLOCK_NSYMS ((bl)))	\
> +			    ? BLOCK_SYM ((bl), (i))	\
> +			    : NULL)
>  

Andrew


  reply	other threads:[~2002-03-31  5:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-27  0:01 Jason Molenda
2002-03-27  8:34 ` Andrew Cagney
2002-03-27 10:11   ` Elena Zannoni
2002-03-27 11:54     ` Andreas Schwab
2002-03-27 13:31       ` Elena Zannoni
2002-03-27 13:21         ` Andreas Schwab
2002-03-27  9:40 ` Andrew Cagney
2002-03-28 23:54 ` Daniel Jacobowitz
2002-03-30 21:05   ` Andrew Cagney [this message]
2002-03-30 21:08     ` Daniel Jacobowitz
2002-04-03 19:27       ` Andrew Cagney
2002-04-09 13:52     ` 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=3CA4A5E5.7060904@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=drow@mvista.com \
    --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