tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Base GDB tracing 32bit applications on amd64 kernel (with 64bit debugger) part 1)



On Wed, Jul 17, 2019 at 11:00:04AM +0200, Martin Husemann wrote:
> >  - Xen is causing some problems here (as usual...). See process_write_regs(),
> >    we are resetting the ss/cs registers to the default values. Yet in
> >    cpu_setmcontext32 we suddenly don't care about resetting ss/cs to the
> >    default values. It's not clear to me which side is incorrect.
> 
> Cc'ing Manuel - can you check this, please?

I'm probably missing something. there's no Xen-specific code in
process_write_regs() and cpu_setmcontext32(), isn't it ?
I can find them only in arch/amd64/netbsd32_machdep.c

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index