23# error gdbserver should not include gdb/defs.h
26#include "gdbsupport/common-defs.h"
52#define GCC_GENERATED_STDINT_H 1
62#include "gdbsupport/host-defs.h"
63#include "gdbsupport/enum-flags.h"
64#include "gdbsupport/array-view.h"
96 std::is_same<T, ULONGEST>>>;
187#define QUIT maybe_quit ()
231#define LANGUAGE_BITS 5
235#define LANGUAGE_BYTES ((LANGUAGE_BITS + HOST_CHAR_BIT - 1) / HOST_CHAR_BIT)
319 const char *,
const char *);
332 struct ui_file *,
int,
351 int read,
int write,
int exec,
352 int modified,
bool memory_tagged,
431# include "fopen-bin.h"
461template<
typename T,
typename = RequireLongest<T>>
465extract_signed_integer (gdb::array_view<const gdb_byte> buf,
466 enum bfd_endian byte_order)
475 return extract_signed_integer (gdb::array_view<const gdb_byte> (
addr,
len),
480extract_unsigned_integer (gdb::array_view<const gdb_byte>
buf,
490 return extract_unsigned_integer (gdb::array_view<const gdb_byte> (
addr,
len),
503template<
typename T,
typename = RequireLongest<T>>
552extern char *(*deprecated_readline_hook) (
const char *);
570#define ISATTY(FP) (isatty (fileno (FP)))
574#define GDB_MI_MSG_WIDTH 80
void store_integer(gdb_byte *addr, int len, enum bfd_endian byte_order, T val)
void(* deprecated_readline_end_hook)(void)
@ COMPILE_I_PRINT_ADDRESS_SCOPE
@ COMPILE_I_INVALID_SCOPE
@ COMPILE_I_PRINT_VALUE_SCOPE
int check_quit_flag(void)
void(* deprecated_post_add_symbol_hook)(void)
void set_force_quit_flag()
void initialize_inferiors(void)
char * gdb_readline_wrapper(const char *)
std::string debug_file_directory
void(* deprecated_print_frame_info_listing_hook)(struct symtab *s, int line, int stopline, int noerror)
ptid_t(* deprecated_target_wait_hook)(ptid_t ptid, struct target_waitstatus *status, int options)
int(* deprecated_query_hook)(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
const char * pc_prefix(CORE_ADDR)
quit_handler_ftype * quit_handler
gdb::Requires< gdb::Or< std::is_same< T, LONGEST >, std::is_same< T, ULONGEST > > > RequireLongest
gdb_static_assert(nr_languages<=(1<< LANGUAGE_BITS))
EXTERN_C char * re_comp(const char *)
void(* deprecated_detach_hook)(void)
void set_next_address(struct gdbarch *, CORE_ADDR)
void quit_handler_ftype(void)
void(* deprecated_attach_hook)(void)
std::string python_libdir
DEF_ENUM_FLAGS_TYPE(enum user_selected_what_flag, user_selected_what)
void initialize_file_ftype(void)
int void void(* deprecated_readline_begin_hook)(const char *,...) ATTRIBUTE_FPTR_PRINTF_1
int longest_to_int(LONGEST)
std::string relocate_gdb_directory(const char *initial, bool relocatable)
void initialize_progspace(void)
T extract_integer(gdb::array_view< const gdb_byte >, enum bfd_endian byte_order)
void store_typed_address(gdb_byte *buf, struct type *type, CORE_ADDR addr)
void(* deprecated_call_command_hook)(struct cmd_list_element *c, const char *cmd, int from_tty)
CORE_ADDR extract_typed_address(const gdb_byte *buf, struct type *type)
int print_address_symbolic(struct gdbarch *, CORE_ADDR, struct ui_file *, int, const char *)
void(* deprecated_show_load_progress)(const char *section, unsigned long section_sent, unsigned long section_size, unsigned long total_sent, unsigned long total_size)
void(* selected_frame_level_changed_hook)(int)
int(* deprecated_ui_load_progress_hook)(const char *section, unsigned long num)
@ lval_internalvar_component
int void(* deprecated_warning_hook)(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
const char * command_line_input(std::string &cmd_line_buffer, const char *, const char *)
void default_quit_handler(void)
int(* find_memory_region_ftype)(CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, bool memory_tagged, void *data)
volatile bool sync_quit_force_run
void quit_serial_event_clear(void)
void symbol_file_command(const char *, int)
void(* deprecated_pre_add_symbol_hook)(const char *)
int(* deprecated_ui_loop_hook)(int signo)
void print_address(struct gdbarch *, CORE_ADDR, struct ui_file *)
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 quit_serial_event_set(void)
void(* deprecated_context_hook)(int)
@ RETURN_VALUE_ABI_RETURNS_ADDRESS
@ RETURN_VALUE_REGISTER_CONVENTION
@ RETURN_VALUE_STRUCT_CONVENTION
@ RETURN_VALUE_ABI_PRESERVES_ADDRESS
int extract_long_unsigned_integer(const gdb_byte *, int, enum bfd_endian, LONGEST *)