tests: test_zeroize: adapt GDB script to be executed from tf-psa-crypto

Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
Valerio Setti
2025-05-19 15:24:50 +02:00
parent da74dfea38
commit d62dcfdcd6
+11 -2
View File
@@ -33,12 +33,21 @@
set confirm off
file ./programs/test/zeroize
if $_isvoid($is_tf_psa_crypto)
file ./programs/test/zeroize
else
file ./programs/test/tf_psa_crypto_zeroize
end
search GDB_BREAK_HERE
break $_
set args ./framework/tests/programs/zeroize.c
if $_isvoid($is_tf_psa_crypto)
set args ./framework/tests/programs/zeroize.c
else
set args ../framework/tests/programs/zeroize.c
end
run
set $i = 0