This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/8] Remove make_cleanup_discard_psymtabs
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 2 Dec 2016 14:21:07 +0000
- Subject: Re: [RFA 4/8] Remove make_cleanup_discard_psymtabs
- Authentication-results: sourceware.org; auth=none
- References: <1480395946-10924-1-git-send-email-tom@tromey.com> <1480395946-10924-5-git-send-email-tom@tromey.com>
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