projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb/
[platform/upstream/binutils.git]
/
gdb
/
typeprint.c
diff --git
a/gdb/typeprint.c
b/gdb/typeprint.c
index
f257f47
..
c25e705
100644
(file)
--- a/
gdb/typeprint.c
+++ b/
gdb/typeprint.c
@@
-206,7
+206,7
@@
print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream)
len = TYPE_NFIELDS (type);
for (i = 0; i < len; i++)
{
- if (TYPE_FIELD_
BITPOS
(type, i) == val)
+ if (TYPE_FIELD_
ENUMVAL
(type, i) == val)
{
break;
}