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: RFA: move value_from_contents_and_address to value.c


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.




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