GDB (xrefs)

Macros | Functions | Variables
/tmp/gdb-8.1/gdb/extension.c File Reference
`#include "defs.h"`
`#include <signal.h>`
`#include "target.h"`
`#include "auto-load.h"`
`#include "breakpoint.h"`
`#include "event-top.h"`
`#include "extension.h"`
`#include "extension-priv.h"`
`#include "observer.h"`
`#include "cli/cli-script.h"`
`#include "python/python.h"`
`#include "guile/guile.h"`

Go to the source code of this file.

## Macros
#define | ALL_EXTENSION_LANGUAGES(i, extlang)
#define | ALL_ENABLED_EXTENSION_LANGUAGES(i, extlang)

## Functions
const struct extension_language_defn * | get_ext_lang_defn (enum extension_language lang)
static int | has_extension (const char *file, const char *extension)
const struct extension_language_defn * | get_ext_lang_of_file (const char *file)
int | ext_lang_present_p (const struct extension_language_defn *extlang)
int | ext_lang_initialized_p (const struct extension_language_defn *extlang)
void | throw_ext_lang_unsupported (const struct extension_language_defn *extlang)
static void | source_gdb_script (const struct extension_language_defn *extlang, FILE *stream, const char *file)
static void | source_gdb_objfile_script (const struct extension_language_defn *extlang, struct objfile *objfile, FILE *stream, const char *file)
const char * | ext_lang_name (const struct extension_language_defn *extlang)
const char * | ext_lang_capitalized_name (const struct extension_language_defn *extlang)
const char * | ext_lang_suffix (const struct extension_language_defn *extlang)
const char * | ext_lang_auto_load_suffix (const struct extension_language_defn *extlang)
script_sourcer_func * | ext_lang_script_sourcer (const struct extension_language_defn *extlang)
objfile_script_sourcer_func * | ext_lang_objfile_script_sourcer (const struct extension_language_defn *extlang)
objfile_script_executor_func * | ext_lang_objfile_script_executor (const struct extension_language_defn *extlang)
int | ext_lang_auto_load_enabled (const struct extension_language_defn *extlang)
void | finish_ext_lang_initialization (void)
void | eval_ext_lang_from_control_command (struct command_line *cmd)
void | auto_load_ext_lang_scripts_for_objfile (struct objfile *objfile)
struct ext_lang_type_printers * | start_ext_lang_type_printers (void)
char * | apply_ext_lang_type_printers (struct ext_lang_type_printers *printers, struct type *type)
void | free_ext_lang_type_printers (struct ext_lang_type_printers *printers)
int | apply_ext_lang_val_pretty_printer (struct type *type, LONGEST embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options, const struct language_defn *language)
enum ext_lang_bt_status | apply_ext_lang_frame_filter (struct frame_info *frame, int flags, enum ext_lang_frame_args args_type, struct ui_out *out, int frame_low, int frame_high)
void | preserve_ext_lang_values (struct objfile *objfile, htab_t copied_types)
const struct extension_language_defn * | get_breakpoint_cond_ext_lang (struct breakpoint *b, enum extension_language skip_lang)
int | breakpoint_ext_lang_cond_says_stop (struct breakpoint *b)
const struct extension_language_defn * | get_active_ext_lang (void)
static void | install_sigint_handler (const struct signal_handler *handler_state)
static void | install_gdb_sigint_handler (struct signal_handler *previous)
struct active_ext_lang_state * | set_active_ext_lang (const struct extension_language_defn *now_active)
void | restore_active_ext_lang (struct active_ext_lang_state *previous)
void | set_quit_flag (void)
int | check_quit_flag (void)
struct xmethod_worker * | new_xmethod_worker (const struct extension_language_defn *extlang, void *data)
struct xmethod_worker * | clone_xmethod_worker (struct xmethod_worker *worker)
| VEC (xmethod_worker_ptr)
struct type ** | get_xmethod_arg_types (struct xmethod_worker *worker, int *nargs)
struct type * | get_xmethod_result_type (struct xmethod_worker *worker, struct value *object, struct value **args, int nargs)
struct value * | invoke_xmethod (struct xmethod_worker *worker, struct value *obj, struct value **args, int nargs)
void | free_xmethod_worker (struct xmethod_worker *worker)
void | free_xmethod_worker_vec (void *vec)
static void | ext_lang_before_prompt (const char *current_gdb_prompt)
void | _initialize_extension (void)

