]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove SYMTAB_LANGUAGE macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 13:47:30 +0000 (08:47 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Sun, 6 Feb 2022 21:03:44 +0000 (16:03 -0500)
commit1ee2e9f9304d05f2962bbc4b83096b850fe4e433
tree5df392b5191f79e7193b0d53cfb03c77233abeb7
parent5b6074611edfdd1590e8da1ca443950b47942bbb
gdb: remove SYMTAB_LANGUAGE macro, add getter/setter

Add a getter and a setter for a symtab's language.  Remove the
corresponding macro and adjust all callers.

Change-Id: I9f4d840b11c19f80f39bac1bce020fdd1739e11f
gdb/buildsym.c
gdb/dwarf2/read.c
gdb/linespec.c
gdb/mdebugread.c
gdb/source-cache.c
gdb/source.c
gdb/stack.c
gdb/symfile.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h