]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/python: add void_type () method to gdb.Architecture object
authorJan Vrany <jan.vrany@labware.com>
Tue, 4 Feb 2025 13:56:49 +0000 (13:56 +0000)
committerJan Vrany <jan.vrany@labware.com>
Tue, 4 Feb 2025 13:56:49 +0000 (13:56 +0000)
commit13dad2fefb26f1972145084d58d013f12d98c5d0
tree6e027bb48ce2e4544ad9d14857b3f8c669865284
parent30243af82d55050d4168090626dbc91a1c935159
gdb/python: add void_type () method to gdb.Architecture object

This commit adds a new method to Python architecture objects that
returns a void type for that architecture.

This will be useful later to create types for function symbols created
using Python extension code.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/NEWS
gdb/doc/python.texi
gdb/python/py-arch.c
gdb/testsuite/gdb.python/py-arch.exp