diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2010-06-03 06:50:47 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2010-06-03 06:50:47 +0000 |
commit | 0f0987d09db144c80cdc7e3a9c05bf601b657bab (patch) | |
tree | 351b5edbfbee406701b37b3a800e58c7a6f07d7a /gdb/valprint.h | |
parent | e742b72b1a11fb68ba954648db11bc3fbb46ed3f (diff) | |
download | gdb-0f0987d09db144c80cdc7e3a9c05bf601b657bab.tar.gz |
* 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.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r-- | gdb/valprint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h index 9b8004eb4d0..070d7967af1 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, |