Print this page
11238 librtld_db demos should work with gcc 7

@@ -374,11 +374,11 @@
 
         if (bpt->bl_flags & MASK_BP_SPECIAL)
                 handle_sp_break(ph);
 
         if (ph->pp_flags & FLG_PP_LMAPS) {
-                if (get_linkmaps(ph) != PS_OK)
+                if (get_linkmaps(ph) != RET_OK)
                         (void) fprintf(stderr, "problem loading linkmaps\n");
         }
 
         return (bpt->bl_flags);
 }

@@ -497,11 +497,11 @@
         oper = PRCFAULT;
         if (writev(ph->pp_ctlfd, piov, 1) == -1)
                 perr("stn: PRCFAULT");
 
         if ((flgs & FLG_SN_VERBOSE) && (ph->pp_flags & FLG_PP_LMAPS)) {
-                if (get_linkmaps(ph) != PS_OK)
+                if (get_linkmaps(ph) != RET_OK)
                         (void) fprintf(stderr, "problem loading linkmaps\n");
         }
 
         return (RET_OK);
 }