aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-08-02 09:25:46 +0000
committerJason Merrill <jason@redhat.com>2002-08-02 09:25:46 +0000
commit8b283a279876025cc3f119837bb0f7a1be36c370 (patch)
tree458d228cb79944d8ef6a71c42409a6bb17632a52 /gcc/gdbinit.in
parent9aca779afd0fc758ce8d98c6732e74a07c98b1dc (diff)
* gdbinit.in (pct): New macro.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@55979 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r--gcc/gdbinit.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 5fae9180461..17067df1b46 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -31,6 +31,15 @@ Print the full structure of the tree that is $.
Works only when an inferior is executing.
end
+define pct
+set debug_c_tree ($)
+end
+
+document pct
+Print the tree that is $ in C syntax.
+Works only when an inferior is executing.
+end
+
define ptc
output (enum tree_code) $.common.code
echo \n