public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: naga raj <gnuuser.raj@gmail.com>
To: gdb@sourceware.org
Subject: GDB-7.3 load error
Date: Thu, 16 Feb 2012 14:05:00 -0000	[thread overview]
Message-ID: <CAKuVEhBrn6fHzfUbQPv_Bg-gFucACMtipAW5zceeVRn+hQ2fXA@mail.gmail.com> (raw)

Hi All,

  I am a newbie to GDB. I am using GDB-7.3 version to debug my target.

  I am facing a strange problem and don't know how to solve it.

  GDB is working fine when I use it with command line but when I use
the same with eclipse for debugging it is throwing a error "Unexpected
error while launching program: Error downloading program to target:
Target is not responding (timed out)"

 I have enabled verbose mode and found GDB was failing when it is
executing load command.

126-target-download hello_world_0/Debug/hello_world_0.elf
126+download,{section=".vectors.reset",section-size="8",total-size="102764"}
127-gdb-exit

  My configure script to build GDB is as below


   $GDB_SRC_DIR/configure                          \
       --target=$TARGET                        \
       --prefix=$RELDIR                        \
       --program-prefix=$PROG_PREFIX           \
               > $BLDDIR/log/gdb-config.log 2>&1

  To resolve this error should I have to add any more configure more options??


   Can anyone please help me in solving the issue. Due to some
reasons I cannot tell the target name.


Thanks,
Nagaraju

                 reply	other threads:[~2012-02-16 14:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAKuVEhBrn6fHzfUbQPv_Bg-gFucACMtipAW5zceeVRn+hQ2fXA@mail.gmail.com \
    --to=gnuuser.raj@gmail.com \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).