aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-10-23 19:37:56 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-10-23 19:37:56 +0000
commit8aa587ad946cb6f6c9452d38e828944778cf1c56 (patch)
tree081a73d2f3f5ada2a96c5f5e255e2ce01303c18d /.gdbinit
parentd98d41a7fcc178a5cedb155cabb7cde85b014f64 (diff)
downloadghdl-8aa587ad946cb6f6c9452d38e828944778cf1c56.tar.gz
ghdl-8aa587ad946cb6f6c9452d38e828944778cf1c56.tar.bz2
ghdl-8aa587ad946cb6f6c9452d38e828944778cf1c56.zip
Files added
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit68
1 files changed, 68 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
new file mode 100644
index 000000000..946ebef16
--- /dev/null
+++ b/.gdbinit
@@ -0,0 +1,68 @@
+#break __gnat_raise
+#break ada__exceptions__raise_exception
+break __gnat_raise_nodefer_with_msg
+
+define pt
+call disp_tree ($arg0, 0, 0)
+end
+
+document pt
+Print the structure of the iirs that is $arg0.
+end
+
+define prt
+set lang c
+print (iirs__iir *) $
+set lang ada
+end
+
+define pl
+call disp_tree_list ($arg0, 0, 0)
+end
+
+document pl
+Print the list of iirs that is $arg0.
+end
+
+define plf
+call disp_tree_list ($arg0, 0, 1)
+end
+
+document plf
+Print flatly the list of iirs that is $arg0.
+end
+
+define ptf
+call disp_tree_flat ($arg0, 0)
+end
+
+document ptf
+Print the iirs that is $arg0.
+end
+
+define ptf1
+call disp_tree ($, 0, 1)
+end
+
+document ptf1
+Print the iirs that is $.
+end
+
+define pv
+call disp_value ($)
+end
+
+document pv
+Print the value that is $.
+end
+
+define ploc
+call disp_iir_location ($arg0.all)
+end
+
+document ploc
+Print the location for iir_acc $.
+end
+
+set lang ada
+#break exception