Skip to content

Commit

Permalink
Merge branch 'arm-reg-load-fix' of https://github.com/dyninst/dyninst
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
Tim Haines committed Oct 19, 2019
2 parents e18f430 + 4c5254e commit 0b1c693
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dyninstAPI/src/pcEventHandler.C
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,11 @@ PCEventHandler::handleRTSignal(EventSignal::const_ptr ev, PCProcess *evProc) con
// the RT library, assume it did not.

if( evProc->runtime_lib.size() == 0 ) return NotRTSignal;
if (ev->getSignal() != DYNINST_BREAKPOINT_SIGNUM) {
proccontrol_printf("%s[%d]: signal %d is not RT library signal\n",
FILE__, __LINE__, ev->getSignal());
return NotRTSignal;
}

Address sync_event_breakpoint_addr = evProc->getRTEventBreakpointAddr();
Address sync_event_id_addr = evProc->getRTEventIdAddr();
Expand Down
2 changes: 1 addition & 1 deletion dyninstAPI_RT/h/dyninstAPI_RT.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#define SYN_INST_BUF_SIZE (1024*1024*1)
#endif

#define DYNINST_BREAKPOINT_SIGNUM SIGBUS
#define DYNINST_BREAKPOINT_SIGNUM (SIGRTMIN+4)

#include <stdio.h>
#include "dyninstRTExport.h"
Expand Down

0 comments on commit 0b1c693

Please sign in to comment.