public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Python Unwinders and Inline Frames
@ 2020-06-17 17:38 Andrew Burgess
  2020-06-17 17:38 ` [PATCH 1/5] gdb: Remove deprecated_set_gdbarch_data Andrew Burgess
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Andrew Burgess @ 2020-06-17 17:38 UTC (permalink / raw)
  To: gdb-patches

I ran into an issue with Python frame unwinders and inline frames.
The fix for which is in patch #5 of this series.

In order to write a test for patch #5 I needed some extra
functionality from the Python API, which resulted in patches #2 - #4.

And while writing patch #2 I noticed the cleanup that's in patch #1.

Feedback welcome,

Thanks,
Andrew


---

Andrew Burgess (5):
  gdb: Remove deprecated_set_gdbarch_data
  gdb/python: Add architecture method to gdb.PendingFrame
  gdb/python: Add gdb.Architecture.registers method
  gdb/python: New method to access list of register groups
  gdb: Fix Python unwinders and inline frames

 gdb/ChangeLog                                 |  61 +++
 gdb/Makefile.in                               |   1 +
 gdb/NEWS                                      |  10 +
 gdb/doc/ChangeLog                             |  21 +
 gdb/doc/gdb.texinfo                           |   1 +
 gdb/doc/python.texi                           |  70 +++
 gdb/findvar.c                                 |  28 +-
 gdb/gdbarch.c                                 |  22 +-
 gdb/gdbarch.h                                 |   3 -
 gdb/gdbarch.sh                                |  25 +-
 gdb/ia64-libunwind-tdep.c                     |  15 +-
 gdb/python/py-arch.c                          |  45 ++
 gdb/python/py-registers.c                     | 464 ++++++++++++++++++
 gdb/python/py-unwind.c                        |  20 +
 gdb/python/python-internal.h                  |   6 +
 gdb/python/python.c                           |   1 +
 gdb/testsuite/ChangeLog                       |  19 +
 .../gdb.python/py-arch-reg-groups.exp         |  87 ++++
 .../gdb.python/py-arch-reg-names.exp          |  87 ++++
 gdb/testsuite/gdb.python/py-unwind-inline.c   |  37 ++
 gdb/testsuite/gdb.python/py-unwind-inline.exp |  49 ++
 gdb/testsuite/gdb.python/py-unwind-inline.py  |  71 +++
 gdb/testsuite/gdb.python/py-unwind.py         |  10 +-
 gdb/user-regs.c                               |  18 +-
 24 files changed, 1097 insertions(+), 74 deletions(-)
 create mode 100644 gdb/python/py-registers.c
 create mode 100644 gdb/testsuite/gdb.python/py-arch-reg-groups.exp
 create mode 100644 gdb/testsuite/gdb.python/py-arch-reg-names.exp
 create mode 100644 gdb/testsuite/gdb.python/py-unwind-inline.c
 create mode 100644 gdb/testsuite/gdb.python/py-unwind-inline.exp
 create mode 100644 gdb/testsuite/gdb.python/py-unwind-inline.py

-- 
2.25.4


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

end of thread, other threads:[~2020-07-06 17:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 17:38 [PATCH 0/5] Python Unwinders and Inline Frames Andrew Burgess
2020-06-17 17:38 ` [PATCH 1/5] gdb: Remove deprecated_set_gdbarch_data Andrew Burgess
2020-06-18 21:11   ` Tom Tromey
2020-06-17 17:38 ` [PATCH 2/5] gdb/python: Add architecture method to gdb.PendingFrame Andrew Burgess
2020-06-17 18:20   ` Eli Zaretskii
2020-06-18 21:18   ` Tom Tromey
2020-06-17 17:38 ` [PATCH 3/5] gdb/python: Add gdb.Architecture.registers method Andrew Burgess
2020-06-17 18:25   ` Eli Zaretskii
2020-06-18 21:24   ` Tom Tromey
2020-06-17 17:38 ` [PATCH 4/5] gdb/python: New method to access list of register groups Andrew Burgess
2020-06-17 18:27   ` Eli Zaretskii
2020-06-17 18:40   ` Christian Biesinger
2020-06-18  8:44     ` Andrew Burgess
2020-06-18 21:27   ` Tom Tromey
2020-06-17 17:38 ` [PATCH 5/5] gdb: Fix Python unwinders and inline frames Andrew Burgess
2020-06-17 21:14   ` Luis Machado
2020-06-18  8:25     ` Andrew Burgess
2020-06-18 10:29       ` Luis Machado
2020-06-18 17:42         ` Andrew Burgess
2020-06-18 21:35   ` Tom Tromey
2020-06-22 15:47   ` Andrew Burgess
2020-06-23 14:16     ` Luis Machado
2020-07-02 21:07     ` Andrew Burgess
2020-07-06 17:43       ` 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).