Add missing TYPE_CODE_* constants to Python

A user noticed that TYPE_CODE_FIXED_POINT was not exported by the gdb
Python layer.  This patch fixes the bug, and prevents future
occurences of this type of bug.
This commit is contained in:
Tom Tromey 2022-10-12 08:40:34 -06:00
parent bc45f5366e
commit 4881fcd7c1
6 changed files with 173 additions and 170 deletions

View file

@ -1642,6 +1642,19 @@ A decimal floating point type.
@item gdb.TYPE_CODE_INTERNAL_FUNCTION
A function internal to @value{GDBN}. This is the type used to represent
convenience functions.
@vindex TYPE_CODE_XMETHOD
@item gdb.TYPE_CODE_XMETHOD
A method internal to @value{GDBN}. This is the type used to represent
xmethods (@pxref{Writing an Xmethod}).
@vindex TYPE_CODE_FIXED_POINT
@item gdb.TYPE_CODE_FIXED_POINT
A fixed-point number.
@vindex TYPE_CODE_NAMESPACE
@item gdb.TYPE_CODE_NAMESPACE
A Fortran namelist.
@end vtable
Further support for types is provided in the @code{gdb.types}