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_FIELDS macro
[deliverable/binutils-gdb.git]
/
gdb
/
iq2000-tdep.c
diff --git
a/gdb/iq2000-tdep.c
b/gdb/iq2000-tdep.c
index 18d207535b41387a59521c23c77950c6e5b08c7b..b35b45ea4c5ebef2e2ad78a6f1bb7bd63d9f525b 100644
(file)
--- a/
gdb/iq2000-tdep.c
+++ b/
gdb/iq2000-tdep.c
@@
-607,7
+607,7
@@
iq2000_pass_8bytetype_by_address (struct type *type)
if (type->num_fields () != 1)
return 1;
/* Get field type. */
- ftype =
(TYPE_FIELDS (type))[0]
.type;
+ ftype =
type->field (0)
.type;
/* The field type must have size 8, otherwise pass by address. */
if (TYPE_LENGTH (ftype) != 8)
return 1;
This page took
0.024959 seconds
and
4
git commands to generate.