This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

定义结构体类型变量,但未显式分配内存,软件仿真出现问题



定义了结构体类型PING_PANG_T如下,并定义了结构体指针变量ping_pang_handle,未显式分配存储空间,程序编译没有问题,但软件仿真时变量观察窗口出现如下信息:memory map prevented reading of target memory at 0x######,变量type为struct unknow,程序因此不能按预先逻辑运行。是和原因?