GDB (API)
Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/defs.h File Reference
#include "common-defs.h"
#include <sys/types.h>
#include <limits.h>
#include <unistd.h>
#include <fcntl.h>
#include "gdb_wchar.h"
#include "ui-file.h"
#include "host-defs.h"
#include "common/enum-flags.h"
#include "hashtab.h"
#include "nm.h"
#include "fopen-bin.h"
#include "gdbarch.h"
#include "utils.h"

Go to the source code of this file.

Macros

#define GCC_GENERATED_STDINT_H   1
 
#define SEEK_SET   0
 
#define SEEK_CUR   1
 
#define O_BINARY   0
 
#define QUIT   maybe_quit ()
 
#define LANGUAGE_BITS   5
 
#define OPF_TRY_CWD_FIRST   0x01
 
#define OPF_SEARCH_IN_PATH   0x02
 
#define OPF_RETURN_REALPATH   0x04
 
#define UINT_MAX   ((unsigned int)(~0)) /* 0xFFFFFFFF for 32-bits */
 
#define INT_MAX   ((int)(UINT_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */
 
#define INT_MIN   ((int)((int) ~0 ^ INT_MAX)) /* 0x80000000 for 32-bits */
 
#define ULONG_MAX   ((unsigned long)(~0L)) /* 0xFFFFFFFF for 32-bits */
 
#define LONG_MAX   ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */
 
#define ULONGEST_MAX   (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 64-bits */
 
#define LONGEST_MAX   ((LONGEST)(ULONGEST_MAX >> 1))
 
#define ISATTY(FP)   (isatty (fileno (FP)))
 
#define GDB_MI_MSG_WIDTH   80
 

Typedefs

template<typename T >
using RequireLongest = gdb::Requires< gdb::Or< std::is_same< T, LONGEST >, std::is_same< T, ULONGEST > >>
 
typedef void() quit_handler_ftype(void)
 
typedef void initialize_file_ftype(void)
 
typedef int(* find_memory_region_ftype) (CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, void *data)
 

Enumerations

enum  compile_i_scope_types {
  COMPILE_I_INVALID_SCOPE, COMPILE_I_SIMPLE_SCOPE, COMPILE_I_RAW_SCOPE, COMPILE_I_PRINT_ADDRESS_SCOPE,
  COMPILE_I_PRINT_VALUE_SCOPE
}
 
enum  language {
  language_unknown, language_auto, language_c, language_objc,
  language_cplus, language_d, language_go, language_fortran,
  language_m2, language_asm, language_pascal, language_opencl,
  language_rust, language_minimal, language_ada, nr_languages
}
 
enum  precision_type { single_precision, double_precision, unspecified_precision }
 
enum  auto_boolean { AUTO_BOOLEAN_TRUE, AUTO_BOOLEAN_FALSE, AUTO_BOOLEAN_AUTO }
 
enum  return_value_convention { RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, RETURN_VALUE_ABI_RETURNS_ADDRESS, RETURN_VALUE_ABI_PRESERVES_ADDRESS }
 
enum  lval_type {
  not_lval, lval_memory, lval_register, lval_internalvar,
  lval_xcallable, lval_internalvar_component, lval_computed
}
 
enum  info_proc_what {
  IP_MINIMAL, IP_MAPPINGS, IP_STATUS, IP_STAT,
  IP_CMDLINE, IP_EXE, IP_CWD, IP_ALL
}
 
enum  val_prettyformat { Val_no_prettyformat = 0, Val_prettyformat, Val_prettyformat_default }
 
enum  gdb_osabi {
  GDB_OSABI_UNINITIALIZED = -1, GDB_OSABI_UNKNOWN = 0, GDB_OSABI_SVR4, GDB_OSABI_HURD,
  GDB_OSABI_SOLARIS, GDB_OSABI_LINUX, GDB_OSABI_FREEBSD, GDB_OSABI_NETBSD,
  GDB_OSABI_OPENBSD, GDB_OSABI_WINCE, GDB_OSABI_GO32, GDB_OSABI_QNXNTO,
  GDB_OSABI_CYGWIN, GDB_OSABI_AIX, GDB_OSABI_DICOS, GDB_OSABI_DARWIN,
  GDB_OSABI_SYMBIAN, GDB_OSABI_OPENVMS, GDB_OSABI_LYNXOS178, GDB_OSABI_NEWLIB,
  GDB_OSABI_SDE, GDB_OSABI_INVALID
}
 
enum  symbol_needs_kind { SYMBOL_NEEDS_NONE, SYMBOL_NEEDS_REGISTERS, SYMBOL_NEEDS_FRAME }
 
enum  { MAX_REGISTER_SIZE = 64 }
 
enum  block_enum { GLOBAL_BLOCK = 0, STATIC_BLOCK = 1, FIRST_LOCAL_BLOCK = 2 }
 
enum  user_selected_what_flag { USER_SELECTED_INFERIOR = 1 << 1, USER_SELECTED_THREAD = 1 << 2, USER_SELECTED_FRAME = 1 << 3 }
 

Functions

int check_quit_flag (void)
 
void set_quit_flag (void)
 
void default_quit_handler (void)
 
void quit (void)
 
void maybe_quit (void)
 
void quit_serial_event_set (void)
 
void quit_serial_event_clear (void)
 
 gdb_static_assert (nr_languages<=(1<< LANGUAGE_BITS))
 
char * relocate_gdb_directory (const char *initial, int flag)
 
EXTERN_C char * re_comp (const char *)
 
void symbol_file_command (const char *, int)
 
void generic_load (const char *name, int from_tty)
 
char * gdb_readline_wrapper (const char *)
 
char * command_line_input (const char *, int, const char *)
 
void print_prompt (void)
 
int input_interactive_p (struct ui *)
 
void set_next_address (struct gdbarch *, CORE_ADDR)
 
int print_address_symbolic (struct gdbarch *, CORE_ADDR, struct ui_file *, int, const char *)
 
int build_address_symbolic (struct gdbarch *, CORE_ADDR addr, int do_demangle, char **name, int *offset, char **filename, int *line, int *unmapped)
 
void print_address (struct gdbarch *, CORE_ADDR, struct ui_file *)
 
const char * pc_prefix (CORE_ADDR)
 
int openp (const char *, int, const char *, int, char **)
 
int source_full_path_of (const char *, char **)
 
void mod_path (const char *, char **)
 
void add_path (const char *, char **, int)
 
void directory_switch (const char *, int)
 
void init_source_path (void)
 
int longest_to_int (LONGEST)
 
template<typename T , typename = RequireLongest<T>>
extract_integer (const gdb_byte *addr, int len, enum bfd_endian byte_order)
 
int extract_long_unsigned_integer (const gdb_byte *, int, enum bfd_endian, LONGEST *)
 
CORE_ADDR extract_typed_address (const gdb_byte *buf, struct type *type)
 
template<typename T , typename = RequireLongest<T>>
void store_integer (gdb_byte *addr, int len, enum bfd_endian byte_order, T val)
 
void store_typed_address (gdb_byte *buf, struct type *type, CORE_ADDR addr)
 
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)
 
ULONGEST read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *)
 
void initialize_progspace (void)
 
void initialize_inferiors (void)
 
 DEF_ENUM_FLAGS_TYPE (enum user_selected_what_flag, user_selected_what)
 

Variables

int dbx_commands
 
char * gdb_sysroot
 
char * gdb_datadir
 
char * python_libdir
 
char * debug_file_directory
 
quit_handler_ftypequit_handler
 
volatile int sync_quit_force_run
 
int annotation_level
 
int info_verbose
 
char * source_path
 
char * current_directory
 
unsigned input_radix
 
unsigned output_radix
 
int watchdog
 
char * interpreter_p
 
void(* deprecated_pre_add_symbol_hook )(const char *)
 
void(* deprecated_post_add_symbol_hook )(void)
 
void(* selected_frame_level_changed_hook )(int)
 
int(* deprecated_ui_loop_hook )(int signo)
 
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(* deprecated_print_frame_info_listing_hook )(struct symtab *s, int line, int stopline, int noerror)
 
