gdb: remove SYMBOL_OBJFILE_OWNED macro
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Jan 2022 03:01:10 +0000 (22:01 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Sun, 6 Feb 2022 21:03:46 +0000 (16:03 -0500)
commit7b3ecc7555438f05dda657d0ed6a43ee71a3901d
tree851e01af89a5dda9ab1ea9c05b4059eda7497907
parent6c9c307c67043b55a209af402246404d89f992c9
gdb: remove SYMBOL_OBJFILE_OWNED macro

Add a getter and a setter for whether a symbol is objfile owned.  Remove
the corresponding macro and adjust all callers.

Change-Id: Ib7ef3718d65553ae924ca04c3fd478b0f4f3147c
gdb/ada-lang.c
gdb/guile/scm-symbol.c
gdb/language.c
gdb/printcmd.c
gdb/python/py-symbol.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h