diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-04-25 09:31:46 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-04-25 09:31:46 +0200 |
commit | 66f84afc20c5bb627ec5979bd9b3e8b144c3419d (patch) | |
tree | ee2c3c2a7fab9c042c574b05841b73a350710ab4 /backtrace | |
parent | f5c831f7f4be8f563662bf1beb03ea89acbba40a (diff) | |
download | bin-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 'backtrace')
-rwxr-xr-x | backtrace | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -5,7 +5,4 @@ if [[ -z $1 ]]; then exit 1 fi -prog=$1; shift -args="$*" - -exec gdb -batch -ex "run $args" -ex "backtrace" "$prog" +exec gdb -batch -ex run -ex "backtrace" --args "$@" |