diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-15 22:18:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-15 22:18:43 +0000 |
commit | 973177d3c5d517f8de4b4f1b7a4a75c9e5936375 (patch) | |
tree | 8eb96ced99947bb4fd9bfd3761e662610f07a8d8 /gdb/cp-valprint.c | |
parent | 5ea2bd7fc039dbdea9f0cb82cabd25f2bfc23b46 (diff) | |
download | gdb-973177d3c5d517f8de4b4f1b7a4a75c9e5936375.zip gdb-973177d3c5d517f8de4b4f1b7a4a75c9e5936375.tar.gz gdb-973177d3c5d517f8de4b4f1b7a4a75c9e5936375.tar.bz2 |
2003-05-15 Andrew Cagney <cagney@redhat.com>
* c-lang.c (c_printstr): Delete "extern inspect_it" declaration.
* p-valprint.c (pascal_object_print_value_fields): Ditto.
* p-lang.c (pascal_printstr): Ditto.
* objc-lang.c (objc_printstr): Ditto.
* m2-lang.c (m2_printstr): Ditto.
* jv-valprint.c (java_print_value_fields): Ditto.
* f-lang.c (f_printstr): Ditto.
* cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h".
* ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and
for repeat_count_threshold.
* Makefile.in (cp-valprint.o): Update dependencies.
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r-- | gdb/cp-valprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index 9a32e9c..60a2093 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -34,6 +34,7 @@ #include "c-lang.h" #include "target.h" #include "cp-abi.h" +#include "valprint.h" /* Indication of presence of HP-compiled object files */ extern int hp_som_som_object_present; /* defined in symtab.c */ @@ -266,8 +267,6 @@ cp_print_value_fields (struct type *type, struct type *real_type, char *valaddr, fprintf_filtered (stream, "<No data fields>"); else { - extern int inspect_it; - if (dont_print_statmem == 0) { /* If we're at top level, carve out a completely fresh |