Date: Wed, 3 Feb 2010 04:27:20 -0800 From: Randall Stewart <rrs@lakerest.net> To: "C. Jayachandran" <c.jayachandran@gmail.com> Cc: freebsd-mips@freebsd.org Subject: Re: mips ptrace.S fix Message-ID: <AC4DE05E-5C19-4CEF-8214-87739072AA18@lakerest.net> In-Reply-To: <98a59be81002030227u43b0e601q2eebb383debc230b@mail.gmail.com> References: <98a59be81002021906l5a718a3p8127f2240dd538@mail.gmail.com> <AB75D08D-03D3-4820-BD2F-6B069185FF40@freebsd.org> <98a59be81002030227u43b0e601q2eebb383debc230b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
JC: The two small patches (truss and ptrace) look fine to me.. and definitely I can see things will not work without them.. The gdb patch will take me a while to chew on ;-) I will commit the small patches later on today... I have a problem with my svn right now.. have to sort that out first ;-) R On Feb 3, 2010, at 2:27 AM, C. Jayachandran wrote: > On Wed, Feb 3, 2010 at 3:49 PM, Rui Paulo <rpaulo@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. > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips- > unsubscribe@freebsd.org" > ------------------------------ Randall Stewart 803-317-4952 (cell) 803-345-0391(direct)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC4DE05E-5C19-4CEF-8214-87739072AA18>