-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.json
48 lines (47 loc) · 1.67 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/// Sample Launch configuration
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/path/to/elf",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "/path/to/bin/tricore-gdb",
"miDebuggerServerAddress": "<ip on which tricore-gdb-das is launched>"
},
"stopAtConnect": true,
"launchCompleteCommand": "exec-continue",
// "preLaunchTask":"Launch tricore-gdb-das", Can be used to automate the launching
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Use tricore 1.6 architercture",
"text": "set architecture TriCore:V1_6",
"ignoreFailures": true
},
{
"description": "set symbol path",
"text": "symbol-file ${workspaceFolder}/path/to/elf",
"ignoreFailures": true
},
{
"description": "set substitute path",
"text": "set substitute-path <from path> <to path>",
"ignoreFailures": true
}
]
}
]
}