aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-09-23 08:38:30 +0200
committerTristan Gingold <tgingold@free.fr>2017-09-25 18:32:44 +0200
commita7daf32d67439542b81a667f4107e47b83dd38a2 (patch)
treebdd989ca6b4c7e418fadbd3a65552e1a57fbd1f6 /.gdbinit
parentbddca1f6254ca6e4e9b9f4bda0ff77c7bba7d2db (diff)
downloadghdl-a7daf32d67439542b81a667f4107e47b83dd38a2.tar.gz
ghdl-a7daf32d67439542b81a667f4107e47b83dd38a2.tar.bz2
ghdl-a7daf32d67439542b81a667f4107e47b83dd38a2.zip
.gdbinit: add psrc
Diffstat (limited to '.gdbinit')
-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