[PATCH 4/4] gdb/dwarf: create and destroy dwarf2_per_bfd's CUs-to-expand queue

Tom Tromey tom@tromey.com
Wed Dec 9 21:27:02 GMT 2020


>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> gdb/ChangeLog:

Simon> 	* dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
Simon> 	Instantiate queue.
Simon> 	(~dwarf2_queue_guard): Clear queue.
Simon> 	(queue_comp_unit): Assert that queue is
Simon> 	instantiated.
Simon> 	(process_queue): Adjust.
Simon> 	* dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.

Thanks for doing this.  It seems like a good idea to me.

Tom


More information about the Gdb-patches mailing list