* dwarf2expr.c (execute_stack_op): Add QUIT.
This commit is contained in:
parent
ae9cd41118
commit
e0e9434c89
|
@ -1,3 +1,7 @@
|
||||||
|
2011-07-08 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* dwarf2expr.c (execute_stack_op): Add QUIT.
|
||||||
|
|
||||||
2011-07-07 Hui Zhu <teawater@gmail.com>
|
2011-07-07 Hui Zhu <teawater@gmail.com>
|
||||||
|
|
||||||
Revert:
|
Revert:
|
||||||
|
|
|
@ -521,6 +521,10 @@ execute_stack_op (struct dwarf_expr_context *ctx,
|
||||||
LONGEST offset;
|
LONGEST offset;
|
||||||
struct value *result_val = NULL;
|
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)
|
switch (op)
|
||||||
{
|
{
|
||||||
case DW_OP_lit0:
|
case DW_OP_lit0:
|
||||||
|
|
Loading…
Reference in New Issue