projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb: use a range based for loop when iterating over an array
[binutils-gdb.git]
/
gdb
/
gnu-v3-abi.c
diff --git
a/gdb/gnu-v3-abi.c
b/gdb/gnu-v3-abi.c
index 270a8b4b46f970141c76db1c90f10d8509984f96..0cbb8d0d3a63f1efa03cf9359684a8070b9d5475 100644
(file)
--- a/
gdb/gnu-v3-abi.c
+++ b/
gdb/gnu-v3-abi.c
@@
-1071,7
+1071,7
@@
gnuv3_get_typeid_type (struct gdbarch *gdbarch)
typeinfo_type
= (struct type *) gdbarch_data (gdbarch, std_type_info_gdbarch_data);
else
- typeinfo_type =
SYMBOL_TYPE (typeinfo
);
+ typeinfo_type =
typeinfo->type (
);
return typeinfo_type;
}