Add gdb zeroize test when compiling with clang
@@ -907,6 +907,16 @@ make test
cd "$MBEDTLS_ROOT_DIR"
rm -rf "$OUT_OF_SOURCE_DIR"
+msg "test: gcc, mbedtls_zeroize()"
+cleanup
+CC=gcc DEBUG=1 make programs
+gdb -x tests/scripts/test_zeroize.gdb
+
+msg "test: clang, mbedtls_zeroize()"
+cleanup
+CC=clang DEBUG=1 make programs
+gdb -x tests/scripts/test_zeroize.gdb
+
################################################################
