This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]