gdb: remove symtab::objfile
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 29 Mar 2022 20:14:36 +0000 (16:14 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 7 Apr 2022 17:05:22 +0000 (13:05 -0400)
commit3c86fae3d99bf7b5360b810cc5b19522430ce39d
tree0e7ee506318e69330af2d7655826f7bf124001e0
parent44281e6c08cae11d4e116d87ea34ad391d58ae91
gdb: remove symtab::objfile

Same idea as previous patch, but for symtab::objfile.  I find
it clearer without this wrapper, as it shows that the objfile is
common to all symtabs of a given compunit.  Otherwise, you could think
that each symtab (of a given compunit) can have a specific objfile.

Change-Id: Ifc0dbc7ec31a06eefa2787c921196949d5a6fcc6
16 files changed:
gdb/ada-lang.c
gdb/annotate.c
gdb/breakpoint.c
gdb/cli/cli-cmds.c
gdb/guile/scm-symtab.c
gdb/linespec.c
gdb/mi/mi-symbol-cmds.c
gdb/objfiles.c
gdb/python/py-symtab.c
gdb/source-cache.c
gdb/source.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h
gdb/tui/tui-source.c
gdb/tui/tui-winsource.c