Apply jackd2-powerpc.patch.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3995 0c269be4-1314-0410-8aa9-9f06e86f4224
This commit is contained in:
sletz 2010-04-29 19:33:15 +00:00
parent 47c307b790
commit 159ce1a594
1 changed files with 7 additions and 1 deletions

View File

@ -99,7 +99,13 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
jack_error("info.si_code = %d (%s)", info->si_code, si_codes[info->si_code]);
jack_error("info.si_addr = %p", info->si_addr);
for(i = 0; i < NGREG; i++)
jack_error("reg[%02d] = 0x" REGFORMAT, i, ucontext->uc_mcontext.gregs[i]);
jack_error("reg[%02d] = 0x" REGFORMAT, i,
#if defined(__powerpc__)
ucontext->uc_mcontext.uc_regs[i]
#else
ucontext->uc_mcontext.gregs[i]
#endif
);
#if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64)
# if defined(SIGSEGV_STACK_IA64)