Vadim Lebedev schrieb: > inthe LinuxThread.cc:line 301 > ->ebp should be replaced by BP > Just before FindSigContext we should add > # if defined __x86_64__ > #define BP rbp > #else > #define BP ebp > #endif > > I think this will compile... > I'm not sure if it'll work though.... >
This will compile on x86_64, but not on other 64 bit architectures. It should rather be #if __WORDSIZE == 32 #define BP ebp #else /* __WORDSIZE == 64 */ #define BP rbp #endif (in part taken from bits/sigcontext.h) Best regards, Chi-Thanh Christopher Nguyen _______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
