diff options
author | Fred Fish <fnf@specifix.com> | 1996-07-26 03:01:51 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-07-26 03:01:51 +0000 |
commit | b607efe7149f91512dc5fd9dbfc4c6156cdf9a93 (patch) | |
tree | b90b82aac0d802ec179525d8d80635a44c562f1e /gdb/ch-valprint.c | |
parent | dc88c64e2c0dbc786d0cee2b3bde0bdee8fcf2d1 (diff) | |
download | gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.zip gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.gz gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.bz2 |
See gdb ChangeLog entry with header:
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
for a rather huge set of changes. I was going to put them here, but it
made cvs dump core. :-(
Diffstat (limited to 'gdb/ch-valprint.c')
-rw-r--r-- | gdb/ch-valprint.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ch-valprint.c b/gdb/ch-valprint.c index 9b20137..fcc821f 100644 --- a/gdb/ch-valprint.c +++ b/gdb/ch-valprint.c @@ -36,6 +36,13 @@ static void chill_print_value_fields PARAMS ((struct type *, char *, GDB_FILE *, int, int, enum val_prettyprint, struct type **)); +static void +chill_print_type_scalar PARAMS ((struct type *, LONGEST, GDB_FILE *)); + +static void +chill_val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *, + int, int, int, enum val_prettyprint)); + /* Print integral scalar data VAL, of type TYPE, onto stdio stream STREAM. Used to print data from type structures in a specified type. For example, @@ -43,7 +50,7 @@ chill_print_value_fields PARAMS ((struct type *, char *, GDB_FILE *, int, int, allows the ranges to be printed in their "natural" form rather than as decimal integer values. */ -void +static void chill_print_type_scalar (type, val, stream) struct type *type; LONGEST val; @@ -382,7 +389,7 @@ chill_val_print (type, valaddr, address, stream, format, deref_ref, recurse, { if (need_comma) fputs_filtered (", ", stream); - chill_print_type_scalar (range, i, stream); + chill_print_type_scalar (range, (LONGEST) i, stream); need_comma = 1; /* Look for a continuous range of true elements. */ @@ -393,7 +400,7 @@ chill_val_print (type, valaddr, address, stream, format, deref_ref, recurse, while (i+1 <= high_bound && value_bit_index (type, valaddr, ++i)) j = i; - chill_print_type_scalar (range, j, stream); + chill_print_type_scalar (range, (LONGEST) j, stream); } } } |