]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/buildsym.c
gdb: remove COMPUNIT_DIRNAME macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 03:15:30 +0000 (22:15 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:18 +0000 (15:48 -0500)
commit0d9acb4531cfe336b2b335fbaa1f2ef878a6e4d9
tree1e26fd55ddf025d4587b6f89178a07c3baff0e83
parentab5f850eed6aba84050d075e8c8a2cb16a876b15
gdb: remove COMPUNIT_DIRNAME macro, add getter/setter

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

Change-Id: If2f39b295fd26822586485e04a8b8b5aa5cc9b2e
gdb/buildsym-legacy.c
gdb/buildsym.c
gdb/dwarf2/read.c
gdb/jit.c
gdb/macrotab.c
gdb/symmisc.c
gdb/symtab.h