This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: move value_from_contents_and_address to value.c
- From: Jerome Guitton <guitton at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 25 Nov 2008 12:43:06 +0100
- Subject: Re: RFA: move value_from_contents_and_address to value.c
- References: <m3skplevf4.fsf@fleche.redhat.com>
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.