-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97b7484
commit 46793cd
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Debug fping", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/src/fping", | ||
"args": ["127.0.0.1"], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "build", | ||
"postDebugTask": "autoclean", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"logging": { | ||
"engineLogging": false | ||
} | ||
} | ||
], | ||
"version": "2.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"type": "shell", | ||
"label": "autogen", | ||
"command": "./autogen.sh", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "configure", | ||
"command": "./configure", | ||
"args": ["--enable-debug"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"dependsOn": ["autogen"], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "build", | ||
"command": "make", | ||
"args": ["CFLAGS=\"-g -O0\""], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"dependsOn": ["configure"], | ||
"problemMatcher": ["$gcc"] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "autoclean", | ||
"command": "./autoclean.sh", | ||
"problemMatcher": [] | ||
} | ||
], | ||
"version": "2.0.0" | ||
} |