Re: MI: type prefixes for values

Daniel Jacobowitz
2006-03-17T19:32:47Z

On Sun, Mar 12, 2006 at 08:56:45PM +1300, Nick Roberts wrote:
> Here's a patch that doesn't print the type with the value for
> -stack-list-arguments and -stack-list-list-locals (they both use
> list_args_or_locals).

This seems plausible to me. I checked what the change actually
does: it goes through LA_VAL_PRINT instead of LA_VALUE_PRINT. For
C, the differences between the two are (A) the types of pointers
and references are printed, and (B) "set print object" is honored.
We don't want (A), and (B) is pretty rusty now since we don't test
it and it doesn't get used much, so I'm not worried about it.

Are there any compatibility concerns, i.e. should we make this change
for mi3 only? Could some frontend rely on these outputs? I don't
think Eclipse does - it looks like it has some substantial code
to skip them, though, so at least it is aware of them.

--
Daniel Jacobowitz
CodeSourcery