- stable interval - thread states (runnable vs. sleeping) - Java API to update set of monitored threads
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
#if defined(__arm__) || defined(__thumb__)
|
||||
|
||||
#include <errno.h>
|
||||
#include "stackFrame.h"
|
||||
|
||||
|
||||
@@ -59,8 +60,8 @@ bool StackFrame::pop(bool trust_frame_pointer) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void StackFrame::restartSyscall() {
|
||||
// Not implemented on this arch
|
||||
bool StackFrame::checkInterruptedSyscall() {
|
||||
return retval() == (uintptr_t)-EINTR;
|
||||
}
|
||||
|
||||
int StackFrame::callerLookupSlots() {
|
||||
@@ -71,4 +72,9 @@ bool StackFrame::isReturnAddress(instruction_t* pc) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool StackFrame::isSyscall(instruction_t* pc) {
|
||||
// swi #0
|
||||
return *pc == 0xef000000;
|
||||
}
|
||||
|
||||
#endif // defined(__arm__) || defined(__thumb__)
|
||||
|
||||
Reference in New Issue
Block a user