public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Steven_cheng <05071@alphanetworks.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] What is the compiler flag to load the c/c++ source for ICE debug??
Date: Sun, 17 Jul 2005 09:41:00 -0000	[thread overview]
Message-ID: <20050717094023.GO29363@lunn.ch> (raw)
In-Reply-To: <006d01c58864$aff5b5f0$016ffea9@stevencheng>

On Thu, Jul 14, 2005 at 07:10:46PM +0800, Steven_cheng wrote:
> Hi All,
> 
>     When I load the elf file (redboot.img) with ICE (T32),
> I would only see the Assemble code and symbols without C code and CPP code.
> It only has the symbols without C/C++ source code.
> And I have added the option -g in the Global compiler flags, but it seens
> not to work.
> 
> How can I do for displaying the C/C++ code with ICE (T32) ??
> Is the  compiler flag correct ??

This is really an issue with the T32 ICE debugger, and has nothing to
do with eCos. Try on the T32 ICE mailling lists, if such a thing
exists.

One thing to note, the .img file is a stripped elf file. ie all the
symbol table entries have been removed. So this file is no use for
debugging. You need to use the .elf file.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2005-07-17  9:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14 11:10 Steven_cheng
2005-07-17  9:41 ` Andrew Lunn [this message]

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=20050717094023.GO29363@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=05071@alphanetworks.com \
    --cc=ecos-discuss@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).