This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Debug a cross-compiled binary using GDB !!
- From: karthik bala guru <bluekarthik at yahoo dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 14 Jul 2004 02:02:14 -0700 (PDT)
- Subject: Debug a cross-compiled binary using GDB !!
Hello,
I have builded gcc, glibc and gdb as
arm-targetted and i386-linux-hosted.
When I execute gdb to debug a cross-compiled binary
and
type 'run', gdb complains that "You can't do that
without a process to debug".
In my humble opinion, gdb couldn't
execute arm-targetted binary on i386
machine and probably I need a arm simulator or arm
board connected to PC.
I think "target sim" has something to do with it. But
I
can't find any information about "target sim". Can
anyone help me or advice me what to do?
Or Is it possible to cross debug a application
from within a i386 machine.
Thank you in advance.
karthik bala guru
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail