Fix x86-16 capstone regression
This commit is contained in:
parent
967067ea9c
commit
a7c8e96d6f
|
@ -516,6 +516,7 @@ static int r_debug_native_continue(RDebug *dbg, int pid, int tid, int sig) {
|
|||
return 1;
|
||||
#else
|
||||
//ut64 rip = r_debug_reg_get (dbg, "pc");
|
||||
void *data = (void*)(size_t)((sig != -1)?sig: dbg->signum);
|
||||
return ptrace (PT_CONTINUE, pid, (void*)(size_t)1,
|
||||
(int)(size_t)data) == 0;
|
||||
#endif
|
||||
|
|
|
@ -10,8 +10,7 @@ CS_UPD=20150512
|
|||
CS_BRA=next
|
||||
CS_TIP=11867b23ff707671735abfa0f7e855a0b092aae4
|
||||
# REVERT THIS COMMIT BECAUSE ITS WRONG
|
||||
#CS_REV=21b9b25e9dae4af0ef309d4089a54e53b8f5b479
|
||||
CS_REV=
|
||||
CS_REV=21b9b25e9dae4af0ef309d4089a54e53b8f5b479
|
||||
|
||||
.PHONY: capstone-sync capstone-build all clean mrproper libgdbr libwind
|
||||
|
||||
|
|
|
@ -33,6 +33,10 @@ if [ $? = 0 ]; then
|
|||
export CC
|
||||
fi
|
||||
|
||||
|
||||
echo
|
||||
echo "export USE_R2_CAPSTONE=$USE_R2_CAPSTONE"
|
||||
echo
|
||||
# Set USE_R2_CAPSTONE env var to ignore syscapstone check
|
||||
if [ -z "${USE_R2_CAPSTONE}" ]; then
|
||||
pkg-config --atleast-version=3.0 capstone 2>/dev/null
|
||||
|
|
Loading…
Reference in New Issue