* valprint.h (get_array_bounds): Renames get_array_low_bound.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 23 May 2008 18:13:35 +0000 (18:13 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 23 May 2008 18:13:35 +0000 (18:13 +0000)
commite936309cee103c8067460fc2ca051a9290af3564
treee016843fcf3698d85d7900b4e176e24e38a49789
parent133d72e9955c347d1cbb0fae4424f0b34ef20b91
    * valprint.h (get_array_bounds): Renames get_array_low_bound.
        * valprint.c (get_array_bounds): Renames get_array_low_bound.
        Return the proper bound value if the array index type is an
        enumerated type. Compute the high bound if requested.
        (val_print_array_elements): Handle the case when the array
        element has a null size.
        * ada-valprint.c (print_optional_low_bound): Add handling
        for empty arrays or arrays of zero-size elements.
        (ada_val_print_array): New function, extracted out from
        ada_val_print_1 case TYPE_CODE_ARRAY, and enhanced to
        handle empty arrays and arrays of zero-size elements.
        (ada_val_print_1)[case TYPE_CODE_ARRAY]: Replace extracted-out
        code by call to ada_val_print_array.
        (ada_value_print): Remove handling of null array.  The handling
        was incomplete and is now better handled by ada_val_print_array.
gdb/ChangeLog
gdb/ada-valprint.c
gdb/valprint.c
gdb/valprint.h
This page took 0.031551 seconds and 4 git commands to generate.