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 Sat, Jun 29, 2019 at 08:57:10AM +0200, Maxime Villard wrote:
> In order to reintroduce debugging:
> 
>  - The code to handle 32bit LWPs from 64bit LWPs should be in separate
>    functions.

This sounds reasonable.

>  - The checks on 32bit LWPs should allow non-default segregs -- or we can
>    say it doesn't matter, and it'll mean for now we won't be able to debug
>    Wine32.

This would be x86 specific - can you suggest a proper way to check them?

>  - 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?

Kamil/Michal - would one of you have a chance to work on this soonish?
I would love to see this regression fixed for the -9 branch.

Martin


Home | Main Index | Thread Index | Old Index