int(* deprecated_query_hook )(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
 
int(*) void(* deprecated_warning_hook )(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1
 
int(*) void(*) void(* deprecated_interactive_hook )(void)
 
void(* deprecated_readline_begin_hook )(const char *,...) ATTRIBUTE_FPTR_PRINTF_1
 
char *(* deprecated_readline_hook )(const char *)
 
void(* deprecated_readline_end_hook )(void)
 
void(* deprecated_context_hook )(int)
 
ptid_t(* deprecated_target_wait_hook )(ptid_t ptid, struct target_waitstatus *status, int options)
 
void(* deprecated_attach_hook )(void)
 
void(* deprecated_detach_hook )(void)
 
void(* deprecated_call_command_hook )(struct cmd_list_element *c, const char *cmd, int from_tty)
 
int(* deprecated_ui_load_progress_hook )(const char *section, unsigned long num)
 

Macro Definition Documentation

◆ GCC_GENERATED_STDINT_H

#define GCC_GENERATED_STDINT_H   1

Definition at line 45 of file defs.h.

◆ GDB_MI_MSG_WIDTH

#define GDB_MI_MSG_WIDTH   80

A width that can achieve a better legibility for GDB MI mode.

Definition at line 675 of file defs.h.

◆ INT_MAX

#define INT_MAX   ((int)(UINT_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */

Definition at line 477 of file defs.h.

◆ INT_MIN

#define INT_MIN   ((int)((int) ~0 ^ INT_MAX)) /* 0x80000000 for 32-bits */

Definition at line 481 of file defs.h.

◆ ISATTY

#define ISATTY (   FP)    (isatty (fileno (FP)))

Definition at line 671 of file defs.h.

◆ LANGUAGE_BITS

#define LANGUAGE_BITS   5

Definition at line 225 of file defs.h.

◆ LONG_MAX

#define LONG_MAX   ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */

Definition at line 489 of file defs.h.

◆ LONGEST_MAX

#define LONGEST_MAX   ((LONGEST)(ULONGEST_MAX >> 1))

Definition at line 497 of file defs.h.

◆ O_BINARY

#define O_BINARY   0

Definition at line 106 of file defs.h.

◆ OPF_RETURN_REALPATH

#define OPF_RETURN_REALPATH   0x04

Definition at line 347 of file defs.h.

◆ OPF_SEARCH_IN_PATH

#define OPF_SEARCH_IN_PATH   0x02

Definition at line 346 of file defs.h.

◆ OPF_TRY_CWD_FIRST

#define OPF_TRY_CWD_FIRST   0x01

Definition at line 345 of file defs.h.

◆ QUIT

#define QUIT   maybe_quit ()

Definition at line 179 of file defs.h.

◆ SEEK_CUR

#define SEEK_CUR   1

Definition at line 96 of file defs.h.

◆ SEEK_SET

#define SEEK_SET   0

Definition at line 93 of file defs.h.

◆ UINT_MAX

#define UINT_MAX   ((unsigned int)(~0)) /* 0xFFFFFFFF for 32-bits */

Optional native machine support. Non-native (and possibly pure multi-arch) targets do not need a "nm.h" file. This will be a symlink to one of the nm-*.h files, built by the ‘configure’ script.

Definition at line 473 of file defs.h.

◆ ULONG_MAX

#define ULONG_MAX   ((unsigned long)(~0L)) /* 0xFFFFFFFF for 32-bits */

Definition at line 485 of file defs.h.

◆ ULONGEST_MAX

#define ULONGEST_MAX   (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 64-bits */

Definition at line 493 of file defs.h.

Typedef Documentation

◆ find_memory_region_ftype

typedef int(* find_memory_region_ftype) (CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, void *data)

Process memory area starting at ADDR with length SIZE. Area is readable iff READ is non-zero, writable if WRITE is non-zero, executable if EXEC is non-zero. Area is possibly changed against its original file based copy if MODIFIED is non-zero. DATA is passed without changes from a caller.

Definition at line 371 of file defs.h.

◆ initialize_file_ftype

typedef void initialize_file_ftype(void)

Definition at line 308 of file defs.h.

◆ quit_handler_ftype

typedef void() quit_handler_ftype(void)

Definition at line 155 of file defs.h.

◆ RequireLongest

template<typename T >
using RequireLongest = gdb::Requires<gdb::Or<std::is_same<T, LONGEST>, std::is_same<T, ULONGEST> >>

Definition at line 88 of file defs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Maximum size of a register. Something small, but large enough for all known ISAs. If it turns out to be too small, make it bigger.

Enumerator
MAX_REGISTER_SIZE 

Definition at line 562 of file defs.h.

◆ auto_boolean

A generic, not quite boolean, enumeration. This is used for set/show commands in which the options are on/off/automatic.

Enumerator
AUTO_BOOLEAN_TRUE 
AUTO_BOOLEAN_FALSE 
AUTO_BOOLEAN_AUTO 

Definition at line 237 of file defs.h.

◆ block_enum

enum block_enum

Special block numbers

Enumerator
GLOBAL_BLOCK 
STATIC_BLOCK 
FIRST_LOCAL_BLOCK 

Definition at line 684 of file defs.h.

◆ compile_i_scope_types

Enumerator
COMPILE_I_INVALID_SCOPE 
COMPILE_I_SIMPLE_SCOPE 
COMPILE_I_RAW_SCOPE 
COMPILE_I_PRINT_ADDRESS_SCOPE 
COMPILE_I_PRINT_VALUE_SCOPE 

Definition at line 61 of file defs.h.

◆ gdb_osabi

enum gdb_osabi

List of known OS ABIs. If you change this, make sure to update the table in osabi.c.

Enumerator
GDB_OSABI_UNINITIALIZED 
GDB_OSABI_UNKNOWN 
GDB_OSABI_SVR4 
GDB_OSABI_HURD 
GDB_OSABI_SOLARIS 
GDB_OSABI_LINUX 
GDB_OSABI_FREEBSD 
GDB_OSABI_NETBSD 
GDB_OSABI_OPENBSD 
GDB_OSABI_WINCE 
GDB_OSABI_GO32 
GDB_OSABI_QNXNTO 
GDB_OSABI_CYGWIN 
GDB_OSABI_AIX 
GDB_OSABI_DICOS 
GDB_OSABI_DARWIN 
GDB_OSABI_SYMBIAN 
GDB_OSABI_OPENVMS 
GDB_OSABI_LYNXOS178 
GDB_OSABI_NEWLIB 
GDB_OSABI_SDE 
GDB_OSABI_INVALID 

Definition at line 508 of file defs.h.

◆ info_proc_what

Parameters of the "info proc" command.

Enumerator
IP_MINIMAL 

Display the default cmdline, cwd and exe outputs.

IP_MAPPINGS 

Display ‘info proc mappings’.

IP_STATUS 

Display ‘info proc status’.

IP_STAT 

Display ‘info proc stat’.

IP_CMDLINE 

Display ‘info proc cmdline’.

IP_EXE 

Display ‘info proc exe’.

IP_CWD 

Display ‘info proc cwd’.

IP_ALL 

Display all of the above.

Definition at line 399 of file defs.h.

◆ language

enum language

Languages represented in the symbol table and elsewhere. This should probably be in language.h, but since enum's can't be forward declared to satisfy opaque references before their actual definition, needs to be here.

The constants here are in priority order. In particular, demangling is attempted according to this order.

Note that there's ambiguity between the mangling schemes of some of these languages, so some symbols could be successfully demangled by several languages. For that reason, the constants here are sorted in the order we'll attempt demangling them. For example: Rust uses C++ mangling, so must come after C++; Ada must come last (see ada_sniff_from_mangled_name). (Keep this order in sync with the 'languages' array in language.c.)

Enumerator
language_unknown 
language_auto 
language_c 
language_objc 
language_cplus 
language_d 
language_go 
language_fortran 
language_m2 
language_asm 
language_pascal 
language_opencl 
language_rust 
language_minimal 
language_ada 
nr_languages 

Definition at line 203 of file defs.h.

◆ lval_type

enum lval_type

Possible lvalue types. Like enum language, this should be in value.h, but needs to be here for the same reason.

Enumerator
not_lval 

Not an lval.

lval_memory 

In memory.

lval_register 

In a register. Registers are relative to a frame.

lval_internalvar 

In a gdb internal variable.

lval_xcallable 

Value encapsulates a callable defined in an extension language.

lval_internalvar_component 

Part of a gdb internal variable (structure field).

lval_computed 

Value's bits are fetched and stored using functions provided by its creator.

Definition at line 378 of file defs.h.

◆ precision_type

Enumerator
single_precision 
double_precision 
unspecified_precision 

Definition at line 228 of file defs.h.

◆ return_value_convention

Potential ways that a function can return a value of a given type.

Enumerator
RETURN_VALUE_REGISTER_CONVENTION 

Where the return value has been squeezed into one or more registers.

RETURN_VALUE_STRUCT_CONVENTION 

Commonly known as the "struct return convention". The caller passes an additional hidden first parameter to the caller. That parameter contains the address at which the value being returned should be stored. While typically, and historically, used for large structs, this is convention is applied to values of many different types.

RETURN_VALUE_ABI_RETURNS_ADDRESS 

Like the "struct return convention" above, but where the ABI guarantees that the called function stores the address at which the value being returned is stored in a well-defined location, such as a register or memory slot in the stack frame. Don't use this if the ABI doesn't explicitly guarantees this.

RETURN_VALUE_ABI_PRESERVES_ADDRESS 

Like the "struct return convention" above, but where the ABI guarantees that the address at which the value being returned is stored will be available in a well-defined location, such as a register or memory slot in the stack frame. Don't use this if the ABI doesn't explicitly guarantees this.

Definition at line 247 of file defs.h.

◆ symbol_needs_kind

Enumerator
SYMBOL_NEEDS_NONE 
SYMBOL_NEEDS_REGISTERS 
SYMBOL_NEEDS_FRAME 

Definition at line 544 of file defs.h.

◆ user_selected_what_flag

Enumerator
USER_SELECTED_INFERIOR 
USER_SELECTED_THREAD 
USER_SELECTED_FRAME 

Definition at line 693 of file defs.h.

◆ val_prettyformat

Possibilities for prettyformat parameters to routines which print things. Like enum language, this should be in value.h, but needs to be here for the same reason. FIXME: If we can eliminate this as an arg to LA_VAL_PRINT, then we can probably move it back to value.h.

Enumerator
Val_no_prettyformat 
Val_prettyformat 
Val_prettyformat_default 

Use the default setting which the user has specified.

Definition at line 440 of file defs.h.

Function Documentation

◆ add_path()

void add_path ( const char *  ,
char **  ,
int   
)

◆ build_address_symbolic()

int build_address_symbolic ( struct gdbarch *  ,
CORE_ADDR  addr,
int  do_demangle,
char **  name,
int *  offset,
char **  filename,
int *  line,
int *  unmapped 
)

◆ check_quit_flag()

int check_quit_flag ( void  )

Evaluate to non-zero if the quit flag is set, zero otherwise. This will clear the quit flag as a side effect.

◆ command_line_input()

char* command_line_input ( const char *  ,
int  ,
const char *   
)

◆ copy_integer_to_size()

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 
)

◆ DEF_ENUM_FLAGS_TYPE()

DEF_ENUM_FLAGS_TYPE ( enum  user_selected_what_flag,
user_selected_what   
)

◆ default_quit_handler()

void default_quit_handler ( void  )

◆ directory_switch()

void directory_switch ( const char *  ,
int   
)

◆ extract_integer()

template<typename T , typename = RequireLongest<T>>
T extract_integer ( const gdb_byte *  addr,
int  len,
enum bfd_endian  byte_order 
)

◆ extract_long_unsigned_integer()

int extract_long_unsigned_integer ( const gdb_byte *  ,
int  ,
enum  bfd_endian,
LONGEST *   
)

◆ extract_typed_address()

CORE_ADDR extract_typed_address ( const gdb_byte *  buf,
struct type type 
)

◆ gdb_readline_wrapper()

char* gdb_readline_wrapper ( const char *  )

◆ gdb_static_assert()

gdb_static_assert ( nr_languages<=  1<< LANGUAGE_BITS)

◆ generic_load()

void generic_load ( const char *  name,
int  from_tty 
)

Remote targets may wish to use this as their load function.

◆ init_source_path()

void init_source_path ( void  )

◆ initialize_inferiors()

void initialize_inferiors ( void  )

◆ initialize_progspace()

void initialize_progspace ( void  )

◆ input_interactive_p()

int input_interactive_p ( struct ui *  )

◆ longest_to_int()

int longest_to_int ( LONGEST  )

Convert a LONGEST to an int. This is used in contexts (e.g. number of arguments to a function, number in a value history, register number, etc.) where the value must not be larger than can fit in an int.

◆ maybe_quit()

void maybe_quit ( void  )

◆ mod_path()

void mod_path ( const char *  ,
char **   
)

◆ openp()

int openp ( const char *  ,
int  ,
const char *  ,
int  ,
char **   
)

◆ pc_prefix()

const char* pc_prefix ( CORE_ADDR  )

◆ print_address()

void print_address ( struct gdbarch *  ,
CORE_ADDR  ,
struct ui_file *   
)

◆ print_address_symbolic()

int print_address_symbolic ( struct gdbarch *  ,
CORE_ADDR  ,
struct ui_file *  ,
int  ,
const char *   
)

◆ print_prompt()

void print_prompt ( void  )

◆ quit()

void quit ( void  )

◆ quit_serial_event_clear()

void quit_serial_event_clear ( void  )

◆ quit_serial_event_set()

void quit_serial_event_set ( void  )

◆ re_comp()

EXTERN_C char* re_comp ( const char *  )

◆ read_unsigned_leb128()

ULONGEST read_unsigned_leb128 ( bfd *  ,
const gdb_byte *  ,
unsigned int *   
)

◆ relocate_gdb_directory()

char* relocate_gdb_directory ( const char *  initial,
int  flag 
)

◆ set_next_address()

void set_next_address ( struct gdbarch *  ,
CORE_ADDR   
)

◆ set_quit_flag()

void set_quit_flag ( void  )

Set the quit flag.

◆ source_full_path_of()

int source_full_path_of ( const char *  ,
char **   
)

◆ store_integer()

template<typename T , typename = RequireLongest<T>>
void store_integer ( gdb_byte *  addr,
int  len,
enum bfd_endian  byte_order,
val 
)

◆ store_typed_address()

void store_typed_address ( gdb_byte *  buf,
struct type type,
CORE_ADDR  addr 
)

◆ symbol_file_command()

void symbol_file_command ( const char *  ,
int   
)

Variable Documentation

◆ annotation_level

int annotation_level

◆ current_directory

char* current_directory

String containing the current directory (what getwd would return).

◆ dbx_commands

int dbx_commands

Enable dbx commands if set.

◆ debug_file_directory

char* debug_file_directory

Search path for separate debug files.

◆ deprecated_attach_hook

void(* deprecated_attach_hook) (void)

◆ deprecated_call_command_hook

void(* deprecated_call_command_hook) (struct cmd_list_element *c, const char *cmd, int from_tty)

◆ deprecated_context_hook

void(* deprecated_context_hook) (int)

◆ deprecated_detach_hook

void(* deprecated_detach_hook) (void)

◆ deprecated_interactive_hook

int(*) void(*) void(* deprecated_interactive_hook) (void)

◆ deprecated_post_add_symbol_hook

void(* deprecated_post_add_symbol_hook) (void)

◆ deprecated_pre_add_symbol_hook

void(* deprecated_pre_add_symbol_hook) (const char *)

◆ deprecated_print_frame_info_listing_hook

void(* deprecated_print_frame_info_listing_hook) (struct symtab *s, int line, int stopline, int noerror)

◆ deprecated_query_hook

int(* deprecated_query_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1

◆ deprecated_readline_begin_hook

void(* deprecated_readline_begin_hook) (const char *,...) ATTRIBUTE_FPTR_PRINTF_1

◆ deprecated_readline_end_hook

void(* deprecated_readline_end_hook) (void)

◆ deprecated_readline_hook

char*(* deprecated_readline_hook) (const char *)

◆ deprecated_show_load_progress

void(* deprecated_show_load_progress) (const char *section, unsigned long section_sent, unsigned long section_size, unsigned long total_sent, unsigned long total_size)

◆ deprecated_target_wait_hook

ptid_t(* deprecated_target_wait_hook) (ptid_t ptid, struct target_waitstatus *status, int options)

◆ deprecated_ui_load_progress_hook

int(* deprecated_ui_load_progress_hook) (const char *section, unsigned long num)

◆ deprecated_ui_loop_hook

int(* deprecated_ui_loop_hook) (int signo)

◆ deprecated_warning_hook

int(*) void(* deprecated_warning_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1

◆ gdb_datadir

char* gdb_datadir

GDB datadir, used to store data files.

◆ gdb_sysroot

char* gdb_sysroot

System root path, used to find libraries etc.

◆ info_verbose

int info_verbose

◆ input_radix

unsigned input_radix

Default radixes for input and output. Only some values supported.

◆ interpreter_p

char* interpreter_p

The name of the interpreter if specified on the command line.

◆ output_radix

unsigned output_radix

◆ python_libdir

char* python_libdir

If non-NULL, the possibly relocated path to python's "lib" directory specified with –with-python.

◆ quit_handler

quit_handler_ftype* quit_handler

◆ selected_frame_level_changed_hook

void(* selected_frame_level_changed_hook) (int)

◆ source_path

char* source_path

◆ sync_quit_force_run

volatile int sync_quit_force_run

◆ watchdog

int watchdog