public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Python __repr__() methods and new __dict__ attributes
@ 2024-01-05 11:48 Andrew Burgess
  2024-01-05 11:48 ` [PATCH 1/6] gdb/python: hoist common invalid object repr code into py-utils.c Andrew Burgess
                   ` (6 more replies)
  0 siblings, 7 replies; 36+ messages in thread
From: Andrew Burgess @ 2024-01-05 11:48 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

This series is a bit of a mixed bag of Python API related changes.
Patches #2 and #3 do depend on #1, but #4, #5, and #6 are really quite
separate.  However, they're all pretty small, and are all just
extending existing functionality to cover more cases, so I've thrown
them all in together for now.

---

Andrew Burgess (6):
  gdb/python: hoist common invalid object repr code into py-utils.c
  gdb/python: add gdb.InferiorThread.__repr__() method
  gdb/python: add gdb.Frame.__repr__() method
  gdb/python: remove users ability to create gdb.Progspace objects
  gdb/python: Add gdb.Inferior.__dict__ attribute
  gdb/python: Add gdb.InferiorThread.__dict__ attribute

 gdb/NEWS                                  | 13 +++++
 gdb/doc/python.texi                       | 63 +++++++++++++++++++++++
 gdb/python/py-arch.c                      |  2 +-
 gdb/python/py-block.c                     |  2 +-
 gdb/python/py-breakpoint.c                |  4 +-
 gdb/python/py-connection.c                |  2 +-
 gdb/python/py-frame.c                     | 19 ++++++-
 gdb/python/py-inferior.c                  | 15 +++++-
 gdb/python/py-infthread.c                 | 36 +++++++++++--
 gdb/python/py-objfile.c                   |  2 +-
 gdb/python/py-progspace.c                 | 16 +-----
 gdb/python/py-symbol.c                    |  2 +-
 gdb/python/py-type.c                      |  3 +-
 gdb/python/py-unwind.c                    |  2 +-
 gdb/python/py-utils.c                     |  8 +++
 gdb/python/python-internal.h              | 13 +++++
 gdb/testsuite/gdb.python/py-frame.exp     |  8 +++
 gdb/testsuite/gdb.python/py-inferior.exp  | 52 ++++++++++++++++++-
 gdb/testsuite/gdb.python/py-infthread.exp |  3 +-
 gdb/testsuite/gdb.python/py-progspace.exp |  6 +++
 20 files changed, 238 insertions(+), 33 deletions(-)


base-commit: b7a5722ebdd24a0d15d56e96d30a649ea1d7b0ee
-- 
2.25.4


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

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

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05 11:48 [PATCH 0/6] Python __repr__() methods and new __dict__ attributes Andrew Burgess
2024-01-05 11:48 ` [PATCH 1/6] gdb/python: hoist common invalid object repr code into py-utils.c Andrew Burgess
2024-01-09 19:19   ` Tom Tromey
2024-01-05 11:48 ` [PATCH 2/6] gdb/python: add gdb.InferiorThread.__repr__() method Andrew Burgess
2024-01-05 11:48 ` [PATCH 3/6] gdb/python: add gdb.Frame.__repr__() method Andrew Burgess
2024-01-05 11:48 ` [PATCH 4/6] gdb/python: remove users ability to create gdb.Progspace objects Andrew Burgess
2024-01-05 13:27   ` Eli Zaretskii
2024-01-05 11:48 ` [PATCH 5/6] gdb/python: Add gdb.Inferior.__dict__ attribute Andrew Burgess
2024-01-05 13:33   ` Eli Zaretskii
2024-01-09 20:05   ` Tom Tromey
2024-01-05 11:48 ` [PATCH 6/6] gdb/python: Add gdb.InferiorThread.__dict__ attribute Andrew Burgess
2024-01-05 13:31   ` Eli Zaretskii
2024-01-09 20:11   ` Tom Tromey
2024-01-10 10:38     ` Andrew Burgess
2024-01-10 15:54 ` [PATCHv2 0/8] Python __repr__() methods and new __dict__ attributes Andrew Burgess
2024-01-09 17:32   ` [PATCH] gdb/python: New InferiorThread.ptid_string attribute Andrew Burgess
2024-01-09 18:50     ` Eli Zaretskii
2024-01-09 19:10     ` Tom Tromey
2024-01-12  9:39       ` [PUSHED] " Andrew Burgess
2024-01-10 15:54     ` [PATCH] " Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 1/8] gdb/python: hoist common invalid object repr code into py-utils.c Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 2/8] gdb/python: add gdb.InferiorThread.__repr__() method Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 3/8] gdb/python: add gdb.Frame.__repr__() method Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 4/8] gdb/python: remove users ability to create gdb.Progspace objects Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 5/8] gdb/python: Add gdb.Inferior.__dict__ attribute Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 6/8] gdb/python: Add gdb.InferiorThread.__dict__ attribute Andrew Burgess
2024-01-10 15:54   ` [PATCHv2 7/8] gdb/doc: add some notes on selecting suitable attribute names Andrew Burgess
2024-01-10 16:35     ` Eli Zaretskii
2024-01-11 10:48       ` Andrew Burgess
2024-01-11 10:56         ` Eli Zaretskii
2024-01-10 15:54   ` [PATCHv2 8/8] gdb/doc: update examples in gdb.Progspace and gdb.Objfile docs Andrew Burgess
2024-01-10 16:36     ` Eli Zaretskii
2024-01-10 18:08   ` [PATCHv2 0/8] Python __repr__() methods and new __dict__ attributes Tom Tromey
2024-01-12 13:44     ` Andrew Burgess
2024-01-12 14:57       ` Tom de Vries
2024-01-12 16:20         ` Andrew Burgess

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