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: [RFC] Add support for Renesas RX architecture


On Mon, Dec 07, 2009 at 04:20:46PM -0500, DJ Delorie wrote:
> 
> > Awesome!  I've always wanted opcodes to do this.
> 
> Look at opcodes/rx-decode.opc and opcodes/opc2c.c
> 
> The simulator part is in src/sim/rx/rx.c
> 
> The disassembler is somewhat trivial too, in opcodes/rx-dis.c, being
> all of 199 lines.

I took a look.  It's a little opaque (I don't suppose there's
documentation on what opc2c does somewhere), but I get the drift.
Neat.

-- 
Daniel Jacobowitz
CodeSourcery


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