From a453239d1459ba4a0e8b3cbfc971c335dc7dfd0a Mon Sep 17 00:00:00 2001 From: polos Date: Thu, 28 Mar 2019 21:56:23 +0100 Subject: [PATCH] add '.gdbinit' (recommended settings when running ECL from within gdb) --- debug/.gdbinit | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debug/.gdbinit diff --git a/debug/.gdbinit b/debug/.gdbinit new file mode 100644 index 0000000..444d3db --- /dev/null +++ b/debug/.gdbinit @@ -0,0 +1,21 @@ +# adapt path below +add-auto-load-safe-path /home/username/eql5/debug/.gdbinit + +# +# Recommended settings for debugging either ecl_min or ecl. +# +delete break +break cl_cos +break cl_error +break cl_cerror +break CEerror +break FEerror +break FEunbound_variable +break FEundefined_function +break FEwrong_type_argument +break FEinvalid_function +set confirm off +handle SIGBUS nostop +handle SIGPWR nostop pass noprint +handle SIGXCPU nostop pass noprint +handle EXC_BAD_ACCESS nostop pass noprint