aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-04-20 15:43:56 -0600
committerTom Tromey <tom@tromey.com>2018-04-30 11:25:31 -0600
commit6d7bb8246b3beaf60ea9c2abe183705e876519cd (patch)
tree57eeee53543aa1091d282fc6ffe553902446b706 /gdb/NEWS
parent007e1530347330d4dbba387c4e35aae05bc06498 (diff)
downloadgdb-6d7bb8246b3beaf60ea9c2abe183705e876519cd.zip
gdb-6d7bb8246b3beaf60ea9c2abe183705e876519cd.tar.gz
gdb-6d7bb8246b3beaf60ea9c2abe183705e876519cd.tar.bz2
Expose type alignment on gdb.Type
This adds an "alignof" attribute to gdb.Type in the Python API. 2018-04-30 Tom Tromey <tom@tromey.com> * NEWS: Mention Type.align. * python/py-type.c (typy_get_alignof): New function. (type_object_getset): Add "alignof". 2018-04-30 Tom Tromey <tom@tromey.com> * python.texi (Types In Python): Document Type.align. 2018-04-30 Tom Tromey <tom@tromey.com> * gdb.python/py-type.exp: Check align attribute. * gdb.python/py-type.c: New "aligncheck" global.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 6631b53..6193070 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -27,6 +27,10 @@ set|show record btrace cpu
Controls the processor to be used for enabling errata workarounds for
branch trace decode.
+* Python API
+
+ ** Type alignment is now exposed via the "align" attribute of a gdb.Type.
+
* New targets
RiscV ELF riscv*-*-elf