projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delete TYPE_CODE_CLASS, it's just an alias of TYPE_CODE_STRUCT.
[deliverable/binutils-gdb.git]
/
gdb
/
python
/
py-type.c
diff --git
a/gdb/python/py-type.c
b/gdb/python/py-type.c
index 29a3500fdf2611dccec54ef4abb12f317e5280df..6d5ff8583df32284fd38ae444d4d8abcfec14d37 100644
(file)
--- a/
gdb/python/py-type.c
+++ b/
gdb/python/py-type.c
@@
-232,7
+232,7
@@
convert_field (struct type *type, int field)
goto failarg;
Py_DECREF (arg);
- if (TYPE_CODE (type) == TYPE_CODE_
CLASS
)
+ if (TYPE_CODE (type) == TYPE_CODE_
STRUCT
)
arg = field < TYPE_N_BASECLASSES (type) ? Py_True : Py_False;
else
arg = Py_False;
This page took
0.024574 seconds
and
4
git commands to generate.