]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Move more allocations to psymtab obstack
authorTom Tromey <tom@tromey.com>
Thu, 10 May 2018 22:23:54 +0000 (16:23 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 10 Jan 2019 14:08:14 +0000 (07:08 -0700)
commit5af70966484d6b26fa7824c0cda110140cd4959b
tree894f2d09747dc0ece87a8c9006cc75e0380ce814
parent5923a04c0c489054d275e3b0441626ce1ae7344a
Move more allocations to psymtab obstack

This moves a couple more psymtab-related allocations to the psymtab
obstack.

gdb/ChangeLog
2019-01-10  Tom Tromey  <tom@tromey.com>

* psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to
PSYMBOL_SET_LANGUAGE.
(allocate_psymtab): Allocate psymtab on the psymtab obstack.
gdb/ChangeLog
gdb/psymtab.c