2003-05-15 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 15 May 2003 22:18:43 +0000 (22:18 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 15 May 2003 22:18:43 +0000 (22:18 +0000)
* 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.

gdb/ChangeLog
gdb/Makefile.in
gdb/ada-valprint.c
gdb/c-lang.c
gdb/cp-valprint.c
gdb/f-lang.c
gdb/jv-valprint.c
gdb/m2-lang.c
gdb/objc-lang.c
gdb/p-lang.c
gdb/p-valprint.c

index d1c4c6ddeaab9d1713d9d7c7433d816289a918c2..5e4706f57fcfd7b7baa0f22837ec12f01d9162a8 100644 (file)
@@ -1,3 +1,17 @@
+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.
+
 2003-05-15  Jeff Johnston  <jjohnstn@redhat.com>
  
        * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40.
index 6bc1f7d2d1a1af2b73b21a33a12f7b313beade37..60610231990a6983b09239ce06c1d524cc00a805 100644 (file)
@@ -1628,7 +1628,7 @@ cp-support.o: cp-support.c $(defs_h) $(cp_support_h) $(gdb_string_h) \
 cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
        $(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
        $(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \
-       $(cp_abi_h)
+       $(cp_abi_h) $(valprint_h)
 cpu32bug-rom.o: cpu32bug-rom.c $(defs_h) $(gdbcore_h) $(target_h) \
        $(monitor_h) $(serial_h) $(regcache_h) $(m68k_tdep_h)
 cris-tdep.o: cris-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(inferior_h) \
index 5b90c0683cdc3aecc79c9e6aa1f63adb44e7b0a5..11c42bf9e67184f49664f453c13725c9627ee7d2 100644 (file)
@@ -46,9 +46,6 @@ struct ada_val_print_args
   enum val_prettyprint pretty;
 };
 
-extern int inspect_it;
-extern unsigned int repeat_count_threshold;
-
 static void print_record (struct type *, char *, struct ui_file *, int,
                          int, enum val_prettyprint);
 
index fbdf0054afa58d2254c9e996fe24262ee964879f..5ce0bcbbe87f963eb2a54719b0cd7ed7cd5e179d 100644 (file)
@@ -91,7 +91,6 @@ c_printstr (struct ui_file *stream, char *string, unsigned int length,
   unsigned int things_printed = 0;
   int in_quotes = 0;
   int need_comma = 0;
-  extern int inspect_it;
 
   /* If the string was not truncated due to `set print elements', and
      the last byte of it is a null, we don't print that, in traditional C
index 9a32e9c80b930c3db7e39f50503faf4a9c7e5780..60a209343128446de7715dd85b22d42bdb9452da 100644 (file)
@@ -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
index 2a4eac3f119d57f7a02303ce14b71ab195061f62..1a1986fece48c558803a9ccd063ba433856bfbe7 100644 (file)
@@ -167,7 +167,6 @@ f_printstr (struct ui_file *stream, char *string, unsigned int length,
   unsigned int things_printed = 0;
   int in_quotes = 0;
   int need_comma = 0;
-  extern int inspect_it;
 
   if (length == 0)
     {
index f25cd09905fadc96ddfc6e47f720f64e063c2b7f..8620175bbbaccd1f21ba169c8025e4a41add1db5 100644 (file)
@@ -301,7 +301,6 @@ java_print_value_fields (struct type *type, char *valaddr, CORE_ADDR address,
     fprintf_filtered (stream, "<No data fields>");
   else
     {
-      extern int inspect_it;
       int fields_seen = 0;
 
       for (i = n_baseclasses; i < len; i++)
index 4932cdfebd4d801b59795d4526d78dc73d9a85df..a7c4bd7bcfd7e0bc16ad771a0c87e75ed1f57f4b 100644 (file)
@@ -116,7 +116,6 @@ m2_printstr (struct ui_file *stream, char *string, unsigned int length,
   unsigned int things_printed = 0;
   int in_quotes = 0;
   int need_comma = 0;
-  extern int inspect_it;
 
   if (length == 0)
     {
index 21504e118e1f38baaacc86b047a04204f4ddeb0b..1c23c01d2809dd433839fa0f0f52ae7c432a6fb5 100644 (file)
@@ -372,7 +372,6 @@ objc_printstr (struct ui_file *stream, char *string,
   unsigned int things_printed = 0;
   int in_quotes = 0;
   int need_comma = 0;
-  extern int inspect_it;
 
   /* If the string was not truncated due to `set print elements', and
      the last byte of it is a null, we don't print that, in
index 827fa0e22eaeac7517325eea76f6dea5d0c18422..8cfa2b00d3efd51dc0530452b68bfcf3258edba8 100644 (file)
@@ -161,7 +161,6 @@ pascal_printstr (struct ui_file *stream, char *string, unsigned int length,
   unsigned int things_printed = 0;
   int in_quotes = 0;
   int need_comma = 0;
-  extern int inspect_it;
 
   /* If the string was not truncated due to `set print elements', and
      the last byte of it is a null, we don't print that, in traditional C
index 5672d74bd782e2cc8aae7fc5a1c31d6aff31a99d..84189dd2894877a8727caaa157934757d14f9ef0 100644 (file)
@@ -755,7 +755,6 @@ pascal_object_print_value_fields (struct type *type, char *valaddr,
     fprintf_filtered (stream, "<No data fields>");
   else
     {
-      extern int inspect_it;
       int fields_seen = 0;
 
       if (dont_print_statmem == 0)
This page took 0.032894 seconds and 4 git commands to generate.