patch-src_linux_mrd_components_cpp 506 B

1234567891011121314
  1. --- mrd6-0.9.6.orig/src/linux/mrd_components.cpp 2007-01-07 03:11:27.000000000 +0100
  2. +++ mrd6-0.9.6/src/linux/mrd_components.cpp 2009-06-19 21:49:44.000000000 +0200
  3. @@ -90,10 +90,8 @@ char *mrd::obtain_frame_description(void
  4. void *mrd::posix_uctx::get_current_frame() const {
  5. #if defined(__GLIBC__)
  6. -#if defined(__i386__)
  7. +#if defined(__i386__)
  8. return (void *)base->uc_mcontext.gregs[REG_EIP];
  9. -#elif defined(__mips__)
  10. - return (void *)base->uc_mcontext.gpregs[CTX_EPC];
  11. #endif
  12. #endif
  13. return 0;