Skip to content

Commit

Permalink
CP
Browse files Browse the repository at this point in the history
  • Loading branch information
gpdaniels committed Jul 17, 2024
1 parent 7462e62 commit 235799b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/debug/breakpoint.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,8 @@ TEST(breakpoint, evaluate, breakpoint) {
reinterpret_cast<ucontext_t*>(extra)->uc_mcontext->arm_pc += 2;
#elif (defined(__aarch64__))
reinterpret_cast<ucontext_t*>(extra)->uc_mcontext->arm_pc += 4;
#define GTL_BREAKPOINT() ([](){ asm volatile(".inst 0xd4200000"); }())
reinterpret_cast<ucontext_t*>(extra)->uc_mcontext->arm_pc += 4;
#elif (defined(__arm__) || defined(_M_ARM))
reinterpret_cast<ucontext_t*>(extra)->uc_mcontext->arm_pc += 4;
#define GTL_BREAKPOINT() ([](){ asm volatile(".inst 0xe7f001f0"); }())
reinterpret_cast<ucontext_t*>(extra)->uc_mcontext->arm_pc += 4;
#endif
}
};
Expand Down

0 comments on commit 235799b

Please sign in to comment.