Skip to content
This repository was archived by the owner on Oct 18, 2025. It is now read-only.

Commit da3e31e

Browse files
committed
Linux Dev Environment
.gitignore -> ignore Linux binaries and environment-specific files launch.json -> added a configuration for debugging in Linux
1 parent ccc75fe commit da3e31e

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

‎.gitignore‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,21 @@ modules.order
5050
Module.symvers
5151
Mkfile.old
5252
dkms.conf
53+
54+
# Editor temp files
55+
*~*
56+
57+
# Linux Executable Files
58+
source/tracegen
59+
source/elf-postlink
60+
source/calltree
61+
source/bmtrace
62+
source/bmserial
63+
source/bmscan
64+
source/bmprofile
65+
source/bmflash
66+
source/bmdebug
67+
68+
# Environment specific Make files
69+
source/Makefile
70+
source/makefile.cfg

‎source/.vscode/launch.json‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,26 @@
2424
}
2525
]
2626
},
27+
{
28+
"name": "Linux bmdebug",
29+
"type": "cppdbg",
30+
"request": "launch",
31+
"program": "${workspaceFolder}/bmdebug",
32+
"args": [],
33+
"stopAtEntry": true,
34+
"cwd": "${workspaceFolder}",
35+
"environment": [],
36+
"externalConsole": false,
37+
"MIMode": "gdb",
38+
"miDebuggerPath": "gdb",
39+
"setupCommands": [
40+
{
41+
"description": "Enable pretty-printing for gdb",
42+
"text": "-enable-pretty-printing",
43+
"ignoreFailures": true
44+
}
45+
]
46+
},
2747
{
2848
"name": "Launch bmtrace.exe",
2949
"type": "cppdbg",

0 commit comments

Comments
 (0)