Browse Source

* dwarf2expr.c (execute_stack_op): Add QUIT.

binutils-2_22-branch
Tom Tromey 15 years ago
parent
commit
e0e9434c89
  1. 4
      gdb/ChangeLog
  2. 4
      gdb/dwarf2expr.c

4
gdb/ChangeLog

@ -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>
Revert:

4
gdb/dwarf2expr.c

@ -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:

Loading…
Cancel
Save