Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for BlackMagicProbe #99

Merged
merged 6 commits into from
Jan 30, 2024
Merged

Add support for BlackMagicProbe #99

merged 6 commits into from
Jan 30, 2024

Conversation

Grazfather
Copy link
Collaborator

@Grazfather Grazfather commented Jan 26, 2024

Description/Motivation/Screenshots

This adds three things:

gef-bmp-remote command, to connect to a black magic probe. This is its own command because it connects to a tty instead of a host/port.

GefBMPRemoteSessionManager, which handles connecting and such.

ARMBlackMagicProbe, a new arch, which handles its own memory management and has different register names that e.g. openocd.

How Has This Been Tested ?

Using my black magic probe to connect, attach, and successfully debug a target.

  • x86-32 (N/A)
  • x86-64 (N/A)
  • ARM
  • AARCH64
  • MIPS (N/A)
  • POWERPC (N/A)
  • SPARC (N/A)
  • RISC-V (N/A)

Checklist

  • My code follows the code style of this project.
  • My change includes a change to the documentation, if required.
  • If my change adds new code,
    adequate tests have been added.
  • I have read and agree to the
    CONTRIBUTING document.

@hugsy
Copy link
Owner

hugsy commented Jan 26, 2024

Can you add some docs? For new people to use it

@Grazfather Grazfather mentioned this pull request Jan 28, 2024
4 tasks
archs/README.md Outdated Show resolved Hide resolved
Copy link
Owner

@hugsy hugsy left a comment

Choose a reason for hiding this comment

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

All 🟢 let's go

@hugsy hugsy merged commit b6b8ad1 into main Jan 30, 2024
7 checks passed
@hugsy hugsy deleted the add_arm_blackmagicprobe branch January 30, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants