Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: karthik bala guru <bluekarthik@yahoo.com>
To: gdb@sources.redhat.com
Subject: Debug a cross-compiled binary using GDB !!
Date: Wed, 14 Jul 2004 11:12:00 -0000	[thread overview]
Message-ID: <20040714090214.49090.qmail@web90108.mail.scd.yahoo.com> (raw)

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 


             reply	other threads:[~2004-07-14  9:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-14 11:12 karthik bala guru [this message]
2004-07-14 11:27 ` Dave Korn
2004-07-16  9:04   ` karthik bala guru
2004-07-16  9:04     ` Dave Korn
2004-07-14 12:22 ` (gdb) list Can't find a default source file murugesan
2004-07-14 15:04   ` Monika Chaddha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040714090214.49090.qmail@web90108.mail.scd.yahoo.com \
    --to=bluekarthik@yahoo.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox