projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert static_kind into loc_kind enum.
[deliverable/binutils-gdb.git]
/
gdb
/
value.c
diff --git
a/gdb/value.c
b/gdb/value.c
index f3f2c72dab634b3f034be09e059eba77586a82f1..06b0d1e769c60d457b948077d34da0acba96e7e8 100644
(file)
--- a/
gdb/value.c
+++ b/
gdb/value.c
@@
-1236,7
+1236,7
@@
value_static_field (struct type *type, int fieldno)
{
struct value *retval;
- if (TYPE_FIELD_
STATIC_HAS_ADDR (type, fieldno)
)
+ if (TYPE_FIELD_
LOC_KIND (type, fieldno) == FIELD_LOC_KIND_PHYSADDR
)
{
retval = value_at (TYPE_FIELD_TYPE (type, fieldno),
TYPE_FIELD_STATIC_PHYSADDR (type, fieldno));
This page took
0.024019 seconds
and
4
git commands to generate.