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_NFIELDS macro
[deliverable/binutils-gdb.git]
/
gdb
/
iq2000-tdep.c
diff --git
a/gdb/iq2000-tdep.c
b/gdb/iq2000-tdep.c
index 1767a457ca7ed2b3bfc83016988c99b3da2be308..18d207535b41387a59521c23c77950c6e5b08c7b 100644
(file)
--- a/
gdb/iq2000-tdep.c
+++ b/
gdb/iq2000-tdep.c
@@
-604,7
+604,7
@@
iq2000_pass_8bytetype_by_address (struct type *type)
&& type->code () != TYPE_CODE_UNION)
return 0;
/* Structs with more than 1 field are always passed by address. */
- if (
TYPE_NFIELDS (type
) != 1)
+ if (
type->num_fields (
) != 1)
return 1;
/* Get field type. */
ftype = (TYPE_FIELDS (type))[0].type;
This page took
0.066688 seconds
and
4
git commands to generate.