Remove free_pendings
authorTom Tromey <tom@tromey.com>
Mon, 21 May 2018 14:35:43 +0000 (08:35 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Jul 2018 15:42:44 +0000 (09:42 -0600)
commit1d376700df2476d8a8ca4fa503bdcfb0b425b683
treee4b912b5251609013d0e5cf2f1dd9adf3536b943
parentc233e9c641a84e69603bd94d0e85050c361b64a6
Remove free_pendings

buildsym.c currently keeps a free list of "struct pending"s.  However,
this didn't seem necessary to me, and so this patch removes the free
list.

gdb/ChangeLog
2018-07-20  Tom Tromey  <tom@tromey.com>

* buildsym.c (free_pendings): Remove.
(add_symbol_to_list, scoped_free_pendings)
(finish_block_internal, buildsym_init): Update.
gdb/ChangeLog
gdb/buildsym.c