## Variables
static script_sourcer_func | source_gdb_script
static objfile_script_sourcer_func | source_gdb_objfile_script
static const struct extension_language_script_ops | extension_language_gdb_script_ops
const struct extension_language_defn | extension_language_gdb
static const struct extension_language_defn *const | extension_languages []
static int | quit_flag
static const struct extension_language_defn * | active_ext_lang = &extension_language_gdb

## Macro Definition Documentation

## ◆ ALL_ENABLED_EXTENSION_LANGUAGES

#define ALL_ENABLED_EXTENSION_LANGUAGES | ( |  | i,
|  |  | extlang
| ) |  |

Value:
for (/*int*/ i = 0, extlang = extension_languages[0]; \
extlang != NULL; \
extlang = extension_languages[++i]) \
if (extlang->ops != NULL)
extension_languages
static const struct extension_language_defn *const extension_languages[]
Definition: extension.c:102

Definition at line 48 of file extension.c.

Referenced by apply_ext_lang_frame_filter(), apply_ext_lang_type_printers(), apply_ext_lang_val_pretty_printer(), auto_load_ext_lang_scripts_for_objfile(), breakpoint_ext_lang_cond_says_stop(), check_quit_flag(), ext_lang_before_prompt(), finish_ext_lang_initialization(), free_ext_lang_type_printers(), get_breakpoint_cond_ext_lang(), preserve_ext_lang_values(), start_ext_lang_type_printers(), and VEC().

## ◆ ALL_EXTENSION_LANGUAGES

#define ALL_EXTENSION_LANGUAGES | ( |  | i,
|  |  | extlang
| ) |  |

Value:
for (/*int*/ i = 0, extlang = extension_languages[0]; \
extlang != NULL; \
extlang = extension_languages[++i])
extension_languages
static const struct extension_language_defn *const extension_languages[]
Definition: extension.c:102

Definition at line 40 of file extension.c.

Referenced by eval_ext_lang_from_control_command(), get_ext_lang_defn(), and get_ext_lang_of_file().

## Function Documentation

## ◆ _initialize_extension()

void _initialize_extension | ( | void |  | ) |

Definition at line 1065 of file extension.c.

References ext_lang_before_prompt(), and observer_attach_before_prompt().

## ◆ apply_ext_lang_frame_filter()

enum ext_lang_bt_status apply_ext_lang_frame_filter | ( | struct frame_info * | frame,
|  | int | flags,
|  | enum ext_lang_frame_args | args_type,
|  | struct ui_out * | out,
|  | int | frame_low,
|  | int | frame_high
| ) |  |

Definition at line 556 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::apply_frame_filter, EXT_LANG_BT_NO_FILTERS, flags, extension_language_defn::ops, and status.

Referenced by backtrace_command_1(), mi_apply_ext_lang_frame_filter(), and mi_cmd_stack_list_frames().

## ◆ apply_ext_lang_type_printers()

char* apply_ext_lang_type_printers | ( | struct ext_lang_type_printers * | printers,
|  | struct type * | type
| ) |  |

Definition at line 431 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::apply_type_printers, EXT_LANG_RC_ERROR, EXT_LANG_RC_NOP, EXT_LANG_RC_OK, gdb_assert, gdb_assert_not_reached, and extension_language_defn::ops.

Referenced by find_global_typedef().

## ◆ apply_ext_lang_val_pretty_printer()

int apply_ext_lang_val_pretty_printer | ( | struct type * | type,
|  | LONGEST | embedded_offset,
|  | CORE_ADDR | address,
|  | struct ui_file * | stream,
|  | int | recurse,
|  | struct value * | val,
|  | const struct value_print_options * | options,
|  | const struct language_defn * | language
| ) |  |

Definition at line 499 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::apply_val_pretty_printer, EXT_LANG_RC_ERROR, EXT_LANG_RC_NOP, EXT_LANG_RC_OK, gdb_assert_not_reached, and extension_language_defn::ops.

