projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9cd41
)
* dwarf2expr.c (execute_stack_op): Add QUIT.
author
Tom Tromey
<tromey@redhat.com>
Fri, 8 Jul 2011 16:02:59 +0000
(16:02 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Fri, 8 Jul 2011 16:02:59 +0000
(16:02 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/dwarf2expr.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
7a76008
..
e33a1da
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
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:
diff --git
a/gdb/dwarf2expr.c
b/gdb/dwarf2expr.c
index
c5ea85d
..
4522eb8
100644
(file)
--- a/
gdb/dwarf2expr.c
+++ b/
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: