Commit 9c5242a6 authored by Jean-Claude BAU's avatar Jean-Claude BAU

wrs_shm_dump: Display share memory header

parent 82c24fc9
......@@ -339,6 +339,8 @@ struct dump_info wrs_arch_data_info [] = {
};
#endif
extern struct dump_info shm_head [5];
int dump_ppsi_mem(struct wrs_shm_head *head)
{
struct pp_globals *ppg;
......@@ -355,6 +357,9 @@ int dump_ppsi_mem(struct wrs_shm_head *head)
head->version, WRS_PPSI_SHMEM_VERSION);
return -1;
}
/* dump shmem header*/
dump_many_fields(head, shm_head, ARRAY_SIZE(shm_head),"ppsi.shm");
ppg = (void *)head + head->data_off;
dump_many_fields(ppg, ppg_info, ARRAY_SIZE(ppg_info),"ppsi.globalDS");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment