Skip to content

Commit

Permalink
- added vscode launch config for debugging of the app running on the …
Browse files Browse the repository at this point in the history
…qemu simulator

- added gdbinit to avoid absolute paths to specuolos
  • Loading branch information
microengineer committed Feb 9, 2021
1 parent f80d11b commit 86c672c
Show file tree
Hide file tree
Showing 2 changed files with 4,024 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "GDB",
"type": "gdb",
"request": "launch",
"cwd": "${workspaceRoot}",
"target": "${workspaceRoot}/bin/app.elf",
"gdbpath": "gdb-multiarch",
"autorun": [
"target remote 127.0.0.1:1234",
"source \"${workspaceRoot}/tools/gdbinit\"",
"set architecture arm",
"handle SIGILL nostop pass noprint",
"add-symbol-file \"/home/thomas/git/ledger/speculos/tools/../build/src/launcher\" 0x000101c0",
"add-symbol-file \"${workspaceRoot}/bin/app.elf\" 0x40000000",
"b *0x40000000",
"show"
]
},
]
}
Loading

0 comments on commit 86c672c

Please sign in to comment.