Move declaration of lang_frame_mismatch_warn to header.
authorChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 17:55:44 +0000 (12:55 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Tue, 8 Oct 2019 15:14:57 +0000 (10:14 -0500)
commit34916edc47a26d591bf95784cd90fe1dcd533ab5
tree6014b017e3b13e6b363dffa815f3a2b2c825c589
parentb7d9d3ee59236d6039d7d7ccd17ff6b47e07a8aa
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 _().
gdb/ChangeLog
gdb/language.c
gdb/language.h
gdb/top.c
This page took 0.024841 seconds and 4 git commands to generate.