summaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-06 19:25:04 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-06 19:25:04 +0000
commit8c7143ca873201c08f9ada6a7c1d1e44a307b8f4 (patch)
tree27e9a682bfc55ed5526d08910e348caf2378acdb /gdb/valprint.h
parentc814d5ce9eeecc8f5d894abf2873b1e26618c5a1 (diff)
downloadgdb-8c7143ca873201c08f9ada6a7c1d1e44a307b8f4.tar.gz
2003-04-06 Andrew Cagney <cagney@redhat.com>
* valprint.h (inspect_it): Add extern declaration. * objc-lang.c (value_nsstring): Avoid assignment inside of "if". (selectors_info, classes_info): Ditto. (find_objc_msgcall): Fix indentation. (objc_printstr): Delete extern declarations.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r--gdb/valprint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h
index 52314aaa191..4e2d1661ad2 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -33,6 +33,12 @@ extern int objectprint; /* Controls looking up an object's derived type
extern unsigned int print_max; /* Max # of chars for strings/vectors */
+/* Flag to low-level print routines that this value is being printed
+ in an epoch window. We'd like to pass this as a parameter, but
+ every routine would need to take it. Perhaps we can encapsulate
+ this in the I/O stream once we have GNU stdio. */
+extern int inspect_it;
+
/* 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. */