Debug a cross-compiled binary using GDB !!

Dave Korn dk@artimi.com
Fri Jul 16 09:04:00 GMT 2004


> -----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....



More information about the Gdb mailing list