This is the mail archive of the
mailing list for the binutils project.
More i386 architectures?
[Get raw message]
- To: binutils at sources dot redhat dot com
- Subject: More i386 architectures?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sat, 10 Nov 2001 20:32:53 -0500
GDB's multi-arch switch was recently thrown for the i386 target. This
means that a single GDB binary can, well in theory, support several
different architecture variants (i8086, i80286, 80386, mmx, xmm, mxm,
xmx, xxx, er, ...) using a single binary.
As part of this, GDB uses BFD's archures to identify ISA variants.
Unfortunatly, looking at the i386, things are pretty thin on the ground
- only i8086 and i386 are present. Does anyone object to me padding
this out with (at a guess):
On a related matter, is there anything in an executable indicating which
architecture an i386 binary belongs? Having a requrement that an
(embedded) user explicitly set their architecture is pretty lame. The
MIPS, for instance, detects and auto-selects both GDB and, if used, the
simulator, based on information found in the executable.