|
From: <sv...@va...> - 2010-06-03 21:23:48
|
Author: sewardj Date: 2010-06-03 22:23:39 +0100 (Thu, 03 Jun 2010) New Revision: 11150 Log: Minor tidyings for VGP_amd64_darwin. Includes fix from https://bugs.kde.org/show_bug.cgi?id=205241#c44 (Klaus Kuehnhammer). Modified: branches/MACOSX106/coregrind/m_signals.c Modified: branches/MACOSX106/coregrind/m_signals.c =================================================================== --- branches/MACOSX106/coregrind/m_signals.c 2010-06-03 21:21:19 UTC (rev 11149) +++ branches/MACOSX106/coregrind/m_signals.c 2010-06-03 21:23:39 UTC (rev 11150) @@ -516,10 +516,9 @@ UWord scclass ) { I_die_here; } - static inline Addr VG_UCONTEXT_LINK_REG( void* ucV ) { - return 0; /* No, really. We have no LRs today. */ - } - static inline Addr VG_UCONTEXT_FRAME_PTR( void* ucV ) { + static inline + void VG_UCONTEXT_TO_UnwindStartRegs( UnwindStartRegs* srP, + void* ucV ) { I_die_here; } @@ -2546,7 +2545,7 @@ /* Get the old host action */ ret = VG_(sigaction)(i, NULL, &sa); -# if defined(VGP_x86_darwin) +# if defined(VGP_x86_darwin) || defined(VGP_amd64_darwin) /* apparently we may not even ask about the disposition of these signals, let alone change them */ if (ret != 0 && (i == VKI_SIGKILL || i == VKI_SIGSTOP)) |