]> sourceware.org Git - systemtap.git/commitdiff
Fix PR22117 by updating the translator.
authorDavid Smith <dsmith@redhat.com>
Fri, 8 Sep 2017 19:05:37 +0000 (14:05 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 8 Sep 2017 19:05:37 +0000 (14:05 -0500)
* dwflpp.cxx (dwflpp::translate_base_ref): Fix number of bytes comparison
  to avoid "noncontiguous location for base fetch" semantic error on
  32-bit systems.

dwflpp.cxx

index bf4ff930c6ffba51c81766bb8baf4b7cbeea4739..c4487db34498a2afca37416d2441afbba009f33f 100644 (file)
@@ -3586,7 +3586,7 @@ dwflpp::translate_base_ref (location_context &ctx, Dwarf_Word byte_size,
 
     case loc_noncontiguous:
       loc = loc->pieces;
-      if (loc && loc->byte_size >= byte_size)
+      if (loc && loc->byte_size < byte_size)
        {
          ctx.locations.push_back(loc);
          goto restart;
This page took 1.412505 seconds and 5 git commands to generate.