Referenced by cp_print_value(), val_print(), and value_print().

## ◆ auto_load_ext_lang_scripts_for_objfile()

void auto_load_ext_lang_scripts_for_objfile | ( | struct objfile * | objfile | ) |

Definition at line 383 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, auto_load_objfile_script(), ext_lang_auto_load_enabled(), and extension_language_gdb.

Referenced by load_auto_scripts_for_objfile().

## ◆ breakpoint_ext_lang_cond_says_stop()

int breakpoint_ext_lang_cond_says_stop | ( | struct breakpoint * | b | ) |

Definition at line 635 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::breakpoint_cond_says_stop, EXT_LANG_BP_STOP_NO, EXT_LANG_BP_STOP_UNSET, gdb_assert, and extension_language_defn::ops.

Referenced by bpstat_check_breakpoint_conditions().

## ◆ 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.

Definition at line 828 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::check_quit_flag, extension_language_defn::ops, quit_flag, and quit_serial_event_clear().

Referenced by default_quit_handler(), gdb_os_poll_quit(), target_terminal::inferior(), load_progress(), remote_fileio_quit_handler(), remote_fileio_reply(), remote_serial_quit_handler(), restore_active_ext_lang(), and set_active_ext_lang().

## ◆ clone_xmethod_worker()

struct xmethod_worker* clone_xmethod_worker | ( | struct xmethod_worker * | worker | ) |

Definition at line 885 of file extension.c.

References extension_language_ops::clone_xmethod_worker_data, xmethod_worker::data, xmethod_worker::extlang, gdb_assert, new_xmethod_worker(), and extension_language_defn::ops.

Referenced by find_overload_match().

## ◆ eval_ext_lang_from_control_command()

void eval_ext_lang_from_control_command | ( | struct command_line * | cmd | ) |

Definition at line 353 of file extension.c.

References ALL_EXTENSION_LANGUAGES, extension_language_defn::cli_control_type, command_line::control_type, extension_language_ops::eval_from_control_command, gdb_assert_not_reached, extension_language_defn::ops, and throw_ext_lang_unsupported().

Referenced by execute_control_command_1().

## ◆ ext_lang_auto_load_enabled()

int ext_lang_auto_load_enabled | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 310 of file extension.c.

References extension_language_script_ops::auto_load_enabled, gdb_assert, and extension_language_defn::script_ops.

Referenced by auto_load_ext_lang_scripts_for_objfile(), execute_script_contents(), and source_script_file().

## ◆ ext_lang_auto_load_suffix()

const char* ext_lang_auto_load_suffix | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 251 of file extension.c.

References extension_language_defn::auto_load_suffix.

Referenced by _initialize_auto_load(), and auto_load_objfile_script_1().

## ◆ ext_lang_before_prompt()

static void ext_lang_before_prompt | ( | const char * | current_gdb_prompt | ) |
| static

Definition at line 1039 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::before_prompt, EXT_LANG_RC_ERROR, EXT_LANG_RC_NOP, EXT_LANG_RC_OK, gdb_assert_not_reached, and extension_language_defn::ops.

Referenced by _initialize_extension().

## ◆ ext_lang_capitalized_name()

const char* ext_lang_capitalized_name | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 235 of file extension.c.

References extension_language_defn::capitalized_name.

Referenced by condition_command(), gdbscm_set_breakpoint_stop_x(), local_setattro(), and throw_ext_lang_unsupported().

## ◆ ext_lang_initialized_p()

int ext_lang_initialized_p | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 179 of file extension.c.

References gdb_assert, extension_language_ops::initialized, and extension_language_defn::ops.

Referenced by mi_cmd_list_features().

## ◆ ext_lang_name()

const char* ext_lang_name | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 227 of file extension.c.

References extension_language_defn::name.

Referenced by auto_load_objfile_script_1(), execute_script_contents(), maybe_print_script_not_found_warning(), maybe_print_unsupported_script_warning(), and source_script_file().

## ◆ ext_lang_objfile_script_executor()

objfile_script_executor_func* ext_lang_objfile_script_executor | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 298 of file extension.c.

