forked from Imagelibrary/binutils-gdb
Move declaration of lang_frame_mismatch_warn to header.
Also makes it localizable. gdb/ChangeLog: 2019-10-08 Christian Biesinger <cbiesinger@google.com> * language.c (show_language_command): Pass lang_frame_mismatch_warn through _(). (lang_frame_mismatch_warn): Make const, mark with N_(), and move comment... * language.h (lang_frame_mismatch_warn): ... here. Also add declaration. * top.c (lang_frame_mismatch_warn): Remove declaration. (check_frame_language_change): Pass lang_frame_mismatch_warn through _().
This commit is contained in:
@@ -483,6 +483,11 @@ extern const struct language_defn *current_language;
|
||||
|
||||
extern const struct language_defn *expected_language;
|
||||
|
||||
/* Warning issued when current_language and the language of the current
|
||||
frame do not match. */
|
||||
|
||||
extern const char lang_frame_mismatch_warn[];
|
||||
|
||||
/* language_mode ==
|
||||
language_mode_auto: current_language automatically set upon selection
|
||||
of scope (e.g. stack frame)
|
||||
|
||||
Reference in New Issue
Block a user