2019-05-30 Martin Liska <mliska@suse.cz>
* gdbinit.in: Fix 'ptc' command. Add trt
that prints TREE_TYPE($).
From-SVN: r271763
+2019-05-30 Martin Liska <mliska@suse.cz>
+
+ * gdbinit.in: Fix 'ptc' command. Add trt
+ that prints TREE_TYPE($).
+
2019-05-29 Bill Schmidt <wschmidt@linux.ibm.com>
Alan Modra <amodra@gmail.com>
end
define ptc
-output (enum tree_code) $.common.code
+output (enum tree_code) $.base.code
echo \n
end
Print current function.
end
+define trt
+print ($.typed.type)
+end
+
+document trt
+Print TREE_TYPE of the tree node that is $
+end
+
define break-on-diagnostic
break diagnostic_show_locus
end