summaryrefslogtreecommitdiffstats
path: root/gdb-exec
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-04-25 09:31:46 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-04-25 09:31:46 +0200
commit66f84afc20c5bb627ec5979bd9b3e8b144c3419d (patch)
treeee2c3c2a7fab9c042c574b05841b73a350710ab4 /gdb-exec
parentf5c831f7f4be8f563662bf1beb03ea89acbba40a (diff)
downloadbin-66f84afc20c5bb627ec5979bd9b3e8b144c3419d.tar.gz
bin-66f84afc20c5bb627ec5979bd9b3e8b144c3419d.tar.xz
simplify backtrace; remove gdb-exec
"gdb --args executable --some-args" will work just fine. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'gdb-exec')
-rwxr-xr-xgdb-exec11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb-exec b/gdb-exec
deleted file mode 100755
index b95c7f9..0000000
--- a/gdb-exec
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-if [[ -z $1 ]]; then
- echo "usage: gdb-exec <executeable> [<arguments> ...]"
- exit 1
-fi
-
-prog=$1; shift
-args="$*"
-
-exec gdb -ex "set args $args" "$prog"