From 955925b709fcf1aeaa667423ed7b639dcfd94478 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 10 Feb 2009 15:05:22 -0500 Subject: fix segv that sometimes occurs on buildok/nfs-all-probes.stp on 2.6.29ish kernels --- tapsets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tapsets.cxx') 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(pc) -- cgit