This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: unbreak typedefed bitfield
On Mon, Dec 21, 2009 at 10:08:38AM -0700, Tom Tromey wrote:
> You could try:
>
> #define TYPE_LENGTH(thistype) check_typedef (thistype)->length
>
> While this is probably insufficient to fix the check_typedef problem in
> general, it may help with the most common source of problems.
TYPE_LENGTH (type) = DW_UNSND (attr);
That's likely to cause some trouble.
--
Daniel Jacobowitz
CodeSourcery