Hi, Enclosed is a patch to allow interrupting map_symbol_filenames_psymtab. This patch adds a call to QUIT in map_symbol_filenames_psymtab, and several functions to cleanup data that would have leaked. Also, this patch adds a cleanup for the existing leak in default_make_symbol_completion_list_break_on (check return_val's relation to the existing QUITs). Although the new QUIT doesn't introduce this particular leak, it creates many more opportunities for it to happen. Thanks, Sterling -- 2011-10-27 Sterling Augustine * psymtab.c (map_symbol_filenames_psymtab): Call QUIT. * symtab.c (free_completion_list): New function. (do_free_completion_list): Likewise. (default_make_symbol_completion_list_break_on): New variable back_to. Call make_cleanup and discard_cleanups. (make_source_files_completion_list): Likewise.