diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-06 10:42:03 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-07 13:04:53 -0400 |
commit | 44281e6c08cae11d4e116d87ea34ad391d58ae91 (patch) | |
tree | 7d79dd1cb4870a6d73026985325059b01cde89c2 /gdb/symtab.h | |
parent | e4730328287f755eb313c3762d83d389462cde15 (diff) | |
download | gdb-44281e6c08cae11d4e116d87ea34ad391d58ae91.zip gdb-44281e6c08cae11d4e116d87ea34ad391d58ae91.tar.gz gdb-44281e6c08cae11d4e116d87ea34ad391d58ae91.tar.bz2 |
gdb: remove symtab::blockvector
symtab::blockvector is a wrapper around compunit_symtab::blockvector.
It is a bit misleadnig, as it gives the impression that a symtab has a
blockvector. Remove it, change all users to fetch the blockvector
through the compunit instead.
Change-Id: Ibd062cd7926112a60d52899dff9224591cbdeebf
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 567c0fc..8852590 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1476,8 +1476,6 @@ struct symtab m_language = language; } - const struct blockvector *blockvector () const; - struct objfile *objfile () const; program_space *pspace () const; @@ -1755,12 +1753,6 @@ struct compunit_symtab using compunit_symtab_range = next_range<compunit_symtab>; -inline const struct blockvector * -symtab::blockvector () const -{ - return this->compunit ()->blockvector (); -} - inline struct objfile * symtab::objfile () const { |