From dcb23f8b4b889061e96d43949d570581469cab84 Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 4 Sep 2026 07:04:49 +0200 Subject: refactor: slight cleanup --- src/debugger/debugger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/debugger/debugger.h') diff --git a/src/debugger/debugger.h b/src/debugger/debugger.h index e2f4c62..840dff1 100644 --- a/src/debugger/debugger.h +++ b/src/debugger/debugger.h @@ -35,7 +35,7 @@ namespace Hsdbg auto load_target(const std::filesystem::path& executable) -> Result; auto unload_target() -> void; auto launch(const LaunchSpec& spec) -> Result; - auto attach(uint64_t process_id) -> Result; + auto attach(uint64_t pid) -> Result; auto detach() -> Result; auto terminate() -> Result; @@ -128,7 +128,7 @@ namespace Hsdbg // keeps the lldb headers out of everything that talks to the debugger struct Session; - auto set_state(TargetState state) -> void; + auto set_state(TargetState next_state) -> void; auto resolve_breakpoint(Breakpoint& breakpoint) -> void; auto sync_breakpoints() -> void; -- cgit v1.3