[PATCHv5 1/4] gdb: Convert enum range_type to a bit field enum

Tom Tromey tom@tromey.com
Tue Oct 20 20:16:02 GMT 2020


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> This feels like its getting a little out of hand, so in this commit I
Andrew> switch the range_type enum over to being a flags style enum.  There's
Andrew> one entry to represent no flags being set, then 3 flags to represent
Andrew> the 3 ideas above.  Adding stride information will require adding only
Andrew> one more enum flag.

This seems like a good idea to me.
Thank you.

Tom


More information about the Gdb-patches mailing list