Terminal 2, follow step 6.4.1 to setup Vitis tool and valgrind tool environmental variables. cd ${PROJECT_PATH} gdb ./Work/pthread/sim.out