public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Remove remaining ALL_ iterator macros
@ 2023-04-16 16:28 Tom Tromey
  2023-04-16 16:28 ` [PATCH 1/4] Rename objfile::sections Tom Tromey
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Tom Tromey @ 2023-04-16 16:28 UTC (permalink / raw)
  To: gdb-patches

This series finishes my long-term goal of removing all the ALL_*
iterator macros from gdb.  It replaces the remaining ones with
iterator ranges so that for-each can be used instead.

Regression tested on x86-64 Fedora 36.

---
Tom Tromey (4):
      Rename objfile::sections
      Remove ALL_OBJFILE_OSECTIONS
      Remove ALL_DICT_SYMBOLS
      Remove ALL_BREAKPOINTS_SAFE

 gdb/arm-tdep.c        |   4 +-
 gdb/block.h           |   4 ++
 gdb/breakpoint.c      | 134 ++++++++++++++++++++-----------------------
 gdb/buildsym.c        |  15 ++---
 gdb/dictionary.h      |  55 ++++++++++++++----
 gdb/exec.c            |   4 +-
 gdb/gcore.c           |   6 +-
 gdb/hppa-bsd-tdep.c   |  59 +++++++++----------
 gdb/hppa-linux-tdep.c |  64 ++++++++++-----------
 gdb/hppa-tdep.c       |  29 +++++-----
 gdb/ia64-tdep.c       |  99 ++++++++++++++++----------------
 gdb/machoread.c       |   7 +--
 gdb/maint.c           |  10 ++--
 gdb/minsyms.c         |   4 +-
 gdb/objfiles.c        |  38 +++++--------
 gdb/objfiles.h        | 155 +++++++++++++++++++++++++++++++++++---------------
 gdb/printcmd.c        |   3 +-
 gdb/solib-aix.c       |   8 +--
 gdb/solib-dsbt.c      |   5 +-
 gdb/solib-frv.c       |   5 +-
 gdb/symfile.c         |  38 +++++--------
 gdb/symmisc.c         |   6 +-
 gdb/symtab.c          |   8 +--
 gdb/xcoffread.c       |   3 +-
 gdb/xstormy16-tdep.c  |  53 ++++++++---------
 gdb/z80-tdep.c        |  16 +++---
 26 files changed, 435 insertions(+), 397 deletions(-)
---
base-commit: b01ee1bf90fa6c0d6c0a23367433e5c1f0de87c0
change-id: 20230416-remove-all-macros-8317d531f169

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


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

end of thread, other threads:[~2023-05-08 14:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-16 16:28 [PATCH 0/4] Remove remaining ALL_ iterator macros Tom Tromey
2023-04-16 16:28 ` [PATCH 1/4] Rename objfile::sections Tom Tromey
2023-04-17 17:57   ` Keith Seitz
2023-05-07 18:43     ` Tom Tromey
2023-04-16 16:28 ` [PATCH 2/4] Remove ALL_OBJFILE_OSECTIONS Tom Tromey
2023-04-16 16:28 ` [PATCH 3/4] Remove ALL_DICT_SYMBOLS Tom Tromey
2023-04-16 16:28 ` [PATCH 4/4] Remove ALL_BREAKPOINTS_SAFE Tom Tromey
2023-05-08  2:24   ` Simon Marchi
2023-05-08 14:59     ` Simon Marchi

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