From 51ae83bcb22b8a1ce52448036bc73c6569c44dd2 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Fri, 20 Oct 2023 01:42:56 +0300 Subject: [PATCH] Use /bin/utest instead of init for debugging --- .vscode/launch.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 6c8d19f..d638ce7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -73,6 +73,10 @@ "text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/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", "description": "Load /usr/bin/doom." @@ -80,7 +84,7 @@ ], }, { - "name": "Attach to VM w/init", + "name": "Attach to VM w/utest", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/kernel.fsys", @@ -113,8 +117,8 @@ "description": "Load binary." }, { - "text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/init", - "description": "Load /bin/init." + "text": "add-symbol-file ${workspaceFolder}/../initrd_tmp_data/bin/utest", + "description": "Load /bin/utest." }, ], },