Re: Gdbserver syscall clobber

2007-07-23 Thread Andreas Schwab
the kernel is setting bit 0 in CR0 >>> (oris r10, r10, 0x1000) a.k.a LT, but the user side is looking at CR0 >>> (bnslr+) bit 3 a.k.a. SO. Bits are numbered from left to right, thus 0x1000 is bit 3 of CR0 Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Li

Re: Variable "current" in Linux kernel...

2007-04-16 Thread Andreas Schwab
"Siva Prasad" <[EMAIL PROTECTED]> writes: > I would like to know where exactly the value of variable "current" gets > changed. In _switch (see arch/powerpc/kernel/entry_{32,64}.S). For ppc32, current is always in r2. Andreas. -- Andreas Schwab, SuSE La