X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdefs.h;h=7debbd612e0a19c76697c2a0bc37ba1a89067d0c;hb=8807d78becbc8b26407c953a4f6e952b3905c1cf;hp=d472f8de5aabd28aff6961df790b927ae2c3e59c;hpb=a6f0780aa78d7d1be48a0cb347fb4e2fbca1b620;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/defs.h b/gdb/defs.h index d472f8de5a..7debbd612e 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1,7 +1,7 @@ /* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */ /* Basic, host-specific, and target-specific definitions for GDB. Copyright (C) 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 + 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. This file is part of GDB. @@ -167,6 +167,9 @@ extern int dbx_commands; /* System root path, used to find libraries etc. */ extern char *gdb_sysroot; +/* Search path for separate debug files. */ +extern char *debug_file_directory; + extern int quit_flag; extern int immediate_quit; extern int sevenbit_strings; @@ -342,8 +345,6 @@ extern int subset_compare (char *, char *); extern char *safe_strerror (int); -extern void request_quit (int); - #define ALL_CLEANUPS ((struct cleanup *)0) extern void do_cleanups (struct cleanup *); @@ -415,6 +416,8 @@ extern char *xfullpath (const char *); extern unsigned long gnu_debuglink_crc32 (unsigned long crc, unsigned char *buf, size_t len); +ULONGEST strtoulst (const char *num, const char **trailer, int base); + /* From demangle.c */ extern void set_demangling_style (char *); @@ -510,6 +513,8 @@ extern void fputstr_filtered (const char *str, int quotr, struct ui_file * strea extern void fputstr_unfiltered (const char *str, int quotr, struct ui_file * stream); +extern void fputstrn_filtered (const char *str, int n, int quotr, struct ui_file * stream); + extern void fputstrn_unfiltered (const char *str, int n, int quotr, struct ui_file * stream); /* Display the host ADDR on STREAM formatted as ``0x%x''. */ @@ -563,7 +568,13 @@ extern void symbol_file_command (char *, int); /* Remote targets may wish to use this as their load function. */ extern void generic_load (char *name, int from_tty); -/* Summarise a download */ +/* Report on STREAM the performance of memory transfer operation, + such as 'load'. + DATA_COUNT is the number of bytes transferred. + WRITE_COUNT is the number of separate write operations, or 0, + if that information is not available. + START_TIME is the time at which an operation was started. + END_TIME is the time at which an operation ended. */ struct timeval; extern void print_transfer_performance (struct ui_file *stream, unsigned long data_count, @@ -678,6 +689,7 @@ enum command_control_type continue_control, while_control, if_control, + commands_control, invalid_control }; @@ -967,9 +979,7 @@ enum gdb_osabi GDB_OSABI_OPENBSD_ELF, GDB_OSABI_WINCE, GDB_OSABI_GO32, - GDB_OSABI_NETWARE, GDB_OSABI_IRIX, - GDB_OSABI_LYNXOS, GDB_OSABI_INTERIX, GDB_OSABI_HPUX_ELF, GDB_OSABI_HPUX_SOM, @@ -1123,7 +1133,6 @@ extern void (*deprecated_create_breakpoint_hook) (struct breakpoint * b); extern void (*deprecated_delete_breakpoint_hook) (struct breakpoint * bpt); extern void (*deprecated_modify_breakpoint_hook) (struct breakpoint * bpt); extern void (*deprecated_interactive_hook) (void); -extern void (*deprecated_registers_changed_hook) (void); extern void (*deprecated_readline_begin_hook) (char *, ...) ATTRIBUTE_FPTR_PRINTF_1; extern char *(*deprecated_readline_hook) (char *);