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

Re: Struct pt_regs under Sparc different from Intel?



On Sat, Feb 23, 2002 at 01:01:51AM -0000, Chris Mason wrote:
> Hi,
> 
> Got a query regarding the definition between architectures of pt_regs.
> Under Intel I get the ebx, ecx, edx variables declared in the pt_regs
> structure found in asm/ptrace.h.  However, under Sparc they are not
> there.  Am I attempting to do Intel only things on a Sparc by using the
> wrong do_execve()?

Register names are different on all architectures. Ebx, ecx and edx are
x86 only.

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux    --    WatchGuard.com      \
`          bcollins@debian.org   --   Ben.Collins@watchguard.com           '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: