From owner-freebsd-mips@FreeBSD.ORG Wed Feb 3 12:04:37 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A2E1065695 for ; Wed, 3 Feb 2010 12:04:37 +0000 (UTC) (envelope-from rrs@lakerest.net) Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6758FC16 for ; Wed, 3 Feb 2010 12:04:37 +0000 (UTC) Received: from [10.1.1.53] ([10.1.1.53]) (authenticated bits=0) by lakerest.net (8.14.3/8.14.3) with ESMTP id o13C4a92055224 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 3 Feb 2010 07:04:36 -0500 (EST) (envelope-from rrs@lakerest.net) Message-Id: <2290FD92-929C-4612-9CB8-F57097E2378E@lakerest.net> From: Randall Stewart To: "C. Jayachandran" In-Reply-To: <98a59be81002021906l5a718a3p8127f2240dd538@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 3 Feb 2010 04:04:35 -0800 References: <98a59be81002021906l5a718a3p8127f2240dd538@mail.gmail.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-mips@freebsd.org Subject: Re: mips ptrace.S fix X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 12:04:37 -0000 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@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)