From 64daed703082cf8f5673bad1e2ce14503afed1ad Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 26 Aug 2026 15:28:35 -0700 Subject: [PATCH] keep o.g. debug info extension in rdi filenames --- project.4coder | 2 +- project.raddbg | 2 +- src/dbg_info/dbg_info.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/project.4coder b/project.4coder index b286935f..5de5073c 100644 --- a/project.4coder +++ b/project.4coder @@ -49,7 +49,7 @@ commands = // .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, // .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg debug telemetry", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, // .f1 = { .win = "raddbg_stable --ipc kill_all && build radbin", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, - .f1 = { .win = "raddbg_stable --ipc kill_all && build radbin telemetry debug", .linux = "./build.sh raddbg", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, + .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg telemetry debug", .linux = "./build.sh raddbg", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, //- rjf: [raddbg wsl] // .f1 = { .win = "wsl ./build.sh raddbg", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, diff --git a/project.raddbg b/project.raddbg index e1df3c4e..fb4d5d7a 100755 --- a/project.raddbg +++ b/project.raddbg @@ -7,7 +7,6 @@ target: working_directory: build arguments: "--user:raddbg_test.user" debug_subprocesses: 0 - enabled: 1 } target: { @@ -18,6 +17,7 @@ target: { executable: "build/mule_main.exe" working_directory: build + enabled: 1 } target: { diff --git a/src/dbg_info/dbg_info.c b/src/dbg_info/dbg_info.c index df265907..ba0f0f3a 100644 --- a/src/dbg_info/dbg_info.c +++ b/src/dbg_info/dbg_info.c @@ -748,7 +748,7 @@ di_async_tick(void) } else { - rdi_path = str8f(scratch.arena, "%S.rdi", str8_chop_last_dot(og_path)); + rdi_path = str8f(scratch.arena, "%S.rdi", og_path); } } @@ -785,7 +785,7 @@ di_async_tick(void) make_directory(cache_folder); make_directory(raddbg_folder); make_directory(rdis_folder); - rdi_path = str8f(scratch.arena, "%S/%S.rdi", rdis_folder, str8_chop_last_dot(str8_skip_last_slash(og_path))); + rdi_path = str8f(scratch.arena, "%S/%S.rdi", rdis_folder, str8_skip_last_slash(og_path)); } //- rjf: determine if RDI is stale