public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/6] Remove accessor macros from linespec.c
Date: Thu, 06 Jun 2024 08:45:43 -0600	[thread overview]
Message-ID: <20240606-linespec-no-macros-v1-0-a748ab917e12@adacore.com> (raw)

This series removes the accessor macros from linespec.c.  This kind of
macro was a staple of old-style gdb, but I don't think they provide
any real value over direct access to fields.

---
Tom Tromey (6):
      Remove PARSER_STATE macro
      Remove PARSER_RESULT macro
      Remove PARSER_EXPLICIT macro
      Remove PARSER_STREAM macro
      Remove LS_TOKEN_KEYWORD macro
      Remove LS_TOKEN_STOKEN macro

 gdb/linespec.c | 395 +++++++++++++++++++++++++++------------------------------
 1 file changed, 190 insertions(+), 205 deletions(-)
---
base-commit: 6ba072193126c833c4742e7dd5dfb6cff4b4ef18
change-id: 20240606-linespec-no-macros-7ef0939915b8

Best regards,
-- 
Tom Tromey <tromey@adacore.com>


             reply	other threads:[~2024-06-06 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06 14:45 Tom Tromey [this message]
2024-06-06 14:45 ` [PATCH 1/6] Remove PARSER_STATE macro Tom Tromey
2024-06-06 14:45 ` [PATCH 2/6] Remove PARSER_RESULT macro Tom Tromey
2024-06-06 14:45 ` [PATCH 3/6] Remove PARSER_EXPLICIT macro Tom Tromey
2024-06-06 14:45 ` [PATCH 4/6] Remove PARSER_STREAM macro Tom Tromey
2024-06-06 14:45 ` [PATCH 5/6] Remove LS_TOKEN_KEYWORD macro Tom Tromey
2024-06-06 14:45 ` [PATCH 6/6] Remove LS_TOKEN_STOKEN macro Tom Tromey
2024-06-12 16:03 ` [PATCH 0/6] Remove accessor macros from linespec.c Keith Seitz

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=20240606-linespec-no-macros-v1-0-a748ab917e12@adacore.com \
    --to=tromey@adacore.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).