tech-kern archive

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

Re: re-enabling debugging of 32 bit processes with 64 bit debugger

On 01.07.2019 16:01, Christos Zoulas wrote:
> In article <qfd1sp$9bj$>,
> Michael van Elst <> wrote:
>> (Christos Zoulas) writes:
>>> We can fill them completely with 0 as we pad with 0 the 32 bit
>>> part of the 64 bit registers that does not exist in a 32 bit
>>> process.
>> The corefile pretends to be a 32bit file, so the register
>> section should probably be similar to a coredump of a
>> 32bit system.
>> N.B. two registers were not zero padded, a temporary and the 'hi'
>> register. So I don't think there is padding (or truncating)
>> done.
> I have not looked at the core file, I was referring to what should be
> returned by PT_GETREGS in the 64 bit tracer 32 bit tracee case.
> christos

From a debugger point of view, native struct reg, that is on the kernel
side adapted (truncated registers) for 32bit tracee.

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index