I’m debugging a zig binary where there is a union with the following fields:
>>> p value.payload.
fun i32 only ref repr string struct union
Most of these are fine, but I can’t refer to the ‘struct’ field. Presumably ‘struct’ is a keyword in the gdb expression language.
>>> p value.payload.i32
$4 = -139623936
>>> p value.payload.struct
A syntax error in expression, near `struct'.
How can I print this field?