mips ptrace.S fix

C. Jayachandran c.jayachandran at gmail.com
Wed Feb 3 10:27:03 UTC 2010


On Wed, Feb 3, 2010 at 3:49 PM, Rui Paulo <rpaulo at freebsd.org> wrote:
> On 3 Feb 2010, at 03:06, 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.
>
> I think you forgot the attachments or they were stripped out.

I think the attachments were stripped out, may be by the mailing list
itself.  I had them as attachments since I was worried that gmail will
damage white-space if I did it inline.

Is there a standard way of submitting patches to the list? For now I
have the patches at:
 http://sites.google.com/site/cjayachandran/files (the files are
ptrace.S.patch and gdb.patch)

Thanks,
JC.


More information about the freebsd-mips mailing list