From: Chris Moller <cmoller@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: pr 11067 patch
Date: Sat, 13 Feb 2010 18:56:00 -0000 [thread overview]
Message-ID: <4B76F5CE.30704@redhat.com> (raw)
In-Reply-To: <20100213114933.GA595@host0.dyn.jankratochvil.net>
On 02/13/10 06:49, Jan Kratochvil wrote:
> Hi Chris,
>
> On Fri, 12 Feb 2010 16:48:13 +0100, Chris Moller wrote:
>
>> --- gdb/testsuite/gdb.mi/mi-var-display.exp 1 Jan 2010 07:32:03 -0000 1.34
>> +++ gdb/testsuite/gdb.mi/mi-var-display.exp 12 Feb 2010 15:38:07 -0000
>> mi_gdb_test "-var-evaluate-expression anone" \
>> - "\\^done,value=\"A\"" \
>> + "\\^done,value=\"A = \\(enum<anonymous>\\)0\"" \
>> "eval variable anone"
>>
>
> While it works with Eclipse should this format be used even for MI?
> MI doc says:
> returns its value as a string.
>
> It is true it may be the same what `print' doc says:
> By default, GDB prints a value according to its data type.
>
> Still IMO the representation "A = (enum<anonymous>)0" is not suitable for MI
> as it is not the intended type of a C expression.
Yeah, as I said last week, I've never been a fan of breaking historical
behaviour, something my original patch was designed to avoid.
This has gone way past ridiculous--it's time this whole thing was
resolved as WONTFIX and closed.
cm
next prev parent reply other threads:[~2010-02-13 18:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 2:55 Chris Moller
2010-02-11 9:30 ` Joel Brobecker
2010-02-11 14:19 ` Chris Moller
2010-02-11 19:50 ` Tom Tromey
2010-02-12 4:11 ` Joel Brobecker
2010-02-12 15:48 ` Chris Moller
2010-02-13 11:49 ` Jan Kratochvil
2010-02-13 18:56 ` Chris Moller [this message]
2010-02-19 14:28 ` Joel Brobecker
2010-02-19 14:36 ` Jan Kratochvil
2010-02-19 14:45 ` Joel Brobecker
2010-02-19 14:54 ` Chris Moller
2010-02-19 18:50 ` Jan Kratochvil
2010-02-19 19:52 ` Chris Moller
2010-02-19 20:11 ` Jan Kratochvil
2010-02-22 9:22 ` Vladimir Prus
2010-02-23 23:55 ` Tom Tromey
2010-03-11 15:44 ` pr 11067 patch resurrected from the dead Chris Moller
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=4B76F5CE.30704@redhat.com \
--to=cmoller@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@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