Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow gdb.RegisterDescriptors to be used in read_register calls
@ 2020-07-24  9:57 Andrew Burgess
  2020-07-24  9:57 ` [PATCH 1/2] gdb: Add a find method for RegisterDescriptorIterator Andrew Burgess
  2020-07-24  9:57 ` [PATCH 2/2] gdb/python: make more use of RegisterDescriptors Andrew Burgess
  0 siblings, 2 replies; 9+ messages in thread
From: Andrew Burgess @ 2020-07-24  9:57 UTC (permalink / raw)
  To: gdb-patches

Now that we have Python RegisterDescriptor objects available we can
improve an ugly dependency on GDBs internal register numbering that is
currently exposed in the Python API.  See patch #2 for more details.

Thanks,
Andrew

---

Andrew Burgess (2):
  gdb: Add a find method for RegisterDescriptorIterator
  gdb/python: make more use of RegisterDescriptors

 gdb/ChangeLog                                 | 24 +++++
 gdb/doc/ChangeLog                             | 11 +++
 gdb/doc/python.texi                           | 50 +++++++---
 gdb/python/py-frame.c                         | 22 +++--
 gdb/python/py-registers.c                     | 92 ++++++++++++++++++-
 gdb/python/py-unwind.c                        | 36 +-------
 gdb/python/python-internal.h                  | 19 ++++
 gdb/testsuite/ChangeLog                       |  9 ++
 .../gdb.python/py-arch-reg-names.exp          | 15 +++
 gdb/testsuite/gdb.python/py-unwind.py         | 11 ++-
 10 files changed, 231 insertions(+), 58 deletions(-)

-- 
2.25.4



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

end of thread, other threads:[~2020-07-25  6:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24  9:57 [PATCH 0/2] Allow gdb.RegisterDescriptors to be used in read_register calls Andrew Burgess
2020-07-24  9:57 ` [PATCH 1/2] gdb: Add a find method for RegisterDescriptorIterator Andrew Burgess
2020-07-24 10:32   ` Eli Zaretskii
2020-07-24 23:17     ` Andrew Burgess
2020-07-25  6:27       ` Eli Zaretskii
2020-07-24 18:22   ` Tom Tromey
2020-07-24  9:57 ` [PATCH 2/2] gdb/python: make more use of RegisterDescriptors Andrew Burgess
2020-07-24 10:36   ` Eli Zaretskii
2020-07-24 18:38   ` Tom Tromey

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