aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@labware.com>2025-02-04 13:56:49 +0000
committerJan Vrany <jan.vrany@labware.com>2025-02-04 13:56:49 +0000
commit13dad2fefb26f1972145084d58d013f12d98c5d0 (patch)
tree6e027bb48ce2e4544ad9d14857b3f8c669865284 /gdb/doc
parent30243af82d55050d4168090626dbc91a1c935159 (diff)
downloadbinutils-13dad2fefb26f1972145084d58d013f12d98c5d0.zip
binutils-13dad2fefb26f1972145084d58d013f12d98c5d0.tar.gz
binutils-13dad2fefb26f1972145084d58d013f12d98c5d0.tar.bz2
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>
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/python.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 1e0fbdf..a682132 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -7193,6 +7193,10 @@ If the indicated type cannot be found, this function will throw a
@code{ValueError} exception.
@end defun
+@defun Architecture.void_type ()
+This function returns a void type.
+@end defun
+
@anchor{gdbpy_architecture_registers}
@defun Architecture.registers (@r{[} reggroup @r{]})
Return a @code{gdb.RegisterDescriptorIterator} (@pxref{Registers In