summaryrefslogtreecommitdiffstats
path: root/scripts/t-rex-64-debug-gdb-bt
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-06-14 13:43:09 +0300
committerHanoh Haim <hhaim@cisco.com>2016-06-14 13:43:09 +0300
commit661d54e1fa7c946757204ce364eb2e5312c5487f (patch)
tree1f1ca9e1895abde08f3c62dc15b0641188742e63 /scripts/t-rex-64-debug-gdb-bt
parent5c659501dd4edad74b0763f656bdf3a12c905153 (diff)
add some gdb scripts
Diffstat (limited to 'scripts/t-rex-64-debug-gdb-bt')
-rw-r--r--scripts/t-rex-64-debug-gdb-bt12
1 files changed, 12 insertions, 0 deletions
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
+
+
+
+