aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-10-15 07:26:45 +0200
committerTristan Gingold <tgingold@free.fr>2017-10-15 07:26:45 +0200
commit7df3bfb26d601d12f94285eecb99dd8af2c1d58e (patch)
tree0b2789d8b842fceaa29c56918da772756cf40f59 /.gdbinit
parent67906d10abe4e4dc92fc6ec65a2c4a6b9a4e4565 (diff)
downloadghdl-7df3bfb26d601d12f94285eecb99dd8af2c1d58e.tar.gz
ghdl-7df3bfb26d601d12f94285eecb99dd8af2c1d58e.tar.bz2
ghdl-7df3bfb26d601d12f94285eecb99dd8af2c1d58e.zip
.gdbinit: move 'catch exception' at the end.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 974454920..019087679 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,7 +1,5 @@
# Gdb commands useful to debug ghdl
-catch exception
-
define pt
call disp_tree.disp_iir ($arg0, 1, 10)
end
@@ -73,3 +71,8 @@ Print the location for iir $.
end
set lang ada
+
+# Must be the last command: some distributions use a shared libgnat by default,
+# and don't have the minimal required set of debug info to support this command.
+# As a result, this command fails and stop this script.
+catch exception