Add class scoped_switch_to_sym_language_if_auto.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 28 Oct 2018 12:51:32 +0000 (13:51 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 20 Nov 2018 21:39:08 +0000 (22:39 +0100)
commit9e6a1ab6652e8461f786d5c308f632a7c0acc53f
treee35ab39d22879abe826b4253a9f7c3b28b8e30cb
parentbeddd67132d5f8240613fd89b21ae0d2a1c7bd0f
Add class scoped_switch_to_sym_language_if_auto.

The class scoped_switch_to_sym_language_if_auto allows to switch in a scope
the current language to the language of a symbol when language mode is
set to auto.

2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* language.h (scoped_switch_to_sym_language_if_auto): New class.
gdb/ChangeLog
gdb/language.h