summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/gdbinit.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index b3c25acd8ab..5ce2fc3e30a 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -68,7 +68,7 @@ Print the tree-code of the tree node that is $.
end
define pdn
-output $.decl.name->identifier.id.str
+output $.decl_minimal.name->identifier.id.str
echo \n
end
@@ -77,7 +77,7 @@ Print the name of the decl-node that is $.
end
define ptn
-output $.type.name->decl.name->identifier.id.str
+output $.type.name->decl_minimal.name->identifier.id.str
echo \n
end