AW: [RFC, patch] ptype bitfields show bitpos and bitsize

Leutwein Tobias (BEG-PT/ESB1)
2012-01-26T09:18:56Z

After running the testsuite I saw that

(gdb) ptype int

returns
Attempt to use a type name as an expression

instead of
type = int

The change at eval.c leads to this change of the behaviour.

So I have to make some changes to the patch. If it's possible, I also want to move the content of the c_type_print_base_through_value function to the c_type_print_base function.

I think end of next week I will have the changes.

> -----Ursprüngliche Nachricht-----
> Von: Jan Kratochvil [mailto:jan.kratochvil@redhat.com]
> Gesendet: Mittwoch, 25. Januar 2012 12:23
> An: Leutwein Tobias (BEG-PT/ESB1)
> Cc: gdb-patches@sourceware.org
> Betreff: Re: [RFC, patch] ptype bitfields show bitpos and bitsize
>
> On Wed, 25 Jan 2012 12:17:48 +0100, Leutwein Tobias (BEG-PT/ESB1)
> wrote:
> > I have made some changes to the GDB sources to get more information's
> about
> > bitfield variables through the ptype command.
>
> That's great. Just please read gdb/CONTRIBUTE, missing at least FSF
> ChangeLog
> and such change also needs to be convered in gdb/testsuite/.
>
>
> Thanks,
> Jan