aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gdbinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
index 5c8b7268a..974454920 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -32,6 +32,10 @@ define pl
call disp_iir_list ($arg0, 0, 0)
end
+define psrc
+ call debug_source_loc (nodes.get_location ($arg0))
+end
+
document pl
Print the list of iirs that is $arg0.
end