X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdefs.h;h=a9669cf059d515da353f659547338df0c5333cb2;hb=ed3ef33944c39d9a3cea72b9a7cef3c20f0e3461;hp=f3f034f314022218fd3da431974ce5bdd07cf4f3;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/defs.h b/gdb/defs.h index f3f034f314..a9669cf059 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -159,13 +159,9 @@ extern char *debug_file_directory; handler. Otherwise, SIGINT simply sets a flag; code that might take a long time, and which ought to be interruptible, checks this flag using the QUIT macro. - - If GDB is built with Python support, it uses Python's low-level - interface to implement the flag. This approach makes it possible - for Python and GDB SIGINT handling to coexist seamlessly. - If GDB is built without Python, it instead uses its traditional - variables. */ + These functions use the extension_language_ops API to allow extension + language(s) and GDB SIGINT handling to coexist seamlessly. */ /* Clear the quit flag. */ extern void clear_quit_flag (void); @@ -415,6 +411,7 @@ enum command_control_type if_control, commands_control, python_control, + guile_control, while_stepping_control, invalid_control }; @@ -553,13 +550,6 @@ enum val_prettyformat extern int longest_to_int (LONGEST); -/* Utility macros to allocate typed memory. Avoids errors like: - struct foo *foo = xmalloc (sizeof struct bar); and memset (foo, - sizeof (struct foo), 0). */ -#define XZALLOC(TYPE) ((TYPE*) xzalloc (sizeof (TYPE))) -#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE))) -#define XCALLOC(NMEMB, TYPE) ((TYPE*) xcalloc ((NMEMB), sizeof (TYPE))) - #include "common-utils.h" /* List of known OS ABIs. If you change this, make sure to update the @@ -717,7 +707,6 @@ extern int (*deprecated_query_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1,0); extern void (*deprecated_warning_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1,0); -extern void (*deprecated_flush_hook) (struct ui_file * stream); extern void (*deprecated_interactive_hook) (void); extern void (*deprecated_readline_begin_hook) (char *, ...) ATTRIBUTE_FPTR_PRINTF_1; @@ -734,15 +723,9 @@ extern void (*deprecated_detach_hook) (void); extern void (*deprecated_call_command_hook) (struct cmd_list_element * c, char *cmd, int from_tty); -extern void (*deprecated_set_hook) (struct cmd_list_element * c); - extern int (*deprecated_ui_load_progress_hook) (const char *section, unsigned long num); -/* Inhibit window interface if non-zero. */ - -extern int use_windows; - /* If this definition isn't overridden by the header files, assume that isatty and fileno exist on this system. */ #ifndef ISATTY