|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| struct | extension_language_defn |
| struct | extension_language_script_ops |
| struct | extension_language_ops |
| struct | signal_handler |
| struct | active_ext_lang_state |
Enumerations | |
| enum | ext_lang_rc { EXT_LANG_RC_OK, EXT_LANG_RC_NOP, EXT_LANG_RC_ERROR } |
Functions | |
| const struct extension_language_defn * | get_active_ext_lang (void) |
| struct active_ext_lang_state * | set_active_ext_lang (const struct extension_language_defn *) |
| void | restore_active_ext_lang (struct active_ext_lang_state *previous) |
| enum ext_lang_rc |
| Enumerator | |
|---|---|
| EXT_LANG_RC_OK | |
| EXT_LANG_RC_NOP | |
| EXT_LANG_RC_ERROR | |
Definition at line 30 of file extension-priv.h.
| const struct extension_language_defn* get_active_ext_lang | ( | void | ) |
Definition at line 687 of file extension.c.
References 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().
| struct active_ext_lang_state* set_active_ext_lang | ( | const struct extension_language_defn * | ) |
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().
1.8.14