diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-23 09:43:49 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-03-23 10:18:15 -0600 |
commit | 9bb9b2f9d6d5aa90f579494d8407375a87a9ad0b (patch) | |
tree | decac06af2245024c51a76359d310f13212eaebb /Makefile.def | |
parent | c90939d2d08caedf4f777112a1aafa0c69a9d1c1 (diff) | |
download | gdb-9bb9b2f9d6d5aa90f579494d8407375a87a9ad0b.zip gdb-9bb9b2f9d6d5aa90f579494d8407375a87a9ad0b.tar.gz gdb-9bb9b2f9d6d5aa90f579494d8407375a87a9ad0b.tar.bz2 |
Use scoped_restore_current_language in two places
I found a couple of spots that manually saved and restored the current
language. This patch changes them to use
scoped_restore_current_language.
Tested by the buildbot.
gdb/ChangeLog
2019-03-23 Tom Tromey <tom@tromey.com>
* linespec.c (get_current_search_block): Use
scoped_restore_current_language.
* symmisc.c (dump_symtab): Use scoped_restore_current_language.
Diffstat (limited to 'Makefile.def')
0 files changed, 0 insertions, 0 deletions