From: David Kalnischkies Date: Thu, 10 May 2012 16:47:51 +0000 (+0200) Subject: add a small wrapper to call gdb in the framework setting X-Git-Tag: 0.9.3~1^2~3 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/3fa950f16cb2997bccd97475f75c5f3e37609dd3?hp=-c add a small wrapper to call gdb in the framework setting --- 3fa950f16cb2997bccd97475f75c5f3e37609dd3 diff --git a/test/integration/framework b/test/integration/framework index b80b02922..5a0e1070f 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -107,6 +107,10 @@ aptitude() { LD_LIBRARY_PATH=${BUILDDIRECTORY} $(which aptitude) $* fi } +gdb() { + echo "gdb: run »$*«" + APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${BUILDDIRECTORY} $(which gdb) ${BUILDDIRECTORY}/$1 +} addtrap() { CURRENTTRAP="$CURRENTTRAP $1"