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
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion librz/debug/p/debug_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -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/

dbg = NULL;
return false;
#endif
Expand Down