projects
/
binutils-gdb.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 7a76008dd87b4a1843edef167235e46fe5f2afae..e33a1da13f5952465d975a9665e95dd9eaed27a0 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 c5ea85da802548d2f96cbecbf830bbfa8ab2cba0..4522eb8b0f4c1e6d920622e9bbd9779c679fec06 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: