Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Pierre Muller" <muller@ics.u-strasbg.fr>
Cc: <gdb-patches@sourceware.org>
Subject: Re: small test suite cleanup
Date: Fri, 13 Feb 2009 18:42:00 -0000	[thread overview]
Message-ID: <m3prhmdxp5.fsf@fleche.redhat.com> (raw)
In-Reply-To: <005701c98df9$25262600$6f727200$@u-strasbg.fr> (Pierre Muller's message of "Fri\, 13 Feb 2009 17\:35\:56 +0100")

>>>>> "Pierre" == Pierre Muller <muller@ics.u-strasbg.fr> writes:

Pierre>  This only accepts digits, but
Pierre> if you use "/x" for the format,
Pierre> you would get an hexadecimal printout,
Pierre> shouldn't that be also accepted?

Sure.  BTW, get_valueofx is another copy of it that is specific to the
/x format.

I did not try to fix bugs in this proc, I just consolidated the
various instances of it.

Pierre>   But I don't like the idea of having a
Pierre> procedure that would issue FAIL
Pierre> if used for instance as
Pierre>   [get_valueof "/s" "*args.argv" "0"]
Pierre> in gdb main function.

Are you saying you object to this patch?
If so, let me know, and I will revert it.

I'm not planning to fix any of the problems with the current
get_valueof.  My view is that this patch is an improvement simply
because it removes code duplication; whatever latent problems there
are were already there.  But, feel free to send a patch to fix any or
all of the problems you identified :-)

Tom


  reply	other threads:[~2009-02-13 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 16:36 FYI: " Tom Tromey
2009-02-13 16:57 ` Pierre Muller
2009-02-13 18:42   ` Tom Tromey [this message]
2009-02-13 23:16     ` Pierre Muller
2009-02-13 23:38       ` Tom Tromey
2009-02-13 23:49         ` [Commit]: " Pierre Muller

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=m3prhmdxp5.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=muller@ics.u-strasbg.fr \
    /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