25 # error gdbserver should not include gdb/defs.h 30 #include <sys/types.h> 45 #define GCC_GENERATED_STDINT_H 1 88 std::is_same<T, ULONGEST>>>;
171 extern void quit (
void);
179 #define QUIT maybe_quit () 225 #define LANGUAGE_BITS 5 345 #define OPF_TRY_CWD_FIRST 0x01 346 #define OPF_SEARCH_IN_PATH 0x02 347 #define OPF_RETURN_REALPATH 0x04 349 extern int openp (
const char *,
int,
const char *,
int,
char **);
353 extern void mod_path (
const char *,
char **);
355 extern void add_path (
const char *,
char **,
int);
372 int read,
int write,
int exec,
373 int modified,
void *data);
466 # include "fopen-bin.h" 472 #if !defined (UINT_MAX) 473 #define UINT_MAX ((unsigned int)(~0)) 476 #if !defined (INT_MAX) 477 #define INT_MAX ((int)(UINT_MAX >> 1)) 480 #if !defined (INT_MIN) 481 #define INT_MIN ((int)((int) ~0 ^ INT_MAX)) 484 #if !defined (ULONG_MAX) 485 #define ULONG_MAX ((unsigned long)(~0L)) 488 #if !defined (LONG_MAX) 489 #define LONG_MAX ((long)(ULONG_MAX >> 1)) 492 #if !defined (ULONGEST_MAX) 493 #define ULONGEST_MAX (~(ULONGEST)0) 496 #if !defined (LONGEST_MAX) 497 #define LONGEST_MAX ((LONGEST)(ULONGEST_MAX >> 1)) 566 template<
typename T,
typename = RequireLongest<T>>
571 enum bfd_endian byte_order)
578 enum bfd_endian byte_order)
592 template<
typename T,
typename = RequireLongest<T>>
598 enum bfd_endian byte_order,
LONGEST val)
605 enum bfd_endian byte_order,
ULONGEST val)
614 const gdb_byte *source,
int source_size,
615 bool is_signed,
enum bfd_endian byte_order);
638 unsigned long section_sent,
639 unsigned long section_size,
640 unsigned long total_sent,
641 unsigned long total_size);
647 ATTRIBUTE_FPTR_PRINTF(1,0);
649 ATTRIBUTE_FPTR_PRINTF(1,0);
652 ATTRIBUTE_FPTR_PRINTF_1;
653 extern char *(*deprecated_readline_hook) (
const char *);
663 const char *cmd,
int from_tty);
671 #define ISATTY(FP) (isatty (fileno (FP))) 675 #define GDB_MI_MSG_WIDTH 80
void(* deprecated_detach_hook)(void)
ssize_t read(int fd, void *buf, size_t count)
void add_path(const char *, char **, int)
CORE_ADDR extract_typed_address(const gdb_byte *buf, struct type *type)
int source_full_path_of(const char *, char **)
void directory_switch(const char *, int)
void initialize_inferiors(void)
void print_address(struct gdbarch *, CORE_ADDR, struct ui_file *)
ULONGEST read_unsigned_leb128(bfd *, const gdb_byte *, unsigned int *)
char * command_line_input(const char *, int, const char *)
int(* deprecated_query_hook)(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
T extract_integer(const gdb_byte *addr, int len, enum bfd_endian byte_order)
void(* deprecated_context_hook)(int)
void(* deprecated_print_frame_info_listing_hook)(struct symtab *s, int line, int stopline, int noerror)
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)
void set_next_address(struct gdbarch *, CORE_ADDR)
int extract_long_unsigned_integer(const gdb_byte *, int, enum bfd_endian, LONGEST *)
ptid_t(* deprecated_target_wait_hook)(ptid_t ptid, struct target_waitstatus *status, int options)
const char * pc_prefix(CORE_ADDR)
gdb_static_assert(nr_languages<=(1<< LANGUAGE_BITS))
char * debug_file_directory
int longest_to_int(LONGEST)
void init_source_path(void)
DEF_ENUM_FLAGS_TYPE(enum user_selected_what_flag, user_selected_what)
void symbol_file_command(const char *, int)
void initialize_file_ftype(void)
int input_interactive_p(struct ui *)
template ULONGEST extract_integer< ULONGEST >(const gdb_byte *addr, int len, enum bfd_endian byte_order)
int openp(const char *, int, const char *, int, char **)
int(*) void(* deprecated_warning_hook)(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
static ULONGEST extract_unsigned_integer(const gdb_byte *addr, int len, enum bfd_endian byte_order)
char * gdb_readline_wrapper(const char *)
template LONGEST extract_integer< LONGEST >(const gdb_byte *addr, int len, enum bfd_endian byte_order)
void generic_load(const char *name, int from_tty)
void(* selected_frame_level_changed_hook)(int)
void() quit_handler_ftype(void)
void(* deprecated_show_load_progress)(const char *section, unsigned long section_sent, unsigned long section_size, unsigned long total_sent, unsigned long total_size)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int status
void(* deprecated_pre_add_symbol_hook)(const char *)
volatile int sync_quit_force_run
void(* deprecated_readline_begin_hook)(const char *,...) ATTRIBUTE_FPTR_PRINTF_1
int(*) void(*) void(* deprecated_interactive_hook)(void)
void initialize_progspace(void)
int build_address_symbolic(struct gdbarch *, CORE_ADDR addr, int do_demangle, char **name, int *offset, char **filename, int *line, int *unmapped)
void store_integer(gdb_byte *addr, int len, enum bfd_endian byte_order, T val)
typename std::enable_if< Condition::value, void >::type Requires
void mod_path(const char *, char **)
quit_handler_ftype * quit_handler
void(* deprecated_readline_end_hook)(void)
void quit_serial_event_clear(void)
int check_quit_flag(void)
void default_quit_handler(void)
static LONGEST extract_signed_integer(const gdb_byte *addr, int len, enum bfd_endian byte_order)
EXTERN_C char * re_comp(const char *)
unsigned long long ULONGEST
int print_address_symbolic(struct gdbarch *, CORE_ADDR, struct ui_file *, int, const char *)
char * relocate_gdb_directory(const char *initial, int flag)
void store_typed_address(gdb_byte *buf, struct type *type, CORE_ADDR addr)
void quit_serial_event_set(void)
void(* deprecated_post_add_symbol_hook)(void)
int(* deprecated_ui_load_progress_hook)(const char *section, unsigned long num)
gdb::Requires< gdb::Or< std::is_same< T, LONGEST >, std::is_same< T, ULONGEST > >> RequireLongest
int(* find_memory_region_ftype)(CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, void *data)
void(* deprecated_attach_hook)(void)
static void store_signed_integer(gdb_byte *addr, int len, enum bfd_endian byte_order, LONGEST val)
int(* deprecated_ui_loop_hook)(int signo)
static void store_unsigned_integer(gdb_byte *addr, int len, enum bfd_endian byte_order, ULONGEST val)
void(* deprecated_call_command_hook)(struct cmd_list_element *c, const char *cmd, int from_tty)