From df1784511914208f03f111bc06e42ab3d75dcbd5 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 3 Jun 2010 06:50:49 +0000 Subject: * 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. --- gdb/valprint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/valprint.h') diff --git a/gdb/valprint.h b/gdb/valprint.h index 9b8004e..070d796 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -109,8 +109,8 @@ extern void get_raw_print_options (struct value_print_options *opts); extern void get_formatted_print_options (struct value_print_options *opts, char format); -extern int get_array_bounds (struct type *type, long *low_bound, - long *high_bound); +extern int get_array_bounds (struct type *type, LONGEST *low_bound, + LONGEST *high_bound); extern void maybe_print_array_index (struct type *index_type, LONGEST index, struct ui_file *stream, -- cgit v1.1