Re: RFA: move value_from_contents_and_address to value.c

Jerome Guitton
2008-11-25T11:43:53Z

Tom Tromey (tromey@redhat.com):

> I had written a version of "value_from_contents" for use by the Python
> pretty-printing code before I noticed that it already existed in
> ada-lang.c.

By the way, I think there is a bug in the way we implemented it in
ada-lang.c. If I read the code correctly,
value_from_contents_and_address returns a not_lval lazy value when
valaddr is null. Not sure what we were trying to do, but this is
certainly wrong... I'll have a look.