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] Change frame_filter_flags to use DEF_ENUM_FLAGS_TYPE


On 04/28/2017 04:43 AM, Sergio Durigan Junior wrote:
> On Thursday, April 27 2017, Tom Tromey wrote:
> 
>> This changes frame_filter_flags to use DEF_ENUM_FLAGS_TYPE, and
>> updates all the uses.  It also changes the enum constants to use <<,
>> as suggested by Sergio.
> 
> Hey, that's awesome, Tom.  Thanks for doing this; also, very good to use
> DEF_ENUM_FLAGS_TYPE.  This will make it prettier when printing these
> values on GDB.

(and catch misuses at compile time.)

> 
> LGTM.

To me too.

Thanks,
Pedro Alves


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