Step 7.2.2 Enable GDB Server to Work with x86simulator - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

Since this feature uses GDB server, requires two terminals working together. One terminal for x86simulator and the other terminal for GDB server.

Terminal 1 to launch x86simulator. Update the configuration file, ${PROJECT_PATH}/Emulation-SW/Work/options/x86sim.options, change valgrind-gdb=no to valgrind-gdb=yes then launch x86simulator. Or issue command x86simulator --valgrind-gdb to launch x86simulator.