On 01.07.2019 16:01, Christos Zoulas wrote: > In article <[email protected]>, > Michael van Elst <[email protected]> wrote: >> [email protected] (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.
signature.asc
Description: OpenPGP digital signature
