aboutsummaryrefslogtreecommitdiff
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
commit5e488a7bab5bfa610d51621bff24a033e0dbd9a7 (patch)
treece84771920219a1fd39cba54342681ea3fca9c85 /gdb/valprint.h
parent8cf716522f96f604dd42b607c8113a3d24f8b6fc (diff)
downloadgdb-5e488a7bab5bfa610d51621bff24a033e0dbd9a7.zip
gdb-5e488a7bab5bfa610d51621bff24a033e0dbd9a7.tar.gz
gdb-5e488a7bab5bfa610d51621bff24a033e0dbd9a7.tar.bz2
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 52314aa..4e2d166 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. */