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_INDEX_TYPE macro
[deliverable/binutils-gdb.git]
/
gdb
/
compile
/
compile-cplus-types.c
diff --git
a/gdb/compile/compile-cplus-types.c
b/gdb/compile/compile-cplus-types.c
index eb70dfe967a44747e936033d32070e92bfad01db..20d84a549653d33e6ee743481646ecc1238b3e6e 100644
(file)
--- a/
gdb/compile/compile-cplus-types.c
+++ b/
gdb/compile/compile-cplus-types.c
@@
-453,7
+453,7
@@
static gcc_type
compile_cplus_convert_array (compile_cplus_instance *instance,
struct type *type)
{
compile_cplus_convert_array (compile_cplus_instance *instance,
struct type *type)
{
- struct type *range =
TYPE_INDEX_TYPE (type
);
+ struct type *range =
type->index_type (
);
gcc_type element_type = instance->convert_type (TYPE_TARGET_TYPE (type));
if (TYPE_LOW_BOUND_KIND (range) != PROP_CONST)
gcc_type element_type = instance->convert_type (TYPE_TARGET_TYPE (type));
if (TYPE_LOW_BOUND_KIND (range) != PROP_CONST)
This page took
0.022902 seconds
and
4
git commands to generate.