This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Cheers,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]