From 13dad2fefb26f1972145084d58d013f12d98c5d0 Mon Sep 17 00:00:00 2001 From: Jan Vrany Date: Tue, 4 Feb 2025 13:56:49 +0000 Subject: 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 Approved-By: Andrew Burgess --- gdb/doc/python.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/doc') 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 -- cgit v1.1