I came upon a struct (called ngx_http_variable_value_t) in my GDB (debugger) session and I would like to print what fields it has in the console.
Is that possible?
I came upon a struct (called ngx_http_variable_value_t) in my GDB (debugger) session and I would like to print what fields it has in the console.
Is that possible?
p *((struct my_struct*) variable)
This will help you to print the details of struct in gdb