From 661d54e1fa7c946757204ce364eb2e5312c5487f Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Tue, 14 Jun 2016 13:43:09 +0300 Subject: add some gdb scripts --- scripts/t-rex-64-debug-gdb-bt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/t-rex-64-debug-gdb-bt (limited to 'scripts/t-rex-64-debug-gdb-bt') diff --git a/scripts/t-rex-64-debug-gdb-bt b/scripts/t-rex-64-debug-gdb-bt new file mode 100644 index 00000000..2d64ce62 --- /dev/null +++ b/scripts/t-rex-64-debug-gdb-bt @@ -0,0 +1,12 @@ +#! /bin/bash +export LD_LIBRARY_PATH=`pwd` +/bin/gdb --batch --command=gdb_script1.txt --args ./_t-rex-64-debug $@ +RESULT=$? + +if [ $RESULT -ne 0 ]; then + exit $RESULT +fi + + + + -- cgit 1.2.3-korg