From: Tom de Vries <tdevries@suse.de>
To: Andrew Burgess <aburgess@redhat.com>, Tom Tromey <tom@tromey.com>,
Simon Marchi <simark@simark.ca>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdb] Use using instead of typedef
Date: Thu, 11 Jun 2026 08:57:48 +0200 [thread overview]
Message-ID: <9b6adbb6-7d5c-4125-a77a-dfd393766beb@suse.de> (raw)
In-Reply-To: <871peeqtsi.fsf@redhat.com>
On 6/10/26 5:50 PM, Andrew Burgess wrote:
> Tom Tromey <tom@tromey.com> writes:
>
>>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
>>
>> Tom> After commit 1eed06ae51d ("[gdbsupport] Use using instead of typedef in
>> Tom> next_iterator") I wondered if I could do something similar using sed.
>>
>> First of all, thanks for doing this.
>>
>> I don't know how anyone else feels but I normally find 'using' simpler
>> to understand, I suppose because I don't need to try to decode the right
>> hand side to find the name being defined -- it's right there before the
>> '='.
>>
>> So, I am in favor of this patch. I'm going to approve it but I think
>> you should wait for a bit before checking it in, in case someone wants
>> to object.
>
> I also think this is a good idea.
>
> +1
>
Thanks all for the upvotes. I've pushed this.
Thanks,
- Tom
> Thanks,
> Andrew
>
next prev parent reply other threads:[~2026-06-11 6:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-09 16:22 Tom de Vries
2026-06-09 16:48 ` Tom Tromey
2026-06-09 22:37 ` Simon Marchi
2026-06-10 15:50 ` Andrew Burgess
2026-06-11 6:57 ` Tom de Vries [this message]
2026-06-12 11:00 ` Lancelot SIX
2026-06-12 11:01 ` Tom de Vries
2026-06-12 11:12 ` Lancelot SIX
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=9b6adbb6-7d5c-4125-a77a-dfd393766beb@suse.de \
--to=tdevries@suse.de \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=simark@simark.ca \
--cc=tom@tromey.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