diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tapsets.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2009-02-10 Frank Ch. Eigler <fche@elastic.org> + + * tapsets.cxx (find_variable_and_frame_base): Tolerate -1 return + value from dwarf_getscope_die. + 2009-02-07 Josh Stone <jistone@redhat.com> * buildrun.cxx (compile_pass): Pull in autoconf options in a header diff --git a/tapsets.cxx b/tapsets.cxx index c8742fbd..615ba07b 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1761,7 +1761,7 @@ struct dwflpp if (sidx == nscopes) nscopes = dwarf_getscopes_die (scope_die, &scopes); - if (nscopes == 0) + if (nscopes <= 0) { throw semantic_error ("unable to find any scopes containing " + lex_cast_hex<string>(pc) |