projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509da48
)
* gdbinit.in (pct): New macro.
author
Jason Merrill
<jason@redhat.com>
Fri, 2 Aug 2002 09:25:46 +0000
(
05:25
-0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Fri, 2 Aug 2002 09:25:46 +0000
(
05:25
-0400)
From-SVN: r55979
gcc/ChangeLog
patch
|
blob
|
history
gcc/gdbinit.in
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index c1f67617e89879c3e9011c722e742d434dcf125a..4c3cb5797079a70d93945a9f130d07858c0221d7 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2002-08-02 Jason Merrill <jason@redhat.com>
+
+ * gdbinit.in (pct): New macro.
+
2002-08-01 Stan Shebs <shebs@apple.com>
Andreas Tobler <toa@pop.agri.ch>
diff --git
a/gcc/gdbinit.in
b/gcc/gdbinit.in
index 5fae9180461a5077370c12a8a1d476b564c722bd..17067df1b4626ae836c0844eab1952ab616685de 100644
(file)
--- 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