* dwarf2expr.c (execute_stack_op): Add QUIT.

This commit is contained in:
Tom Tromey
2011-07-08 16:02:59 +00:00
parent ae9cd41118
commit e0e9434c89
2 changed files with 8 additions and 0 deletions

View File

@ -521,6 +521,10 @@ execute_stack_op (struct dwarf_expr_context *ctx,
LONGEST offset;
struct value *result_val = NULL;
/* The DWARF expression might have a bug causing an infinite
loop. In that case, quitting is the only way out. */
QUIT;
switch (op)
{
case DW_OP_lit0: