This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: stfiwx implementation for PowerPC gdb simulator
- From: Daniel Jacobowitz <drow at false dot org>
- To: Tom Marn <tom dot marn at telargo dot com>
- Cc: gdb-patches at sourceware dot org, matej dot kupljen at telargo dot com
- Date: Tue, 28 Nov 2006 11:07:37 -0500
- Subject: Re: PATCH: stfiwx implementation for PowerPC gdb simulator
- References: <45642EC1.2070709@telargo.com>
On Wed, Nov 22, 2006 at 12:04:33PM +0100, Tom Marn wrote:
> Hi
>
> I append new optional instruction "stfiwx" for PowerPC 603/603e/604 needed
> by gdb inside sim/ppc simulator. GNU gcc already generates binaries with
> this instruction and the patch is essential for properly running binaries
> on gdb simulator (target sim). Without this patch you will get: program
> interrupt - illegal instruction (optional instruction not supported)
I would review this patch, except that I have no idea whether it's
correct. I hope someone more familiar with PowerPC is able to look
at it.
I'd recommend not moving the instruction; I believe the comments are
section references to the manual from which the pseudocode came
originally.
--
Daniel Jacobowitz
CodeSourcery