This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] PPC: Skip call to __eabi in main()
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sourceware dot org, luisgpm at linux dot vnet dot ibm dot com
- Date: Thu, 7 Aug 2008 10:03:39 -0400
- Subject: Re: [RFC] PPC: Skip call to __eabi in main()
- References: <20080721155343.404977d3@mesquite.lan> <1216701867.31797.26.camel@localhost.localdomain> <20080722181252.03d9ce94@mesquite.lan> <20080728172221.3dc3764e@mesquite.lan> <1217616315.29334.44.camel@gargoyle> <20080806174037.7cfe6445@mesquite.lan>
On Wed, Aug 06, 2008 at 05:40:37PM -0700, Kevin Buettner wrote:
> With regard to my patch, I'd prefer to commit it in its present form
> and then address improvements to PowerPC instruction decoding at a
> later time. I considered using my preferred approach when I adjusted
> my patch, but decided against doing so because a different approach
> (that of using explicit masks and comparisons) was already in use.
I think this is reasonable.
> FWIW, this isn't the only approach that I find compelling. I recently
> worked on a port which utilizes the instruction decoder in opcodes/.
> This decoder is also used for the disassembler and simulator. It
> completely decodes the instruction, returning a symbolic (via enums)
> opcodes, and completely decoded instruction offsets, registers, etc.
I wish other ports provided enough detail in libopcodes to do this!
It's an excellent approach.
--
Daniel Jacobowitz
CodeSourcery