]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
add a small wrapper to call gdb in the framework setting
[apt.git] / test / integration / framework
index b80b02922507f2bbbb9cf2524e2472d4b3227d0f..5a0e1070f82c3bc6067cf835c6b8886e97d9c28e 100644 (file)
@@ -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"