projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: remove TYPE_FIELD macro
[deliverable/binutils-gdb.git]
/
gdb
/
python
/
py-type.c
diff --git
a/gdb/python/py-type.c
b/gdb/python/py-type.c
index dbe25ad8f6cd53330eb48b91bb2885ec7321605a..7862f70d472b61f5aa66e80f9b056429f1f6b2a0 100644
(file)
--- a/
gdb/python/py-type.c
+++ b/
gdb/python/py-type.c
@@
-177,7
+177,7
@@
convert_field (struct type *type, int field)
if (PyObject_SetAttrString (result.get (), "parent_type", arg.get ()) < 0)
return NULL;
if (PyObject_SetAttrString (result.get (), "parent_type", arg.get ()) < 0)
return NULL;
- if (!field_is_static (&
TYPE_FIELD (type,
field)))
+ if (!field_is_static (&
type->field (
field)))
{
const char *attrstring;
{
const char *attrstring;
This page took
0.022931 seconds
and
4
git commands to generate.