This is the mail archive of the
mailing list for the elfutils project.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 03 Sep 2015 17:19:31 +0200
- Subject: Re: i386_initreg.c
On Thu, 2015-09-03 at 17:00 +0200, Ben Gamari wrote:
> Why does i386_initreg.c appear to have a x86_64 case as well, despite
> the existence of x86_64_initreg.c?
Because you can have i386 processes on either i386 or x86_64 kernels. If
the i386 backend is build on x86_64 then it needs a slightly different
way to fetch/set the initial registers of a i386 target process then
when the i386 backend is build on i386 itself.