|
|
|
Re: [PATCH] sparc: Fix handling of orig_i0 wrt. debugging when restarting syscalls. | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
From: David Miller <davem@xxxxxxxxxxxxx> Date: Mon, 14 Nov 2011 23:53:51 -0500 (EST) > Luckily we can solve this problem without having to make debuggers > aware of the issue. Across system calls, several registers are > considered volatile and can be safely clobbered. > > Therefore we use the pt_regs save area of one of those registers, %g2, > as a place to save and restore orig_i0. Unfortunately this doesn't work, for example the clone implementation in glibc expects %g2 and several other global registers to be preserved across a system call. I'll need to find another place to stash this value away. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux MIPS Home] [Kernel Development] [DCCP] [Linux ARM Development] [Linux] [Photo] [Yosemite News] [MIPS Architecture] [Linux ARM Kernel] [Linux SCSI] [Linux x86_64] [Linux Hams]
![]() |