Print this page
11238 librtld_db demos should work with gcc 7

*** 374,384 **** if (bpt->bl_flags & MASK_BP_SPECIAL) handle_sp_break(ph); if (ph->pp_flags & FLG_PP_LMAPS) { ! if (get_linkmaps(ph) != PS_OK) (void) fprintf(stderr, "problem loading linkmaps\n"); } return (bpt->bl_flags); } --- 374,384 ---- if (bpt->bl_flags & MASK_BP_SPECIAL) handle_sp_break(ph); if (ph->pp_flags & FLG_PP_LMAPS) { ! if (get_linkmaps(ph) != RET_OK) (void) fprintf(stderr, "problem loading linkmaps\n"); } return (bpt->bl_flags); }
*** 497,507 **** 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) (void) fprintf(stderr, "problem loading linkmaps\n"); } return (RET_OK); } --- 497,507 ---- 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) != RET_OK) (void) fprintf(stderr, "problem loading linkmaps\n"); } return (RET_OK); }