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_NAME macro
[deliverable/binutils-gdb.git]
/
gdb
/
m2-lang.c
diff --git
a/gdb/m2-lang.c
b/gdb/m2-lang.c
index 7f0255b22d86b2d129e13a54a2576ecb0a1730b9..5912670a9f0033c683404854fd3650e3c4f4b71f 100644
(file)
--- a/
gdb/m2-lang.c
+++ b/
gdb/m2-lang.c
@@
-271,9
+271,9
@@
evaluate_subexp_modula2 (struct type *expect_type, struct expression *exp,
else
if (type->code () != TYPE_CODE_ARRAY)
{
- if (
TYPE_NAME (type
))
+ if (
type->name (
))
error (_("cannot subscript something of type `%s'"),
-
TYPE_NAME (type
));
+
type->name (
));
else
error (_("cannot subscript requested type"));
}
This page took
0.022771 seconds
and
4
git commands to generate.