This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]