From: Andrew Burgess <aburgess@redhat.com>
To: Simon Marchi <simon.marchi@efficios.com>, gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>
Subject: Re: [PATCH 0/6] Remove some trivial TYPE_* macros
Date: Mon, 16 Mar 2026 17:16:21 +0000 [thread overview]
Message-ID: <87jyvb7l0a.fsf@redhat.com> (raw)
In-Reply-To: <20260316142645.26877-1-simon.marchi@efficios.com>
Simon Marchi <simon.marchi@efficios.com> writes:
> Here is another small batch of TYPE_* macro removal patches. I think
> that these are simple enough, I'd like to them out of the way first.
I'm happy to see these macros go. Hopefully in the future we'll start
making some more of these type fields private and provide read only
getters where that makes sense. But this seems like a step in the right
direction.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Thanks,
Andrew
>
> Simon Marchi (6):
> gdb: remove INIT_NONE_SPECIFIC
> gdb: remove TYPE_MAIN_TYPE
> gdb: remove TYPE_POINTER_TYPE
> gdb: remove TYPE_REFERENCE_TYPE
> gdb: remove TYPE_RVALUE_REFERENCE_TYPE
> gdb: remove TYPE_CHAIN
>
> gdb/ada-lang.c | 8 +---
> gdb/dwarf2/loc.c | 3 +-
> gdb/dwarf2/read.c | 4 +-
> gdb/eval.c | 4 +-
> gdb/gdbtypes.c | 94 +++++++++++++++++++++++------------------------
> gdb/gdbtypes.h | 30 +++++----------
> gdb/p-exp.y | 2 +-
> 7 files changed, 64 insertions(+), 81 deletions(-)
>
>
> base-commit: 07caff21f90c2f0c9b7b0e79b00b774be668594c
> --
> 2.53.0
next prev parent reply other threads:[~2026-03-16 17:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 14:25 Simon Marchi
2026-03-16 14:25 ` [PATCH 1/6] gdb: remove INIT_NONE_SPECIFIC Simon Marchi
2026-03-16 14:25 ` [PATCH 2/6] gdb: remove TYPE_MAIN_TYPE Simon Marchi
2026-03-16 14:25 ` [PATCH 3/6] gdb: remove TYPE_POINTER_TYPE Simon Marchi
2026-03-16 14:25 ` [PATCH 4/6] gdb: remove TYPE_REFERENCE_TYPE Simon Marchi
2026-03-16 14:25 ` [PATCH 5/6] gdb: remove TYPE_RVALUE_REFERENCE_TYPE Simon Marchi
2026-03-16 14:25 ` [PATCH 6/6] gdb: remove TYPE_CHAIN Simon Marchi
2026-03-16 17:16 ` Andrew Burgess [this message]
2026-03-16 17:28 ` [PATCH 0/6] Remove some trivial TYPE_* macros Simon Marchi
2026-03-19 14:34 ` Tom Tromey
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=87jyvb7l0a.fsf@redhat.com \
--to=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@efficios.com \
/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