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
/
windows-tdep.c
diff --git
a/gdb/windows-tdep.c
b/gdb/windows-tdep.c
index 6eec2577f38614dac952e7c7df8c3806802a3383..aa0adeba99b7a9358ba09e3a5a0db32e8a6ce8e8 100644
(file)
--- a/
gdb/windows-tdep.c
+++ b/
gdb/windows-tdep.c
@@
-759,7
+759,7
@@
create_enum (struct gdbarch *gdbarch, int bit, const char *name,
for (i = 0; i < count; i++)
{
TYPE_FIELD_NAME (type, i) = values[i].name;
- SET_FIELD_ENUMVAL (
TYPE_FIELD (type,
i), values[i].value);
+ SET_FIELD_ENUMVAL (
type->field (
i), values[i].value);
}
return type;
This page took
0.02467 seconds
and
4
git commands to generate.