aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-10-12 08:40:34 -0600
committerTom Tromey <tromey@adacore.com>2022-10-31 12:47:36 -0600
commit4881fcd7c13056b0ee03c170bf54bb7f7a176051 (patch)
tree6e47e6650293f97e7b6da0963b6bb17a3781105c /gdb/doc
parentbc45f5366eaf4e93cfd675a07a8cc5bb5522b184 (diff)
downloadfsf-binutils-gdb-4881fcd7c13056b0ee03c170bf54bb7f7a176051.zip
fsf-binutils-gdb-4881fcd7c13056b0ee03c170bf54bb7f7a176051.tar.gz
fsf-binutils-gdb-4881fcd7c13056b0ee03c170bf54bb7f7a176051.tar.bz2
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.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/guile.texi13
-rw-r--r--gdb/doc/python.texi13
2 files changed, 26 insertions, 0 deletions
diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi
index ba91600..0375005 100644
--- a/gdb/doc/guile.texi
+++ b/gdb/doc/guile.texi
@@ -1308,6 +1308,19 @@ A decimal floating point type.
@item TYPE_CODE_INTERNAL_FUNCTION
A function internal to @value{GDBN}. This is the type used to represent
convenience functions (@pxref{Convenience Funs}).
+
+@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)}
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index e7adeac..9cbb2f9 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -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}