This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: stfiwx implementation for PowerPC gdb simulator


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]