c - printing structure element in gdb -


(gdb) p/d &(((pcm_pkt_t*)0)->rx_timestamp) $12 = 236 

what print? print size of rx_timestamp or value? offline analysis netbsd kernel.

here address of member of structure located @ address 0 (the ((pcm_pkt_t*)0)). have offset of member inside structure (member offset address of member - start address of structure 0 here).


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -