Re: [5/5] fix test suite for MI output

Tom Tromey
2012-05-15T17:27:37Z

>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Tom> It is not too hard to fix varobj to disable this new setting, if that is
Tom> preferable for some reason.

Keith> I really don't like this. UIs will now display arrays (what about
Keith> other aggregate types like struct pointers?) this way, and in the
Keith> context of varobj, it provides no additional information that the UI
Keith> isn't already providing users:

Keith> + my_array (int [10]) 0x12345678 <my_array>

Yeah, that happens for the CLI too.
Phony output:

(gdb) print my_array
$1 = <my_array> {1, 2, 3}

The place where it is an improvement is printing things that aren't
obviously globals. E.g., in gdb, printing an object that has a virtual
table, like objfile's struct sym_fns, will now nicely show the
definition.

My concern is more along the lines of whether this is going to mess up
the clients.

Tom