Use obstack_blank_fast to shrink obstacks
authorAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2014 08:55:34 +0000 (19:25 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 5 Nov 2014 06:08:02 +0000 (16:38 +1030)
commitee11262d06cc6af9d900b44cb4d9af29050b375f
tree8758165a389106e2ff2b620b91c3c3028d46365e
parent336649dc254ec4f62562e345dc928d8ec0bdf5ad
Use obstack_blank_fast to shrink obstacks

obstack_blank isn't the correct macro to call for shrinking obstacks
since it does size checking.

* charset.c (convert_between_encodings): Shrink obstack using
obstack_blank_fast.
* minsyms.c (install_minimal_symbols): Likewise.
gdb/ChangeLog
gdb/charset.c
gdb/minsyms.c