[PATCH 2/2] gdb: remove TYPE_CODE macro

Simon Marchi simark@simark.ca
Thu May 14 17:59:49 GMT 2020


On 2020-05-13 3:24 p.m., Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
> 
> Simon> The patch was too big to go through (it said it was waiting for moderation, so maybe
> Simon> it will go through one day).  Here it is as an attachment.  Here's the commit message and
> Simon> ChangeLog for your convenience:
> 
> Simon> Remove TYPE_CODE, changing all the call sites to use type::code
> Simon> directly.  This is quite a big diff, but this was mostly done using sed
> Simon> and coccinelle.  A few call sites were done by hand.
> 
> I agree this is a good direction.  I'm not concerned about the contents
> of the patch, I spot-checked it at random and it seemed fine.
> 
> thanks,
> Tom
> 

Thanks for taking a look, I've pushed the two patches.  I'll follow with conversion
of the other properties, one step at a time.

Simon


More information about the Gdb-patches mailing list