Skip to content

Commit

Permalink
Debug: Add working 32 on 32 GDB VS Code config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton committed Oct 26, 2023
1 parent 4d2fed9 commit 763b0ea
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Debug/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,29 @@ For example, this is a working `launch.json` file for both LLDB and GDB debuggin
"traceResponse": true
}
},
{
"name": "OC gdb (32/32)",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "x86",
"program": "${workspaceFolder}/Debug/GdbSyms/Bin/Ia32_GCC5/GdbSyms.debug",
"cwd": "${workspaceFolder}/Debug",
"MIMode": "gdb",
"stopAtEntry": true,
"setupCommands": [
{"text": "set arch i386"},
{"text": "symbol-file ${workspaceFolder}/Debug/GdbSyms/Bin/Ia32_GCC5/GdbSyms.debug"},
{"text": "target remote localhost:8832"},
{"text": "source ${workspaceFolder}/Debug/Scripts/gdb_uefi.py"},
{"text": "reload-uefi"},
],
"launchCompleteCommand": "exec-continue",
"logging": {
"engineLogging": false,
"trace": true,
"traceResponse": true
}
},
]
}
```
Expand Down

0 comments on commit 763b0ea

Please sign in to comment.