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
/
c-varobj.c
diff --git
a/gdb/c-varobj.c
b/gdb/c-varobj.c
index 6cb260ddc91a86388569645899d5edffc7e8c548..2be447a86609a1a82eeb743fd16b317907bab564 100644
(file)
--- a/
gdb/c-varobj.c
+++ b/
gdb/c-varobj.c
@@
-254,7
+254,7
@@
value_struct_element_index (struct value *value, int type_index)
try
{
- if (field_is_static (&
TYPE_FIELD (type,
type_index)))
+ if (field_is_static (&
type->field (
type_index)))
result = value_static_field (type, type_index);
else
result = value_primitive_field (value, 0, type_index, type);
This page took
0.022925 seconds
and
4
git commands to generate.