From 7df3bfb26d601d12f94285eecb99dd8af2c1d58e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 15 Oct 2017 07:26:45 +0200 Subject: .gdbinit: move 'catch exception' at the end. --- .gdbinit | 7 +++++-- 1 file 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 -- cgit v1.2.3