public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Replace symbols' LANGUAGE macros with member functions
@ 2019-12-14 23:30 cbiesinger
  2019-12-14 23:30 ` [PATCH 3/3] Use a member function to set a symbol's language cbiesinger
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: cbiesinger @ 2019-12-14 23:30 UTC (permalink / raw)
  To: gdb-patches; +Cc: Christian Biesinger

From: Christian Biesinger <cbiesinger@google.com>

This is part of my longer-term plan to get rid of all the accessor and
setter macros in favor of member functions. The advantages are that this
is easier to read, leads to shorter lines, and it's easier to see which
functions are available on a certain type.

Christian Biesinger (3):
  Use symbol_set_language to set a symbol's language
  Use an accessor function for general_symbol_info::language
  Use a member function to set a symbol's language

 gdb/ada-exp.y               |  2 +-
 gdb/ada-lang.c              | 13 +++----
 gdb/ax-gdb.c                |  2 +-
 gdb/block.c                 | 10 ++---
 gdb/coffread.c              |  4 +-
 gdb/cp-namespace.c          |  2 +-
 gdb/ctfread.c               |  4 +-
 gdb/dbxread.c               |  4 +-
 gdb/dictionary.c            | 10 ++---
 gdb/dwarf-index-write.c     |  4 +-
 gdb/dwarf2read.c            |  6 +--
 gdb/findvar.c               |  2 +-
 gdb/ft32-tdep.c             |  2 +-
 gdb/go-lang.c               |  2 +-
 gdb/language.c              |  2 +-
 gdb/language.h              |  2 +-
 gdb/linespec.c              |  6 +--
 gdb/mdebugread.c            |  7 ++--
 gdb/mi/mi-cmd-stack.c       |  2 +-
 gdb/minsyms.c               |  9 ++---
 gdb/moxie-tdep.c            |  2 +-
 gdb/parse.c                 |  2 +-
 gdb/psymtab.c               | 19 +++++-----
 gdb/python/py-framefilter.c |  8 ++--
 gdb/stabsread.c             | 14 +++----
 gdb/stack.c                 | 14 +++----
 gdb/symfile.c               |  2 +-
 gdb/symtab.c                | 74 ++++++++++++++++++-------------------
 gdb/symtab.h                | 21 +++++------
 gdb/xstormy16-tdep.c        |  2 +-
 30 files changed, 120 insertions(+), 133 deletions(-)

-- 
2.24.1.735.g03f4e72817-goog

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

end of thread, other threads:[~2019-12-16  6:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14 23:30 [PATCH 0/3] Replace symbols' LANGUAGE macros with member functions cbiesinger
2019-12-14 23:30 ` [PATCH 3/3] Use a member function to set a symbol's language cbiesinger
2019-12-14 23:30 ` [PATCH 1/3] Use symbol_set_language " cbiesinger
2019-12-14 23:30 ` [PATCH 2/3] Use an accessor function for general_symbol_info::language cbiesinger
2019-12-15  2:38 ` [PATCH 0/3] Replace symbols' LANGUAGE macros with member functions Simon Marchi
2019-12-16  6:47   ` Christian Biesinger via gdb-patches

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