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

Fixing compilation warnings on SystemZ #2549

Closed
wants to merge 1 commit into from

Conversation

DurzaShade
Copy link
Contributor

@DurzaShade DurzaShade commented Apr 18, 2022

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've documented or updated the documentation of every function and struct this PR changes. If not so I've explained why.
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the rizin book with the relevant information (if needed)

Detailed description

SystemZ had compilation warnings. This PR partially addresses the warnings.

...

Test plan

...

Closing issues

...

@@ -1450,7 +1450,7 @@ static int rz_debug_native_bp(RzBreakpoint *bp, RzBreakpointItem *b, bool set) {
return set
? arm32_hwbp_add(dbg, bp, b)
: arm32_hwbp_del(dbg, bp, b);
#elif __riscv
#elif __riscv || __s390__ || __s390x__ || __zarch__
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the pre-processor macros for SystemZ as per https://sourceforge.net/p/predef/wiki/Architectures/

@XVilka
Copy link
Member

XVilka commented Apr 22, 2022

To be honest, I expected the fix the "right way" - adding the support instead of disabling it.

@DurzaShade
Copy link
Contributor Author

To be honest, I expected the fix the "right way" - adding the support instead of disabling it.

this is currently just a placeholder PR, that I raised for my GSoC application. I am planning to update it with the fix for #297

@XVilka
Copy link
Member

XVilka commented May 19, 2022

I am closing this. If you plan to do the proper fix - please open a new PR.

@XVilka XVilka closed this May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants