This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] document that check_typedef can throw an exception


On Thu, 27 Oct 2011 23:55:51 +0200, Doug Evans wrote:
[...]
> 	* gdbtypes.c (check_typedef): Document that this function can
> 	throw an exception.
[...]
> +   NOTE: Lookup of types for opaque types can throw some errors during
> +   invalid symbol files.  Thus this function can throw an exception.

Always by expanding opaque types:

Either lookup_symbol_aux_quick:
        error (_("\
	Internal: %s symbol `%s' found in %s psymtab but not in symtab.\n\
which is not completely correct but it was commonly happenning and it still
may happen.

Or just RETURN_QUIT from new CUs being expanded
...->dwarf2_compute_name->c_print_type->... (there some QUIT; statements).


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]