[RFA 4/8] Remove make_cleanup_discard_psymtabs

Pedro Alves palves@redhat.com
Fri Dec 2 14:21:00 GMT 2016


On 11/29/2016 05:05 AM, Tom Tromey wrote:
> This removes make_cleanup_discard_psymtabs in favor of a new class.
> 
> 2016-11-28  Tom Tromey  <tom@tromey.com>
> 
> 	* dwarf2read.c (dwarf2_build_psymtabs): Use psymtab_discarder.
> 	* psympriv.h (make_cleanup_discard_psymtabs): Don't declare.
> 	* psymtab.c (discard_psymtabs_upto): Remove.
> 	(make_cleanup_discard_psymtabs): Remove.
> 	(struct psymtab_state): Remove.

OK.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list