diff options
author | Pedro Alves <pedro@palves.net> | 2023-02-10 19:23:01 +0000 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2023-02-15 20:58:10 +0000 |
commit | 90ae0fe902e76a0cb8255eef065cc39c561b7bff (patch) | |
tree | bbbe339f646aec47cf5dd02d14d1b75954547c7c /gdb | |
parent | 0ace6ace1bfc2982f62ec684cdb26de64aec3366 (diff) | |
download | gdb-90ae0fe902e76a0cb8255eef065cc39c561b7bff.zip gdb-90ae0fe902e76a0cb8255eef065cc39c561b7bff.tar.gz gdb-90ae0fe902e76a0cb8255eef065cc39c561b7bff.tar.bz2 |
GC get_active_ext_lang
get_active_ext_lang is not used anywhere. Delete it.
Approved-By: Tom Tromey <tom@tromey.com>
Change-Id: I4c2b6d0d11291103c098e4db1d6ea449875c96b7
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/extension-priv.h | 2 | ||||
-rw-r--r-- | gdb/extension.c | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/gdb/extension-priv.h b/gdb/extension-priv.h index 119377b4..23a9f64 100644 --- a/gdb/extension-priv.h +++ b/gdb/extension-priv.h @@ -303,8 +303,6 @@ struct active_ext_lang_state struct signal_handler sigint_handler; }; -extern const struct extension_language_defn *get_active_ext_lang (void); - extern struct active_ext_lang_state *set_active_ext_lang (const struct extension_language_defn *); diff --git a/gdb/extension.c b/gdb/extension.c index 0a9803a..1e52afc 100644 --- a/gdb/extension.c +++ b/gdb/extension.c @@ -647,14 +647,6 @@ static int quit_flag; static const struct extension_language_defn *active_ext_lang = &extension_language_gdb; -/* Return the currently active extension language. */ - -const struct extension_language_defn * -get_active_ext_lang (void) -{ - return active_ext_lang; -} - /* Install a SIGINT handler. */ static void |