Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] Core file Python API
@ 2025-09-02 16:03 Andrew Burgess
  2025-09-02 16:03 ` [PATCH 1/3] gdb/python: introduce gdb.Corefile API Andrew Burgess
                   ` (3 more replies)
  0 siblings, 4 replies; 38+ messages in thread
From: Andrew Burgess @ 2025-09-02 16:03 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

This series extends the Python API to allow users to query the
currently loaded core file, and to find out things about the core
file.

There's probably more features we could offer, but I think this is a
reasonable starting point.

All feedback welcome.

Thanks,
Andrew

---

Andrew Burgess (3):
  gdb/python: introduce gdb.Corefile API
  gdb: make structured core file mappings processing global
  gdb/python: add Corefile.mapped_files method

 gdb/Makefile.in                          |   1 +
 gdb/NEWS                                 |  21 +
 gdb/corelow.c                            | 225 ++++----
 gdb/doc/python.texi                      | 110 ++++
 gdb/gdbcore.h                            |  43 ++
 gdb/observable.c                         |   1 +
 gdb/observable.h                         |   6 +
 gdb/python/py-corefile.c                 | 700 +++++++++++++++++++++++
 gdb/python/py-inferior.c                 |  18 +
 gdb/python/python-internal.h             |   8 +
 gdb/testsuite/gdb.python/py-corefile.c   |  25 +
 gdb/testsuite/gdb.python/py-corefile.exp | 210 +++++++
 gdb/testsuite/gdb.python/py-corefile.py  | 144 +++++
 13 files changed, 1411 insertions(+), 101 deletions(-)
 create mode 100644 gdb/python/py-corefile.c
 create mode 100644 gdb/testsuite/gdb.python/py-corefile.c
 create mode 100644 gdb/testsuite/gdb.python/py-corefile.exp
 create mode 100644 gdb/testsuite/gdb.python/py-corefile.py


base-commit: 7bdcd19cc6d8137ecdca83571946d6ffb7b4be26
-- 
2.47.1


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

end of thread, other threads:[~2025-10-17 13:33 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-02 16:03 [PATCH 0/3] Core file Python API Andrew Burgess
2025-09-02 16:03 ` [PATCH 1/3] gdb/python: introduce gdb.Corefile API Andrew Burgess
2025-09-02 16:26   ` Eli Zaretskii
2025-09-16 17:25   ` Tom Tromey
2025-09-23 13:50     ` Andrew Burgess
2025-09-02 16:03 ` [PATCH 2/3] gdb: make structured core file mappings processing global Andrew Burgess
2025-09-16 17:28   ` Tom Tromey
2025-09-02 16:03 ` [PATCH 3/3] gdb/python: add Corefile.mapped_files method Andrew Burgess
2025-09-16 17:54   ` Tom Tromey
2025-09-23 13:52     ` Andrew Burgess
2025-09-23 13:44 ` [PATCHv2 0/3] Core file Python API Andrew Burgess
2025-09-23 13:44   ` [PATCHv2 1/3] gdb/python: introduce gdb.Corefile API Andrew Burgess
2025-10-03 18:56     ` Tom Tromey
2025-10-06  8:54       ` Andrew Burgess
2025-10-06 15:39         ` Tom Tromey
2025-10-06 16:13           ` Andrew Burgess
2025-09-23 13:44   ` [PATCHv2 2/3] gdb: make structured core file mappings processing global Andrew Burgess
2025-10-13 13:57     ` Lancelot SIX
2025-10-13 14:37       ` Andrew Burgess
2025-10-13 15:16         ` Six, Lancelot
2025-10-14  9:12         ` Lancelot SIX
2025-09-23 13:44   ` [PATCHv2 3/3] gdb/python: add Corefile.mapped_files method Andrew Burgess
2025-10-03 19:15     ` Tom Tromey
2025-10-07  6:24       ` Tom de Vries
2025-10-07 12:21         ` Andrew Burgess
2025-10-07 13:08           ` Tom de Vries
2025-10-07 13:26             ` Andrew Burgess
2025-10-07 14:38               ` Andrew Burgess
2025-10-07 15:43                 ` Tom de Vries
2025-10-07 16:28                   ` Andrew Burgess
2025-10-08  9:29                     ` Andrew Burgess
2025-10-08 10:36                       ` Tom de Vries
2025-10-08 14:14                         ` Andrew Burgess
2025-10-08 15:43                           ` Tom de Vries
2025-10-08 16:03                             ` Andrew Burgess
2025-10-16 20:00           ` Tom Tromey
2025-10-17 10:02             ` Andrew Burgess
2025-10-17 13:32               ` Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox