diff options
Diffstat (limited to 'gdb/extension.c')
-rw-r--r-- | gdb/extension.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/extension.c b/gdb/extension.c index 8637bc5..1fb4b48 100644 --- a/gdb/extension.c +++ b/gdb/extension.c @@ -154,6 +154,9 @@ get_ext_lang_of_file (const char *file) int i; const struct extension_language_defn *extlang; + if (has_extension (file, extension_language_gdb.suffix)) + return &extension_language_gdb; + ALL_EXTENSION_LANGUAGES (i, extlang) { if (has_extension (file, extlang->suffix)) |