References extension_language_script_ops::objfile_script_executor, and extension_language_defn::script_ops.

Referenced by execute_script_contents().

## ◆ ext_lang_objfile_script_sourcer()

objfile_script_sourcer_func* ext_lang_objfile_script_sourcer | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 280 of file extension.c.

References gdb_assert, extension_language_script_ops::objfile_script_sourcer, and extension_language_defn::script_ops.

Referenced by auto_load_objfile_script_1(), and source_script_file().

## ◆ ext_lang_present_p()

int ext_lang_present_p | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 170 of file extension.c.

References extension_language_defn::script_ops.

Referenced by source_script_from_stream().

## ◆ ext_lang_script_sourcer()

script_sourcer_func* ext_lang_script_sourcer | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 263 of file extension.c.

References gdb_assert, extension_language_defn::script_ops, and extension_language_script_ops::script_sourcer.

Referenced by source_script_from_stream().

## ◆ ext_lang_suffix()

const char* ext_lang_suffix | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 243 of file extension.c.

References extension_language_defn::suffix.

## ◆ finish_ext_lang_initialization()

void finish_ext_lang_initialization | ( | void |  | ) |

Definition at line 329 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::finish_initialization, and extension_language_defn::ops.

Referenced by gdb_init().

## ◆ free_ext_lang_type_printers()

void free_ext_lang_type_printers | ( | struct ext_lang_type_printers * | printers | ) |

Definition at line 467 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::free_type_printers, extension_language_defn::ops, and xfree().

Referenced by do_free_global_table().

## ◆ free_xmethod_worker()

void free_xmethod_worker | ( | struct xmethod_worker * | worker | ) |

Definition at line 1010 of file extension.c.

References xmethod_worker::data, xmethod_worker::extlang, extension_language_ops::free_xmethod_worker_data, gdb_assert, extension_language_defn::ops, and xfree().

Referenced by free_xmethod_worker_vec(), and value_free().

## ◆ free_xmethod_worker_vec()

void free_xmethod_worker_vec | ( | void * | vec | ) |

Definition at line 1021 of file extension.c.

References free_xmethod_worker(), VEC(), VEC_free, and VEC_iterate.

Referenced by find_overload_match(), and VEC().

## ◆ get_active_ext_lang()

const struct extension_language_defn* get_active_ext_lang | ( | void |  | ) |

Definition at line 687 of file extension.c.

References active_ext_lang.

## ◆ get_breakpoint_cond_ext_lang()

const struct extension_language_defn* get_breakpoint_cond_ext_lang | ( | struct breakpoint * | b,
|  | enum extension_language | skip_lang
| ) |  |

Definition at line 614 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::breakpoint_has_cond, extension_language_defn::language, and extension_language_defn::ops.

Referenced by condition_command(), gdbscm_set_breakpoint_stop_x(), and local_setattro().

## ◆ get_ext_lang_defn()

const struct extension_language_defn* get_ext_lang_defn | ( | enum extension_language | lang | ) |

Definition at line 116 of file extension.c.

References ALL_EXTENSION_LANGUAGES, EXT_LANG_GDB, EXT_LANG_NONE, extension_language_gdb, gdb_assert, gdb_assert_not_reached, and extension_language_defn::language.

Referenced by _initialize_auto_load(), gdbscm_set_breakpoint_stop_x(), local_setattro(), mi_cmd_list_features(), and source_section_scripts().

## ◆ get_ext_lang_of_file()

const struct extension_language_defn* get_ext_lang_of_file | ( | const char * | file | ) |

Definition at line 152 of file extension.c.

References ALL_EXTENSION_LANGUAGES, has_extension(), and extension_language_defn::suffix.

Referenced by source_script_from_stream().

## ◆ get_xmethod_arg_types()

struct type** get_xmethod_arg_types | ( | struct xmethod_worker * | worker,
|  | int * | nargs
| ) |  |

Definition at line 949 of file extension.c.

References _, extension_language_defn::capitalized_name, error(), EXT_LANG_RC_ERROR, xmethod_worker::extlang, gdb_assert, extension_language_ops::get_xmethod_arg_types, and extension_language_defn::ops.

