This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb reports 68k architecture as x86
- To: eubanks at HiWAAY dot net
- Subject: Re: gdb reports 68k architecture as x86
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 28 Mar 2000 14:53:23 -0500
- Cc: gdb at sourceware dot cygnus dot com
- References: <38DD3B81.1996308B@HiWAAY.net>
> 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.