X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdefs.h;h=e95d0d434805444840edc54d19ebf8d07e193939;hb=b437bfe0f4cf06559ca4c508a2869383196ddc6b;hp=dc38a288c5a4c689bdd980f26689f2048268e4d9;hpb=26540402495f35d5f19762ceba66605bca8fa63b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/defs.h b/gdb/defs.h index dc38a288c5..e95d0d4348 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1,7 +1,7 @@ /* *INDENT-OFF* */ /* ATTRIBUTE_PRINTF confuses indent, avoid running it for now. */ /* Basic, host-specific, and target-specific definitions for GDB. - Copyright (C) 1986-2018 Free Software Foundation, Inc. + Copyright (C) 1986-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -25,7 +25,7 @@ # error gdbserver should not include gdb/defs.h #endif -#include "common-defs.h" +#include "common/common-defs.h" #include #include @@ -52,7 +52,7 @@ #include "ui-file.h" -#include "host-defs.h" +#include "common/host-defs.h" #include "common/enum-flags.h" /* Scope types enumerator. List the types of scopes the compiler will @@ -309,7 +309,7 @@ typedef void initialize_file_ftype (void); extern char *gdb_readline_wrapper (const char *); -extern char *command_line_input (const char *, int, const char *); +extern char *command_line_input (const char *, const char *); extern void print_prompt (void); @@ -327,15 +327,6 @@ extern int print_address_symbolic (struct gdbarch *, CORE_ADDR, struct ui_file *, int, const char *); -extern int build_address_symbolic (struct gdbarch *, - CORE_ADDR addr, - int do_demangle, - char **name, - int *offset, - char **filename, - int *line, - int *unmapped); - extern void print_address (struct gdbarch *, CORE_ADDR, struct ui_file *); extern const char *pc_prefix (CORE_ADDR); @@ -398,6 +389,9 @@ enum info_proc_what /* * Display `info proc cwd'. */ IP_CWD, + /* * Display `info proc files'. */ + IP_FILES, + /* * Display all of the above. */ IP_ALL }; @@ -504,6 +498,7 @@ enum gdb_osabi GDB_OSABI_LYNXOS178, GDB_OSABI_NEWLIB, GDB_OSABI_SDE, + GDB_OSABI_PIKEOS, GDB_OSABI_INVALID /* keep this last */ }; @@ -583,19 +578,8 @@ extern void copy_integer_to_size (gdb_byte *dest, int dest_size, const gdb_byte *source, int source_size, bool is_signed, enum bfd_endian byte_order); -/* From valops.c */ - -extern int watchdog; - -/* From dwarf2read.c */ - -ULONGEST read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *); - /* Hooks for alternate command interfaces. */ -/* * The name of the interpreter if specified on the command line. */ -extern char *interpreter_p; - struct target_waitstatus; struct cmd_list_element;