This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Debug a cross-compiled binary using GDB !!
- From: "Dave Korn" <dk at artimi dot com>
- To: "'karthik bala guru'" <bluekarthik at yahoo dot com>,<gdb at sources dot redhat dot com>
- Date: Fri, 16 Jul 2004 10:03:02 +0100
- Subject: RE: Debug a cross-compiled binary using GDB !!
> -----Original Message-----
> From: karthik bala guru [mailto:bluekarthik@yahoo.com]
> Sent: 16 July 2004 09:01
> To: Dave Korn; gdb@sources.redhat.com
> Subject: RE: Debug a cross-compiled binary using GDB !!
>
> hi,
> Can the simulator in GDB used for debugging
> arm-cross-compiled programs from
> being in a i386 machine ?
>
> Thanx & regards,
> karthik bala guru
A caution: I haven't used the arm toolchain myself, but AFAIUI, now you
have a 386 hosted arm targetted cross-gdb, you should just be able to use
"target sim", then "load <filename>" and "run" to start it going.
cheers,
DaveK
--
Can't think of a witty .sigline today....