Referenced by find_oload_champ().

## ◆ get_xmethod_result_type()

struct type* get_xmethod_result_type | ( | struct xmethod_worker * | worker,
|  | struct value * | object,
|  | struct value ** | args,
|  | int | nargs
| ) |  |

Definition at line 972 of file extension.c.

References _, extension_language_defn::capitalized_name, error(), EXT_LANG_RC_ERROR, xmethod_worker::extlang, gdb_assert, extension_language_ops::get_xmethod_arg_types, extension_language_ops::get_xmethod_result_type, and extension_language_defn::ops.

Referenced by result_type_of_xmethod().

## ◆ has_extension()

static int has_extension | ( | const char * | file,
|  | const char * | extension
| ) |  |
| static

Definition at line 138 of file extension.c.

Referenced by get_ext_lang_of_file().

## ◆ install_gdb_sigint_handler()

static void install_gdb_sigint_handler | ( | struct signal_handler * | previous | ) |
| static

Definition at line 708 of file extension.c.

References handle_sigint(), signal_handler::handler, and signal_handler::handler_saved.

Referenced by set_active_ext_lang().

## ◆ install_sigint_handler()

static void install_sigint_handler | ( | const struct signal_handler * | handler_state | ) |
| static

Definition at line 695 of file extension.c.

References gdb_assert, signal_handler::handler, and signal_handler::handler_saved.

Referenced by restore_active_ext_lang().

## ◆ invoke_xmethod()

struct value* invoke_xmethod | ( | struct xmethod_worker * | worker,
|  | struct value * | obj,
|  | struct value ** | args,
|  | int | nargs
| ) |  |

Definition at line 998 of file extension.c.

References xmethod_worker::extlang, gdb_assert, extension_language_ops::invoke_xmethod, and extension_language_defn::ops.

Referenced by call_xmethod().

## ◆ new_xmethod_worker()

struct xmethod_worker* new_xmethod_worker | ( | const struct extension_language_defn * | extlang,
|  | void * | data
| ) |  |

Definition at line 865 of file extension.c.

References xmethod_worker::data, xmethod_worker::extlang, xmethod_worker::value, and XCNEW.

Referenced by clone_xmethod_worker(), and new_python_xmethod_worker().

## ◆ preserve_ext_lang_values()

void preserve_ext_lang_values | ( | struct objfile * | objfile,
|  | htab_t | copied_types
| ) |  |

Definition at line 592 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_defn::ops, and extension_language_ops::preserve_values.

Referenced by preserve_values().

## ◆ restore_active_ext_lang()

void restore_active_ext_lang | ( | struct active_ext_lang_state * | previous | ) |

Definition at line 775 of file extension.c.

References active_ext_lang, check_quit_flag(), active_ext_lang_state::ext_lang, signal_handler::handler_saved, install_sigint_handler(), target_terminal::is_ours(), set_quit_flag(), active_ext_lang_state::sigint_handler, and xfree().

Referenced by finalize_python(), and gdbpy_enter::~gdbpy_enter().

## ◆ set_active_ext_lang()

struct active_ext_lang_state* set_active_ext_lang | ( | const struct extension_language_defn * | now_active | ) |

Definition at line 744 of file extension.c.

References active_ext_lang, extension_language_ops::check_quit_flag, check_quit_flag(), active_ext_lang_state::ext_lang, EXT_LANG_GDB, signal_handler::handler_saved, install_gdb_sigint_handler(), target_terminal::is_ours(), extension_language_defn::language, extension_language_defn::ops, set_quit_flag(), active_ext_lang_state::sigint_handler, and XCNEW.

Referenced by finalize_python(), and gdbpy_enter::gdbpy_enter().

## ◆ set_quit_flag()

void set_quit_flag | ( | void |  | ) |

Set the quit flag.

Definition at line 804 of file extension.c.

References active_ext_lang, extension_language_defn::ops, quit_flag, quit_serial_event_set(), and extension_language_ops::set_quit_flag.

Referenced by handle_sigint(), handle_sigterm(), readchar(), remote_fileio_request(), remote_serial_write(), restore_active_ext_lang(), and set_active_ext_lang().

