Re: [Patch] More responsive QUITs

Tom Tromey
2011-07-21T20:42:23Z

Sterling> 2011-07-20 Sterling Augustine <saugustine@google.com>
Sterling> * psymtab.c (map_symbol_filenames_psymtab): Call QUIT.

I think this exposes gdb to a memory leak in
make_source_files_completion_list.

I think the bug is a QUIT can unwind:

map_symbol_filenames_psymtab
-> map_partial_symbol_filenames
-> make_source_files_completion_list

... which does not use cleanups to protect the allocations it does.

Tom