aboutsummaryrefslogtreecommitdiff
path: root/src/debugger/debugger.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-04 07:04:49 +0200
committerhachem <im@hachem.wtf>2026-09-04 07:04:49 +0200
commitdcb23f8b4b889061e96d43949d570581469cab84 (patch)
tree2931979a4ba011104cc1931f3d7c30b02538f14b /src/debugger/debugger.h
parentd3a1b908fd3b0c47da2c33c16d18ebeb00da3b97 (diff)
refactor: slight cleanup
Diffstat (limited to 'src/debugger/debugger.h')
-rw-r--r--src/debugger/debugger.h4
1 files changed, 2 insertions, 2 deletions
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<void>;
auto unload_target() -> void;
auto launch(const LaunchSpec& spec) -> Result<void>;
- auto attach(uint64_t process_id) -> Result<void>;
+ auto attach(uint64_t pid) -> Result<void>;
auto detach() -> Result<void>;
auto terminate() -> Result<void>;
@@ -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;