src/os/solaris/vm/os_solaris.cpp

Print this page

        

@@ -1991,11 +1991,11 @@
             return true;
         }
       }
       if (dlinfo.dli_fname != NULL && dlinfo.dli_fbase != 0) {
         if (Decoder::decode((address)(addr - (address)dlinfo.dli_fbase),
-          dlinfo.dli_fname, buf, buflen, offset) == Decoder::no_error) {
+          buf, buflen, offset, dlinfo.dli_fname)) {
           return true;
         }
       }
       if (buf != NULL) buf[0] = '\0';
       if (offset != NULL) *offset  = -1;

@@ -2009,11 +2009,11 @@
         }
         if (offset != NULL) *offset = addr - (address)dlinfo.dli_saddr;
         return true;
       } else if (dlinfo.dli_fname != NULL && dlinfo.dli_fbase != 0) {
         if (Decoder::decode((address)(addr - (address)dlinfo.dli_fbase),
-          dlinfo.dli_fname, buf, buflen, offset) == Decoder::no_error) {
+          buf, buflen, offset, dlinfo.dli_fname)) {
           return true;
         }
       }
       if (buf != NULL) buf[0] = '\0';
       if (offset != NULL) *offset  = -1;