## ◆ source_gdb_objfile_script()

static void source_gdb_objfile_script | ( | const struct extension_language_defn * | extlang,
|  | struct objfile * | objfile,
|  | FILE * | stream,
|  | const char * | file
| ) |  |
| static

Definition at line 215 of file extension.c.

References script_from_file().

## ◆ source_gdb_script()

static void source_gdb_script | ( | const struct extension_language_defn * | extlang,
|  | FILE * | stream,
|  | const char * | file
| ) |  |
| static

Definition at line 206 of file extension.c.

References script_from_file().

## ◆ start_ext_lang_type_printers()

struct ext_lang_type_printers* start_ext_lang_type_printers | ( | void |  | ) |

Definition at line 409 of file extension.c.

References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_defn::ops, extension_language_ops::start_type_printers, and XCNEW.

Referenced by create_global_typedef_table().

## ◆ throw_ext_lang_unsupported()

void throw_ext_lang_unsupported | ( | const struct extension_language_defn * | extlang | ) |

Definition at line 194 of file extension.c.

References _, error(), and ext_lang_capitalized_name().

Referenced by eval_ext_lang_from_control_command(), and source_script_from_stream().

## ◆ VEC()

VEC | ( | xmethod_worker_ptr |  | ) |

Definition at line 905 of file extension.c.

References _, ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_defn::capitalized_name, error(), EXT_LANG_RC_ERROR, free_xmethod_worker_vec(), extension_language_ops::get_matching_xmethod_workers, extension_language_defn::ops, VEC(), VEC_free, and VEC_merge.

Referenced by free_xmethod_worker_vec(), and VEC().

## Variable Documentation

## ◆ active_ext_lang

const struct extension_language_defn* active_ext_lang = &extension_language_gdb
| static

Definition at line 682 of file extension.c.

Referenced by get_active_ext_lang(), restore_active_ext_lang(), set_active_ext_lang(), and set_quit_flag().

## ◆ extension_language_gdb

const struct extension_language_defn extension_language_gdb

Initial value:
=
{
EXT_LANG_GDB,
"gdb",
"GDB",
".gdb",
"-gdb.gdb",
commands_control,
&extension_language_gdb_script_ops,
NULL
}
EXT_LANG_GDB
Definition: extension.h:62
commands_control
Definition: cli-script.h:40
extension_language_gdb_script_ops
static const struct extension_language_script_ops extension_language_gdb_script_ops
Definition: extension.c:61

Definition at line 69 of file extension.c.

Referenced by auto_load_ext_lang_scripts_for_objfile(), get_ext_lang_defn(), and info_auto_load_gdb_scripts().

## ◆ extension_language_gdb_script_ops

const struct extension_language_script_ops extension_language_gdb_script_ops
| static

Initial value:
=
{
source_gdb_script,
source_gdb_objfile_script,
NULL,
auto_load_gdb_scripts_enabled
}
source_gdb_objfile_script
static objfile_script_sourcer_func source_gdb_objfile_script
Definition: extension.c:55
source_gdb_script
static script_sourcer_func source_gdb_script
Definition: extension.c:54
auto_load_gdb_scripts_enabled
int auto_load_gdb_scripts_enabled(const struct extension_language_defn *extlang)
Definition: auto-load.c:97

Definition at line 61 of file extension.c.

## ◆ extension_languages

const struct extension_language_defn* const extension_languages[]
| static

Initial value:
=
{
&extension_language_python,
&extension_language_guile,
NULL
}
extension_language_python
const struct extension_language_defn extension_language_python
Definition: python.c:68
extension_language_guile
const struct extension_language_defn extension_language_guile

Definition at line 102 of file extension.c.

## ◆ quit_flag

int quit_flag
| static

Definition at line 674 of file extension.c.

Referenced by check_quit_flag(), putpkt_binary(), and set_quit_flag().

## ◆ source_gdb_objfile_script

objfile_script_sourcer_func source_gdb_objfile_script
| static

Definition at line 55 of file extension.c.

## ◆ source_gdb_script

script_sourcer_func source_gdb_script
| static

Definition at line 54 of file extension.c.