[PATCH 2/2] gdb: remove TYPE_CODE macro

Simon Marchi simon.marchi@efficios.com
Tue May 12 21:23:09 GMT 2020


The patch was too big to go through (it said it was waiting for moderation, so maybe
it will go through one day).  Here it is as an attachment.  Here's the commit message and
ChangeLog for your convenience:

Remove TYPE_CODE, changing all the call sites to use type::code
directly.  This is quite a big diff, but this was mostly done using sed
and coccinelle.  A few call sites were done by hand.

gdb/ChangeLog:

	* gdbtypes.h (TYPE_CODE): Remove.  Change all call sites to use
	type::code instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gdb-remove-TYPE_CODE-macro.patch.xz
Type: application/x-xz
Size: 81600 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20200512/9cd4fe9e/attachment-0001.xz>


More information about the Gdb-patches mailing list