#define UTILS_H
#include "cleanups.h"
+#include "exceptions.h"
extern void initialize_utils (void);
extern void reinitialize_more_filter (void);
+extern int pagination_enabled;
+
/* Global ui_file streams. These are all defined in main.c. */
/* Normal results */
extern struct ui_file *gdb_stdout;
extern void fprintf_symbol_filtered (struct ui_file *, const char *,
enum language, int);
+extern void throw_perror_with_name (enum errors errcode, const char *string)
+ ATTRIBUTE_NORETURN;
extern void perror_with_name (const char *) ATTRIBUTE_NORETURN;
extern void print_sys_errmsg (const char *, int);
extern void (*deprecated_error_begin_hook) (void);
-/* Message to be printed before the error message, when an error occurs. */
-
-extern char *error_pre_print;
-
-/* Message to be printed before the error message, when an error occurs. */
-
-extern char *quit_pre_print;
-
/* Message to be printed before the warning message, when a warning occurs. */
extern char *warning_pre_print;
extern ULONGEST align_up (ULONGEST v, int n);
extern ULONGEST align_down (ULONGEST v, int n);
+/* Sign extend VALUE. BIT is the (1-based) index of the bit in VALUE
+ to sign-extend. */
+
+extern LONGEST gdb_sign_extend (LONGEST value, int bit);
+
#endif /* UTILS_H */