This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] get_array_bounds function: change low and high parameter type to LONGEST *
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 2 Jun 2010 14:21:47 -0700
- Subject: Re: [RFA] get_array_bounds function: change low and high parameter type to LONGEST *
- References: <001e01cb0229$4e13db70$ea3b9250$@muller@ics-cnrs.unistra.fr>
> 2010-06-02 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * valprint.h (get_array_bounds): Change low and high parameter types
> to LONGEST *.
> * valprint.c (get_array_bounds): Use get_discrete_bounds call to
> compute bounds.
> (val_print_array_elements): Adapt to change above.
> * ada-valprint.c (print_optional_low_bound): Adapt to change above.
> * p-valprint.c (pascal_val_print): Likewise.
This is a nice cleanup, thank you. OK to commit.
--
Joel