1{ 2 // Use IntelliSense to learn about possible attributes. 3 // Hover to view descriptions of existing attributes. 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 "version": "0.2.0", 6 "configurations": [ 7 { 8 "name": "(gdb) QEMU", 9 "type": "cppdbg", 10 "request": "launch", 11 "program": "out/reference/qemu_aarch64_clang/hafnium.elf", 12 "miDebuggerServerAddress": "localhost:1234", 13 "MIMode": "gdb", 14 "miDebuggerPath": "/usr/bin/gdb-multiarch", 15 "cwd": "${workspaceRoot}", 16 "setupCommands": [ 17 { 18 "description": "Enable pretty-printing for gdb", 19 "text": "-enable-pretty-printing", 20 "ignoreFailures": true 21 }, 22 { 23 // Update this with whatever VMs you want to debug. 24 "text": "add-symbol-file ${workspaceRoot}/out/reference/qemu_aarch64_vm_clang/obj/test/vmapi/primary_with_secondaries/services/service_vm3.elf 0x43d00000+0x800", 25 } 26 ] 27 }, 28 ] 29} 30