Re: [PATCH 03/16] gdb: convert address_class_name_to_type_flags to address_class_name_to_id

Tom Tromey <[email protected]> Tue, 21 Jul 2026 12:10:02 -0600
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
>>>>> Tankut Baris Aktemur <[email protected]> writes:

> This is the dual of the previous patch, where we refactor the gdbarch
> method 'address_class_name_to_type_flags'.  We make it take a name and
> return an address class id, instead of a whole type instance flags.

> In one case, there is hardcoded `aclass << 4` to convert an id to type
> instance flags.  This will go away in a future patch.

This seems fine to me.  Thanks.
Approved-By: Tom Tromey <[email protected]>

Tom