diff options
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 37 |
1 files changed, 14 insertions, 23 deletions
@@ -41,6 +41,7 @@ typedef unsigned int CORE_ADDR; extern int quit_flag; extern int immediate_quit; +extern int sevenbit_strings; extern void quit PARAMS ((void)); @@ -184,6 +185,9 @@ extern int query (); extern void +begin_line PARAMS ((void)); + +extern void wrap_here PARAMS ((char *)); extern void @@ -199,6 +203,9 @@ extern void puts_filtered PARAMS ((char *)); extern void +vprintf_filtered (); + +extern void vfprintf_filtered (); extern void @@ -223,7 +230,7 @@ extern char * n_spaces PARAMS ((int)); extern void -printchar PARAMS ((int, FILE *, int)); +gdb_printchar PARAMS ((int, FILE *, int)); extern char * strdup_demangled PARAMS ((const char *)); @@ -334,7 +341,10 @@ extern unsigned output_radix; /* Baud rate specified for communication with serial target systems. */ extern char *baud_rate; -/* Languages represented in the symbol table and elsewhere. */ +/* Languages represented in the symbol table and elsewhere. + This should probably be in language.h, but since enum's can't + be forward declared to satisfy opaque references before their + actual definition, needs to be here. */ enum language { @@ -342,31 +352,12 @@ enum language language_auto, /* Placeholder for automatic setting */ language_c, /* C */ language_cplus, /* C++ */ + /* start-sanitize-chill */ language_chill, /* Chill */ + /* end-sanitize-chill */ language_m2 /* Modula-2 */ }; -/* Return a format string for printf that will print a number in the local - (language-specific) hexadecimal format. Result is static and is - overwritten by the next call. local_hex_format_custom takes printf - options like "08" or "l" (to produce e.g. %08x or %lx). */ - -#define local_hex_format() (current_language->la_hex_format) - -extern char * -local_hex_format_custom PARAMS ((char *)); /* language.c */ - -/* Return a string that contains a number formatted in the local - (language-specific) hexadecimal format. Result is static and is - overwritten by the next call. local_hex_string_custom takes printf - options like "08" or "l". */ - -extern char * -local_hex_string PARAMS ((int)); /* language.c */ - -extern char * -local_hex_string_custom PARAMS ((int, char *)); /* language.c */ - /* Host machine definition. This will be a symlink to one of the xm-*.h files, built by the `configure' script. */ |