]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/dwarf2/loc.c
Don't let property evaluation affect the current language
authorTom Tromey <tromey@adacore.com>
Thu, 15 Sep 2022 18:06:02 +0000 (12:06 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 3 Jan 2023 15:45:01 +0000 (08:45 -0700)
commit12bb802fab16b5bf8edc027c247741bd75db1257
tree84137329f4f0b22c6de684da7a3e27ef2fefcecf
parent7f22044a6b7ce968aacd8b26f608370940ec158d
Don't let property evaluation affect the current language

On PPC, we saw that calling an inferior function could sometimes
change the current language, because gdb would select the call dummy
frame -- associated with _start.

This patch changes gdb so that the current language is never affected
by DWARF property evaluation.
gdb/dwarf2/loc.c