On Thursday, August 21 2014, Emilio Lopes wrote:
> I'm having trouble trying to display structure members with names like
> C keywords. GDB refuses to display the member called `complex' in
> this case.
Hello Emilio,
> Here is the structure:
>
> (gdb) p g_global_paramv[37].info
> $27 = {
> complex = {
> paramc = 20,
> paramv = 0xd14f4 <_sys_opt>
> },
> cmd = {
> cmd_fct = 0x14,
> wrap = 0xd14f4 <_sys_opt>
> },
> alias = {
> type = 20,
> link = 0xd14f4 <_sys_opt>
> }
> }
I could not reproduce the problem here. Would you mind providing the
structure declaration, or at least a reproducer?
Thanks,
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
_______________________________________________
bug-gdb mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gdb