Replace symbol_symtab with symbol::symtab
authorTom Tromey <tom@tromey.com>
Mon, 18 Apr 2022 02:00:59 +0000 (20:00 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Apr 2022 15:28:40 +0000 (09:28 -0600)
commit4206d69e96ac401cf2975f37bf4e4d3a3c838313
tree6301edfeea773f593e1949a30831c442bf87b90f
parentbcd6845e2b66adb58d36eb1d9b8fbf71900b517d
Replace symbol_symtab with symbol::symtab

This turns symbol_symtab into a method on symbol.  It also replaces
symbol_set_symtab with a method.
20 files changed:
gdb/ada-lang.c
gdb/btrace.c
gdb/buildsym.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-cplus-symbols.c
gdb/compile/compile-cplus-types.c
gdb/compile/compile-object-load.c
gdb/dwarf2/read.c
gdb/frame.c
gdb/guile/scm-symbol.c
gdb/jit.c
gdb/linespec.c
gdb/mdebugread.c
gdb/mi/mi-symbol-cmds.c
gdb/python/py-symbol.c
gdb/python/python.c
gdb/record-btrace.c
gdb/source.c
gdb/symtab.c
gdb/symtab.h