gdb reports 68k architecture as x86

Jim Blandy jimb@zwingli.cygnus.com
Tue Mar 28 11:53:00 GMT 2000


> I am working on trying to get gdb to work with a remote 68k target. I am
> noticing that if I issue "info registers", gdb (which _is_ running on an
> x86) reports the registers of an x86, not a 68k The "info architecture"
> command has a similar symptom.
> 
> Why is this? is there a command that configures my target as a 68K? BTW,
> I am using the gdb that came with DJGPP (it is version 4.18)

You need to configure and recompile GDB specially if you want to use
it as a cross-debugger.  Check out gdb/README for instructions here.


More information about the Gdb mailing list