From 61949538ad6d114c1c2a788928a0b9706b4efc76 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 1 May 2026 20:46:21 +0200 Subject: debug: add support for kstd pretty printing --- .vscode/launch.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index 6478c96..4d15c6f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -25,6 +25,10 @@ { "description": "Load symbols", "text": "-file-exec-and-symbols ${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.sym" + }, + { + "description": "Load custom Python helpers", + "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/load_kstd.py\"" } ] } -- cgit v1.2.3 From 596550c8002c2a1fa375ff7f39b6b9707b9f042d Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 2 May 2026 14:49:28 +0200 Subject: debug: add kapi formatter support --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index 4d15c6f..d5b2401 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -28,7 +28,7 @@ }, { "description": "Load custom Python helpers", - "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/load_kstd.py\"" + "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/load.py\"" } ] } -- cgit v1.2.3 From 1246e00478fb5ab2a357de17066fd8738395d9f1 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 4 May 2026 08:20:42 +0200 Subject: debug: split gdb modules --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index d5b2401..15f5d3a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -28,7 +28,7 @@ }, { "description": "Load custom Python helpers", - "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/load.py\"" + "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/pretty_printers.py\"" } ] } -- cgit v1.2.3 From d8670d8eeb55bc0ea347cfe4a9a27640fe4e4e7e Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 4 May 2026 19:40:01 +0200 Subject: debug: add multiboot2 information dump tool This patch introduces a new GDB tool `dump_mb2i` that dump the multiboot2 information provided by the bootloader. This tool can be invoked in the GDB console. For example in vscode: -exec dump_mb2i ((kapi::boot::information)bootstrap_information).mbi The tool expects the address of the loader provided MB2 information as its only argument. --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index 15f5d3a..d5b2401 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -28,7 +28,7 @@ }, { "description": "Load custom Python helpers", - "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/pretty_printers.py\"" + "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/load.py\"" } ] } -- cgit v1.2.3 From 0ea43527332b7e5f1cfec6007506aa54e8f628cb Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 7 May 2026 09:12:05 +0000 Subject: debug: enable libstdc++ helpers --- .vscode/launch.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index d5b2401..90c7520 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -27,8 +27,12 @@ "text": "-file-exec-and-symbols ${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.sym" }, { - "description": "Load custom Python helpers", - "text": "-interpreter-exec console \"source ${workspaceFolder}/scripts/gdb/load.py\"" + "description": "Load teachos python helpers", + "text": "source ${workspaceFolder}/scripts/gdb/teachos.py" + }, + { + "description": "Load toolchain python helpers", + "text": "source ${workspaceFolder}/scripts/gdb/toolchain.py" } ] } -- cgit v1.2.3