Explorar el Código

add a small wrapper to call gdb in the framework setting

David Kalnischkies hace 14 años
padre
commit
3fa950f16c
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      test/integration/framework

+ 4 - 0
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"