X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fvalprint.h;h=647b4bdc37d45a3d925a6a6d1fc85102699e92fe;hb=8a076db965ba49f891b959752db7c8bb0c524688;hp=5bea657b2031e23a6f7fde98d645ea250d7aeeaa;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/valprint.h b/gdb/valprint.h index 5bea657b20..647b4bdc37 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -18,6 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef VALPRINT_H +#define VALPRINT_H extern int prettyprint_arrays; /* Controls pretty printing of arrays. */ extern int prettyprint_structs; /* Controls pretty printing of structures */ @@ -31,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. */ @@ -55,3 +63,10 @@ extern void print_octal_chars (struct ui_file *, unsigned char *, extern void print_decimal_chars (struct ui_file *, unsigned char *, unsigned int); + +extern void print_hex_chars (struct ui_file *, unsigned char *, + unsigned int); + +extern void print_char_chars (struct ui_file *, unsigned char *, + unsigned int); +#endif