aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-06-03 06:50:49 +0000
committerPierre Muller <muller@sourceware.org>2010-06-03 06:50:49 +0000
commitdf1784511914208f03f111bc06e42ab3d75dcbd5 (patch)
tree1918a82ddd9b0bfd6a9b61c430f4f7e24a0060f2 /gdb/valprint.h
parent416a7ddd02bd7e6e95c2275008d82a469ca0de1e (diff)
downloadgdb-df1784511914208f03f111bc06e42ab3d75dcbd5.zip
gdb-df1784511914208f03f111bc06e42ab3d75dcbd5.tar.gz
gdb-df1784511914208f03f111bc06e42ab3d75dcbd5.tar.bz2
* 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.h4
1 files changed, 2 insertions, 2 deletions
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,