[PATCH 0/2] Add new gdb.Type.signedness attribute
Andrew Burgess
aburgess@redhat.com
Fri Dec 3 16:06:37 GMT 2021
While working on another patch I realised that the Pyton API doesn't
appear to have any mechanism to ask if a gdb.Type is signed or not.
This series addresses that oversight.
All feedback welcome,
Thanks,
Andrew
---
Andrew Burgess (2):
gdb: use ARRAY_SIZE for iterating over an array
gdb/python: add Type.signedness attribute
gdb/NEWS | 4 ++
gdb/doc/python.texi | 22 ++++++++++
gdb/python/py-type.c | 66 +++++++++++++++++++++++++++-
gdb/testsuite/gdb.python/py-arch.exp | 15 ++++++-
gdb/testsuite/gdb.python/py-type.c | 4 ++
gdb/testsuite/gdb.python/py-type.exp | 21 +++++++++
6 files changed, 129 insertions(+), 3 deletions(-)
--
2.25.4
More information about the Gdb-patches
mailing list