diff options
author | Tom Tromey <tromey@adacore.com> | 2023-08-11 12:22:27 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-08-11 12:22:27 -0600 |
commit | f8b12b8e1048a78816b23c968b07039106365e63 (patch) | |
tree | ef79f6d33fc35d6b3e7fd85b2b36f1789a974eb6 /gdb | |
parent | a17805b199b8e312d8977b28520657bf4bfbcfb4 (diff) | |
download | gdb-f8b12b8e1048a78816b23c968b07039106365e63.zip gdb-f8b12b8e1048a78816b23c968b07039106365e63.tar.gz gdb-f8b12b8e1048a78816b23c968b07039106365e63.tar.bz2 |
Fix Python documentation for range type fields
GDB's Python documentation claims that range types have two fields,
but this is not true, and attempts to access them hit this error:
"Type is not a structure, union, enum, or function type."
This patch fixes the documentation.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/python.texi | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index bd4818f..505d110 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -1404,9 +1404,6 @@ Return the fields of this type. The behavior depends on the type code: For structure and union types, this method returns the fields. @item -Range types have two fields, the minimum and maximum values. - -@item Enum types have one field per enum constant. @item |