Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: PR 8507 - Remote watchpoint limit really large
Date: Mon, 29 Dec 2008 19:30:00 -0000	[thread overview]
Message-ID: <20081229193000.GA29455@caradoc.them.org> (raw)
In-Reply-To: <200812291912.56599.pedro@codesourcery.com>

On Mon, Dec 29, 2008 at 07:12:56PM +0000, Pedro Alves wrote:
> > How about var_zuinteger, for zeroable unsigned Integer?
> 
> Hmm, I was trying to convey the idea that negatives mean unlimited,
> as the watchpoint/breakpoint limits command explicitly mentions
> that.  But, it's just a name, I'm not married to any.

Just because the existing names are abbreviated doesn't mean they all
have to be... how about var_unlimited_uinteger, documented as an
unsigned integer value or the string "unlimited"?  And then we do not
need to overload any number in the UI, just internally.  We could
leave the variable an int, let [0, INT_MAX - 1] be valid, and INT_MAX
mean unlimited.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2008-12-29 19:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29  5:25 Pedro Alves
2008-12-29 12:26 ` Mark Kettenis
2008-12-29 19:13   ` Pedro Alves
2008-12-29 19:30     ` Daniel Jacobowitz [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=20081229193000.GA29455@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=pedro@codesourcery.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