Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有struct一个
struct
typedef struct p { struct m **k; // ..other member } p_t; p_t *pi;
我需要pi->k[1]通过 gdb 访问该值。
pi->k[1]
请执行下列操作
(gdb) print pi->k[1]