Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@disconnect3d
Copy link
Member

Fixes #2815. The attachp command with no arguments will now attempt to attach to a process with the same name as the name of the binary loaded into the debugger.

Fixes #2815. The `attachp` command with no arguments will now attempt to attach to a process with the same name as the
name of the binary loaded into the debugger.
@disconnect3d disconnect3d requested a review from Copilot March 31, 2025 21:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the attachp command to use the current binary's name as the target if no argument is provided.

  • The argument parser now accepts an optional target with improved help text.
  • The attachp command defaults to using the loaded binary's name when no target is provided and displays an error if no binary is loaded.

@disconnect3d disconnect3d merged commit a170362 into dev Mar 31, 2025
26 checks passed
@disconnect3d disconnect3d deleted the attachp-add-default-target branch March 31, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

attachp without a target could just look for the loaded binary file

2 participants