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

Debugger: Add string comparison to conditional breakpoints #11398

Merged
merged 1 commit into from Feb 20, 2023

Conversation

SeekyCt
Copy link
Contributor

@SeekyCt SeekyCt commented Jan 1, 2023

Adds a basic streq function to conditional breakpoints for comparison of strings in RAM and/or string constants. It takes two parameters, either of which can be an address or a string constant.

Examples of valid calls:

  • streq(r3, "abc")
  • streq(0x8000000, r3)
  • streq("abc", 0x80000000)
  • streq("abc", "abc")

@SeekyCt SeekyCt changed the title Debugger: add string comparison to conditional breakpoints Debugger: Add string comparison to conditional breakpoints Jan 1, 2023
@AdmiralCurtiss
Copy link
Contributor

Rebased this to fix a conflict that snuck in due to #11554. Seems to work. I'm getting some spurious pauses with conditional breakpoints but that doesn't seem to be this PRs fault.

@AdmiralCurtiss AdmiralCurtiss merged commit ae7fc07 into dolphin-emu:master Feb 20, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants