public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Remove accessor macros from linespec.c
@ 2024-06-06 14:45 Tom Tromey
  2024-06-06 14:45 ` [PATCH 1/6] Remove PARSER_STATE macro Tom Tromey
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Tom Tromey @ 2024-06-06 14:45 UTC (permalink / raw)
  To: gdb-patches

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>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-12 16:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-06 14:45 [PATCH 0/6] Remove accessor macros from linespec.c Tom Tromey
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

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).