bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying structure members named like C keywords.


From: Sergio Durigan Junior
Subject: Re: Displaying structure members named like C keywords.
Date: Thu, 21 Aug 2014 11:17:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]