summaryrefslogtreecommitdiffstats
path: root/scripts/t-rex-64-debug-gdb-core
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-core
parent5c659501dd4edad74b0763f656bdf3a12c905153 (diff)
add some gdb scripts
Diffstat (limited to 'scripts/t-rex-64-debug-gdb-core')
-rw-r--r--scripts/t-rex-64-debug-gdb-core12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/t-rex-64-debug-gdb-core b/scripts/t-rex-64-debug-gdb-core
new file mode 100644
index 00000000..cc790448
--- /dev/null
+++ b/scripts/t-rex-64-debug-gdb-core
@@ -0,0 +1,12 @@
+#! /bin/bash
+export LD_LIBRARY_PATH=`pwd`
+/bin/gdb ./_t-rex-64-debug $@
+RESULT=$?
+
+if [ $RESULT -ne 0 ]; then
+ exit $RESULT
+fi
+
+
+
+