diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-10 16:23:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-10 07:08:14 -0700 |
commit | b596a3c77da2387d7e5a3855717d65ce33bdfb58 (patch) | |
tree | 8031414899706c82056f981b6811beb2c06e8e3f /gdb/objfiles.h | |
parent | a9342b62885d5119593fa4330924e031e14c6406 (diff) | |
download | gdb-b596a3c77da2387d7e5a3855717d65ce33bdfb58.zip gdb-b596a3c77da2387d7e5a3855717d65ce33bdfb58.tar.gz gdb-b596a3c77da2387d7e5a3855717d65ce33bdfb58.tar.bz2 |
Make psymtab_storage::free_psymtabs private
This adds a new psymtab allocation method to psymtab_storage and
changes the free_psymtabs member to be private. While not strictly
necessary, this seems like a decent cleanup, and also makes it simpler
to move psymtabs off of obstacks entirely, should that prove
desirable.
gdb/ChangeLog
2019-01-10 Tom Tromey <tom@tromey.com>
* psymtab.h (psymtab_storage::allocate_psymtab): New method.
<free_psymtabs>: Now private.
* psymtab.c (psymtab_storage::allocate_psymtab): Implement.
(allocate_psymtab): Use new method.
Diffstat (limited to 'gdb/objfiles.h')
0 files changed, 0 insertions, 0 deletions