Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 08:36:19 +0530
From:      "C. Jayachandran" <c.jayachandran@gmail.com>
To:        freebsd-mips@freebsd.org
Subject:   mips ptrace.S fix
Message-ID:  <98a59be81002021906l5a718a3p8127f2240dd538@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000e0cd11bb4a9c925047ea9800a
Content-Type: text/plain; charset=UTF-8

The ptrace system call implementation seems to have a bug, we need to
save ra and gp before calling the __error, and that will need a stack
frame.

I've attached a patch that should fix this for o32 ABI - but it really
should be written with ABI-independent macros, any clue on how to do
this which will take care of n32/64 too will be helpful.

I also have some initial patches for making gdb work on MIPS. . That
patch is also attached, but it is work in progress, only the static
executables work now.

JC.

--000e0cd11bb4a9c925047ea9800a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98a59be81002021906l5a718a3p8127f2240dd538>