mips ptrace.S fix

Randall Stewart rrs at lakerest.net
Wed Feb 3 12:04:37 UTC 2010


JC:

I don't see the patch attached to the email.

?

R
On Feb 2, 2010, at 7:06 PM, C. Jayachandran wrote:

> 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.
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips- 
> unsubscribe at freebsd.org"

------------------------------
Randall Stewart
803-317-4952 (cell)
803-345-0391(direct)



More information about the freebsd-mips mailing list