mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
Use /bin/utest instead of init for debugging
This commit is contained in:
parent
cfee4807c4
commit
51ae83bcb2
10
.vscode/launch.json
vendored
10
.vscode/launch.json
vendored
@ -73,6 +73,10 @@
|
|||||||
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/init",
|
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/init",
|
||||||
"description": "Load /bin/init."
|
"description": "Load /bin/init."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/utest",
|
||||||
|
"description": "Load /bin/utest."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/usr/bin/doom",
|
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/usr/bin/doom",
|
||||||
"description": "Load /usr/bin/doom."
|
"description": "Load /usr/bin/doom."
|
||||||
@ -80,7 +84,7 @@
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Attach to VM w/init",
|
"name": "Attach to VM w/utest",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/kernel.fsys",
|
"program": "${workspaceFolder}/kernel.fsys",
|
||||||
@ -113,8 +117,8 @@
|
|||||||
"description": "Load binary."
|
"description": "Load binary."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/init",
|
"text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/utest",
|
||||||
"description": "Load /bin/init."
|
"description": "Load /bin/utest."
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user