public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Move dyn prop functions to be methods of struct type
@ 2020-04-30 18:17 Simon Marchi
  2020-04-30 18:17 ` [PATCH 1/4] gdb: make get_dyn_prop a method " Simon Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Simon Marchi @ 2020-04-30 18:17 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

I'd like to start cleaning up gdbtypes.h.  In particular, move some functions
and some of the TYPE_* macros to be methods of `struct type`.  To test the
waters, I started with the dynamic property stuff, which is quite isolated.

Simon Marchi (4):
  gdb: make get_dyn_prop a method of struct type
  gdb: make add_dyn_prop a method of struct type
  gdb: make remove_dyn_prop a method of struct type
  gdb: remove TYPE_DYN_PROP_LIST macro

 gdb/ada-lang.c      |  4 ++--
 gdb/ada-typeprint.c |  4 ++--
 gdb/dwarf2/read.c   | 12 +++++-----
 gdb/gdbtypes.c      | 56 ++++++++++++++++++++++-----------------------
 gdb/gdbtypes.h      | 45 ++++++++++++++++--------------------
 gdb/rust-lang.c     |  3 +--
 gdb/value.c         |  2 +-
 7 files changed, 59 insertions(+), 67 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-05-07 15:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 18:17 [PATCH 0/4] Move dyn prop functions to be methods of struct type Simon Marchi
2020-04-30 18:17 ` [PATCH 1/4] gdb: make get_dyn_prop a method " Simon Marchi
2020-04-30 18:17 ` [PATCH 2/4] gdb: make add_dyn_prop " Simon Marchi
2020-04-30 18:17 ` [PATCH 3/4] gdb: make remove_dyn_prop " Simon Marchi
2020-04-30 18:17 ` [PATCH 4/4] gdb: remove TYPE_DYN_PROP_LIST macro Simon Marchi
2020-05-07 13:58   ` Tom Tromey
2020-05-07 14:15     ` Simon Marchi
2020-05-07 13:59 ` [PATCH 0/4] Move dyn prop functions to be methods of struct type Tom Tromey
2020-05-07 14:07   ` Simon Marchi
2020-05-07 15:34     ` 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).