修改换库后出现的崩溃问题,编译脚本修改,进程控制脚本添加调试
This commit is contained in:
@@ -232,9 +232,20 @@ rptinfo_t* find_rptinfo_from_net_rcb_info(MVL_NET_INFO *net_info,RCB_INFO *rcb_i
|
||||
rptinfo_t *rptinfo = NULL;
|
||||
int cpuno,rpt_no;
|
||||
|
||||
chnl_usr = net_info->user_info;
|
||||
if (net_info == NULL || rcb_info == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
chnl_usr = (chnl_usr_t*)net_info->user_info;
|
||||
if (chnl_usr == NULL || chnl_usr->chnl == NULL || chnl_usr->chnl->ied == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ied = chnl_usr->chnl->ied;
|
||||
ied_usr = GET_IEDEXT_ADDR(ied);
|
||||
if (ied_usr == NULL || ied_usr->LD_info == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
for(cpuno=0 ; cpuno<ied->cpucount; cpuno++) {
|
||||
LD_info = &(ied_usr->LD_info[cpuno]);
|
||||
|
||||
Reference in New Issue
Block a user