This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix address in call to val_print
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 21 Nov 2008 21:11:24 -0800
- Subject: Re: RFA: fix address in call to val_print
- References: <m33ahmexvp.fsf@fleche.redhat.com>
> 2008-11-20 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> * valprint.c (val_print_array_elements): Pass correct
> element address to val_print.
Sure! It looks pretty clearly correct to me as well.
I'm wondering about the testcase. As I understand it, it wouldn't cause
any problem with the current FSF version of GDB. But if it's easy to
create one, then I think it'd still be a useful test to have, just to
make sure it doesn't regress in the future.
--
Joel