Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@efficios.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 2/2] gdb: remove TYPE_CODE macro
Date: Tue, 12 May 2020 17:23:09 -0400	[thread overview]
Message-ID: <50ee2267-6b7f-0a22-a57d-4bce0fbf42c3@efficios.com> (raw)
In-Reply-To: <20200511234831.23065-1-simon.marchi@efficios.com>

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

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.

[-- Attachment #2: 0002-gdb-remove-TYPE_CODE-macro.patch.xz --]
[-- Type: application/x-xz, Size: 81600 bytes --]

  parent reply	other threads:[~2020-05-12 21:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 23:48 [PATCH 1/2] gdb: add type::code / type::set_code Simon Marchi
2020-05-12 20:35 ` Tom Tromey
2020-05-12 20:38   ` Simon Marchi
2020-05-12 21:04     ` Tom Tromey
2020-05-12 21:15       ` Simon Marchi
2020-05-12 21:23 ` Simon Marchi [this message]
2020-05-13 19:24   ` [PATCH 2/2] gdb: remove TYPE_CODE macro Tom Tromey
2020-05-14 17:59     ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50ee2267-6b7f-0a22-a57d-4bce0fbf42c3@efficios.com \
    --to=simon.marchi@efficios.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox