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
/
valprint.c
diff --git
a/gdb/valprint.c
b/gdb/valprint.c
index ca7dab680aef1b9b3a569ea144d9aca79957c02a..7051fcef13f68e131d3faa922ec9a4b4605eeb22 100644
(file)
--- a/
gdb/valprint.c
+++ b/
gdb/valprint.c
@@
-1875,7
+1875,7
@@
value_print_array_elements (struct value *val, struct ui_file *stream,
elttype = TYPE_TARGET_TYPE (type);
eltlen = type_length_units (check_typedef (elttype));
elttype = TYPE_TARGET_TYPE (type);
eltlen = type_length_units (check_typedef (elttype));
- index_type =
TYPE_INDEX_TYPE (type
);
+ index_type =
type->index_type (
);
if (index_type->code () == TYPE_CODE_RANGE)
index_type = TYPE_TARGET_TYPE (index_type);
if (index_type->code () == TYPE_CODE_RANGE)
index_type = TYPE_TARGET_TYPE (index_type);
This page took
0.060072 seconds
and
4
git commands to generate.