[PATCH 11/55] Introduce generic_value_print

Tom Tromey tom@tromey.com
Mon Dec 9 23:40:00 GMT 2019


Christian> I'm really not familiar with this code at all, but since this is new,
Christian> should this be a member function on struct value?

Possibly, but there aren't really methods there now (it's opaque
currently), and anyway for this series I wanted to try to keep each
patch reasonably close to the existing code, to make the transition more
clear.

FWIW once I had some scripts to try to convert struct value to be more
like a class.  This is difficult to do in its entirety though.  There
are many potential methods.

Tom



More information about the Gdb-patches mailing list