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

target: Support 64-bit address for break/watch point #2017

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

marysaka
Copy link
Contributor

This change breakwatch::addr to be 64-bit as this will be required for ARMv8 AArch64 support.

This also change the layout of breakwatch to avoid extraneous padding in 64-bit and reduce the size of the reserved array to 64 bits.

Detailed description

Your checklist for this pull request

Closing issues

@marysaka marysaka force-pushed the feature/breakpoint-64bit branch 2 times, most recently from 790ef87 to 9086642 Compare December 15, 2024 10:17
Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

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

We only have one review note and it's to do with the ordering of members in the breakwatch structure, nothing too strenuous though and with that addressed we're happy to merge this.

@dragonmux dragonmux added this to the v2.0 release milestone Dec 16, 2024
@dragonmux dragonmux added the Enhancement General project improvement label Dec 16, 2024
@dragonmux dragonmux changed the title target: Support 64-bit address for break/wath point target: Support 64-bit address for break/watch point Jan 11, 2025
@marysaka marysaka force-pushed the feature/breakpoint-64bit branch from 9086642 to b8342fc Compare January 11, 2025 09:23
Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

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

There's one small issue we spotted in this round, and then we think this PR is there and can be merged. Good work!

This allows detecting the pointer size of the machine running the code.

Signed-off-by: Mary Guillemard <[email protected]>
This change breakwatch::addr to be 64-bit as this will be required for
ARMv8 AArch64 support.

This also change the layout of breakwatch to avoid extraneous padding in
64-bit and reduce the size of the reserved array to 64 bits.

Signed-off-by: Mary Guillemard <[email protected]>
@marysaka marysaka force-pushed the feature/breakpoint-64bit branch from b8342fc to 362d736 Compare January 11, 2025 09:46
Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

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

LGTM, merging. Thank you for the contribution!

@dragonmux dragonmux merged commit 362d736 into blackmagic-debug:main Jan 11, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement General project improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants