diff options
Diffstat (limited to 'src/debugger/debugger.h')
| -rw-r--r-- | src/debugger/debugger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debugger/debugger.h b/src/debugger/debugger.h index 16bfb6b..d487712 100644 --- a/src/debugger/debugger.h +++ b/src/debugger/debugger.h @@ -34,7 +34,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>; @@ -108,7 +108,7 @@ namespace Hsdbg private: 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; |
