aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>2000-02-08 04:39:02 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>2000-02-08 04:39:02 +0000
commit745b8ca0fc4d987837a24d1ed5f53006478d2716 (patch)
treed6471c55e430ad890aabc21f06dc169bfd5cba58 /gdb/valprint.h
parent1171f8d754f71e35fd2f6c4e82b00f3c685e515f (diff)
downloadfsf-binutils-gdb-745b8ca0fc4d987837a24d1ed5f53006478d2716.zip
fsf-binutils-gdb-745b8ca0fc4d987837a24d1ed5f53006478d2716.tar.gz
fsf-binutils-gdb-745b8ca0fc4d987837a24d1ed5f53006478d2716.tar.bz2
Clean up compiler warnings:
* bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c, stack.c, valprint.c: Change variables to unsigned. * bcache.c: Rearrange to avoid warnings about variables not being set. * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h rather than declaring print_max and repeat_count_threashold ourselves (incorrectly). * valprint.h: Do declare repeat_count_threashold. * ch-exp.c: Use default case for internal error. * findvar.c: Don't omit argument type. * symtab.c: Remove unused variable.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r--gdb/valprint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h
index a6a3cfa..5bea657 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -31,6 +31,11 @@ extern int objectprint; /* Controls looking up an object's derived type
extern unsigned int print_max; /* Max # of chars for strings/vectors */
+/* Print repeat counts if there are more than this many repetitions of an
+ element in an array. Referenced by the low level language dependent
+ print routines. */
+extern unsigned int repeat_count_threshold;
+
extern int output_format;
extern int stop_print_at_null; /* Stop printing at null char? */