[project][qemu] Allow debug before killing test command

Dump registers and optionally wait for debugger to connect before
killing the test command on timeout instead of after killing it.

This allow debugging problems where killing the test command, which
closes the connection to the test app in trusty, kicks the system out of
the stuck state.

Bug: 145767206
Change-Id: I8cc042adb3721a9b9fee9446f288c2a8818a8ec8
1 file changed
tree: f9f48aaae7e8e8e4e1ac5005c2acf856a09ea7e4
  1. project/
  2. .clang-format
  3. LICENSE
  4. PREUPLOAD.cfg